Skip to content

Commit 85e3750

Browse files
Update to latest closure compiler (#435)
1 parent bfb50ab commit 85e3750

File tree

15 files changed

+60
-64
lines changed

15 files changed

+60
-64
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"acorn": "7.3.1",
4040
"acorn-walk": "7.1.1",
4141
"estree-walker": "2.0.1",
42-
"google-closure-compiler": "20200517.0.0",
42+
"google-closure-compiler": "20210808.0.0",
4343
"magic-string": "0.25.7",
4444
"uuid": "8.1.0"
4545
},
@@ -90,7 +90,7 @@
9090
"singleQuote": true
9191
},
9292
"volta": {
93-
"node": "14.4.0",
93+
"node": "16.6.1",
9494
"yarn": "1.22.4"
9595
},
9696
"publishConfig": {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
class a{constructor(b){this.a=b}console(){console.log(this.a)}}export default a
1+
class a{constructor(b){this.g=b}console(){console.log(this.g)}}export default a
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
class a{constructor(b){this.a=b}console(){console.log(this.a)}}export default a
1+
class a{constructor(b){this.g=b}console(){console.log(this.g)}}export default a
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +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}
1+
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}

test/export-transpilation/fixtures/named-constant.esm.es5.js

Lines changed: 9 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/export-transpilation/fixtures/named-function.esm.es5.js

Lines changed: 9 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
class a{constructor(b){this.a=b}console(){console.log(this.a)}}export var Exported=a
1+
class a{constructor(b){this.g=b}console(){console.log(this.g)}}export var Exported=a
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
'use strict';var wrapper=function(a){a.a=function(b){document.body.innerHTML="hello "+b};return a}({})
1+
'use strict';var wrapper=function(a){a.g=function(b){document.body.innerHTML="hello "+b};return a}({})
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
'use strict';var wrapper=function(a){a.greeting=function(a){document.body.innerHTML="hello "+a};return a}({})
1+
'use strict';var wrapper=function(a){a.greeting=function(b){document.body.innerHTML="hello "+b};return a}({})
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
'use strict';var wrapper=function(a){a.greeting=function(a){document.body.innerHTML="hello "+a};return a}({})
1+
'use strict';var wrapper=function(a){a.greeting=function(b){document.body.innerHTML="hello "+b};return a}({})

0 commit comments

Comments
 (0)