From d8fc28191504fb82cce7ae487904c29f9f8517ae Mon Sep 17 00:00:00 2001 From: "Alex Lam S.L" Date: Wed, 14 Mar 2018 15:54:41 +0800 Subject: [PATCH] update dependencies (#3002) acorn 5.5.3 commander 2.15.0 Miscellaneous - drop unmaintained package from README --- README.md | 5 ++--- package.json | 30 ++++++++++++++++++++++++++---- 2 files changed, 28 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 1a34ab4e..ee35b7d8 100644 --- a/README.md +++ b/README.md @@ -6,9 +6,8 @@ UglifyJS is a JavaScript parser, minifier, compressor and beautifier toolkit. #### Note: - **`uglify-js@3` has a simplified [API](#api-reference) and [CLI](#command-line-usage) that is not backwards compatible with [`uglify-js@2`](https://github.com/mishoo/UglifyJS2/tree/v2.x)**. - **Documentation for UglifyJS `2.x` releases can be found [here](https://github.com/mishoo/UglifyJS2/tree/v2.x)**. -- `uglify-js` only supports ECMAScript 5 (ES5). -- Those wishing to minify -ES2015+ (ES6+) should use the `npm` package [**uglify-es**](https://github.com/mishoo/UglifyJS2/tree/harmony). +- `uglify-js` only supports JavaScript (ECMAScript 5). +- To minify ECMAScript 2015 or above, transpile using tools like [Babel](https://babeljs.io/). Install ------- diff --git a/package.json b/package.json index d754cf3d..d82580c7 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,6 @@ { "name": "uglify-js", "description": "JavaScript parser, mangler/compressor and beautifier toolkit", - "homepage": "http://lisperator.net/uglifyjs", "author": "Mihai Bazon (http://lisperator.net/)", "license": "BSD-2-Clause", "version": "3.3.14", @@ -24,16 +23,39 @@ "LICENSE" ], "dependencies": { - "commander": "~2.14.1", + "commander": "~2.15.0", "source-map": "~0.6.1" }, "devDependencies": { - "acorn": "~5.4.1", + "acorn": "~5.5.3", "mocha": "~3.5.1", "semver": "~5.5.0" }, "scripts": { "test": "node test/run-tests.js" }, - "keywords": ["uglify", "uglify-js", "minify", "minifier", "es5"] + "keywords": [ + "cli", + "compress", + "compressor", + "ecma", + "ecmascript", + "es", + "es5", + "javascript", + "js", + "jsmin", + "min", + "minification", + "minifier", + "minify", + "optimize", + "optimizer", + "pack", + "packer", + "parse", + "parser", + "uglifier", + "uglify" + ] } -- 2.34.1