Age | Commit message (Expand) | Author |
2017-06-13 | fix CLI parsing of `--source-map content` (#2088)...fixes #2082 | Ziad El Khoury Hanna |
2017-06-07 | fix 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 listing | Alex Lam S.L |
2017-05-31 | introduce `unsafe_Func` (#2033)...Separate flag for #203 functionality. | Alex Lam S.L |
2017-05-31 | widen CLI parse error code fragment displayed (#2032)...fixes #2030 | Alex Lam S.L |
2017-05-28 | display default values in `--help options` (#2018) | Alex Lam S.L |
2017-05-28 | implement `--help options` (#2017) | Alex Lam S.L |
2017-05-28 | improve CLI usability (#2016)...Report supported options upon invalid option syntax.
fixes #1883 | Alex Lam S.L |
2017-05-25 | report timing breakdown (#2000)...fix corner cases with `sourceMap`
fixes #1998 | Alex Lam S.L |
2017-05-24 | reinstate `describe_ast()` on CLI (#1996)...fixes #1995 | Alex Lam S.L |
2017-05-16 | print package name alongside version in CLI (#1946)...fixes #1945 | Alex Lam S.L |
2017-05-10 | gracefully handle non-`Error` being thrown (#1893) | Alex Lam S.L |
2017-05-09 | print error stack in CLI (#1890) | Alex Lam S.L |
2017-05-08 | return `Error` from `minify()` (#1880)...Have `minify()` return `Error` in `result.error` rather than throwing it. | Alex Lam S.L |
2017-05-08 | support dumping AST (#1879)...Re-order `AST_Binary` properties to make dump more readable.
closes #769 | Alex Lam S.L |
2017-05-08 | deprecate low level API (#1877)...fixes #1872 | Alex Lam S.L |
2017-05-08 | support `minify()` output as AST (#1878)...- `options.output.ast` (default `false`)
- `options.output.code` (default `true`) | Alex Lam S.L |
2017-05-02 | restore report of supported options (#1861)...fixes #1859 | Alex Lam S.L |
2017-04-19 | fix parser bugs & CLI reporting (#1827)...fixes #1825 | Alex Lam S.L |
2017-04-16 | update README (#1813)...- mention major version bump
- remove reference to internal API | Alex Lam S.L |
2017-04-15 | unify 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 #1368 | Alex Lam S.L |
2017-04-12 | convert `AST_Seq` from binary tree to array (#1460)...- rename `AST_Seq` to `AST_Sequence`
- raise default sequences_limit from 200 to 800 | Alex Lam S.L |
2017-03-24 | fix regression: CLI options with hyphens like -b ascii-only (#1640)...fixes #1637 | kzc |
2017-03-05 | stay 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 bug | Alex Lam S.L |
2017-03-05 | resolve issue with outdated version of async (#1549)...fixes #746 | Alex Lam S.L |
2017-02-27 | improve 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 #1405 | Alex Lam S.L |
2017-02-25 | allow --in-source-map inline (#1490)...- limited to one input file (or `stdin`)
- only works with built-in parser
fixes #520 | Alex Lam S.L |
2017-02-21 | clean up `max_line_len`...- never exceed specified limit
- otherwise warning is shown
- enabled only for final output
closes #1496
| alexlamsl |
2017-01-26 | fix mangling collision with keep_fnames (#1431)...* fix mangling collision with keep_fnames
fixes #1423
* pass mangle options to figure_out_scope()
bring command-line in line with minify()
| Alex Lam S.L |
2017-01-19 | Have minify() and tests use figure_out_scope() as uglifyjs CLI does...Clarify docs, help and tests for --support-ie8 and screw_ie8=false
| kzc |
2016-11-29 | Add --mangle-props-debug and fix --mangle-props=unquoted collision...Patch by @AshleyScirra
Based on: PR #1316
Renamed the CLI debug option to --mangle-props-debug
Fixes: #1321 name collision in --mangle-props=unquoted
| Ashley (Scirra) |
2016-10-23 | Don't filter shebangs when using the 'some' comment filter...Also clarify documentation a bit more about using regexp as filter
| Anthony Van de Gejuchte |
2016-10-23 | Add an option for writing inline source map | pengzhenqing |
2016-10-06 | Add an option to wrap IIFEs in parenthesis...For #1307.
| Richard van Velzen |
2016-09-06 | Make all comment options in cli available in js api...Also removing more code within "loop" while at it.
| Anthony Van de Gejuchte |
2016-08-14 | Add simple file globbing to bin/uglifyjs for Windows | kzc |
2016-06-30 | Enable --screw-ie8 by default....catch identifier is mangled correctly for ES5 standards-compliant JS engines by default.
Unconditionally use the ie8 if/do-while workaround whether or not --screw-ie8 is enabled.
To support non-standard ie8 javascript use: uglifyjs --support-ie8
| kzc |
2016-06-19 | Respect quote style in object literals...The option added in fbbaa42ee55a7f753f7cab9b1a905ccf73cf26d5 wasn't
being respected inside object literals, so quoted property names would
still be stripped out with this option.
This is mostly a corner-case, but useful when the output is passed to
something like the Closure compiler, where quoted property names can be
used to prevent mangling.
| Shrey Banga |
2016-04-19 | Add `passes` compress option. Fix duplicate compress warnings. | kzc |
2016-02-17 | Allow --no-* options to disable their respective parameter...Fixes #974 and #972
| Richard van Velzen |
2016-02-10 | Allow cli options to be specified in separate definitions...Fix for #963. This allows stuff like `--define a=1 --define b=1` besides only `--define a=1,b=1`
| Richard van Velzen |
2015-11-11 | Rework has_directive...It's now available during tree walking, i.e. walker.has_directive("use
asm"), rather than as part of the scope. It's thus no longer necessary
to call `figure_out_scope` before codegen. Added special bits in the
code generator to overcome the fact that it doesn't inherit from
TreeWalker.
Fix #861
| Mihai Bazon |
2015-11-01 | Fixed RegExp literal in mozilla AST generation/output and added a --dump-spid... | kzc |
2015-10-13 | add `--pure-funcs` option...it has the same effect as specifying `pure_funcs` in `--compressor`
option, however it's much easier to use
instead of:
--compressor 'pure_func=["Math.floor","debug","console.logTime"]'
it's now possible:
--compressor --pure-funcs Math.floor debug console.logTime
fixes #684
| Damian Krzeminski |
2015-10-07 | get rid of SCOPE_IS_NEEDED as it was always true | kzc |
2015-10-07 | Fix handling of "use asm" when no command line flags are passed to uglifyjs. ... | kzc |
2015-10-07 | Add proper support for "use asm"; blocks. Disable -c optimization within "use... | kzc |
2015-09-24 | No longer use `vm` to load code....Improves performance 2x on node > 0.10.
Ref #636
| Mihai Bazon |
2015-06-09 | Change --mangle-regex to accept a full regex | Joao Carlos |
2015-06-09 | Show descriptive error when --mangle-regex is invalid | Joao Carlos |
2015-06-09 | Add --mangle-regex option | Joao Carlos |