aboutsummaryrefslogtreecommitdiff
path: root/lib/scope.js
AgeCommit message (Expand)Author
2020-04-24improve `compress` (#3814)...- avoid identifier overflow through consecutive API calls - simplify `reduce_vars` - enhance `unsafe` `evaluate`Alex Lam S.L
2020-04-11improve handling of `eval` (#3776)...closes #3768Alex Lam S.L
2020-03-21fix corner case in `evaluate` & `ie8` (#3751)...fixes #3750Alex Lam S.L
2019-12-28workaround firefox asm.js quirks (#3650)...fixes #3636Alex Lam S.L
2019-10-24fix corner case in `ie8` & `mangle` (#3524)...fixes #3523Alex Lam S.L
2019-10-22fix corner case in `reduce_vars` (#3510)...fixes #3509Alex Lam S.L
2019-10-16fix corner case in `ie8` (#3487)...fixes #3486Alex Lam S.L
2019-10-16fix corner cases in `ie8` (#3485)...fixes #3484Alex Lam S.L
2019-10-16fix corner case in `evaluate` & `ie8` (#3483)...fixes #3482Alex Lam S.L
2019-10-15fix corner case in `rename` (#3481)...fixes #3480Alex Lam S.L
2019-10-15fix corner case in `ie8` & `mangle` (#3479)...fixes #3478Alex Lam S.L
2019-10-15fix corner case in `ie8` & `mangle` (#3476)...fixes #3475Alex Lam S.L
2019-10-15fix corner case in `ie8` & `rename` (#3474)...fixes #3473Alex Lam S.L
2019-10-14fix corner case with `collapse_vars` & `ie8` (#3469)...fixes #3468Alex Lam S.L
2019-04-18fix corner case in `functions` (#3365)...fixes #3364Alex Lam S.L
2019-04-17reduce test exports (#3361)Alex Lam S.L
2019-04-15introduce `functions` (#3360)...`var f = function() {};` => `function f() {}`Alex Lam S.L
2019-04-01mangle shadowed lambda under `ie8` correctly (#3356)...fixes #3355Alex Lam S.L
2019-03-15fix corner case with `nameCache` (#3338)...fixes #3301Alex Lam S.L
2018-08-08clean up webkit quirks (#3229)Alex Lam S.L
2018-07-26fix corner case in `ie8` & `rename` (#3223)Alex Lam S.L
2018-07-19fix corner case in `ie8` (#3216)...fixes #3215Alex Lam S.L
2018-06-24fix corner case in `ie8` (#3198)...fixes #3197Alex Lam S.L
2018-06-06general clean-ups (#3175)Alex Lam S.L
2018-05-24fix corner cases with `eval()` (#3147)...fixes #3146Alex Lam S.L
2018-04-27improve general performance (#3104)Alex Lam S.L
2018-04-08fix corner case in reuse of `mangle` options (#3062)Alex Lam S.L
2018-04-03improve performance through `makePredicate()` (#3048)Alex Lam S.L
2018-03-30mangle unused nested `AST_SymbolCatch` correctly (#3038)...fixes #3035Alex Lam S.L
2018-03-23improve performance (#3020)...- replace `find_if()` with `all()` wherever possible - move ESTree-specific logic out of `figure_out_scope()`Alex Lam S.L
2018-03-07fix `mangle` of `AST_SymbolLambda` under `ie8` (#2978)...fixes #2976Alex Lam S.L
2018-02-24minor clean-ups (#2951)Alex Lam S.L
2018-02-23improve `mangle` (#2948)Alex Lam S.L
2018-01-23handle duplicate function declarations correctly (#2837)...fixes #2836Alex 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-12add SymbolDef IDs to --output ast (#2772)kzc
2018-01-09improve synergy between `compress` and `rename` (#2755)Alex Lam S.L
2018-01-05fix corner case with `arguments` as function name (#2729)...fixes #2728Alex Lam S.L
2018-01-05fix `mangle` name collision across files (#2722)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
2017-12-26replace single-use recursive functions (#2659)...fixes #2628Alex Lam S.L
2017-12-01improve code reuse (#2542)Alex Lam S.L
2017-11-24fix `rename` (#2501)...- suppress spurious `rename` from `commander` - handle `AST_SymbolCatch` correctlyAlex Lam S.L
2017-11-19expand symbol space to improve compression (#2460)...- give globally distinct names to distinct variables - improve ability to compress cross-scoped - introduce `options.rename` to `minify()` - default `true` if both `compress` & `mangle`Alex Lam S.L
2017-11-12allow symbol replacement on multiple occurrences (#2472)...- all-or-nothing replacement - avoid unmangleable names fixes #2436Alex Lam S.L
2017-08-01fix `ie8` mangling of top-level `AST_SymbolCatch` (#2263)...fixes #2254 Alex Lam S.L
2017-07-15drop `unused` builtin globals under `unsafe` (#2236)...fixes #2233Alex Lam S.L
2017-06-23refactor `compute_char_frequency()` (#2152)...- minimise maintenance when updating AST - maximise code sharing between `master` & `harmony`Alex Lam S.L
2017-06-20ensure mangling works if catch reuses a scope variable (#2123)...fixes #2120Alex Lam S.L