Skip to content

Commit

Permalink
Update UglifyJS to 3.13.3 (#554)
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Schreiber authored Mar 30, 2021
1 parent 8674feb commit 4e83e45
Show file tree
Hide file tree
Showing 21 changed files with 1,207 additions and 1,748 deletions.
1 change: 1 addition & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ module.exports = function(grunt) {
src: 'test/fixtures/src/simple.js',
dest: 'tmp/wrap.js',
options: {
compress: false,
mangle: false,
wrap: 'testExport'
}
Expand Down
2,907 changes: 1,183 additions & 1,724 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "grunt-contrib-uglify",
"description": "Minify JavaScript files with UglifyJS",
"version": "5.0.0",
"version": "5.0.1",
"author": {
"name": "Grunt Team",
"url": "https://gruntjs.com/"
Expand All @@ -18,7 +18,7 @@
"dependencies": {
"chalk": "^2.4.1",
"maxmin": "^2.1.0",
"uglify-js": "^3.5.0",
"uglify-js": "^3.13.3",
"uri-path": "^1.0.0"
},
"devDependencies": {
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 4 additions & 5 deletions test/fixtures/expected/maxLineLen.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
(function(){var list,math,square;square=function(x){return x*x},list=[1,2,3,4,5],math={
root:Math.sqrt,square:square,cube:function(x){return x*square(x)}},
"undefined"!=typeof elvis&&null!=elvis&&alert("I knew it!"),function(accum$){for(var num,i$=0,
length$=list.length;i$<length$;++i$)num=list[i$],accum$.push(math.cube(num));return accum$}.call(
this,[])}).call(this);
!function(){var square=function(x){return x*x},list=[1,2,3,4,5],math={root:Math.sqrt,square:square,
cube:function(x){return x*square(x)}};"undefined"!=typeof elvis&&null!=elvis&&alert("I knew it!"),
function(accum$){for(var i$=0,length$=list.length;i$<length$;++i$)accum$.push(math.cube(list[i$]))
;return accum$}.call(this,[])}.call(this);
2 changes: 1 addition & 1 deletion test/fixtures/expected/source_map_custom_name
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"version":3,"sources":["../test/fixtures/src/simple.js"],"names":["longNameA","longNameB","longFunctionC","argumentC","argumentD","result"],"mappings":"AAGA,IAAIA,UAAY,EAEZC,UAAY,EAEhB,SAASC,cAAcC,EAAUC,GAC/B,OAAOJ,UAAYC,UAAYE,EAAYC,EAG7C,IAAIC,OAASH,cAAc,EAAE","file":"sourcemap_customName.js"}
{"version":3,"file":"sourcemap_customName.js","sources":["../test/fixtures/src/simple.js"],"names":["longNameA","longNameB","longFunctionC","argumentC","argumentD","result"],"mappings":"AAGA,IAAIA,UAAY,EAEZC,UAAY,EAEhB,SAASC,cAAcC,EAAUC,GAC/B,OAAOJ,UAAYC,UAAYE,EAAYC,EAG7C,IAAIC,OAASH,cAAc,EAAE"}
2 changes: 1 addition & 1 deletion test/fixtures/expected/sourcemap_basic.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test/fixtures/expected/sourcemap_customRoot.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test/fixtures/expected/sourcemap_functionName.js.fn.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test/fixtures/expected/sourcemap_sources.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test/fixtures/expected/sourcemapin.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test/fixtures/expected/sourcemapin.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test/fixtures/expected/sourcemapin_customUrl.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test/fixtures/expected/sourcemapin_customUrl.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test/fixtures/expected/sourcemapin_sources.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test/fixtures/expected/sourcemapin_sources.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test/fixtures/expected/sourcemaps_multiple1.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test/fixtures/expected/sourcemaps_multiple2.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test/fixtures/expected/wrap.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4e83e45

Please sign in to comment.