aboutsummaryrefslogtreecommitdiff
path: root/test/mocha/cli.js
AgeCommit message (Expand)Author
2021-02-10reject invalid `for...of` syntax (#4632)Alex Lam S.L
2021-02-09support `for [await]...of` statements (#4627)Alex Lam S.L
2021-01-20support asynchronous test cases properly (#4529)Alex Lam S.L
2020-12-20parse destructuring under strict mode correctly (#4429)Alex Lam S.L
2020-08-17reject multiple `default`s in `switch` (#4053)...fixes #4050Alex Lam S.L
2020-06-07parse command line internally (#3961)Alex Lam S.L
2020-04-17support optional output of `names` in source maps (#3784)Alex Lam S.L
2020-04-16improve source-map generation (#3782)...- emit singleton segments to mark generated code from inputAlex Lam S.L
2020-04-10enhance `inline` (#3767)Alex Lam S.L
2020-04-05enhance `inline` (#3760)Alex Lam S.L
2020-03-28handle `source-map` operations internally (#3754)Alex Lam S.L
2020-01-08introduce `--output-opts` CLI option (#3678)...closes #3675Alex Lam S.L
2019-11-17fix corner case in `collapse_vars` (#3591)Alex Lam S.L
2019-05-04make `enclose` & `wrap` work with `sourceMap` (#3396)...fixes #3313Alex Lam S.L
2019-05-04fix corner cases in `sourceMap` (#3397)...fixes #3255 fixes #3294Alex Lam S.L
2019-04-30unify logging functionality (#3392)...fixes #3253 fixes #3254Alex Lam S.L
2019-03-20improve `compress` performance (#3348)...fixes #3174Alex Lam S.L
2019-03-15parse `mangle.properties.regex` in `--config-file` properly (#3337)...fixes #3315Alex Lam S.L
2018-08-23fix corner case in `unused` (#3234)...fixes #3233Alex Lam S.L
2018-06-28implement `directives` (#3203)...fixes #3166Alex Lam S.L
2018-06-06general clean-ups (#3175)Alex Lam S.L
2018-06-01re-introduce `enclose` (#3163)...fixes #2443Jiavan
2018-04-26workaround test failures in Node.js 10 (#3102)Alex Lam S.L
2018-04-06support inline source map from multiple files (#3058)...fixes #145Alex Lam S.L
2018-04-06improve usability of `includeSources` (#3057)...Exclude source contents from input source map if `includeSources=false` fixes #3041Alex Lam S.L
2018-03-31Don't load source map until the JS source is fully received (#3040)b-fuze
2018-03-31give sensible error against invalid input source map (#3044)Alex Lam S.L
2018-03-15refactor brackets to braces (#3005)Alex Lam S.L
2018-01-17configure `rename` with CLI (#2802)Alex Lam S.L
2017-09-15improve source mapping (#2312)...fixes #2310Alex Lam S.L
2017-07-15reject malformed CLI parameters (#2239)...fixes #2237Alex Lam S.L
2017-07-11enhance source mapping on IIFEs (#2224)...fixes #2213Alex Lam S.L
2017-06-23fix for-in loop parsing (#2144)Alex Lam S.L
2017-06-15avoid intermittent test time-out failures (#2100)Alex Lam S.L
2017-06-13fix CLI parsing of `--source-map content` (#2088)...fixes #2082Ziad El Khoury Hanna
2017-06-09marshal `mangle[.properties].reserved` from non-Array values (#2072)Alex Lam S.L
2017-06-07fix CLI output corruption (#2061)...Using `console.error()` & `console.log()` result in inconsistent formatting across Node.js versions. Avoid this issue by directly writing to `process.stderr` & `process.stdout` instead. Miscellaneous - prettify invalid option listingAlex Lam S.L
2017-05-28improve CLI usability (#2016)...Report supported options upon invalid option syntax. fixes #1883Alex Lam S.L
2017-05-23fix source map offset (#1993)...Account for whitespace insertions. fixes #505 fixes #890Alex Lam S.L
2017-05-20enhance `if_return` to handle `return void...` (#1977)...fixes #512Alex Lam S.L
2017-05-15improve keyword-related parser errors (#1941)...fixes #1937Alex Lam S.L
2017-05-12remove support for `const` (#1910)...As this is not part of ES5.Alex Lam S.L
2017-05-09print error stack in CLI (#1890)Alex Lam S.L
2017-05-08support dumping AST (#1879)...Re-order `AST_Binary` properties to make dump more readable. closes #769Alex Lam S.L
2017-05-08deprecate low level API (#1877)...fixes #1872Alex Lam S.L
2017-04-23improve parser under "use strict" (#1836)...- `const` without value - `delete` of expression - redefining `arguments` or `eval` extend `test/ufuzz.js` - optionally generate "use strict" - improve handling of test cases with syntax errors - group IIFE generation - generate bare anonymous functions - workaround `console.log()` for `new function()` - generate expressions with `this` fixes #1810Alex Lam S.L
2017-04-19fix parser bugs & CLI reporting (#1827)...fixes #1825Alex Lam S.L
2017-04-15unify CLI & API under `minify()` (#1811)...- rename `screw_ie8` to `ie8` - rename `mangle.except` to `mangle.reserved` - rename `mangle.properties.ignore_quoted` to `mangle.properties.keep_quoted` - compact `sourceMap` options - more stringent verification on input `options` - toplevel shorthands - `ie8` - `keep_fnames` - `toplevel` - `warnings` - support arrays and unquoted string values on CLI - drop `fromString` from `minify()` - `minify()` no longer handles any `fs` operations - unify order of operations for `mangle_properties()` on CLI & API - `bin/uglifyjs` used to `mangle_properties()` before even `Compressor` - `minify()` used to `mangle_properties()` after `Compressor` but before `mangle_names()` - both will now do `Compressor`, `mangle_names()` then `mangle_properties()` - `options.parse` / `--parse` for parser options beyond `bare_returns` - add `mangle.properties.builtins` to disable built-in reserved list - disable with `--mangle-props builtins` on CLI - `warnings` now off by default - add `--warn` and `--verbose` on CLI - drop `--enclose` - drop `--export-all` - drop `--reserved-file` - use `--mangle reserved` instead - drop `--reserve-domprops` - enabled by default, disable with `--mangle-props domprops` - drop `--prefix` - use `--source-map base` instead - drop `--lint` - remove `bin/extract-props.js` - limit exposure of internal APIs - update documentations closes #96 closes #102 closes #136 closes #166 closes #243 closes #254 closes #261 closes #311 closes #700 closes #748 closes #912 closes #1072 closes #1366 fixes #101 fixes #123 fixes #124 fixes #263 fixes #379 fixes #419 fixes #423 fixes #461 fixes #465 fixes #576 fixes #737 fixes #772 fixes #958 fixes #1036 fixes #1142 fixes #1175 fixes #1220 fixes #1223 fixes #1280 fixes #1359 fixes #1368Alex Lam S.L
2017-03-24improve error marker placement (#1644)...For AST_UnaryPrefix, points to the operator rather than end of expression.Alex Lam S.L
2017-03-24fix expect_stdout (#1642)...`compress()` may modify input ASTs add tests for #1627 & #1640Alex Lam S.L