aboutsummaryrefslogtreecommitdiff
path: root/test/mocha
AgeCommit message (Collapse)Author
2018-02-20workaround `pure_getters=true` when dropping unused assignments (#2939)Alex Lam S.L
fixes #2938
2018-02-17drop unused "class" definition IIFEs (#2923)Alex Lam S.L
fixes #805
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)Alex Lam S.L
fixes #2752
2018-01-06handle trailing line comments correctly (#2736)Alex Lam S.L
fixes #2734
2018-01-05fix `mangle` name collision across files (#2722)Alex Lam S.L
2017-12-24fix comments output & improve `/*@__PURE__*/`Alex Lam S.L
- fix whitespace around comments - fix comment parsing around parentheses - consider parentheses when parsing `/*@__PURE__*/` - remove all `/*@__PURE__*/` on output fixes #2638
2017-12-22make comments output more robust (#2633)Alex Lam S.L
- 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 #2629
2017-12-20disable `hoist_funs` by default (#2626)Alex Lam S.L
2017-12-15handle `inline` of function arguments (#2590)Alex Lam S.L
fixes #2476
2017-11-19expand symbol space to improve compression (#2460)Alex Lam S.L
- give globally distinct names to distinct variables - improve ability to compress cross-scoped - introduce `options.rename` to `minify()` - default `true` if both `compress` & `mangle`
2017-11-09remove hack in `collapse_vars` (#2457)Alex Lam S.L
fixes #2456
2017-10-01trap invalid use of reserved words (#2338)Alex Lam S.L
fixes #2337
2017-09-15improve source mapping (#2312)Alex Lam S.L
fixes #2310
2017-08-14don't escape null characters as \0 when followed by any digit (#2273)Erik Desjardins
fixes #2272
2017-07-29improve `mangle.properties` (#2261)Alex Lam S.L
- include dead code when `keep_quoted` - unify `keep_quoted` & `reserved` - make `test/run-tests.js` consistent with `minify()` fixes #2256
2017-07-23unescape surrogate pairs only (#2246)Alex Lam S.L
fixes #2242
2017-07-15reject malformed CLI parameters (#2239)Alex Lam S.L
fixes #2237
2017-07-15ensure `ie8` works with mangled properties (#2238)Alex Lam S.L
fixes #2234
2017-07-11enhance source mapping on IIFEs (#2224)Alex Lam S.L
fixes #2213
2017-07-02improve `inline` efficiency (#2188)Alex Lam S.L
... by teaching `collapse_vars` some new tricks. fixes #2187
2017-06-29improve usability of name cache under `minify()` (#2176)Alex Lam S.L
fixes #2174
2017-06-27parse `@global_defs` as expressions (#2169)Alex Lam S.L
- let parser rejects non-conformant input - eliminate need for extraneous parenthesis
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)Alex Lam S.L
- skip `test/jetstream.js` for `node@0.12`
2017-06-13fix CLI parsing of `--source-map content` (#2088)Ziad El Khoury Hanna
fixes #2082
2017-06-13add Node.js 8 to Travis CI (#2086)Alex Lam S.L
- explicitly terminate `test/jetstream.js` upon completion - log verbose output from `test/benchmark.js` & `test/jetstream.js` - remove obsolete workaround for Travis CI
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)Alex Lam S.L
fixes #2055
2017-06-07fix CLI output corruption (#2061)Alex Lam S.L
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 listing
2017-06-06implement `test/jetstream.js --debug` (#2058)Alex Lam S.L
2017-06-06implement function inlining (#2053)Alex Lam S.L
- empty body - single `AST_Return` - single `AST_SimpleStatement` - avoid `/*#__PURE__*/` Miscellaneous - enhance single-use function substitution fixes #281
2017-06-06workaround webkit parsing error (#2056)Alex Lam S.L
apply `webkit` to jetstream tests
2017-05-28improve CLI usability (#2016)Alex Lam S.L
Report supported options upon invalid option syntax. fixes #1883
2017-05-23fix source map offset (#1993)Alex Lam S.L
Account for whitespace insertions. fixes #505 fixes #890
2017-05-22improve usability of `global_defs` in `minify()` (#1987)Alex Lam S.L
Use `@key` to `parse()` string value as `AST_Node`. fixes #1986
2017-05-20enhance `if_return` to handle `return void...` (#1977)Alex Lam S.L
fixes #512
2017-05-15improve keyword-related parser errors (#1941)Alex Lam S.L
fixes #1937
2017-05-15fix & improve coverage of `estree` (#1935)Alex Lam S.L
- 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
2017-05-14fix bugs with getter/setter (#1926)Alex Lam S.L
- `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
2017-05-12remove support for `const` (#1910)Alex Lam S.L
As this is not part of ES5.
2017-05-10extend test timeoutAlex 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-09print error stack in CLI (#1890)Alex Lam S.L
2017-05-08return `Error` from `minify()` (#1880)Alex Lam S.L
Have `minify()` return `Error` in `result.error` rather than throwing it.
2017-05-08support dumping AST (#1879)Alex Lam S.L
Re-order `AST_Binary` properties to make dump more readable. closes #769
2017-05-08deprecate low level API (#1877)Alex Lam S.L
fixes #1872