7b13159 | Alex Lam S.L | 27 May 2017, 09:44:59 UTC | 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 | Alex Lam S.L | 27 May 2017, 05:41:49 UTC | 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 | kzc | 27 May 2017, 05:17:30 UTC | clarify what --mangle-props does (#2012) | 27 May 2017, 05:17:30 UTC |
78309a2 | kzc | 26 May 2017, 18:28:43 UTC | better document mangle properties options (#2009) | 26 May 2017, 18:28:43 UTC |
695e182 | kzc | 26 May 2017, 17:25:51 UTC | fix and expand --mangle-props documentation (#2008) fixes #2007 | 26 May 2017, 17:25:51 UTC |
dc33fac | Alex Lam S.L | 26 May 2017, 08:08:51 UTC | 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 | Alex Lam S.L | 25 May 2017, 19:58:35 UTC | clean up `lib/scope.js` (#2003) fixes #2004 | 25 May 2017, 19:58:35 UTC |
793d614 | Alex Lam S.L | 24 May 2017, 23:15:55 UTC | report timing breakdown (#2000) fix corner cases with `sourceMap` fixes #1998 | 24 May 2017, 23:15:55 UTC |
a277fe1 | Alex Lam S.L | 24 May 2017, 18:32:36 UTC | ensure new line after `describe_ast()` (#1999) | 24 May 2017, 18:32:36 UTC |
7d3b941 | Alex Lam S.L | 23 May 2017, 18:30:09 UTC | reinstate `describe_ast()` on CLI (#1996) fixes #1995 | 23 May 2017, 18:30:09 UTC |
e95052a | Alex Lam S.L | 23 May 2017, 14:26:59 UTC | v3.0.11 | 23 May 2017, 14:26:59 UTC |
e667f0a | Alex Lam S.L | 23 May 2017, 12:25:48 UTC | fix source map offset (#1993) Account for whitespace insertions. fixes #505 fixes #890 | 23 May 2017, 12:25:48 UTC |
69ac794 | kzc | 22 May 2017, 04:19:07 UTC | add another minify() options example (#1988) | 22 May 2017, 04:19:07 UTC |
efdb659 | Alex Lam S.L | 21 May 2017, 17:38:43 UTC | 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 | kzc | 20 May 2017, 20:55:03 UTC | more refinement of minify() documentation (#1983) | 20 May 2017, 20:55:03 UTC |
d3c4a8e | Alex Lam S.L | 20 May 2017, 17:30:17 UTC | v3.0.10 | 20 May 2017, 17:30:17 UTC |
7e164ab | kzc | 20 May 2017, 14:09:51 UTC | add "es5" to package.json keywords (#1980) | 20 May 2017, 14:09:50 UTC |
22aedef | kzc | 20 May 2017, 14:09:21 UTC | document minify() option `toplevel` (#1979) | 20 May 2017, 14:09:21 UTC |
58fae7d | Alex Lam S.L | 20 May 2017, 07:58:46 UTC | enhance `if_return` to handle `return void...` (#1977) fixes #512 | 20 May 2017, 07:58:46 UTC |
5bf8d7e | kzc | 20 May 2017, 02:49:35 UTC | document 3.x minify() does not throw errors (#1975) | 20 May 2017, 02:49:35 UTC |
1df9d06 | kzc | 19 May 2017, 09:20:21 UTC | document minify `warnings` and add an error example (#1973) | 19 May 2017, 09:20:21 UTC |
3408fc9 | Alex Lam S.L | 19 May 2017, 01:35:26 UTC | v3.0.9 | 19 May 2017, 01:35:26 UTC |
eae2675 | Alex Lam S.L | 19 May 2017, 01:06:29 UTC | introduce `unsafe_regexp` (#1970) fixes #1964 | 19 May 2017, 01:06:29 UTC |
43add94 | Alex Lam S.L | 18 May 2017, 06:49:40 UTC | v3.0.8 | 18 May 2017, 06:49:40 UTC |
efcf167 | Alex Lam S.L | 18 May 2017, 03:28:35 UTC | make `expect_stdout` node version specific (#1963) ... via semver string on `node_version` label. | 18 May 2017, 03:28:35 UTC |
6ed9091 | Kara | 18 May 2017, 02:51:49 UTC | fix docs for side_effects flag to reflect current behavior (#1966) | 18 May 2017, 02:51:49 UTC |
569c21e | Alex Lam S.L | 17 May 2017, 12:10:50 UTC | 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 | Alex Lam S.L | 17 May 2017, 06:07:34 UTC | remove `space_colon` (#1960) Always emit space after colon when `options.output.beautify` is enabled. | 17 May 2017, 06:07:34 UTC |
baef8bf | Rob Garrison | 17 May 2017, 03:54:46 UTC | update output options in readme (#1958) | 17 May 2017, 03:54:46 UTC |
0813c53 | alexlamsl | 17 May 2017, 02:32:59 UTC | remove Travis CI badge | 17 May 2017, 02:32:59 UTC |
c881394 | Alex Lam S.L | 16 May 2017, 11:59:40 UTC | v3.0.7 | 16 May 2017, 11:59:40 UTC |
cb45886 | Alex Lam S.L | 16 May 2017, 11:59:05 UTC | export `TreeTransformer` (#1950) - link to existing documentation on `TreeWalker` & `TreeTransformer` - fix Travis build failures fixes #1949 | 16 May 2017, 11:59:05 UTC |
050474a | Alex Lam S.L | 15 May 2017, 22:38:58 UTC | v3.0.6 | 15 May 2017, 22:38:58 UTC |
f6c805a | Alex Lam S.L | 15 May 2017, 22:34:32 UTC | print package name alongside version in CLI (#1946) fixes #1945 | 15 May 2017, 22:34:32 UTC |
9464d3c | Alex Lam S.L | 15 May 2017, 21:40:49 UTC | 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 | alexlamsl | 15 May 2017, 17:33:01 UTC | minor fixes to README.md | 15 May 2017, 17:33:01 UTC |
3be06ad | kzc | 15 May 2017, 17:12:00 UTC | reorg README for 3.x (#1942) | 15 May 2017, 17:12:00 UTC |
265008c | Alex Lam S.L | 15 May 2017, 15:02:55 UTC | improve keyword-related parser errors (#1941) fixes #1937 | 15 May 2017, 15:02:55 UTC |
ff526be | Alex Lam S.L | 15 May 2017, 03:34:59 UTC | v3.0.5 | 15 May 2017, 03:37:14 UTC |
e005099 | Alex Lam S.L | 14 May 2017, 18:37:53 UTC | 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 | kzc | 13 May 2017, 18:12:14 UTC | Tweak README Notes (#1934) | 13 May 2017, 18:12:14 UTC |
3ca9022 | Alex Lam S.L | 13 May 2017, 18:10:34 UTC | 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 | olsonpm | 13 May 2017, 04:54:32 UTC | document 3 max passes (#1928) | 13 May 2017, 04:54:32 UTC |
9e29b6d | olsonpm | 13 May 2017, 04:54:01 UTC | clarify wording (#1931) | 13 May 2017, 04:54:01 UTC |
c391576 | Alex Lam S.L | 12 May 2017, 06:57:41 UTC | remove support for `const` (#1910) As this is not part of ES5. | 12 May 2017, 06:57:41 UTC |
ac73c5d | Alex Lam S.L | 12 May 2017, 04:34:55 UTC | avoid `arguments` and `eval` in `reduce_vars` (#1924) fixes #1922 | 12 May 2017, 04:34:55 UTC |
547f41b | olsonpm | 12 May 2017, 04:29:55 UTC | add documentation for `side_effects` & `[#@]__PURE__` (#1925) | 12 May 2017, 04:29:55 UTC |
daaefc1 | Alex Lam S.L | 11 May 2017, 20:52:39 UTC | v3.0.4 | 11 May 2017, 20:52:39 UTC |
1d407e7 | Alex Lam S.L | 11 May 2017, 20:51:44 UTC | 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 | kzc | 11 May 2017, 19:36:33 UTC | update README (#1918) | 11 May 2017, 19:36:33 UTC |
e51c354 | Alexis Tyler | 11 May 2017, 12:24:33 UTC | fix typo (#1913) | 11 May 2017, 12:24:33 UTC |
3bf1946 | Alex Lam S.L | 11 May 2017, 09:50:50 UTC | update documentation (#1909) - clarify options on `--source-map` - fix `minify()` examples fixes #1905 | 11 May 2017, 09:50:50 UTC |
aae7d49 | Alex Lam S.L | 10 May 2017, 03:45:03 UTC | v3.0.3 | 10 May 2017, 03:45:03 UTC |
0459af2 | kzc | 10 May 2017, 03:07:54 UTC | Update issue template: change harmony to uglify-es (#1900) | 10 May 2017, 03:07:54 UTC |
04f2344 | kzc | 10 May 2017, 03:06:50 UTC | Remove unnecessary `git clone` instructions in README (#1897) | 10 May 2017, 03:06:50 UTC |
bad9d5c | kzc | 09 May 2017, 21:07:45 UTC | Change `harmony` to `uglify-es` in master README (#1895) | 09 May 2017, 21:07:45 UTC |
a0f5f86 | Alex Lam S.L | 09 May 2017, 20:20:59 UTC | gracefully handle non-`Error` being thrown (#1893) | 09 May 2017, 20:20:59 UTC |
41996be | Alex Lam S.L | 09 May 2017, 18:43:12 UTC | 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 | Alex Lam S.L | 09 May 2017, 17:52:00 UTC | v3.0.2 | 09 May 2017, 17:52:00 UTC |
c14e280 | Alex Lam S.L | 09 May 2017, 08:36:44 UTC | print error stack in CLI (#1890) | 09 May 2017, 08:36:44 UTC |
bc3fa78 | Alex Lam S.L | 09 May 2017, 08:08:04 UTC | mention `minify().error` | 09 May 2017, 08:09:48 UTC |
8c7c107 | Alex Lam S.L | 09 May 2017, 07:58:46 UTC | update `minify()` usage in `test/ufuzz.js` (#1888) fixes #1887 | 09 May 2017, 07:58:46 UTC |
3dd328d | kzc | 08 May 2017, 15:06:56 UTC | [3.x] fix documentation for beautify options (#1882) - use underscores rather than dashes. | 08 May 2017, 15:06:56 UTC |
014f428 | Alex Lam S.L | 07 May 2017, 23:05:57 UTC | v3.0.1 | 07 May 2017, 23:05:57 UTC |
a3b2eb7 | Alex Lam S.L | 07 May 2017, 23:05:19 UTC | return `Error` from `minify()` (#1880) Have `minify()` return `Error` in `result.error` rather than throwing it. | 07 May 2017, 23:05:19 UTC |
da295de | Alex Lam S.L | 07 May 2017, 22:23:01 UTC | support dumping AST (#1879) Re-order `AST_Binary` properties to make dump more readable. closes #769 | 07 May 2017, 22:23:01 UTC |
4f8ca46 | Alex Lam S.L | 07 May 2017, 19:24:42 UTC | deprecate low level API (#1877) fixes #1872 | 07 May 2017, 19:24:42 UTC |
e547483 | Alex Lam S.L | 07 May 2017, 18:11:45 UTC | support `minify()` output as AST (#1878) - `options.output.ast` (default `false`) - `options.output.code` (default `true`) | 07 May 2017, 18:11:45 UTC |
2d99d06 | Alex Lam S.L | 06 May 2017, 19:02:46 UTC | update documentation Remove deprecated CLI option | 06 May 2017, 19:02:46 UTC |
98cf95e | Alex Lam S.L | 06 May 2017, 18:56:02 UTC | fix test for #1865 (#1873) | 06 May 2017, 18:56:02 UTC |
7313465 | Alex Lam S.L | 06 May 2017, 15:51:10 UTC | v3.0.0 | 06 May 2017, 15:51:10 UTC |
2c7ee95 | Alex Lam S.L | 06 May 2017, 15:18:55 UTC | 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 | Alex Lam S.L | 06 May 2017, 09:42:07 UTC | kill `opera` (#1869) | 06 May 2017, 09:42:07 UTC |
dee5a27 | Alex Lam S.L | 06 May 2017, 08:15:43 UTC | 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 | Alex Lam S.L | 02 May 2017, 12:47:10 UTC | rename variables for better readability (#1863) | 02 May 2017, 12:47:10 UTC |
bffdc8d | Alex Lam S.L | 02 May 2017, 11:48:12 UTC | update `test/benchmark.js` resources (#1864) | 02 May 2017, 11:48:12 UTC |
69b5663 | Alex Lam S.L | 01 May 2017, 17:42:29 UTC | restore report of supported options (#1861) fixes #1859 | 01 May 2017, 17:42:29 UTC |
ea92897 | kzc | 01 May 2017, 16:10:11 UTC | improve literal return optimization (#1860) | 01 May 2017, 16:10:11 UTC |
2cb55b2 | Alex Lam S.L | 30 April 2017, 14:52:36 UTC | enforce `toplevel` on other compress options (#1855) Respect "funcs" and "vars" properly. fixes #1850 | 30 April 2017, 14:52:36 UTC |
bbb5f2a | kzc | 25 April 2017, 17:30:43 UTC | Update ISSUE_TEMPLATE.md (#1846) | 25 April 2017, 17:30:43 UTC |
76d19b6 | Alex Lam S.L | 23 April 2017, 19:15:03 UTC | fix fuzzer on `this` (#1842) - forbid redeclaration of `this` - suppress probability for `this` within nested functions | 23 April 2017, 19:15:03 UTC |
9e62628 | Alex Lam S.L | 23 April 2017, 19:14:01 UTC | 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 | Alex Lam S.L | 23 April 2017, 12:05:22 UTC | 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 | kzc | 22 April 2017, 20:28:32 UTC | update README for 3.x (#1840) | 22 April 2017, 20:28:32 UTC |
45ce369 | Alex Lam S.L | 22 April 2017, 17:51:56 UTC | fix `AST_For.init` patch-up in `drop_unused()` (#1839) fixes #1838 | 22 April 2017, 17:51:56 UTC |
ca32a09 | Alex Lam S.L | 22 April 2017, 14:15:04 UTC | 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 | Roman Dvornov | 20 April 2017, 18:23:41 UTC | Fix API reference examples (#1834) | 20 April 2017, 18:23:41 UTC |
f05d4f7 | Alex Lam S.L | 20 April 2017, 05:06:14 UTC | 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 | Alex Lam S.L | 19 April 2017, 20:18:38 UTC | fix `unused` on labeled for-loop (#1831) fixes #1830 | 19 April 2017, 20:18:38 UTC |
4dcff03 | Alex Lam S.L | 18 April 2017, 20:49:09 UTC | 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 | Alex Lam S.L | 18 April 2017, 20:27:13 UTC | fix parser bugs & CLI reporting (#1827) fixes #1825 | 18 April 2017, 20:27:13 UTC |
28cfb65 | Alex Lam S.L | 18 April 2017, 20:17:15 UTC | extend `cascade` into `a.b` (#1829) fixes #27 | 18 April 2017, 20:17:15 UTC |
0f4f01b | Alex Lam S.L | 18 April 2017, 13:45:34 UTC | 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 | Alex Lam S.L | 18 April 2017, 05:38:42 UTC | 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 | Alex Lam S.L | 17 April 2017, 17:44:23 UTC | fix `reduce_vars` on conditionals (#1822) | 17 April 2017, 17:44:23 UTC |
6d5f341 | Alex Lam S.L | 17 April 2017, 09:24:29 UTC | 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 | Alex Lam S.L | 17 April 2017, 09:11:29 UTC | 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 | Alex Lam S.L | 17 April 2017, 06:03:29 UTC | fix `reduce_vars` within try-block (#1818) Possible partial execution due to exceptions. | 17 April 2017, 06:03:29 UTC |
1a498db | Alex Lam S.L | 16 April 2017, 17:36:50 UTC | 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 | Alex Lam S.L | 16 April 2017, 09:25:39 UTC | fix variable substitution (#1816) - let `collapse_vars` take care of value containing any symbols - improve overhead accounting | 16 April 2017, 09:25:39 UTC |