From 284fa1c8c3ad205ae71390d2083b87823fb4992f Mon Sep 17 00:00:00 2001 From: Erik Desjardins Date: Fri, 17 Sep 2021 00:28:56 -0400 Subject: [PATCH] update uglify and remove now-default keep_fargs=false --- build.sh | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 8262e8a..809531e 100755 --- a/build.sh +++ b/build.sh @@ -42,7 +42,7 @@ sed -r 's/\(function\(\)\{// ; s/\}\)\(\);//' ./build/snudown_oneline.js > ./bui ./node_modules/uglify-js/bin/uglifyjs ./build/snudown_nowrapper.js -o ./build/snudown_uglify.js \ --comments \ --toplevel \ --c negate_iife=false,keep_fargs=false,passes=100,pure_getters,unsafe \ +-c negate_iife=false,passes=100,pure_getters,unsafe \ -m \ --mangle-props reserved=['markdown','markdownWiki','nofollow','target','tocIdPrefix','enableToc'] \ -b beautify=false,wrap_iife \ diff --git a/package.json b/package.json index 2d66d2d..4c27a4c 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/erikdesjardins/snudown-js.git" }, "devDependencies": { - "uglify-js": "3.10.4" + "uglify-js": "3.14.2" }, "license": "MIT", "dependencies": {