Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-05-13 | clarify wording (#1931) | olsonpm | |
2017-05-12 | remove support for `const` (#1910) | Alex Lam S.L | |
As this is not part of ES5. | |||
2017-05-12 | avoid `arguments` and `eval` in `reduce_vars` (#1924) | Alex Lam S.L | |
fixes #1922 | |||
2017-05-12 | add documentation for `side_effects` & `[#@]__PURE__` (#1925) | olsonpm | |
2017-05-12 | v3.0.4 | Alex Lam S.L | |
2017-05-12 | fix invalid transform on `const` (#1919) | Alex Lam S.L | |
- preserve (re)assignment to `const` for runtime error - suppress `cascade` on `const`, as runtime behaviour is ill-defined | |||
2017-05-12 | update README (#1918) | kzc | |
2017-05-11 | fix typo (#1913) | Alexis Tyler | |
2017-05-11 | update documentation (#1909) | Alex Lam S.L | |
- clarify options on `--source-map` - fix `minify()` examples fixes #1905 | |||
2017-05-10 | v3.0.3 | Alex Lam S.L | |
2017-05-10 | Update issue template: change harmony to uglify-es (#1900) | kzc | |
2017-05-10 | Remove unnecessary `git clone` instructions in README (#1897) | kzc | |
2017-05-10 | Change `harmony` to `uglify-es` in master README (#1895) | kzc | |
2017-05-10 | gracefully handle non-`Error` being thrown (#1893) | Alex Lam S.L | |
2017-05-10 | extend test timeout | Alex Lam S.L | |
Travis has gone a lot slower recently, and most test failures are due to time-out on this particular test. | |||
2017-05-10 | v3.0.2 | Alex Lam S.L | |
2017-05-09 | print error stack in CLI (#1890) | Alex Lam S.L | |
2017-05-09 | mention `minify().error` | Alex Lam S.L | |
2017-05-09 | update `minify()` usage in `test/ufuzz.js` (#1888) | Alex Lam S.L | |
fixes #1887 | |||
2017-05-08 | [3.x] fix documentation for beautify options (#1882) | kzc | |
- use underscores rather than dashes. | |||
2017-05-08 | v3.0.1 | Alex Lam S.L | |
2017-05-08 | return `Error` from `minify()` (#1880) | Alex Lam S.L | |
Have `minify()` return `Error` in `result.error` rather than throwing it. | |||
2017-05-08 | support dumping AST (#1879) | Alex Lam S.L | |
Re-order `AST_Binary` properties to make dump more readable. closes #769 | |||
2017-05-08 | deprecate low level API (#1877) | Alex Lam S.L | |
fixes #1872 | |||
2017-05-08 | support `minify()` output as AST (#1878) | Alex Lam S.L | |
- `options.output.ast` (default `false`) - `options.output.code` (default `true`) | |||
2017-05-07 | update documentation | Alex Lam S.L | |
Remove deprecated CLI option | |||
2017-05-07 | fix test for #1865 (#1873) | Alex Lam S.L | |
2017-05-06 | v3.0.0 | Alex Lam S.L | |
2017-05-06 | fix `unsafe` on `evaluate` of `reduce_vars` (#1870) | Alex Lam S.L | |
Determine if variables with non-constant values can escape and be modified. fixes #1865 | |||
2017-05-06 | kill `opera` (#1869) | Alex Lam S.L | |
2017-05-06 | enhance `collapse_vars` (#1862) | Alex Lam S.L | |
- 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 | |||
2017-05-02 | rename variables for better readability (#1863) | Alex Lam S.L | |
2017-05-02 | update `test/benchmark.js` resources (#1864) | Alex Lam S.L | |
2017-05-02 | restore report of supported options (#1861) | Alex Lam S.L | |
fixes #1859 | |||
2017-05-02 | improve literal return optimization (#1860) | kzc | |
2017-04-30 | enforce `toplevel` on other compress options (#1855) | Alex Lam S.L | |
Respect "funcs" and "vars" properly. fixes #1850 | |||
2017-04-26 | Update ISSUE_TEMPLATE.md (#1846) | kzc | |
2017-04-24 | fix fuzzer on `this` (#1842) | Alex Lam S.L | |
- forbid redeclaration of `this` - suppress probability for `this` within nested functions | |||
2017-04-24 | fix `unused` on for-in statements (#1843) | Alex Lam S.L | |
Only need to avoid `var` within the initialisation block. fixes #1841 | |||
2017-04-23 | improve 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-23 | update README for 3.x (#1840) | kzc | |
2017-04-23 | fix `AST_For.init` patch-up in `drop_unused()` (#1839) | Alex Lam S.L | |
fixes #1838 | |||
2017-04-22 | fix label-related bugs (#1835) | Alex Lam S.L | |
- 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 | |||
2017-04-21 | Fix API reference examples (#1834) | Roman Dvornov | |
2017-04-20 | improve `unused` (#1832) | Alex Lam S.L | |
- extract leading value with side-effects out of `var` statement - reduce scanning of `AST_Definitions` from 3 passes to just once | |||
2017-04-20 | fix `unused` on labeled for-loop (#1831) | Alex Lam S.L | |
fixes #1830 | |||
2017-04-19 | improve `collapse_vars` on `AST_Var` (#1828) | Alex Lam S.L | |
Perform the same cascaded scanning within `var` statement as we do on array of statements. | |||
2017-04-19 | fix parser bugs & CLI reporting (#1827) | Alex Lam S.L | |
fixes #1825 | |||
2017-04-19 | extend `cascade` into `a.b` (#1829) | Alex Lam S.L | |
fixes #27 | |||
2017-04-18 | clean up `collapse_vars` (#1826) | Alex Lam S.L | |
- 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` |