Skip to content

Commit 2cb31be

Browse files
nachogarciaalexlamsl
andauthoredMar 27, 2022
Update uglify-js to v3.15.2 (#562)
* Update uglify-js to v3.15.2 Signed-off-by: Nacho García <hello@nachogarcia.dev> * update tests Co-authored-by: alexlamsl <alexlamsl@gmail.com>
1 parent 12ca0f2 commit 2cb31be

10 files changed

+15
-16
lines changed
 

‎package-lock.json

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"dependencies": {
1919
"chalk": "^2.4.1",
2020
"maxmin": "^2.1.0",
21-
"uglify-js": "^3.13.10",
21+
"uglify-js": "^3.15.2",
2222
"uri-path": "^1.0.0"
2323
},
2424
"devDependencies": {
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
// banner without sourcemap
2-
32
var longNameA=1,longNameB=2;function longFunctionC(n,o){return longNameA+longNameB+n+o}var result=longFunctionC(3,4);

‎test/fixtures/expected/maxLineLen.js

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
!function(){var square=function(x){return x*x},list=[1,2,3,4,5],math={root:Math.sqrt,square:square,
2-
cube:function(x){return x*square(x)}};"undefined"!=typeof elvis&&null!=elvis&&alert("I knew it!"),
3-
function(accum$){for(var i$=0,length$=list.length;i$<length$;++i$)accum$.push(math.cube(list[i$]))
4-
;return accum$}.call(this,[])}.call(this);
1+
!function(){var list,math,square;square=function(x){return x*x},list=[1,2,3,4,5],math={
2+
root:Math.sqrt,square:square,cube:function(x){return x*square(x)}},
3+
"undefined"!=typeof elvis&&null!=elvis&&alert("I knew it!"),function(accum$){for(var i$=0,
4+
length$=list.length;i$<length$;++i$)accum$.push(math.cube(list[i$]));return accum$}.call(this,[])
5+
}.call(this);

‎test/fixtures/expected/sourcemapin.js

+1-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎test/fixtures/expected/sourcemapin.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎test/fixtures/expected/sourcemapin_customUrl.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎test/fixtures/expected/sourcemapin_customUrl.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎test/fixtures/expected/sourcemapin_sources.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎test/fixtures/expected/sourcemapin_sources.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
Please sign in to comment.