Skip to content

Commit 4e83e45

Browse files
author
Paul Schreiber
authored
Update UglifyJS to 3.13.3 (#554)
1 parent 8674feb commit 4e83e45

21 files changed

+1207
-1748
lines changed

Gruntfile.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ module.exports = function(grunt) {
115115
src: 'test/fixtures/src/simple.js',
116116
dest: 'tmp/wrap.js',
117117
options: {
118+
compress: false,
118119
mangle: false,
119120
wrap: 'testExport'
120121
}

package-lock.json

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

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "grunt-contrib-uglify",
33
"description": "Minify JavaScript files with UglifyJS",
4-
"version": "5.0.0",
4+
"version": "5.0.1",
55
"author": {
66
"name": "Grunt Team",
77
"url": "https://gruntjs.com/"
@@ -18,7 +18,7 @@
1818
"dependencies": {
1919
"chalk": "^2.4.1",
2020
"maxmin": "^2.1.0",
21-
"uglify-js": "^3.5.0",
21+
"uglify-js": "^3.13.3",
2222
"uri-path": "^1.0.0"
2323
},
2424
"devDependencies": {

test/fixtures/expected/deep/directory/location/source_map.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
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 num,i$=0,
4-
length$=list.length;i$<length$;++i$)num=list[i$],accum$.push(math.cube(num));return accum$}.call(
5-
this,[])}).call(this);
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);
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +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"}
1+
{"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"}

test/fixtures/expected/sourcemap_basic.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/fixtures/expected/sourcemap_customRoot.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/fixtures/expected/sourcemap_functionName.js.fn.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/fixtures/expected/sourcemap_sources.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)