aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Expand)Author
2018-01-23handle duplicate function declarations correctly (#2837)...fixes #2836Alex Lam S.L
2018-01-21fix `unsafe` `evaluate` of `AST_Array` (#2825)...fixes #2822Alex Lam S.L
2018-01-19enable `unsafe` for `test/ufuzz.js` (#2819)...- introduce `unsafe_undefined` - safer `.toString()` compression Miscellaneous - rename `unsafe_Function`Alex Lam S.L
2018-01-19improve `unused` on built-in functions (#2817)Alex Lam S.L
2018-01-19avoid duplicate property names in object literals under "use strict" (#2818)...fixes #2816Alex Lam S.L
2018-01-19compress `undefined` property names (#2811)...- enforce property names as string - handle `void 0` as `undefined` in `hoist_props` & `reduce_vars`Alex Lam S.L
2018-01-18fix `join_vars` property assignment for negative array index (#2810)...fixes #2790kzc
2018-01-18faster output of comments (#2806)Alex Lam S.L
2018-01-17fix `AST_Scope.clone()` (#2803)...fixes #2799Alex Lam S.L
2018-01-17suppress `unsafe_proto` for LHS expressions (#2804)Alex Lam S.L
2018-01-17extend `join_vars` & `sequences` (#2798)Alex Lam S.L
2018-01-16general improvements around `AST_ForIn` (#2796)...- compress using `collapse_vars` - remove unused `name` - simplify `loop_body`Alex Lam S.L
2018-01-15enhance `collapse_vars` (#2788)Alex Lam S.L
2018-01-15avoid suboptimal termination in `passes` (#2787)Alex Lam S.L
2018-01-15avoid double counting within single-use functions (#2785)...fixes #2783Alex Lam S.L
2018-01-14fix & extend `join_vars` for object assigments (#2781)Alex Lam S.L
2018-01-14improve SymbolDef info in `--output ast` (#2778)...* SymbolDef info (a.k.a. `thedef`) is now represented as a string containing `"ID name [mangled_name]"`. * Enhance display of `globals`, `variables`, `functions` and `enclosed`. * `SymbolDef.next_id` starts at `1` and the `id` is adjusted for `-o ast` display.kzc
2018-01-13fix `reduce_vars` on `AST_Accessor` (#2776)...fixes #2774Alex Lam S.L
2018-01-12add SymbolDef IDs to --output ast (#2772)kzc
2018-01-12fix output of imported AST (#2771)Alex Lam S.L
2018-01-11fix nested `unused` assignments (#2769)...fixes #2768Alex Lam S.L
2018-01-11fix corner case in #2763 (#2766)Alex Lam S.L
2018-01-11join object assignments (#2763)Alex Lam S.L
2018-01-10skip only `var`s in `if_return` (#2759)...fixes #2747Alex Lam S.L
2018-01-10enhance `conditionals` (#2758)...`x ? y || z : z` --> `x && y || z`Alex Lam S.L
2018-01-09improve synergy between `compress` and `rename` (#2755)Alex Lam S.L
2018-01-09patch variable declaractions extracted within `catch` (#2753)...fixes #2749Alex Lam S.L
2018-01-09improve `rename` reproducibility (#2754)...fixes #2752Alex Lam S.L
2018-01-08compress loops with immediate `break` (#2746)...fixes #2740Alex Lam S.L
2018-01-07fix recursive function `inline` (#2738)...fixes #2737Alex Lam S.L
2018-01-06handle trailing line comments correctly (#2736)...fixes #2734Alex Lam S.L
2018-01-06compress `RegExp()` in `unsafe` (#2735)Alex Lam S.L
2018-01-06enhance `unsafe_proto` (#2733)Alex Lam S.L
2018-01-05fix corner case with `arguments` as function name (#2729)...fixes #2728Alex Lam S.L
2018-01-05improve `if_return` (#2727)Alex Lam S.L
2018-01-05warn on deprecated features (#2726)...- `function.arguments` - `function.callers` fixes #2719Alex Lam S.L
2018-01-05fix `mangle` name collision across files (#2722)Alex Lam S.L
2018-01-04fix corner case in `inline` (#2720)Alex Lam S.L
2018-01-04forbid block-scoped `AST_Defun` in strict mode (#2718)Alex Lam S.L
2018-01-04preserve constant modification under strict mode (#2717)Alex Lam S.L
2018-01-04extend `inline` (#2714)...- compress `function` with variables within loops - restrict to `AST_Var` for better compatibility with ES6+Alex Lam S.L
2018-01-04apply `collapse_vars` to loop conditions (#2712)Alex Lam S.L
2018-01-04drop `unused` assignment based on `reduce_vars` (#2709)Alex Lam S.L
2018-01-03fix `reduce_vars` on `AST_Defun` (#2708)Alex Lam S.L
2018-01-03extend `__PURE__` to `AST_New` (#2706)...fixes #2705Alex Lam S.L
2018-01-03inline functions with `AST_Var` (#2688)Alex Lam S.L
2018-01-02enhance `collapse_vars` (#2704)Alex Lam S.L
2018-01-02enhance `if_return` (#2703)Alex Lam S.L
2018-01-02reset argument value within loop after `inline` (#2699)Alex Lam S.L
2018-01-02scan within IIFEs of assigned values (#2702)...fixes #2701Alex Lam S.L