Skip to content

Commit

Permalink
Update uglify-js to v3.15.2 (#562)
Browse files Browse the repository at this point in the history
* Update uglify-js to v3.15.2

Signed-off-by: Nacho García <[email protected]>

* update tests

Co-authored-by: alexlamsl <[email protected]>
  • Loading branch information
nachogarcia and alexlamsl authored Mar 27, 2022
1 parent 12ca0f2 commit 2cb31be
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 16 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"dependencies": {
"chalk": "^2.4.1",
"maxmin": "^2.1.0",
"uglify-js": "^3.13.10",
"uglify-js": "^3.15.2",
"uri-path": "^1.0.0"
},
"devDependencies": {
Expand Down
1 change: 0 additions & 1 deletion test/fixtures/expected/compress_mangle_banner.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
// banner without sourcemap

var longNameA=1,longNameB=2;function longFunctionC(n,o){return longNameA+longNameB+n+o}var result=longFunctionC(3,4);
9 changes: 5 additions & 4 deletions test/fixtures/expected/maxLineLen.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
!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);
!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 i$=0,
length$=list.length;i$<length$;++i$)accum$.push(math.cube(list[i$]));return accum$}.call(this,[])
}.call(this);
3 changes: 1 addition & 2 deletions 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.

0 comments on commit 2cb31be

Please sign in to comment.