aboutsummaryrefslogtreecommitdiff
path: root/test/mocha/cli.js
AgeCommit message (Collapse)Author
2020-12-20parse destructuring under strict mode correctly (#4429)Alex Lam S.L
2020-08-17reject multiple `default`s in `switch` (#4053)Alex Lam S.L
fixes #4050
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)Alex Lam S.L
- emit singleton segments to mark generated code from input
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)Alex Lam S.L
closes #3675
2019-11-17fix corner case in `collapse_vars` (#3591)Alex Lam S.L
2019-05-04make `enclose` & `wrap` work with `sourceMap` (#3396)Alex Lam S.L
fixes #3313
2019-05-04fix corner cases in `sourceMap` (#3397)Alex Lam S.L
fixes #3255 fixes #3294
2019-04-30unify logging functionality (#3392)Alex Lam S.L
fixes #3253 fixes #3254
2019-03-20improve `compress` performance (#3348)Alex Lam S.L
fixes #3174
2019-03-15parse `mangle.properties.regex` in `--config-file` properly (#3337)Alex Lam S.L
fixes #3315
2018-08-23fix corner case in `unused` (#3234)Alex Lam S.L
fixes #3233
2018-06-28implement `directives` (#3203)Alex Lam S.L
fixes #3166
2018-06-06general clean-ups (#3175)Alex Lam S.L
2018-06-01re-introduce `enclose` (#3163)Jiavan
fixes #2443
2018-04-26workaround test failures in Node.js 10 (#3102)Alex Lam S.L
2018-04-06support inline source map from multiple files (#3058)Alex Lam S.L
fixes #145
2018-04-06improve usability of `includeSources` (#3057)Alex Lam S.L
Exclude source contents from input source map if `includeSources=false` fixes #3041
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)Alex Lam S.L
fixes #2310
2017-07-15reject malformed CLI parameters (#2239)Alex Lam S.L
fixes #2237
2017-07-11enhance source mapping on IIFEs (#2224)Alex Lam S.L
fixes #2213
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)Ziad El Khoury Hanna
fixes #2082
2017-06-09marshal `mangle[.properties].reserved` from non-Array values (#2072)Alex Lam S.L
2017-06-07fix CLI output corruption (#2061)Alex Lam S.L
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 listing
2017-05-28improve CLI usability (#2016)Alex Lam S.L
Report supported options upon invalid option syntax. fixes #1883
2017-05-23fix source map offset (#1993)Alex Lam S.L
Account for whitespace insertions. fixes #505 fixes #890
2017-05-20enhance `if_return` to handle `return void...` (#1977)Alex Lam S.L
fixes #512
2017-05-15improve keyword-related parser errors (#1941)Alex Lam S.L
fixes #1937
2017-05-12remove support for `const` (#1910)Alex Lam S.L
As this is not part of ES5.
2017-05-09print error stack in CLI (#1890)Alex Lam S.L
2017-05-08support dumping AST (#1879)Alex Lam S.L
Re-order `AST_Binary` properties to make dump more readable. closes #769
2017-05-08deprecate low level API (#1877)Alex Lam S.L
fixes #1872
2017-04-23improve parser under "use strict" (#1836)Alex Lam S.L
- `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 #1810
2017-04-19fix parser bugs & CLI reporting (#1827)Alex Lam S.L
fixes #1825
2017-04-15unify CLI & API under `minify()` (#1811)Alex Lam S.L
- 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 #1368
2017-03-24improve error marker placement (#1644)Alex Lam S.L
For AST_UnaryPrefix, points to the operator rather than end of expression.
2017-03-24fix expect_stdout (#1642)Alex Lam S.L
`compress()` may modify input ASTs add tests for #1627 & #1640
2017-03-16make `collapse_vars` consistent with `toplevel` (#1608)Alex Lam S.L
fixes #1605
2017-03-10fixup for #1585 (#1589)Alex Lam S.L
As patched on `harmony`, `statement()` is the only user of `embed_tokens()` with a missing error branch. Updated test case and match up with `harmony` to facilitate future merging.
2017-03-10Correctly raise a parse exception with a missing loop body (#1585)Michael Mior