Alex Lam S.L
|
df8a99439a
|
fix various corner cases (#3126)
- augment ufuzz/reminify test options
fixes #3125
|
2018-05-07 07:36:25 +08:00 |
|
Alex Lam S.L
|
6b91d12ec3
|
fix corner case in reduce_vars (#3124)
|
2018-05-06 16:42:35 +08:00 |
|
Alex Lam S.L
|
f37b91879f
|
fix various corner cases (#3123)
|
2018-05-05 13:17:50 +08:00 |
|
Alex Lam S.L
|
c4cebb4b01
|
fix reduce_vars on nested invocations (#3118)
|
2018-05-04 06:05:38 +08:00 |
|
Alex Lam S.L
|
d51a00a450
|
compress AST_Sequence within AST_Call (#3117)
|
2018-05-03 19:14:56 +08:00 |
|
Alex Lam S.L
|
fc0f168a0c
|
better fix for #3113 (#3115)
|
2018-05-03 15:51:51 +08:00 |
|
Alex Lam S.L
|
a0ca595c2c
|
fix TreeWalker scan order (#3114)
fixes #3113
|
2018-05-03 00:27:45 +08:00 |
|
Alex Lam S.L
|
1a314e9f60
|
improve reduce_vars (#3112)
fixes #3110
|
2018-05-02 15:11:45 +08:00 |
|
Alex Lam S.L
|
22cea023d1
|
improve numeral compression (#3108)
|
2018-04-28 02:47:49 +08:00 |
|
Alex Lam S.L
|
70d4477e05
|
workaround vm context issue in node-chakracore (#3106)
|
2018-04-27 07:40:34 +08:00 |
|
Alex Lam S.L
|
69fc7ca8da
|
workaround test failures in Node.js 10 (#3102)
|
2018-04-26 17:44:37 +08:00 |
|
Alex Lam S.L
|
0a79496e0a
|
workaround stack overflow in ChakraCore (#3101)
|
2018-04-26 15:02:17 +08:00 |
|
Alex Lam S.L
|
9e87edfc2e
|
better fix for #2506 (#3099)
|
2018-04-25 04:46:07 +08:00 |
|
Alex Lam S.L
|
27211cf2d5
|
handle RHS side-effects in collapse_vars (#3097)
fixes #3096
|
2018-04-24 20:31:50 +08:00 |
|
Alex Lam S.L
|
b5ce199711
|
improve max_line_len (#3095)
fixes #304
|
2018-04-24 15:19:45 +08:00 |
|
Alex Lam S.L
|
d83c6490ab
|
fix corner case in strip_func_ids() (#3090)
|
2018-04-19 04:51:42 +08:00 |
|
Alex Lam S.L
|
6a916523d4
|
fix inline of catch-scoped variables (#3077)
fixes #3076
|
2018-04-11 15:44:43 +08:00 |
|
Alex Lam S.L
|
ba7069d52b
|
suppress hoist_props for embedded assignments (#3074)
|
2018-04-11 05:19:16 +08:00 |
|
Alex Lam S.L
|
4dd7d0e39b
|
extend hoist_props (#3073)
- handle `AST_Assign` the same way as `AST_VarDef`
- inject `AST_Var` as succeeding statement
fixes #3071
|
2018-04-11 02:48:15 +08:00 |
|
Alex Lam S.L
|
90199d0a96
|
extend join_vars on object assignments (#3072)
|
2018-04-11 01:35:42 +08:00 |
|
Alex Lam S.L
|
b82fd0ad41
|
handle flow control in loops with reduce_vars (#3069)
fixes #3068
|
2018-04-10 06:51:03 +08:00 |
|
Alex Lam S.L
|
183da16896
|
handle pure_funcs under inline & reduce_vars correctly (#3066)
fixes #3065
|
2018-04-10 02:46:38 +08:00 |
|
Alex Lam S.L
|
db49daf365
|
mangle Object.defineProperty() (#3059)
fixes #869
|
2018-04-06 17:10:36 +08:00 |
|
Alex Lam S.L
|
923deeff35
|
support inline source map from multiple files (#3058)
fixes #145
|
2018-04-06 16:04:15 +08:00 |
|
Alex Lam S.L
|
0b62a28b47
|
improve usability of includeSources (#3057)
Exclude source contents from input source map if `includeSources=false`
fixes #3041
|
2018-04-06 13:32:26 +08:00 |
|
Alex Lam S.L
|
44116c6d2b
|
fix AST corruption during inline of simple return (#3056)
fixes #3054
|
2018-04-06 05:39:07 +08:00 |
|
Alex Lam S.L
|
b5bab254ce
|
speed up has_parens() (take 2) (#3052)
fixes #3050
|
2018-04-05 04:12:04 +08:00 |
|
Alex Lam S.L
|
e67553fa55
|
fix tree traversal on AST_Do (#3047)
fixes #3046
|
2018-04-02 22:31:23 +08:00 |
|
b-fuze
|
8adfc29f91
|
Don't load source map until the JS source is fully received (#3040)
|
2018-03-31 20:26:40 +09:00 |
|
Alex Lam S.L
|
02f47e1713
|
give sensible error against invalid input source map (#3044)
|
2018-03-31 18:48:20 +09:00 |
|
Alex Lam S.L
|
07f64d4050
|
fix escape analysis on AST_New (#3043)
fixes #3042
|
2018-03-31 15:03:46 +09:00 |
|
Alex Lam S.L
|
fa3250199a
|
mangle unused nested AST_SymbolCatch correctly (#3038)
fixes #3035
|
2018-03-30 16:23:09 +09:00 |
|
Alex Lam S.L
|
06b9894c19
|
handle modifications to this correctly (#3036)
fixes #3032
|
2018-03-30 15:07:36 +09:00 |
|
Alex Lam S.L
|
9f9db504d7
|
improve test for #3023 (#3031)
|
2018-03-29 23:36:40 +09:00 |
|
Alex Lam S.L
|
82ae95c334
|
improve source map granularity (#3030)
fixes #3023
|
2018-03-29 14:47:55 +09:00 |
|
Fábio Santos
|
9a5e2052c4
|
fix extra regex slash when going through mozilla AST I/O (#3025)
This relates to #1929, but in the context of mozilla AST input/output.
|
2018-03-27 03:22:01 +09:00 |
|
Alex Lam S.L
|
12985d86c2
|
fix corner case in hoist_props (#3022)
fixes #3021
|
2018-03-23 07:27:35 +08:00 |
|
Alex Lam S.L
|
49bfc6b555
|
improve performance (#3020)
- replace `find_if()` with `all()` wherever possible
- move ESTree-specific logic out of `figure_out_scope()`
|
2018-03-23 03:43:52 +08:00 |
|
Alex Lam S.L
|
d1c6bb8c7c
|
fix nested inline within loop (#3019)
fixes #3018
|
2018-03-23 02:31:59 +08:00 |
|
Alex Lam S.L
|
5c169615a8
|
fix corner case in inline (#3017)
fixes #3016
|
2018-03-22 23:46:26 +08:00 |
|
Alex Lam S.L
|
ccf0e2ef4f
|
extend fuzzy RHS folding (#3006)
- `a = []; if (1) x();` => `if (a = []) x();`
|
2018-03-17 03:10:21 +08:00 |
|
Alex Lam S.L
|
20ca0f5906
|
improve truthy compression (#3009)
|
2018-03-16 06:12:59 +08:00 |
|
Alex Lam S.L
|
b29d435bb5
|
refactor brackets to braces (#3005)
|
2018-03-15 15:46:45 +08:00 |
|
Alex Lam S.L
|
188c39e8d5
|
retain comments within brackets (#2999)
fixes #2998
|
2018-03-13 18:44:21 +08:00 |
|
Alex Lam S.L
|
5429234138
|
preserve non-constant value assignments with modifications (#2997)
fixes #2995
|
2018-03-13 17:35:34 +08:00 |
|
Alex Lam S.L
|
b9f72a4a81
|
handle case correctly under reduce_vars (#2993)
fixes #2992
|
2018-03-11 15:54:43 +08:00 |
|
Alex Lam S.L
|
fc6ebd04a5
|
preserve case when inline_script (#2991)
fixes #2989
|
2018-03-11 05:11:12 +08:00 |
|
Alex Lam S.L
|
10b3752b1e
|
fix mangle of AST_SymbolLambda under ie8 (#2978)
fixes #2976
|
2018-03-07 17:20:38 +08:00 |
|
Alex Lam S.L
|
fe51a91395
|
handle negated constants correctly in collapse_vars (#2975)
fixes #2974
|
2018-03-06 00:45:58 +08:00 |
|
Alex Lam S.L
|
798fc21530
|
improve test/run-test.js performance (#2971)
- allow reuse of contextified sandbox
- minimise bottleneck from `vm.createContext()`
|
2018-03-04 04:50:00 +08:00 |
|