aboutsummaryrefslogtreecommitdiff
path: root/bin
AgeCommit message (Expand)Author
2020-06-10improve fix for #3976 (#3980)Alex Lam S.L
2020-06-08improve handling of invalid CLI options (#3966)Alex Lam S.L
2020-06-07parse command line internally (#3961)Alex Lam S.L
2020-05-09implement AST validation (#3863)Alex Lam S.L
2020-04-25fix corner case in `--reduce-test` (#3819)Alex Lam S.L
2020-04-18report top-level default options (#3797)Alex Lam S.L
2020-04-14expand testing on Node.js versions (#3779)Alex Lam S.L
2020-02-06implement CLI `--reduce-test` and reduce tests in ufuzz (#3705)kzc
2020-01-08introduce `--output-opts` CLI option (#3678)...closes #3675Alex Lam S.L
2019-12-28enhance `evaluate` (#3649)Alex Lam S.L
2019-05-04make `enclose` & `wrap` work with `sourceMap` (#3396)...fixes #3313Alex Lam S.L
2019-04-30unify logging functionality (#3392)...fixes #3253 fixes #3254Alex Lam S.L
2019-03-15parse `mangle.properties.regex` in `--config-file` properly (#3337)...fixes #3315Alex Lam S.L
2018-07-13fix corner cases in `preserve_line` (#3212)Alex Lam S.L
2018-06-01re-introduce `enclose` (#3163)...fixes #2443Jiavan
2018-03-31Don't load source map until the JS source is fully received (#3040)b-fuze
2018-01-17configure `rename` with CLI (#2802)Alex Lam S.L
2018-01-14improve SymbolDef info in `--output ast` (#2778)...* SymbolDef info (a.k.a. `thedef`) is now represented as a string containing `"ID name [mangled_name]"`. * Enhance display of `globals`, `variables`, `functions` and `enclosed`. * `SymbolDef.next_id` starts at `1` and the `id` is adjusted for `-o ast` display.kzc
2018-01-12add SymbolDef IDs to --output ast (#2772)kzc
2018-01-07improve `process.exit()` workaround (#2741)...- use public API - fix issue with Node.js 0.10 on WIndowsAlex Lam S.L
2017-11-24fix `rename` (#2501)...- suppress spurious `rename` from `commander` - handle `AST_SymbolCatch` correctlyAlex Lam S.L
2017-11-19expand symbol space to improve compression (#2460)...- give globally distinct names to distinct variables - improve ability to compress cross-scoped - introduce `options.rename` to `minify()` - default `true` if both `compress` & `mangle`Alex Lam S.L
2017-11-16fix cross-scope inlining of `AST_Function`s (#2486)...fixes #2485Alex Lam S.L
2017-07-15reject malformed CLI parameters (#2239)...fixes #2237Alex Lam S.L
2017-06-29improve usability of name cache under `minify()` (#2176)...fixes #2174Alex Lam S.L
2017-06-13fix CLI parsing of `--source-map content` (#2088)...fixes #2082Ziad El Khoury Hanna
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-31introduce `unsafe_Func` (#2033)...Separate flag for #203 functionality.Alex Lam S.L
2017-05-31widen CLI parse error code fragment displayed (#2032)...fixes #2030Alex Lam S.L
2017-05-28display default values in `--help options` (#2018)Alex Lam S.L
2017-05-28implement `--help options` (#2017)Alex Lam S.L
2017-05-28improve CLI usability (#2016)...Report supported options upon invalid option syntax. fixes #1883Alex Lam S.L
2017-05-25report timing breakdown (#2000)...fix corner cases with `sourceMap` fixes #1998Alex Lam S.L
2017-05-24reinstate `describe_ast()` on CLI (#1996)...fixes #1995Alex Lam S.L
2017-05-16print package name alongside version in CLI (#1946)...fixes #1945Alex Lam S.L
2017-05-10gracefully handle non-`Error` being thrown (#1893)Alex Lam S.L
2017-05-09print error stack in CLI (#1890)Alex Lam S.L
2017-05-08return `Error` from `minify()` (#1880)...Have `minify()` return `Error` in `result.error` rather than throwing it.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-05-08support `minify()` output as AST (#1878)...- `options.output.ast` (default `false`) - `options.output.code` (default `true`)Alex Lam S.L
2017-05-02restore report of supported options (#1861)...fixes #1859Alex Lam S.L
2017-04-19fix parser bugs & CLI reporting (#1827)...fixes #1825Alex Lam S.L
2017-04-16update README (#1813)...- mention major version bump - remove reference to internal APIAlex 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-04-12convert `AST_Seq` from binary tree to array (#1460)...- rename `AST_Seq` to `AST_Sequence` - raise default sequences_limit from 200 to 800Alex Lam S.L
2017-03-24fix regression: CLI options with hyphens like -b ascii-only (#1640)...fixes #1637kzc
2017-03-05stay safe with constants in IE8- (#1547)...- `undefined` etc. can be redefined at top-level for IE8-, so disable related optimisations - fixed `--support-ie8` catch mangle bugAlex Lam S.L
2017-03-05resolve issue with outdated version of async (#1549)...fixes #746Alex Lam S.L
2017-02-27improve error messages (#1506)...- better inheritance of `Error` sub-classes - mark parse error against source in CLI closes #235 closes #348 closes #524 closes #1356 closes #1405Alex Lam S.L