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