aboutsummaryrefslogtreecommitdiff
path: root/lib/scope.js
AgeCommit message (Collapse)Author
2020-05-05update links to repository after rename (#3847)Alex Lam S.L
2020-04-24improve `compress` (#3814)Alex Lam S.L
- avoid identifier overflow through consecutive API calls - simplify `reduce_vars` - enhance `unsafe` `evaluate`
2020-04-11improve handling of `eval` (#3776)Alex Lam S.L
closes #3768
2020-03-21fix corner case in `evaluate` & `ie8` (#3751)Alex Lam S.L
fixes #3750
2019-12-28workaround firefox asm.js quirks (#3650)Alex Lam S.L
fixes #3636
2019-10-24fix corner case in `ie8` & `mangle` (#3524)Alex Lam S.L
fixes #3523
2019-10-22fix corner case in `reduce_vars` (#3510)Alex Lam S.L
fixes #3509
2019-10-16fix corner case in `ie8` (#3487)Alex Lam S.L
fixes #3486
2019-10-16fix corner cases in `ie8` (#3485)Alex Lam S.L
fixes #3484
2019-10-16fix corner case in `evaluate` & `ie8` (#3483)Alex Lam S.L
fixes #3482
2019-10-15fix corner case in `rename` (#3481)Alex Lam S.L
fixes #3480
2019-10-15fix corner case in `ie8` & `mangle` (#3479)Alex Lam S.L
fixes #3478
2019-10-15fix corner case in `ie8` & `mangle` (#3476)Alex Lam S.L
fixes #3475
2019-10-15fix corner case in `ie8` & `rename` (#3474)Alex Lam S.L
fixes #3473
2019-10-14fix corner case with `collapse_vars` & `ie8` (#3469)Alex Lam S.L
fixes #3468
2019-04-18fix corner case in `functions` (#3365)Alex Lam S.L
fixes #3364
2019-04-17reduce test exports (#3361)Alex Lam S.L
2019-04-15introduce `functions` (#3360)Alex Lam S.L
`var f = function() {};` => `function f() {}`
2019-04-01mangle shadowed lambda under `ie8` correctly (#3356)Alex Lam S.L
fixes #3355
2019-03-15fix corner case with `nameCache` (#3338)Alex Lam S.L
fixes #3301
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)Alex Lam S.L
fixes #3215
2018-06-24fix corner case in `ie8` (#3198)Alex Lam S.L
fixes #3197
2018-06-06general clean-ups (#3175)Alex Lam S.L
2018-05-24fix corner cases with `eval()` (#3147)Alex Lam S.L
fixes #3146
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)Alex Lam S.L
fixes #3035
2018-03-23improve performance (#3020)Alex Lam S.L
- replace `find_if()` with `all()` wherever possible - move ESTree-specific logic out of `figure_out_scope()`
2018-03-07fix `mangle` of `AST_SymbolLambda` under `ie8` (#2978)Alex Lam S.L
fixes #2976
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)Alex Lam S.L
fixes #2836
2018-01-14improve SymbolDef info in `--output ast` (#2778)kzc
* 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.
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)Alex Lam S.L
fixes #2728
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)Alex Lam S.L
fixes #2628
2017-12-01improve code reuse (#2542)Alex Lam S.L
2017-11-24fix `rename` (#2501)Alex Lam S.L
- suppress spurious `rename` from `commander` - handle `AST_SymbolCatch` correctly
2017-11-19expand symbol space to improve compression (#2460)Alex Lam S.L
- give globally distinct names to distinct variables - improve ability to compress cross-scoped - introduce `options.rename` to `minify()` - default `true` if both `compress` & `mangle`
2017-11-12allow symbol replacement on multiple occurrences (#2472)Alex Lam S.L
- all-or-nothing replacement - avoid unmangleable names fixes #2436
2017-08-01fix `ie8` mangling of top-level `AST_SymbolCatch` (#2263)Alex Lam S.L
fixes #2254
2017-07-15drop `unused` builtin globals under `unsafe` (#2236)Alex Lam S.L
fixes #2233
2017-06-23refactor `compute_char_frequency()` (#2152)Alex Lam S.L
- minimise maintenance when updating AST - maximise code sharing between `master` & `harmony`