Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
- `function.arguments`
- `function.callers`
fixes #2719
|
|
|
|
|
|
|
|
- compress `function` with variables within loops
- restrict to `AST_Var` for better compatibility with ES6+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fixes #2701
|
|
- nudge declarations without assignments
- within `AST_BlockStatement`
- across `AST_If`
|
|
|
|
|
|
fixes #2692
|
|
|
|
fixes #2678
|
|
fixes #2663
|
|
fixes #2666
|
|
fixes #2665
|
|
fixes #2660
|
|
fixes #2628
|
|
fixes #2657
|
|
|
|
|
|
fixes #2644
|
|
- fix whitespace around comments
- fix comment parsing around parentheses
- consider parentheses when parsing `/*@__PURE__*/`
- remove all `/*@__PURE__*/` on output
fixes #2638
|
|
fixes #2630
|
|
|
|
|
|
|
|
|
|
|
|
fixes #2616
|
|
- `fn.apply(a, [ ... ])` => `fn.call(a, ...)`
- `fn.call(a, ... )` => `a, fn(...)`
where `fn` can be `function` literal or symbol reference linked through `reduce_vars`
|
|
|
|
fixes #2603
|
|
|
|
fixes #2604
|
|
fixes #2601
|
|
fixes #2598
|
|
fixes #2597
|
|
|
|
fixes #2476
|
|
|