Commit Graph

1919 Commits

Author SHA1 Message Date
Alex Lam S.L
fa09f87589
fix corner case in hoist_vars (#4739)
fixes #4736
2021-03-06 04:25:32 +08:00
Alex Lam S.L
dd30ed6a9b
enhance collapse_vars (#4735) 2021-03-05 13:18:01 +08:00
Alex Lam S.L
cb50a2d192
fix corner case in collapse_vars (#4733)
fixes #4732
2021-03-04 17:13:54 +08:00
Alex Lam S.L
20be5209c0
fix corner cases in ie8 & side_effects (#4731)
fixes #4729
fixes #4730
2021-03-04 03:30:07 +08:00
Alex Lam S.L
2a49760032
enhance side_effects (#4727) 2021-03-03 18:47:17 +08:00
Alex Lam S.L
10ca578ee5
fix corner case in inline (#4726)
fixes #4725
2021-03-03 09:18:02 +08:00
Alex Lam S.L
955411e065
fix corner cases with class (#4723)
fixes #4720
fixes #4721
fixes #4722
2021-03-03 03:32:58 +08:00
Alex Lam S.L
adcafce048
fix corner cases in varify (#4719) 2021-03-02 23:33:58 +08:00
Alex Lam S.L
b1e05fd48a
fix corner case in inline & sequences (#4718)
fixes #4717
2021-03-02 17:39:34 +08:00
Alex Lam S.L
23b51287aa
fix corner case in evaluate (#4716)
fixes #4715
2021-03-02 17:33:28 +08:00
Alex Lam S.L
74dee5c445
enhance reduce_vars & varify (#4714) 2021-03-02 15:27:55 +08:00
Alex Lam S.L
ee27d87a08
enhance reduce_vars & side_effects (#4712) 2021-03-02 13:43:10 +08:00
Alex Lam S.L
62887f2c66
fix corner case with class (#4713) 2021-03-02 12:08:08 +08:00
Alex Lam S.L
68b2dadc58
enhance side_effects & unused (#4711) 2021-03-02 04:55:09 +08:00
Alex Lam S.L
ec0440f264
fix corner cases with import (#4709)
fixes #4708
2021-03-01 07:13:49 +08:00
Alex Lam S.L
c549ee89b9
fix corner case reduce_vars (#4706)
fixes #4705
2021-02-28 04:41:21 +08:00
Alex Lam S.L
e6ebf827ce
fix corner cases with export (#4699)
fixes #4698
fixes #4700
fixes #4701
fixes #4702
2021-02-27 10:15:14 +08:00
Alex Lam S.L
0a42457df6
fix corner case with arguments (#4697)
fixes #4696
2021-02-27 09:26:15 +08:00
Alex Lam S.L
ba4a771bbc
support limited ufuzz testing for export (#4693)
fixes #4692
2021-02-27 04:56:34 +08:00
Alex Lam S.L
ac26993b5a
fix corner cases with block-scoped functions (#4695) 2021-02-27 04:16:14 +08:00
Alex Lam S.L
ea52339502
use strict-mode-safe placeholder (#4694) 2021-02-26 16:43:53 +08:00
Alex Lam S.L
992952d8f6
fix corner cases with exports (#4691) 2021-02-26 02:22:49 +08:00
Alex Lam S.L
6d7ab63a66
fix corner cases in sequences (#4690)
fixes #4689
2021-02-25 12:48:40 +08:00
Alex Lam S.L
822b1da5d2
fix corner cases with arrow functions (#4688)
fixes #4687
2021-02-25 09:01:45 +08:00
Alex Lam S.L
72805ea73a
fix corner case in collapse_vars (#4686)
fixes #4685
2021-02-25 05:31:12 +08:00
Alex Lam S.L
a5e6946f74
fix corner case in loops (#4684)
fixes #4683
2021-02-25 04:41:21 +08:00
Alex Lam S.L
b8672b55b2
fix corner case in unused (#4682)
fixes #4681
2021-02-25 02:17:28 +08:00
Alex Lam S.L
a5a958beda
fix corner case in comparisons (#4680)
fixes #4679
2021-02-24 13:38:44 +00:00
Alex Lam S.L
c885660347
support nullish coalescing operator (#4678) 2021-02-24 05:57:11 +08:00
Alex Lam S.L
d68d155f93
support class literals (#4658) 2021-02-23 22:55:08 +08:00
Alex Lam S.L
e535f19189
fix corner case in templates (#4677)
fixes #4676
2021-02-22 23:59:28 +08:00
Alex Lam S.L
f9a2a9d78e
enhance side_effects (#4675) 2021-02-22 15:44:16 +08:00
Alex Lam S.L
55b59407e4
fix corner cases in reduce_vars (#4674) 2021-02-22 08:21:21 +08:00
Alex Lam S.L
b726e364c1
fix corner cases with export default (#4673) 2021-02-21 13:01:56 +08:00
Alex Lam S.L
bfe3a8b516
fix corner case with import (#4672) 2021-02-21 10:00:34 +08:00
Alex Lam S.L
ae09773ba0
parse dynamic import correctly (#4671) 2021-02-21 06:54:15 +08:00
Alex Lam S.L
8d668c2963
fix corner case in conditionals & side_effects (#4669)
fixes #4668
2021-02-20 11:13:15 +08:00
Alex Lam S.L
5f60c1b830
fix corner cases in arrow functions & rests (#4667)
fixes #4666
2021-02-19 08:26:57 +08:00
Alex Lam S.L
10de27ca3d
fix corner case in reduce_vars (#4665)
fixes #4664
2021-02-19 02:04:33 +08:00
Alex Lam S.L
7b4fd858ba
fix corner case in reduce_vars (#4663)
fixes #4662
2021-02-18 23:24:55 +08:00
Alex Lam S.L
a7bcd4d613
fix corner case in inline (#4660)
fixes #4659
2021-02-18 16:15:44 +08:00
Alex Lam S.L
6a2bda52f3
workaround bug in ECMAScript specification (#4656)
closes #4655
2021-02-16 23:39:06 +08:00
Alex Lam S.L
fa8aa204a0
fix corner case in reduce_vars (#4654)
fixes #4653
2021-02-16 06:46:45 +08:00
Alex Lam S.L
203ca2586a
introduce hoist_exports (#4651) 2021-02-15 09:01:18 +08:00
Alex Lam S.L
c21f096ab8
support export statements (#4650) 2021-02-15 04:13:54 +08:00
Alex Lam S.L
b7219ac489
support import statements (#4646) 2021-02-14 04:26:43 +08:00
Alex Lam S.L
a6bb66931b
improve fix for #4325 (#4649) 2021-02-14 02:24:57 +08:00
Alex Lam S.L
83197ffdb3
fix corner case in evaluate (#4645)
fixes #4644
2021-02-12 03:26:12 +08:00
Alex Lam S.L
952765be66
enhance join_vars (#4643) 2021-02-11 04:59:25 +08:00
Alex Lam S.L
083679bcad
fix corner cases with asynchronous generators (#4642)
fixes #4641
2021-02-10 23:41:00 +08:00
Alex Lam S.L
f5659f292b
enhance collapse_vars (#4637) 2021-02-10 23:06:12 +08:00
Alex Lam S.L
c6e287331d
fix corner cases in inline (#4640)
fixes #4639
2021-02-10 20:40:57 +08:00
Alex Lam S.L
a98ec7e4df
enhance side_effects (#4638) 2021-02-10 18:09:54 +08:00
Alex Lam S.L
5ec82e5801
fix corner case in reduce_vars (#4636) 2021-02-10 10:37:00 +08:00
Alex Lam S.L
c76481341c
fix corner case in merge_vars (#4635) 2021-02-10 09:13:38 +08:00
Alex Lam S.L
5e6307974f
fix corner case in collapse_vars (#4634)
fixes #4633
2021-02-10 08:45:36 +08:00
Alex Lam S.L
228cdf8e7e
reject invalid for...of syntax (#4632) 2021-02-10 05:42:27 +08:00
Alex Lam S.L
14fedbf123
fix corner case with template literals (#4631)
fixes #4630
2021-02-09 14:21:15 +08:00
Alex Lam S.L
fcee32527b
fix corner case in merge_vars (#4629)
fixes #4628
2021-02-09 12:36:12 +08:00
Alex Lam S.L
e13d1e9969
support for [await]...of statements (#4627) 2021-02-09 04:28:23 +08:00
Alex Lam S.L
357d861246
fix corner case in conditionals (#4624)
fixes #4623
2021-02-08 18:31:08 +08:00
Alex Lam S.L
fd4caf7a9c
support generator functions (#4620) 2021-02-08 06:44:20 +08:00
Alex Lam S.L
c44b6399c3
fix corner case in side_effects (#4622)
fixes #4621
2021-02-07 22:40:41 +08:00
Alex Lam S.L
522cceeccf
fix corner case in functions (#4619)
fixes #4618
2021-02-07 13:52:09 +08:00
Alex Lam S.L
5359900b78
enhance compress on arrow and async functions (#4616) 2021-02-06 12:39:46 +08:00
Alex Lam S.L
739fa266f8
fix corner case in pure_getters (#4615)
fixes #4614
2021-02-05 09:03:51 +08:00
Alex Lam S.L
da24dfb59e
fix corner cases with function inlining (#4613)
fixes #4612
2021-02-05 04:49:37 +08:00
Alex Lam S.L
a2f27c7640
fix corner cases in templates (#4610) 2021-02-02 17:39:30 +00:00
Alex Lam S.L
3c556b8689
fix corner case in arguments (#4609)
fixes #4608
2021-02-02 23:07:31 +08:00
Alex Lam S.L
7110c6923b
fix corner case in templates (#4607)
fixes #4606
2021-02-02 02:29:43 +08:00
Alex Lam S.L
b27b6807cb
fix corner case in collapse_vars (#4605)
fixes #4604
2021-02-01 23:24:11 +08:00
Alex Lam S.L
ba6e29d6fd
introduce templates (#4603) 2021-02-01 17:20:13 +08:00
Alex Lam S.L
d4685640a0
support template literals (#4601) 2021-02-01 10:36:45 +08:00
Alex Lam S.L
0cd4a199b0
fix corner case in conditionals (#4599)
fixes #4598
2021-01-30 16:54:29 +08:00
Alex Lam S.L
d0bb147639
fix corner case in inline (#4596)
fixes #4595
2021-01-27 01:30:05 +08:00
Alex Lam S.L
9d23ba0a22
support exponentiation operator (#4593) 2021-01-25 05:48:51 +08:00
Alex Lam S.L
fd7ad8e779
fix corner cases in collapse_vars (#4591)
fixes #4590
2021-01-24 22:15:43 +08:00
Alex Lam S.L
a36c5472d2
fix corner cases with default parameters (#4589)
fixes #4588
2021-01-24 11:00:47 +08:00
Alex Lam S.L
8bfd891c09
support BigInt literals (#4583) 2021-01-24 09:51:18 +08:00
Alex Lam S.L
ef9f7ca3e7
fix corner case in collapse_vars (#4587)
fixes #4586
2021-01-24 07:05:43 +08:00
Alex Lam S.L
acc443b2cf
fix corner case in reduce_vars (#4585)
fixes #4584
2021-01-24 03:37:52 +08:00
Alex Lam S.L
f87e7be12c
fix corner case in reduce_vars (#4582)
fixes #4581
2021-01-23 02:14:53 +08:00
Alex Lam S.L
c1e771a89a
fix corner case in rests (#4576)
fixes #4575
2021-01-21 07:23:06 +08:00
Alex Lam S.L
d37ee4d41c
support asynchronous test cases properly (#4529) 2021-01-20 07:27:32 +08:00
Alex Lam S.L
90ec468240
fix corner case in dead_code (#4571)
fixes #4570
2021-01-19 09:33:57 +08:00
Jimb Esser
994293e972
Fix overwriting existing sourcesContent in sourcemaps (#4567) 2021-01-19 07:44:24 +08:00
Alex Lam S.L
b57bae4b9e
fix corner case in reduce_vars (#4569)
fixes #4568
2021-01-19 06:34:48 +08:00
Alex Lam S.L
e23a10f7f9
fix corner case in loops (#4565)
fixes #4564
2021-01-18 06:36:59 +08:00
Alex Lam S.L
e616916de5
fix corner case in reduce_vars (#4563)
fixes #4562
2021-01-18 01:47:07 +08:00
Alex Lam S.L
8d21516623
fix corner cases in reduce_vars (#4561)
fixes #4560
2021-01-16 16:55:10 +08:00
Alex Lam S.L
74368c3dba
fix corner case in unused (#4559)
fixes #4558
2021-01-16 02:37:27 +08:00
Alex Lam S.L
18dbceb36f
fix corner case in unused (#4557)
fixes #4556
2021-01-15 12:33:17 +08:00
Alex Lam S.L
65d39a3702
fix corner cases in collapse_vars (#4555)
fixes #4554
2021-01-15 00:22:34 +08:00
Alex Lam S.L
24917e7084
fix corner case in evaluate (#4553)
fixes #4552
2021-01-13 22:17:24 +08:00
Alex Lam S.L
c11a748908
fix corner case in merge_vars (#4550)
fixes #4548
2021-01-13 03:48:46 +08:00
Alex Lam S.L
fc816628c1
fix corner case in side_effects (#4545)
fixes #4544
2021-01-13 01:08:16 +08:00
Alex Lam S.L
46ad273df4
enhance rests (#4546) 2021-01-13 00:00:19 +08:00
Alex Lam S.L
b689028e87
fix corner case in unsafe_math (#4543)
fixes #4542
2021-01-12 12:07:01 +08:00
Alex Lam S.L
1e831df1f6
fix corner case in side_effects (#4541)
fixes #4540
2021-01-12 09:12:43 +08:00
Alex Lam S.L
c12486bab4
fix corner case in rests (#4539)
fixes #4538
2021-01-12 09:12:30 +08:00
Alex Lam S.L
16b97f9558
fix corner case in arguments (#4535)
fixes #4534
2021-01-11 04:17:39 +08:00
Alex Lam S.L
dbfa5d4d14
fix corner case in ie8 (#4532)
fixes #4531
2021-01-11 00:01:49 +08:00
Alex Lam S.L
ba54d074d8
support asynchronous arrow functions (#4530) 2021-01-10 11:34:26 +08:00
Alex Lam S.L
0818d396c5
fix corner case in mangle (#4528)
fixes #4527
2021-01-10 04:20:43 +08:00
Alex Lam S.L
770f3ba5fe
fix corner cases with rest parameters (#4526)
fixes #4525
2021-01-09 08:38:51 +08:00
Alex Lam S.L
553034fe52
fix corner case in merge_vars (#4524)
fixes #4523
2021-01-08 15:49:14 +08:00
Alex Lam S.L
7fe8c9150a
fix corner case in assignments (#4522)
fixes #4521
2021-01-08 13:03:21 +08:00
Alex Lam S.L
25321df959
fix corner cases with arguments (#4520)
fixes #4519
2021-01-07 16:53:14 +08:00
Alex Lam S.L
cf1b0165af
fix corner case in hoist_vars (#4518)
fixes #4517
2021-01-07 15:05:48 +08:00
Alex Lam S.L
c3d358a5b8
support rest parameters (#4515) 2021-01-07 10:04:09 +08:00
Alex Lam S.L
71c3d04681
fix corner case in side_effects (#4513)
fixes #4512
2021-01-06 02:11:30 +08:00
Alex Lam S.L
4c89550c43
fix corner case indefault_values (#4511)
fixes #4510
2021-01-06 01:26:19 +08:00
Alex Lam S.L
7ebfb22d16
fix corner cases in inline & unused (#4509)
fixes #4508
2021-01-06 00:15:12 +08:00
Alex Lam S.L
6eceac0966
enhance inline & side_effects (#4506) 2021-01-05 15:02:49 +08:00
Alex Lam S.L
fc5aee662d
fix corner case in merge_vars (#4505)
fixes #4504
2021-01-05 14:23:46 +08:00
Alex Lam S.L
5fbbb43839
fix corner cases in inline & side_effects (#4503)
fixes #4502
2021-01-04 10:17:32 +08:00
Alex Lam S.L
df2cfcb5fc
fix corner case in evaluate (#4501)
fixes #4500
2021-01-04 02:31:20 +08:00
Alex Lam S.L
623a0d920f
fix toggling of AST validation (#4499) 2021-01-03 11:09:10 +08:00
Alex Lam S.L
110c1ac097
fix corner case in default_values (#4497)
fixes #4496
2021-01-02 22:51:53 +08:00
Alex Lam S.L
15ef272790
introduce awaits (#4495) 2021-01-02 20:35:48 +08:00
Alex Lam S.L
b3a706114c
enhance if_return & side_effects (#4494) 2021-01-02 12:39:51 +08:00
Alex Lam S.L
cc2d7acaf0
enhance inline, sequences & side_effects (#4493) 2021-01-02 09:43:05 +08:00
Alex Lam S.L
dfb86ccdd1
fix corner case in conditionals (#4492) 2021-01-02 07:53:15 +08:00
Alex Lam S.L
0417a69c3e
enhance collapse_vars & dead_code (#4491) 2021-01-01 21:52:14 +08:00
Alex Lam S.L
2dbafbb4ee
fix corner case in reduce_vars (#4490)
fixes #4489
2021-01-01 12:56:13 +08:00
Alex Lam S.L
311c074622
fix corner case in functions (#4488)
fixes #4487
2021-01-01 10:39:40 +08:00
Alex Lam S.L
0b7d65d331
fix corner case with arguments (#4486)
fixes #4485
2020-12-31 14:55:05 +08:00
Alex Lam S.L
8b954b022b
fix corner case with default values (#4484)
fixes #4483
2020-12-31 01:47:00 +08:00
Alex Lam S.L
1956edd503
fix corner cases with arguments (#4481)
fixes #4480
2020-12-30 00:22:03 +08:00
Alex Lam S.L
560ccc1221
enhance reduce_vars (#4479) 2020-12-29 19:43:12 +08:00
Alex Lam S.L
10a71c182b
fix corner case in arguments (#4477)
fixes #4476
2020-12-29 18:58:29 +08:00
Alex Lam S.L
ddc0ed7072
expand test options (#4475)
- fix corner cases in `hoist_vars` & `keep_fnames`
2020-12-29 06:17:52 +08:00
Alex Lam S.L
28bcdbd7df
fix corner case in inline (#4472)
fixes #4471
2020-12-28 10:05:59 +08:00
Alex Lam S.L
6a8aed2049
fix corner case in unused (#4469)
fixes #4468
2020-12-27 20:06:50 +08:00
Alex Lam S.L
a8785fb694
workaround v8 bug with labels (#4467)
closes #4466
2020-12-27 13:32:18 +08:00
Alex Lam S.L
94f3819dc6
fix corner case in reduce_vars & unused (#4465)
fixes #4464
2020-12-26 16:52:16 +08:00
Alex Lam S.L
be1f5199f4
fix corner cases in collapse_vars (#4462)
fixes #4460
fixes #4461
2020-12-26 13:40:31 +08:00
Alex Lam S.L
95aea0e33c
fix corner case in reduce_vars (#4459)
fixes #4458
2020-12-25 22:50:11 +08:00
Alex Lam S.L
a1b2735dd8
fix corner case in unused (#4457)
fixes #4456
2020-12-25 20:10:58 +08:00
Alex Lam S.L
f345175bc2
fix corner case in merge_vars (#4455)
fixes #4454
2020-12-25 19:27:05 +08:00
Alex Lam S.L
b2f27fd873
fix corner case in functions & reduce_vars (#4452)
fixes #4451
2020-12-25 08:38:24 +08:00
Alex Lam S.L
ced32f9bd8
enhance default_values (#4450) 2020-12-25 07:31:34 +08:00
Alex Lam S.L
dfc3ec9cef
fix corner case in pure_getters (#4449)
fixes #4448
2020-12-25 03:58:23 +08:00
Alex Lam S.L
1896694532
fix & enhance collapse_vars (#4447)
fixes #4446
2020-12-24 17:02:18 +08:00
Alex Lam S.L
5f269cd573
fix corner case in collapse_vars (#4445)
fixes #4444
2020-12-24 10:56:22 +08:00
Alex Lam S.L
6988cd9558
replace keep_fargs default to false (#4443) 2020-12-24 09:56:02 +08:00
Alex Lam S.L
2390fae5c4
support default values (#4442) 2020-12-24 06:22:55 +08:00
Alex Lam S.L
56fce2131c
fix corner case in pure_getters (#4441)
fixes #4440
2020-12-24 04:09:09 +08:00
Alex Lam S.L
7e575e9d7f
fix corner case in if_return (#4439)
fixes #4438
2020-12-24 04:08:57 +08:00
Alex Lam S.L
cb4a02949e
fix corner case with NaN (#4437)
fixes #4436
2020-12-23 07:01:50 +08:00