-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to latest closure compiler (#435)
- Loading branch information
1 parent
bfb50ab
commit 85e3750
Showing
15 changed files
with
60 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
class a{constructor(b){this.a=b}console(){console.log(this.a)}}export default a | ||
class a{constructor(b){this.g=b}console(){console.log(this.g)}}export default a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
class a{constructor(b){this.a=b}console(){console.log(this.a)}}export default a | ||
class a{constructor(b){this.g=b}console(){console.log(this.g)}}export default a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
class b{constructor(a){this.a=a}console(){console.log(this.a)}}function bar(){console.log(1)};function baz(a){console.log(a)};var foo=1;export{b as ExportedClass,bar,baz,foo} | ||
class b{constructor(a){this.g=a}console(){console.log(this.g)}}function bar(){console.log(1)};function baz(a){console.log(a)};var foo=1;export{b as ExportedClass,bar,baz,foo} |
17 changes: 9 additions & 8 deletions
17
test/export-transpilation/fixtures/named-constant.esm.es5.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
17 changes: 9 additions & 8 deletions
17
test/export-transpilation/fixtures/named-function.esm.es5.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
class a{constructor(b){this.a=b}console(){console.log(this.a)}}export var Exported=a | ||
class a{constructor(b){this.g=b}console(){console.log(this.g)}}export var Exported=a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
'use strict';var wrapper=function(a){a.a=function(b){document.body.innerHTML="hello "+b};return a}({}) | ||
'use strict';var wrapper=function(a){a.g=function(b){document.body.innerHTML="hello "+b};return a}({}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
'use strict';var wrapper=function(a){a.greeting=function(a){document.body.innerHTML="hello "+a};return a}({}) | ||
'use strict';var wrapper=function(a){a.greeting=function(b){document.body.innerHTML="hello "+b};return a}({}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
'use strict';var wrapper=function(a){a.greeting=function(a){document.body.innerHTML="hello "+a};return a}({}) | ||
'use strict';var wrapper=function(a){a.greeting=function(b){document.body.innerHTML="hello "+b};return a}({}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export function exported(){import("./dynamic-imported-67216f69.js").then(a=>a.a())} | ||
export function exported(){import("./dynamic-imported-67216f69.js").then(a=>a.g())} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
var a=Object.freeze({__proto__:null,c:1,a:2,b:()=>console.log("foo")});console.log(...a) | ||
var a=Object.freeze({__proto__:null,i:1,g:2,h:()=>console.log("foo")});console.log(...a) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
class a{constructor(b){this.a=b}console(){console.log(this.a)}}export var ExportThis=a | ||
class a{constructor(b){this.g=b}console(){console.log(this.g)}}export var ExportThis=a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1809,46 +1809,40 @@ globby@^6.1.0: | |
pify "^2.0.0" | ||
pinkie-promise "^2.0.0" | ||
|
||
google-closure-compiler-java@^20200517.0.0: | ||
version "20200517.0.0" | ||
resolved "https://registry.yarnpkg.com/google-closure-compiler-java/-/google-closure-compiler-java-20200517.0.0.tgz#778370c22273c9085f4cf959ce063f8f112c02ac" | ||
integrity sha512-JVZBiyyXwcYi6Yc3lO6dF2hMLJA4OzPm4/mgsem/tF1vk2HsWTnL3GTaBsPB2ENVZp0hoqsd4KgpPiG9ssNWxw== | ||
|
||
google-closure-compiler-js@^20200517.0.0: | ||
version "20200517.0.0" | ||
resolved "https://registry.yarnpkg.com/google-closure-compiler-js/-/google-closure-compiler-js-20200517.0.0.tgz#9cb0861f764073d1c4d3b7453b74073ccb1ecfb1" | ||
integrity sha512-dz6dOUHx5nhdIqMRXacAYS8aJfLvw4IKxGg28Hq/zeeDPHlX3P3iBK20NgFDfT8zdushThymtMqChSy7C5eyfA== | ||
|
||
google-closure-compiler-linux@^20200517.0.0: | ||
version "20200517.0.0" | ||
resolved "https://registry.yarnpkg.com/google-closure-compiler-linux/-/google-closure-compiler-linux-20200517.0.0.tgz#2b9ecb634130060174aff5c52329a694ea4be68b" | ||
integrity sha512-S5xPh6TtP+ESzZrmQLcDDqtZAsCVTbdI4VS98wQlN6IMZTd94nAnOCg9mrxQNAgop2t4sdsv/KuH0BGPUWEZ+w== | ||
|
||
google-closure-compiler-osx@^20200517.0.0: | ||
version "20200517.0.0" | ||
resolved "https://registry.yarnpkg.com/google-closure-compiler-osx/-/google-closure-compiler-osx-20200517.0.0.tgz#9394e9a2fd97e3729fc3bd2abcffff6aab2cfcaa" | ||
integrity sha512-FWIcsKqLllLjdOBZd7azijVaObydgRd0obVNi63eUfC5MX6T4qxKumGCyor2UCNY6by2ESz+PlGqCFzFhZ6b2g== | ||
|
||
google-closure-compiler-windows@^20200517.0.0: | ||
version "20200517.0.0" | ||
resolved "https://registry.yarnpkg.com/google-closure-compiler-windows/-/google-closure-compiler-windows-20200517.0.0.tgz#c5cdde438c29458666a83358567b12072924ed6c" | ||
integrity sha512-UXhjRGwS8deTkRla/riyVq3psscgMuw78lepEPtq5NgbumgJzY2+IQP9q+4MVOfJW58Rv0JUWKAFOnBBSZWcAQ== | ||
|
||
[email protected]: | ||
version "20200517.0.0" | ||
resolved "https://registry.yarnpkg.com/google-closure-compiler/-/google-closure-compiler-20200517.0.0.tgz#6c47f99fc1be59bd4f9e23c5a8f2e66d64b54143" | ||
integrity sha512-80W9zBS9Ajk1T5InWCfsoPohDmo5T1AAyw1rHh5+dgb/jPgwC65KhY+oJozTncf+/7tyQHJXozTARwhSlBUcMg== | ||
google-closure-compiler-java@^20210808.0.0: | ||
version "20210808.0.0" | ||
resolved "https://registry.yarnpkg.com/google-closure-compiler-java/-/google-closure-compiler-java-20210808.0.0.tgz#9722073e2ace0ed1a9934423e6277c9994418e84" | ||
integrity sha512-7dEQfBzOdwdjwa/Pq8VAypNBKyWRrOcKjnNYOO9gEg2hjh8XVMeQzTqw4uANfVvvANGdE/JjD+HF6zHVgLRwjg== | ||
|
||
google-closure-compiler-linux@^20210808.0.0: | ||
version "20210808.0.0" | ||
resolved "https://registry.yarnpkg.com/google-closure-compiler-linux/-/google-closure-compiler-linux-20210808.0.0.tgz#42b844cef30cce6570d21f5d75c71f1af36fc070" | ||
integrity sha512-byKi5ITUiWRvEIcQo76i1siVnOwrTmG+GNcBG4cJ7x8IE6+4ki9rG5pUe4+DOYHkfk52XU6XHt9aAAgCcFDKpg== | ||
|
||
google-closure-compiler-osx@^20210808.0.0: | ||
version "20210808.0.0" | ||
resolved "https://registry.yarnpkg.com/google-closure-compiler-osx/-/google-closure-compiler-osx-20210808.0.0.tgz#6fe601c80d19a998d2703de6bb5a8c4d41f75e24" | ||
integrity sha512-iwyAY6dGj1FrrBdmfwKXkjtTGJnqe8F+9WZbfXxiBjkWLtIsJt2dD1+q7g/sw3w8mdHrGQAdxtDZP/usMwj/Rg== | ||
|
||
google-closure-compiler-windows@^20210808.0.0: | ||
version "20210808.0.0" | ||
resolved "https://registry.yarnpkg.com/google-closure-compiler-windows/-/google-closure-compiler-windows-20210808.0.0.tgz#f907fa046d8a25d820485cb4482fbd5bada9cf03" | ||
integrity sha512-VI+UUYwtGWDYwpiixrWRD8EklHgl6PMbiEaHxQSrQbH8PDXytwaOKqmsaH2lWYd5Y/BOZie2MzjY7F5JI69q1w== | ||
|
||
[email protected]: | ||
version "20210808.0.0" | ||
resolved "https://registry.yarnpkg.com/google-closure-compiler/-/google-closure-compiler-20210808.0.0.tgz#0638e71f1073f71682277200db71d0ea05b3de1d" | ||
integrity sha512-+R2+P1tT1lEnDDGk8b+WXfyVZgWjcCK9n1mmZe8pMEzPaPWxqK7GMetLVWnqfTDJ5Q+LRspOiFBv3Is+0yuhCA== | ||
dependencies: | ||
chalk "2.x" | ||
google-closure-compiler-java "^20200517.0.0" | ||
google-closure-compiler-js "^20200517.0.0" | ||
google-closure-compiler-java "^20210808.0.0" | ||
minimist "1.x" | ||
vinyl "2.x" | ||
vinyl-sourcemaps-apply "^0.2.0" | ||
optionalDependencies: | ||
google-closure-compiler-linux "^20200517.0.0" | ||
google-closure-compiler-osx "^20200517.0.0" | ||
google-closure-compiler-windows "^20200517.0.0" | ||
google-closure-compiler-linux "^20210808.0.0" | ||
google-closure-compiler-osx "^20210808.0.0" | ||
google-closure-compiler-windows "^20210808.0.0" | ||
|
||
got@^9.6.0: | ||
version "9.6.0" | ||
|