Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-10-05 | retrofit `AST_BlockStatement` as block-scoped (#4177) | Alex Lam S.L | |
2018-07-01 | fix corner case in `unused` | alexlamsl | |
2017-12-14 | fold `cascade` functionality into `collapse_vars` (#2586) | Alex Lam S.L | |
2017-04-01 | improve compression of undefined, NaN & Infinitiy (#1748) | Alex Lam S.L | |
- migrate transformation logic from `OutputStream` to `Compressor` - always turn `undefined` into `void 0` (unless `unsafe`) - always keep `NaN` except when avoiding local variable redefinition - introduce `keep_infinity` to suppress `1/0` transform, except when avoiding local variable redefinition supersedes #1723 fixes #1730 | |||
2017-03-29 | output optimal representations of NaN & Infinity (#1723) | Alex Lam S.L | |
- move these optimisations out from `Compressor` to `OutputStream` - fixes behaviour inconsistency when running uglified code from global or module levels due to redefinition | |||
2016-06-21 | Don't replace undefined, NaN and Infinity within with scope | kzc | |
2016-06-12 | Don't drop unused if scope uses with statement | Anthony Van de Gejuchte | |
Fix provided by @kzc |