Age | Commit message (Expand) | Author |
---|---|---|
2017-04-01 | improve compression of undefined, NaN & Infinitiy (#1748)...- 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 | Alex Lam S.L |
2017-03-29 | output optimal representations of NaN & Infinity (#1723)...- move these optimisations out from `Compressor` to `OutputStream` - fixes behaviour inconsistency when running uglified code from global or module levels due to redefinition | Alex Lam S.L |
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...Fix provided by @kzc | Anthony Van de Gejuchte |