Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-10-22 | fix corner cases in `inline` (#3507) | Alex Lam S.L | |
fixes #3506 | |||
2019-05-29 | enhance `assignments` & `unused` (#3428) | Alex Lam S.L | |
closes #3427 | |||
2019-05-14 | enhance `side_effects` (#3410) | Alex Lam S.L | |
2018-07-01 | fix corner case in `unused` | alexlamsl | |
2018-02-28 | enhance `collapse_vars` (#2952) | Alex Lam S.L | |
- `a = b, b` => `a = b` - `a.b = c, c()` => `(a.b = c)()` | |||
2018-02-21 | more tests for #2938 (#2940) | Alex Lam S.L | |
2018-02-20 | workaround `pure_getters=true` when dropping unused assignments (#2939) | Alex Lam S.L | |
fixes #2938 | |||
2018-01-23 | drop assignments to constant expressions only (#2839) | Alex Lam S.L | |
fixes #2838 | |||
2018-01-04 | preserve constant modification under strict mode (#2717) | Alex Lam S.L | |
2017-12-28 | fix `pure_getters` on `AST_Binary` (#2681) | Alex Lam S.L | |
fixes #2678 | |||
2017-12-14 | fold `cascade` functionality into `collapse_vars` (#2586) | Alex Lam S.L | |
2017-11-11 | implement compress option `reduce_funcs` (#2466) | Alex Lam S.L | |
- inline single-use function declarations as expressions when permissible - depend on `reduce_vars` - enabled by default - disable for speed critical code fixes #2464 | |||
2017-09-16 | handle LHS side-effects on `cascade` & `collapse_vars` (#2314) | Alex Lam S.L | |
fixes #2313 | |||
2017-06-25 | more tests for #2158 (#2160) | Alex Lam S.L | |
2017-06-24 | fix `cascade` & `collapse` on property access of constants (#2158) | Alex Lam S.L | |
2017-06-16 | fix loss of context in `collapse_vars` & `cascade` (#2112) | Alex Lam S.L | |
fixes #2110 | |||
2017-05-14 | fix 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-04-07 | fix `pure_getters` for chained property access (#1798) | Alex Lam S.L | |
2017-04-07 | introduce "strict" to `pure_getters` (#1795) | Alex Lam S.L | |
2017-04-06 | improve `pure_getters` (#1786) | Alex Lam S.L | |
- property access to `null` & `undefined` always has side effects - utilise `reduce_vars` to determine safe property access - may-be cases treated as side effects unless `unsafe` |