Alex Lam S.L
33f3b0c1d9
fix corner case in reduce_vars ( #3867 )
...
fixes #3866
2020-05-10 16:35:03 +08:00
Alex Lam S.L
abb8ae02a5
improve inline of /*@__PURE__*/ calls ( #3865 )
2020-05-10 07:16:09 +08:00
Alex Lam S.L
97728c4f0b
improve AST validation ( #3864 )
2020-05-10 05:25:44 +08:00
Alex Lam S.L
f74b7f7401
implement AST validation ( #3863 )
2020-05-09 09:58:03 +08:00
Alex Lam S.L
1bb0804d60
improve ufuzz detection of suspicious options ( #3860 )
2020-05-08 15:03:48 +08:00
Alex Lam S.L
998245ffd6
fix corner case in inline ( #3859 )
...
fixes #3858
2020-05-08 15:03:29 +08:00
Alex Lam S.L
7a033bb825
fix corner case in join_vars ( #3857 )
...
fixes #3856
2020-05-08 11:49:17 +08:00
Alex Lam S.L
a441b00951
suppress ufuzz false positives ( #3855 )
2020-05-08 03:21:44 +08:00
Alex Lam S.L
88985a46ed
fix corner case in inline ( #3853 )
...
fixes #3852
2020-05-07 20:53:05 +08:00
Alex Lam S.L
34ead0430b
enhance dead_code ( #3849 )
2020-05-06 05:02:35 +08:00
Alex Lam S.L
6bf1486935
update links to repository after rename ( #3847 )
2020-05-05 21:07:33 +08:00
Alex Lam S.L
ffa1943177
fix corner case in reduce_vars ( #3845 )
...
fixes #3844
2020-05-04 03:30:10 +08:00
Alex Lam S.L
ac429dc8e1
enhance reduce_vars ( #3843 )
2020-05-03 22:52:43 +08:00
Alex Lam S.L
3766d5c962
enhance unused ( #3839 )
2020-05-03 17:38:28 +08:00
Alex Lam S.L
dcb74f558e
fix diagnostic text ( #3838 )
2020-05-01 18:55:06 +08:00
Alex Lam S.L
0794aaa2c2
fix corner case in inline ( #3837 )
...
fixes #3836
2020-05-01 17:20:23 +08:00
Alex Lam S.L
74801de315
fix corner cases in inline ( #3834 )
...
fixes #3833
fixes #3835
2020-05-01 09:06:40 +08:00
Alex Lam S.L
f80d5b8c9e
enhance inline ( #3832 )
2020-05-01 04:33:46 +08:00
Alex Lam S.L
d900006973
fix corner case in dead_code ( #3831 )
...
fixes #3830
2020-04-30 21:52:57 +08:00
Alex Lam S.L
818738beec
fix corner case in ie8 ( #3826 )
...
fixes #3825
2020-04-27 16:51:21 +08:00
Alex Lam S.L
bc2a4a3bb8
fix corner case in ie8 ( #3824 )
...
fixes #3823
2020-04-27 06:44:53 +08:00
Alex Lam S.L
a4a8ccea8c
fix corner case in inline ( #3822 )
...
fixes #3821
2020-04-27 03:31:19 +08:00
Alex Lam S.L
36dcfa3e82
improve suspicious option detection ( #3820 )
2020-04-27 00:59:26 +08:00
Alex Lam S.L
94f33570e3
fix corner case in --reduce-test ( #3819 )
2020-04-25 06:49:50 +08:00
Alex Lam S.L
44d6912a55
improve --reduce-test on Error.message ( #3816 )
...
closes #3815
2020-04-25 01:30:37 +08:00
Alex Lam S.L
3a4497a1c3
fix corner case in typeofs ( #3818 )
...
fixes #3817
2020-04-25 01:29:42 +08:00
Alex Lam S.L
3ee13cae02
improve compress ( #3814 )
...
- avoid identifier overflow through consecutive API calls
- simplify `reduce_vars`
- enhance `unsafe` `evaluate`
2020-04-24 06:50:53 +08:00
Alex Lam S.L
99cf3a38c5
improve unused efficiency ( #3813 )
2020-04-23 08:31:35 +08:00
Alex Lam S.L
3ae24329eb
gate various label-related transformations ( #3812 )
2020-04-23 05:27:26 +08:00
Alex Lam S.L
01b13d797c
enhance dead_code ( #3811 )
2020-04-22 18:22:45 +08:00
Alex Lam S.L
9577c8c1b7
fix corner case in conditionals ( #3809 )
...
fixes #3808
2020-04-22 06:30:08 +08:00
Alex Lam S.L
a2fc32c64b
enhance conditionals ( #3805 )
2020-04-20 09:42:13 +08:00
Alex Lam S.L
88504ab869
enhance join_vars ( #3804 )
2020-04-20 06:37:46 +08:00
Alex Lam S.L
e38754e802
fix corner case in functions & unused ( #3803 )
...
fixes #3802
2020-04-19 06:28:01 +08:00
Alex Lam S.L
eb6f32bfc3
enhance collapse_vars ( #3801 )
2020-04-19 05:04:21 +08:00
Alex Lam S.L
f110601fb4
enhance unused ( #3800 )
2020-04-19 00:10:24 +08:00
Alex Lam S.L
2a508c6e5f
enhance collapse_vars ( #3799 )
2020-04-18 23:12:20 +08:00
Alex Lam S.L
fd6144d95b
enhance conditionals ( #3798 )
2020-04-18 22:32:22 +08:00
Alex Lam S.L
60d4e7b09f
enhance unused ( #3794 )
2020-04-18 18:52:44 +08:00
Alex Lam S.L
b38838c6bf
fix corner case in join_vars ( #3796 )
...
fixes #3795
2020-04-18 18:08:05 +08:00
Alex Lam S.L
708973e51d
report top-level default options ( #3797 )
2020-04-18 18:03:06 +08:00
Alex Lam S.L
dac9e69f9e
enhance collapse_vars ( #3793 )
2020-04-18 10:06:20 +08:00
Alex Lam S.L
39aa33749b
expand ufuzz patterns ( #3792 )
2020-04-18 07:12:13 +08:00
Alex Lam S.L
da68ec6e19
fix corner cases in join_vars ( #3790 )
...
fixes #3789
fixes #3791
2020-04-18 02:53:26 +08:00
Alex Lam S.L
15a3ebd467
fix corner cases in join_vars ( #3787 )
...
fixes #3786
fixes #3788
2020-04-17 21:19:18 +08:00
Alex Lam S.L
9110fac9a2
suppress mutation of input options ( #3785 )
2020-04-17 15:13:49 +08:00
Alex Lam S.L
83f42ede36
support optional output of names in source maps ( #3784 )
2020-04-17 07:20:48 +08:00
Alex Lam S.L
0ce71bbec0
enhance join_vars ( #3783 )
2020-04-17 05:31:33 +08:00
Alex Lam S.L
46d142cbf6
improve source-map generation ( #3782 )
...
- emit singleton segments to mark generated code from input
2020-04-16 23:30:25 +08:00
Alex Lam S.L
6e9afdc94f
prevent input source map mutation ( #3781 )
...
fixes #3780
2020-04-15 17:25:58 +08:00
Alex Lam S.L
c4d28e3b2a
expand testing on Node.js versions ( #3779 )
2020-04-14 10:13:42 +08:00
Alex Lam S.L
903a5df9a5
fix corner case in inline ( #3778 )
...
fixes #3777
2020-04-11 19:54:26 +08:00
Alex Lam S.L
c810ecd081
improve handling of eval ( #3776 )
...
closes #3768
2020-04-11 06:36:17 +08:00
Alex Lam S.L
dce9dfce0e
fix corner case in reduce_vars ( #3775 )
...
fixes #3774
2020-04-11 02:19:38 +08:00
Alex Lam S.L
3d72663689
add tests for eval() ( #3769 )
...
closes #3768
2020-04-11 00:36:53 +08:00
Alex Lam S.L
a2b16e89a4
fix corner cases in inline ( #3773 )
...
fixes #3770
fixes #3771
fixes #3772
2020-04-11 00:34:45 +08:00
Alex Lam S.L
b35f4c5a83
enhance inline ( #3767 )
2020-04-10 10:48:24 +08:00
Alex Lam S.L
273c6020ba
expand ufuzz patterns ( #3761 )
2020-04-05 22:12:46 +08:00
Alex Lam S.L
1b07f64057
enhance inline ( #3760 )
2020-04-05 10:42:23 +08:00
Alex Lam S.L
dc0cd088cf
fix corner case in evaluate & unsafe_math ( #3756 )
...
fixes #3755
2020-03-30 19:13:14 +08:00
Alex Lam S.L
827bcec186
handle source-map operations internally ( #3754 )
2020-03-28 22:18:56 +08:00
Alex Lam S.L
b39228892d
fix line accounting in multi-line strings ( #3752 )
...
fixes #3748
2020-03-21 07:17:41 +08:00
Alex Lam S.L
ff72eaa3c3
improve --reduce-test ( #3742 )
...
- ignore difference in error messages
- improve readability on trailing whitespace differences
- improve performance & quality via `console.log()` insertions
2020-03-21 05:50:41 +08:00
Alex Lam S.L
0a1c9b34ce
fix corner case in evaluate & ie8 ( #3751 )
...
fixes #3750
2020-03-21 00:55:24 +08:00
Alex Lam S.L
03e968be62
improve suspicious option detection ( #3749 )
2020-03-13 04:03:47 +08:00
Alex Lam S.L
421bb7083a
fix corner case in unused ( #3747 )
...
fixes #3746
2020-03-06 18:27:42 +00:00
Alex Lam S.L
bdc8ef2218
fix corner case in collapse_vars ( #3745 )
...
fixes #3744
2020-03-06 18:27:06 +00:00
Alex Lam S.L
d6d31cbb5a
improve AST fuzzing ( #3740 )
2020-03-02 19:38:30 +08:00
Alex Lam S.L
a051846d22
fix corner case in evaluate ( #3739 )
...
fixes #3738
2020-03-01 20:34:31 +00:00
Alex Lam S.L
3485472866
avoid reducing setter argument ( #3737 )
2020-03-01 05:04:21 +00:00
Alex Lam S.L
c8d60d6983
detect toplevel option properly ( #3735 )
...
fixes #3730
2020-02-29 17:33:48 +00:00
Alex Lam S.L
6092bf23de
fix corner case in evaluate ( #3729 )
2020-02-19 00:41:10 +00:00
Alex Lam S.L
7052ce5aef
fix corner case in evaluate ( #3728 )
...
- augment `ufuzz` for further `RegExp` testing
2020-02-18 19:35:37 +00:00
Alex Lam S.L
457f958af3
improve --reduce-test ( #3727 )
...
- print out Node.js and OS information
2020-02-17 20:56:22 +00:00
Alex Lam S.L
53517db3e4
speed up --reduce-test ( #3726 )
...
- avoid pathological test case branches via adaptive time-out
- use initial test case elapsed time to adjust maximum time-out
- index output cache using hash instead of raw source
2020-02-17 15:35:07 +00:00
Alex Lam S.L
c13caf4876
speed up --reduce-test via result caching ( #3725 )
2020-02-15 22:43:34 +00:00
kzc
fbfa6178a6
improve --reduce-test ( #3722 )
...
- hoist body of functions and IIFEs
- simplify var declarations
2020-02-15 20:22:33 +00:00
Alex Lam S.L
f0a29902ac
enhance properties ( #3721 )
2020-02-15 13:04:44 +00:00
Alex Lam S.L
0d820e4c0a
workaround RegExp formatting bugs ( #3720 )
2020-02-15 05:26:48 +00:00
Alex Lam S.L
f01f580d6c
improve --reduce-test ( #3719 )
...
- cover missing cases when eliminating unreferenced labels
- format multi-line outputs correctly
2020-02-14 02:47:20 +00:00
Alex Lam S.L
83a42716c3
fix corner case in unused ( #3716 )
2020-02-12 23:46:16 +00:00
Alex Lam S.L
2557148bba
increase mocha --reduce-test timeout ( #3715 )
2020-02-12 02:25:04 +00:00
Alex Lam S.L
dd22eda888
enhance evaluate ( #3714 )
2020-02-12 01:01:17 +00:00
Alex Lam S.L
f4c77886e7
add test for --reduce-test ( #3712 )
2020-02-09 23:21:46 +00:00
Alex Lam S.L
df547ffd97
improve test reduction ( #3711 )
...
- scan `AST_SymbolFunarg`
- scan `console.log(...)`
2020-02-09 20:42:36 +00:00
Alex Lam S.L
70551febc8
improve test/reduce ( #3710 )
...
- suppress several instances of malformed AST generation
- improve resilience & reporting against malformed ASTs
2020-02-09 08:07:55 +00:00
Alex Lam S.L
44499a6643
fix corner cases in test/reduce ( #3709 )
2020-02-07 02:41:07 +00:00
Alex Lam S.L
470a7d4df1
improve reduction of AST_BlockStatement ( #3708 )
2020-02-06 21:20:05 +00:00
Alex Lam S.L
551420132c
export missing API for AST manipulation ( #3707 )
2020-02-06 18:46:25 +00:00
kzc
b0040ba654
implement CLI --reduce-test and reduce tests in ufuzz ( #3705 )
2020-02-06 02:50:59 +00:00
Alex Lam S.L
c93ca6ee53
fix corner case in ie8 & reduce_vars ( #3706 )
...
fixes #3703
2020-02-05 20:03:22 +00:00
Alex Lam S.L
df506439b1
fix corner case in sequences ( #3704 )
...
fixes #3703
2020-02-04 04:57:32 +00:00
Alex Lam S.L
79c60032a5
fix corner case in collapse_vars ( #3701 )
...
fixes #3700
2020-01-30 09:04:44 +08:00
Alex Lam S.L
a3754068dd
fix corner case in collapse_vars ( #3699 )
...
fixes #3698
2020-01-30 00:08:53 +08:00
Alex Lam S.L
2ba5f391e0
enhance collapse_vars ( #3697 )
2020-01-29 08:52:20 +08:00
Alex Lam S.L
87119e44a0
fix corner case in sign propagation ( #3696 )
...
- migrate de-facto functionality to `evaluate`
fixes #3695
2020-01-28 22:44:18 +08:00
Alex Lam S.L
b499e03f82
enhance conditionals ( #3694 )
2020-01-28 12:33:21 +08:00
Alex Lam S.L
a478f275e4
enhance sequences ( #3693 )
2020-01-28 09:58:01 +08:00
Alex Lam S.L
e9e76dcf04
fix corner case in string concatenations ( #3692 )
...
- migrate de-facto compression to `conditionals` & `strings`
fixes #3689
2020-01-28 07:33:11 +08:00
Alex Lam S.L
0dcedad2d5
fix corner case in booleans ( #3691 )
...
fixes #3690
2020-01-28 02:04:44 +08:00