aboutsummaryrefslogtreecommitdiff
path: root/test/mocha
AgeCommit message (Expand)Author
2018-02-20workaround `pure_getters=true` when dropping unused assignments (#2939)...fixes #2938Alex Lam S.L
2018-02-17drop unused "class" definition IIFEs (#2923)...fixes #805Alex Lam S.L
2018-02-17improve `inline` efficiency (#2924)Alex Lam S.L
2018-01-17configure `rename` with CLI (#2802)Alex Lam S.L
2018-01-09improve synergy between `compress` and `rename` (#2755)Alex Lam S.L
2018-01-09improve `rename` reproducibility (#2754)...fixes #2752Alex Lam S.L
2018-01-06handle trailing line comments correctly (#2736)...fixes #2734Alex Lam S.L
2018-01-05fix `mangle` name collision across files (#2722)Alex Lam S.L
2017-12-24fix comments output & improve `/*@__PURE__*/`...- fix whitespace around comments - fix comment parsing around parentheses - consider parentheses when parsing `/*@__PURE__*/` - remove all `/*@__PURE__*/` on output fixes #2638Alex Lam S.L
2017-12-22make comments output more robust (#2633)...- improve handling of comments right after `return` - retain comments after `OutputStream` - preserve trailing comments - fix handling of new line before comments - handle comments around parentheses fixes #88 fixes #112 fixes #218 fixes #372 fixes #2629Alex Lam S.L
2017-12-20disable `hoist_funs` by default (#2626)Alex Lam S.L
2017-12-15handle `inline` of function arguments (#2590)...fixes #2476Alex Lam S.L
2017-11-19expand symbol space to improve compression (#2460)...- give globally distinct names to distinct variables - improve ability to compress cross-scoped - introduce `options.rename` to `minify()` - default `true` if both `compress` & `mangle`Alex Lam S.L
2017-11-09remove hack in `collapse_vars` (#2457)...fixes #2456Alex Lam S.L
2017-10-01trap invalid use of reserved words (#2338)...fixes #2337Alex Lam S.L
2017-09-15improve source mapping (#2312)...fixes #2310Alex Lam S.L
2017-08-14don't escape null characters as \0 when followed by any digit (#2273)...fixes #2272Erik Desjardins
2017-07-29improve `mangle.properties` (#2261)...- include dead code when `keep_quoted` - unify `keep_quoted` & `reserved` - make `test/run-tests.js` consistent with `minify()` fixes #2256Alex Lam S.L
2017-07-23unescape surrogate pairs only (#2246)...fixes #2242Alex Lam S.L
2017-07-15reject malformed CLI parameters (#2239)...fixes #2237Alex Lam S.L
2017-07-15ensure `ie8` works with mangled properties (#2238)...fixes #2234Alex Lam S.L
2017-07-11enhance source mapping on IIFEs (#2224)...fixes #2213Alex Lam S.L
2017-07-02improve `inline` efficiency (#2188)...... by teaching `collapse_vars` some new tricks. fixes #2187Alex Lam S.L
2017-06-29improve usability of name cache under `minify()` (#2176)...fixes #2174Alex Lam S.L
2017-06-27parse `@global_defs` as expressions (#2169)...- let parser rejects non-conformant input - eliminate need for extraneous parenthesisAlex Lam S.L
2017-06-23synchronise `mangle.properties` for `minify()` & `test/compress` (#2151)Alex Lam S.L
2017-06-23fix for-in loop parsing (#2144)Alex Lam S.L
2017-06-15avoid intermittent test time-out failures (#2100)Alex Lam S.L
2017-06-14cache web assets between CI runs (#2089)...- skip `test/jetstream.js` for `node@0.12` Alex Lam S.L
2017-06-13fix CLI parsing of `--source-map content` (#2088)...fixes #2082Ziad El Khoury Hanna
2017-06-13add Node.js 8 to Travis CI (#2086)...- explicitly terminate `test/jetstream.js` upon completion - log verbose output from `test/benchmark.js` & `test/jetstream.js` - remove obsolete workaround for Travis CIAlex Lam S.L
2017-06-09marshal `mangle[.properties].reserved` from non-Array values (#2072)Alex Lam S.L
2017-06-08fix iteration over object with inherited properties (#2068)...fixes #2055Alex Lam S.L
2017-06-07fix 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 listingAlex Lam S.L
2017-06-06implement `test/jetstream.js --debug` (#2058)Alex Lam S.L
2017-06-06implement function inlining (#2053)...- empty body - single `AST_Return` - single `AST_SimpleStatement` - avoid `/*#__PURE__*/` Miscellaneous - enhance single-use function substitution fixes #281Alex Lam S.L
2017-06-06workaround webkit parsing error (#2056)...apply `webkit` to jetstream testsAlex Lam S.L
2017-05-28improve CLI usability (#2016)...Report supported options upon invalid option syntax. fixes #1883Alex Lam S.L
2017-05-23fix source map offset (#1993)...Account for whitespace insertions. fixes #505 fixes #890Alex Lam S.L
2017-05-22improve usability of `global_defs` in `minify()` (#1987)...Use `@key` to `parse()` string value as `AST_Node`. fixes #1986Alex Lam S.L
2017-05-20enhance `if_return` to handle `return void...` (#1977)...fixes #512Alex Lam S.L
2017-05-15improve keyword-related parser errors (#1941)...fixes #1937Alex Lam S.L
2017-05-15fix & 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 #1915Alex Lam S.L
2017-05-14fix 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 errorsAlex Lam S.L
2017-05-12remove support for `const` (#1910)...As this is not part of ES5.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-09print error stack in CLI (#1890)Alex 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