https://github.com/mishoo/UglifyJS

sort by:
Revision Author Date Message Commit Date
7b13159 fix `hoist_funs` on block-scoped `function` under "use strict" (#2013) Technically not part of ES5, but commonly used code exists in the wild. 27 May 2017, 09:44:59 UTC
95094b9 fix `if_return` on `AST_Defun` (#2010) Previous fiix for #1052 perturbs declaration order of functions which leads to incorrect behaviour under "use strict". 27 May 2017, 05:41:49 UTC
1ff8e9d clarify what --mangle-props does (#2012) 27 May 2017, 05:17:30 UTC
78309a2 better document mangle properties options (#2009) 26 May 2017, 18:28:43 UTC
695e182 fix and expand --mangle-props documentation (#2008) fixes #2007 26 May 2017, 17:25:51 UTC
dc33fac fix `dead_code` on block-scoped `function` under "use strict" (#2006) Technically not part of ES5, but commonly used code exists in the wild. 26 May 2017, 08:08:51 UTC
c70fb60 clean up `lib/scope.js` (#2003) fixes #2004 25 May 2017, 19:58:35 UTC
793d614 report timing breakdown (#2000) fix corner cases with `sourceMap` fixes #1998 24 May 2017, 23:15:55 UTC
a277fe1 ensure new line after `describe_ast()` (#1999) 24 May 2017, 18:32:36 UTC
7d3b941 reinstate `describe_ast()` on CLI (#1996) fixes #1995 23 May 2017, 18:30:09 UTC
e95052a v3.0.11 23 May 2017, 14:26:59 UTC
e667f0a fix source map offset (#1993) Account for whitespace insertions. fixes #505 fixes #890 23 May 2017, 12:25:48 UTC
69ac794 add another minify() options example (#1988) 22 May 2017, 04:19:07 UTC
efdb659 improve usability of `global_defs` in `minify()` (#1987) Use `@key` to `parse()` string value as `AST_Node`. fixes #1986 21 May 2017, 17:38:43 UTC
a1dedeb more refinement of minify() documentation (#1983) 20 May 2017, 20:55:03 UTC
d3c4a8e v3.0.10 20 May 2017, 17:30:17 UTC
7e164ab add "es5" to package.json keywords (#1980) 20 May 2017, 14:09:50 UTC
22aedef document minify() option `toplevel` (#1979) 20 May 2017, 14:09:21 UTC
58fae7d enhance `if_return` to handle `return void...` (#1977) fixes #512 20 May 2017, 07:58:46 UTC
5bf8d7e document 3.x minify() does not throw errors (#1975) 20 May 2017, 02:49:35 UTC
1df9d06 document minify `warnings` and add an error example (#1973) 19 May 2017, 09:20:21 UTC
3408fc9 v3.0.9 19 May 2017, 01:35:26 UTC
eae2675 introduce `unsafe_regexp` (#1970) fixes #1964 19 May 2017, 01:06:29 UTC
43add94 v3.0.8 18 May 2017, 06:49:40 UTC
efcf167 make `expect_stdout` node version specific (#1963) ... via semver string on `node_version` label. 18 May 2017, 03:28:35 UTC
6ed9091 fix docs for side_effects flag to reflect current behavior (#1966) 18 May 2017, 02:51:49 UTC
569c21e improve `RegExp` handling (#1959) - remove `options.output.unescape_regexps` - preserve original pattern whenever possible fixes #54 fixes #1929 17 May 2017, 12:10:50 UTC
87c3a2c remove `space_colon` (#1960) Always emit space after colon when `options.output.beautify` is enabled. 17 May 2017, 06:07:34 UTC
baef8bf update output options in readme (#1958) 17 May 2017, 03:54:46 UTC
0813c53 remove Travis CI badge 17 May 2017, 02:32:59 UTC
c881394 v3.0.7 16 May 2017, 11:59:40 UTC
cb45886 export `TreeTransformer` (#1950) - link to existing documentation on `TreeWalker` & `TreeTransformer` - fix Travis build failures fixes #1949 16 May 2017, 11:59:05 UTC
050474a v3.0.6 15 May 2017, 22:38:58 UTC
f6c805a print package name alongside version in CLI (#1946) fixes #1945 15 May 2017, 22:34:32 UTC
9464d3c fix parsing of property access after new line (#1944) Account for comments when detecting property access in `tokenizer`. fixes #1943 15 May 2017, 21:40:49 UTC
f18abd1 minor fixes to README.md 15 May 2017, 17:33:01 UTC
3be06ad reorg README for 3.x (#1942) 15 May 2017, 17:12:00 UTC
265008c improve keyword-related parser errors (#1941) fixes #1937 15 May 2017, 15:02:55 UTC
ff526be v3.0.5 15 May 2017, 03:37:14 UTC
e005099 fix & improve coverage of `estree` (#1935) - fix `estree` conversion of getter/setter - fix non-directive literal in `to_mozilla_ast()` - revamp `test/mozilla-ast.js` - reuse `test/ufuzz.js` for code generation - use `acorn.parse()` for creating `estree` - extend `test/ufuzz.js` for `acorn` workaround - catch variable redefinition - non-trivial literal as directive - adjust options for tolerance Miscellaneous - optional semi-colon when parsing directives fixes #1914 closes #1915 14 May 2017, 18:37:53 UTC
504a436 Tweak README Notes (#1934) 13 May 2017, 18:12:14 UTC
3ca9022 fix bugs with getter/setter (#1926) - `reduce_vars` - `side_effects` - property access for object - `AST_SymbolAccessor` as key names enhance `test/ufuzz.js` - add object getter & setter - property assignment to setter - avoid infinite recursion in setter - fix & adjust assignment operators - 50% `=` - 25% `+=` - 2.5% each for the rest - avoid "Invalid array length" - fix `console.log()` - bypass getter - curb recursive reference - deprecate `-E`, always report runtime errors 13 May 2017, 18:10:34 UTC
fd09512 document 3 max passes (#1928) 13 May 2017, 04:54:32 UTC
9e29b6d clarify wording (#1931) 13 May 2017, 04:54:01 UTC
c391576 remove support for `const` (#1910) As this is not part of ES5. 12 May 2017, 06:57:41 UTC
ac73c5d avoid `arguments` and `eval` in `reduce_vars` (#1924) fixes #1922 12 May 2017, 04:34:55 UTC
547f41b add documentation for `side_effects` & `[#@]__PURE__` (#1925) 12 May 2017, 04:29:55 UTC
daaefc1 v3.0.4 11 May 2017, 20:52:39 UTC
1d407e7 fix invalid transform on `const` (#1919) - preserve (re)assignment to `const` for runtime error - suppress `cascade` on `const`, as runtime behaviour is ill-defined 11 May 2017, 20:51:44 UTC
2b44f4a update README (#1918) 11 May 2017, 19:36:33 UTC
e51c354 fix typo (#1913) 11 May 2017, 12:24:33 UTC
3bf1946 update documentation (#1909) - clarify options on `--source-map` - fix `minify()` examples fixes #1905 11 May 2017, 09:50:50 UTC
aae7d49 v3.0.3 10 May 2017, 03:45:03 UTC
0459af2 Update issue template: change harmony to uglify-es (#1900) 10 May 2017, 03:07:54 UTC
04f2344 Remove unnecessary `git clone` instructions in README (#1897) 10 May 2017, 03:06:50 UTC
bad9d5c Change `harmony` to `uglify-es` in master README (#1895) 09 May 2017, 21:07:45 UTC
a0f5f86 gracefully handle non-`Error` being thrown (#1893) 09 May 2017, 20:20:59 UTC
41996be extend test timeout Travis has gone a lot slower recently, and most test failures are due to time-out on this particular test. 09 May 2017, 18:43:12 UTC
5fd8244 v3.0.2 09 May 2017, 17:52:00 UTC
c14e280 print error stack in CLI (#1890) 09 May 2017, 08:36:44 UTC
bc3fa78 mention `minify().error` 09 May 2017, 08:09:48 UTC
8c7c107 update `minify()` usage in `test/ufuzz.js` (#1888) fixes #1887 09 May 2017, 07:58:46 UTC
3dd328d [3.x] fix documentation for beautify options (#1882) - use underscores rather than dashes. 08 May 2017, 15:06:56 UTC
014f428 v3.0.1 07 May 2017, 23:05:57 UTC
a3b2eb7 return `Error` from `minify()` (#1880) Have `minify()` return `Error` in `result.error` rather than throwing it. 07 May 2017, 23:05:19 UTC
da295de support dumping AST (#1879) Re-order `AST_Binary` properties to make dump more readable. closes #769 07 May 2017, 22:23:01 UTC
4f8ca46 deprecate low level API (#1877) fixes #1872 07 May 2017, 19:24:42 UTC
e547483 support `minify()` output as AST (#1878) - `options.output.ast` (default `false`) - `options.output.code` (default `true`) 07 May 2017, 18:11:45 UTC
2d99d06 update documentation Remove deprecated CLI option 06 May 2017, 19:02:46 UTC
98cf95e fix test for #1865 (#1873) 06 May 2017, 18:56:02 UTC
7313465 v3.0.0 06 May 2017, 15:51:10 UTC
2c7ee95 fix `unsafe` on `evaluate` of `reduce_vars` (#1870) Determine if variables with non-constant values can escape and be modified. fixes #1865 06 May 2017, 15:18:55 UTC
ecf3563 kill `opera` (#1869) 06 May 2017, 09:42:07 UTC
dee5a27 enhance `collapse_vars` (#1862) - extend expression types - `a++` - `a=x;` - extend scan range - `for(init;;);` - `switch(expr){case expr:}` - `a = x; a = a || y;` - terminate upon `debugger;` closes #1821 fixes #27 fixes #315 fixes #1858 06 May 2017, 08:15:43 UTC
5a25d24 rename variables for better readability (#1863) 02 May 2017, 12:47:10 UTC
bffdc8d update `test/benchmark.js` resources (#1864) 02 May 2017, 11:48:12 UTC
69b5663 restore report of supported options (#1861) fixes #1859 01 May 2017, 17:42:29 UTC
ea92897 improve literal return optimization (#1860) 01 May 2017, 16:10:11 UTC
2cb55b2 enforce `toplevel` on other compress options (#1855) Respect "funcs" and "vars" properly. fixes #1850 30 April 2017, 14:52:36 UTC
bbb5f2a Update ISSUE_TEMPLATE.md (#1846) 25 April 2017, 17:30:43 UTC
76d19b6 fix fuzzer on `this` (#1842) - forbid redeclaration of `this` - suppress probability for `this` within nested functions 23 April 2017, 19:15:03 UTC
9e62628 fix `unused` on for-in statements (#1843) Only need to avoid `var` within the initialisation block. fixes #1841 23 April 2017, 19:14:01 UTC
9bf72cf improve 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 #1810 23 April 2017, 12:05:22 UTC
64d7443 update README for 3.x (#1840) 22 April 2017, 20:28:32 UTC
45ce369 fix `AST_For.init` patch-up in `drop_unused()` (#1839) fixes #1838 22 April 2017, 17:51:56 UTC
ca32a09 fix label-related bugs (#1835) - deep cloning of `AST_LabeledStatement` - `L:do{...}while(false)` - empty statement with label within block extend `test/ufuzz.js` - generate labels for blocks & loops - generate for-in statements - skip suspicious option search if `minify()` errs fixes #1833 22 April 2017, 14:15:04 UTC
6f954aa Fix API reference examples (#1834) 20 April 2017, 18:23:41 UTC
f05d4f7 improve `unused` (#1832) - extract leading value with side-effects out of `var` statement - reduce scanning of `AST_Definitions` from 3 passes to just once 20 April 2017, 05:06:14 UTC
88e7a54 fix `unused` on labeled for-loop (#1831) fixes #1830 19 April 2017, 20:18:38 UTC
4dcff03 improve `collapse_vars` on `AST_Var` (#1828) Perform the same cascaded scanning within `var` statement as we do on array of statements. 18 April 2017, 20:49:09 UTC
b4b9305 fix parser bugs & CLI reporting (#1827) fixes #1825 18 April 2017, 20:27:13 UTC
28cfb65 extend `cascade` into `a.b` (#1829) fixes #27 18 April 2017, 20:17:15 UTC
0f4f01b clean up `collapse_vars` (#1826) - remove overlap in functionality of singular, consecutive reference of constant value - remove workarounds for previous bugs in `lib/scope.js` - distribute recursive `collapse_single_use_vars()` calls to their respective `OPT(AST_Node)` - enable collapsing of variables within a single `AST_Definitions` 18 April 2017, 13:45:34 UTC
5d9f1da support safe reassignments in `reduce_vars` (#1823) `var a=1;a=2;x(a)` => `x(2)` fix pre-existing issues - reference counting on assignment - walking of anonymous functions - chained assignment 18 April 2017, 05:38:42 UTC
d1aa09c fix `reduce_vars` on conditionals (#1822) 17 April 2017, 17:44:23 UTC
6d5f341 fix `reduce_vars` on boolean binary expressions (#1819) Side effects of `&&` and `||` have not mattered until #1814, which takes assignment expressions into account. 17 April 2017, 09:24:29 UTC
4ffb6fc compress duplicated variable definitions (#1817) These are surprisingly common, as people reuse the same variable name within loops or switch branches. 17 April 2017, 09:11:29 UTC
71a8d0d fix `reduce_vars` within try-block (#1818) Possible partial execution due to exceptions. 17 April 2017, 06:03:29 UTC
1a498db enhance `reduce_vars` (#1814) - allow immediate assignment after declaration of variable - relax modification rule for immutable value - fix order of visit for TreeWalker - remove extraneous code 16 April 2017, 17:36:50 UTC
44dfa5a fix variable substitution (#1816) - let `collapse_vars` take care of value containing any symbols - improve overhead accounting 16 April 2017, 09:25:39 UTC
back to top