Commit Graph

2046 Commits

Author SHA1 Message Date
Alex Lam S.L
d320a6cde2
fix corner case in awaits (#4973)
fixes #4972
2021-05-28 10:53:10 +08:00
Alex Lam S.L
8cd95dd263
enhance awaits (#4971) 2021-05-28 08:47:37 +08:00
Alex Lam S.L
749a828fc5
fix corner case in collapse_vars (#4970) 2021-05-28 06:32:43 +08:00
Alex Lam S.L
ab42a90edb
enhance awaits (#4969) 2021-05-28 00:57:14 +08:00
Alex Lam S.L
362abe0ffb
enhance unused (#4968) 2021-05-26 22:25:07 +08:00
Alex Lam S.L
e3798d9a76
fix corner case in arguments (#4967) 2021-05-26 22:24:26 +08:00
Alex Lam S.L
7caab39e26
fix corner case in mangle (#4966)
fixes #4965
2021-05-26 06:21:52 +08:00
Alex Lam S.L
eff45eac0e
fix corner case in ie8 (#4963)
fixes #4962
2021-05-26 00:12:31 +08:00
Alex Lam S.L
1e787c556b
fix corner case in mangle (#4961)
fixes #4960
2021-05-24 11:46:58 +08:00
Alex Lam S.L
df47632ecc
fix corner case in ie8 (#4959)
fixes #4958
2021-05-24 11:24:02 +08:00
Alex Lam S.L
eb08fed120
fix corner case in merge_vars (#4957)
fixes #4956
2021-05-24 09:56:02 +08:00
Alex Lam S.L
8b0c836515
fix corner cases in rename & varify (#4955)
fixes #4954
2021-05-24 06:54:48 +08:00
Alex Lam S.L
5d4e6e3bdc
enhance sourceMap (#4953) 2021-05-23 23:57:44 +08:00
Alex Lam S.L
d2a45ba441
fix corner case in parsing private field/method (#4952)
fixes #4951
2021-05-22 10:12:37 +08:00
Alex Lam S.L
de376c3d33
fix corner case in reduce_vars (#4950)
fixes #4949
2021-05-21 18:49:07 +08:00
Alex Lam S.L
4a19575e74
fix corner case in conditionals (#4948)
fixes #4947
2021-05-20 18:08:22 +08:00
Alex Lam S.L
e0695ef549
enhance pure_funcs (#4945) 2021-05-20 07:09:47 +08:00
Alex Lam S.L
d6152e6a76
fix corner case in collapse_vars (#4946) 2021-05-20 05:11:39 +08:00
Alex Lam S.L
254937754c
fix corner case in reduce_vars (#4944)
fixes #4943
2021-05-18 05:52:24 +08:00
Alex Lam S.L
e13615549e
fix corner case in pure_getters (#4940)
fixes #4939
2021-05-16 02:12:58 +08:00
Alex Lam S.L
a7698f8845
fix corner case in reduce_vars (#4938)
fixes #4937
2021-05-15 22:38:09 +08:00
Alex Lam S.L
bbed9b13b1
fix corner case in collapse_vars (#4936)
fixes #4935
2021-05-15 22:34:14 +08:00
Alex Lam S.L
2cff7c94e8
fix corner case in reduce_vars (#4934)
fixes #4933
2021-05-15 01:49:46 +08:00
Alex Lam S.L
7576048118
fix corner case in unsafe evaluate (#4932)
fixes #4931
2021-05-14 22:51:19 +08:00
Alex Lam S.L
e04429350f
fix corner case in ie8 (#4929)
fixes #4928
2021-05-13 09:26:57 +08:00
Alex Lam S.L
60f3b55156
fix corner case with optional chain operator (#4927) 2021-05-12 10:12:19 +08:00
Alex Lam S.L
689f8f504d
enhance mangle (#4926) 2021-05-11 23:41:32 +08:00
Alex Lam S.L
ae51f76ba7
fix corner case in unused (#4925)
fixes #4924
2021-05-11 20:50:58 +08:00
Alex Lam S.L
b1cfa71131
enhance unused (#4922) 2021-05-11 10:30:20 +08:00
Alex Lam S.L
bb225367cb
fix corner case collapse_vars (#4921)
fixes #4920
2021-05-09 02:59:45 +08:00
Alex Lam S.L
bbca9de9cd
fix corner case in collapse_vars (#4919)
fixes #4918
2021-05-08 03:58:29 +08:00
Alex Lam S.L
ee9ceb79ca
fix corner case in collapse_vars (#4917)
fixes #4916
2021-05-08 02:34:27 +08:00
Alex Lam S.L
ac1f7d689b
fix corner case in collapse_vars (#4915)
fixes #4914
2021-05-08 01:14:59 +08:00
Alex Lam S.L
19d232badb
fix corner case in unused (#4913)
fixes #4912
2021-05-07 19:38:22 +08:00
Alex Lam S.L
d464be3f3f
fix corner case in collapse_vars (#4911)
fixes #4910
2021-05-05 00:03:43 +08:00
Alex Lam S.L
3094eaaa89
fix corner case in collapse_vars (#4909)
fixes #4908
2021-05-04 16:33:52 +08:00
Alex Lam S.L
ce3c35fa8b
fix corner case in unused (#4907)
fixes #4906
2021-05-04 06:19:25 +08:00
Alex Lam S.L
5d9224deb8
fix corner cases with template literals (#4903)
fixes #4902
2021-05-03 22:26:20 +08:00
Alex Lam S.L
f0de9a8b5d
support optional chaining operator (#4899) 2021-05-03 10:08:29 +08:00
Alex Lam S.L
203f4b7ad9
fix corner case in hoist_vars (#4900)
fixes #4898
2021-05-03 04:05:52 +08:00
Alex Lam S.L
4114431eec
fix corner case in collapse_vars (#4896)
fixes #4895
2021-05-02 18:23:18 +08:00
Alex Lam S.L
fb03561799
fix corner case in hoist_vars (#4894)
fixes #4893
2021-05-02 07:28:31 +08:00
Alex Lam S.L
6ab26eef6c
fix corner case in collapse_vars (#4892)
fixes #4891
2021-05-02 03:57:17 +08:00
Alex Lam S.L
53b57ee57e
enhance reduce_vars & unused (#4890) 2021-05-02 00:19:56 +08:00
Alex Lam S.L
16411dcb87
enhance collapse_vars (#4885) 2021-05-01 21:37:52 +08:00
Alex Lam S.L
8bbfaacdae
fix corner case in properties (#4889)
fixes #4888
2021-05-01 07:52:53 +08:00
Alex Lam S.L
df980db4a8
fix corner case in unsafe evaluate (#4887)
fixes #4886
2021-05-01 07:24:39 +08:00
Alex Lam S.L
8e4a19ffec
fix corner case in spreads (#4883)
fixes #4882
2021-04-30 22:21:15 +08:00
Alex Lam S.L
d833e66d23
enhance join_vars (#4881) 2021-04-30 11:40:47 +08:00
Alex Lam S.L
d576495e5a
support #__PURE__ in ESTree (#4879) 2021-04-29 04:13:42 +08:00
Alex Lam S.L
a06e20304b
fix corner case in pure_getters (#4877)
fixes #4876
2021-04-27 22:52:37 +08:00
Alex Lam S.L
4cccc01f3e
fix corner case in collapse_vars (#4875)
fixes #4874
2021-04-27 08:54:02 +08:00
Alex Lam S.L
97bd56b7e8
improve AST tests & tools (#4873) 2021-04-27 08:53:45 +08:00
Alex Lam S.L
acf951a5bc
fix corner case with for [await]...of (#4872) 2021-04-26 05:10:22 +08:00
Alex Lam S.L
324587f769
upgrade AST<->ESTree translation (#4870)
fixes #968
2021-04-26 04:23:52 +08:00
Alex Lam S.L
80efaa2f33
fix corner case with export (#4871) 2021-04-25 22:37:26 +08:00
Alex Lam S.L
a1a212f639
fix corner case in collapse_vars (#4869)
fixes #4868
2021-04-25 05:16:51 +08:00
Alex Lam S.L
a2b1b96752
fix corner case with yield (#4867) 2021-04-25 03:10:12 +08:00
Alex Lam S.L
c296a63fb3
fix corner case in collapse_vars (#4866)
fixes #4865
2021-04-24 20:04:31 +08:00
Alex Lam S.L
10dd9d4eaf
enhance collapse_vars (#4864) 2021-04-24 12:45:18 +08:00
Alex Lam S.L
9b8deff64d
enhance pure_getters, reduce_vars & unused (#4863) 2021-04-24 07:17:30 +08:00
Alex Lam S.L
f46209b7e5
enhance unsafe side_effects (#4862)
closes #4861
2021-04-23 06:58:14 +08:00
Alex Lam S.L
bddb5a0102
enhance unused (#4858) 2021-04-22 10:58:50 +08:00
Alex Lam S.L
3c161a6662
fix corner case in hoist_vars (#4860)
fixes #4859
2021-04-22 05:47:21 +08:00
Alex Lam S.L
c53af3dfb1
fix corner case in collapse_vars (#4855)
fixes #4854
2021-04-14 01:22:08 +08:00
Alex Lam S.L
ca49f6f41a
fix corner case in collapse_vars (#4853)
fixes #4852
2021-04-08 17:50:40 +08:00
Alex Lam S.L
8a82822654
fix corner case in if_return (#4851)
fixes #4848
2021-04-08 08:57:59 +08:00
Alex Lam S.L
ebe4e1ad28
fix corner case in unused (#4850)
fixes #4849
2021-04-08 06:31:15 +08:00
Alex Lam S.L
a37ca558dd
reject invalid for await syntax (#4847) 2021-04-07 22:37:15 +08:00
Alex Lam S.L
73a564343b
preserve compatibility of quote_style (#4845) 2021-04-07 06:49:12 +08:00
Alex Lam S.L
4870747306
speed up OutputStream (#4844) 2021-04-07 02:57:23 +08:00
Alex Lam S.L
b179a2459f
parse octal literals correctly (#4843) 2021-04-07 02:23:35 +08:00
Alex Lam S.L
231c3d7c84
clean up OutputStream (#4842) 2021-04-06 21:34:27 +08:00
Alex Lam S.L
aed758ed5c
enhance comparisons & reduce_vars (#4841) 2021-04-03 22:06:05 +08:00
Alex Lam S.L
0df028187d
fix corner case in hoist_vars (#4840)
fixes #4839
2021-04-03 10:07:18 +08:00
Alex Lam S.L
10fbf8e295
support mangle.properties on class (#4838) 2021-04-03 06:00:19 +08:00
Alex Lam S.L
cf38b52afa
parse import.meta correctly (#4836) 2021-04-03 04:31:29 +08:00
Alex Lam S.L
e755d01a0b
fix corner case in unused (#4835)
fixes #4834
2021-04-02 03:55:53 +08:00
Alex Lam S.L
cea1fb5c58
fix corner case in properties (#4832)
fixes #4831
2021-04-01 14:39:51 +08:00
Alex Lam S.L
1947a21824
fix corner case in properties (#4830)
fixes #4829
2021-04-01 07:05:50 +08:00
Alex Lam S.L
daa8319b8a
fix corner cases with logical assignment operators (#4828)
fixes #4827
2021-03-28 03:44:45 +08:00
Alex Lam S.L
d5599604e8
enhance collapse_vars (#4826) 2021-03-27 22:14:37 +08:00
Alex Lam S.L
39df3a1680
fix corner case in functions (#4824)
fixes #4823
2021-03-25 08:49:01 +08:00
Alex Lam S.L
03c5ecb2e3
fix corner cases with class (#4822)
fixes #4821
2021-03-25 04:36:50 +08:00
Alex Lam S.L
40ef074cb3
fix corner case in comparisons (#4820)
fixes #4819
2021-03-24 10:10:02 +08:00
Alex Lam S.L
78e3936cd4
fix corner case in inline (#4818)
fixes #4817
2021-03-23 22:33:24 +08:00
Alex Lam S.L
e7be38b42a
fix corner cases with logical assignment operators (#4816)
fixes #4815
2021-03-23 13:02:45 +08:00
Alex Lam S.L
f9055df44d
support logical assignment operators (#4813) 2021-03-23 04:59:43 +08:00
Alex Lam S.L
9faee3b66a
fix corner case in arguments (#4810)
fixes #4809
2021-03-21 10:40:32 +08:00
Alex Lam S.L
24619daf68
fix corner cases in collapse_vars & unused (#4807)
fixes #4806
2021-03-21 03:51:03 +08:00
Alex Lam S.L
b89cc84c3a
fix corner case in pure_getters (#4804)
fixes #4803
2021-03-19 16:16:53 +08:00
Alex Lam S.L
3016a78d85
fix corner case in reduce_vars (#4802)
fixes #4801
2021-03-18 23:58:35 +08:00
Alex Lam S.L
2508481e33
fix corner case in evaluate (#4800)
fixes #4799
2021-03-18 11:31:20 +08:00
Alex Lam S.L
48c46fa9a7
fix corner case in sequences (#4798) 2021-03-18 08:31:55 +08:00
Alex Lam S.L
7da49b5709
fix corner case in collapse_vars (#4797) 2021-03-18 07:50:55 +08:00
Alex Lam S.L
d837a46ebd
fix corner case in reduce_vars (#4796) 2021-03-18 05:14:14 +08:00
Alex Lam S.L
7d595e2eac
improve comment formatting logic (#4794) 2021-03-17 13:51:52 +08:00
Alex Lam S.L
9fc0ff5953
parse extended Unicode literal correctly (#4792) 2021-03-17 10:34:50 +08:00
Alex Lam S.L
997d09bb33
extend keep_fnames to classes (#4793) 2021-03-17 09:28:27 +08:00
Alex Lam S.L
b244b4ec21
enhance "functions" (#4791) 2021-03-17 05:38:33 +08:00
Alex Lam S.L
b872ffee01
fix corner case in hoist_funs (#4790) 2021-03-17 01:48:23 +08:00
Alex Lam S.L
9a9543013c
fix corner case in functions (#4789)
fixes #4788
2021-03-16 20:58:51 +08:00
Alex Lam S.L
352a944868
fix corner cases with new.target (#4784) 2021-03-16 14:34:36 +08:00
Alex Lam S.L
77c9116c91
fix corner case in unsafe (#4783) 2021-03-16 09:42:28 +08:00
Alex Lam S.L
e821787095
fix corner case in reduce_vars (#4782) 2021-03-16 08:05:01 +08:00
Alex Lam S.L
aa6e33e208
parse out-of-range numerals correctly (#4781) 2021-03-16 06:52:21 +08:00
Alex Lam S.L
176581d732
fix corner cases with template literals (#4780) 2021-03-15 21:54:05 +08:00
Alex Lam S.L
01aa078e9c
support **= (#4778) 2021-03-15 21:53:48 +08:00
Alex Lam S.L
149d75c092
fix corner case in unsafe (#4779) 2021-03-15 17:51:32 +08:00
Alex Lam S.L
2619bff3cf
fix corner case in conditionals (#4777) 2021-03-15 12:44:41 +08:00
Alex Lam S.L
e124ef57e3
parse parentheses-terminated statements correctly (#4774)
fixes #4772
2021-03-14 14:09:29 +08:00
Alex Lam S.L
73e6b2550b
fix corner cases with yield (#4771)
fixes #4769
2021-03-14 04:39:30 +08:00
Alex Lam S.L
241113200e
support shorthand key-symbol output (#4768) 2021-03-13 15:37:01 +08:00
Alex Lam S.L
6f3ab09319
fix corner case in unused (#4767)
fixes #4766
2021-03-13 15:09:07 +08:00
Alex Lam S.L
3b5d5014e0
implement annotations (#4763) 2021-03-13 03:40:49 +08:00
Alex Lam S.L
c36c3cb470
fix corner case in side_effects (#4765)
fixes #4764
2021-03-13 02:40:28 +08:00
Alex Lam S.L
862b1b77b5
fix corner cases in merge_vars & with exports (#4762)
fixes #4761
2021-03-11 09:16:16 +08:00
Alex Lam S.L
b4944a31a4
fix corner case in merge_vars (#4760)
fixes #4759
2021-03-10 23:44:49 +08:00
Alex Lam S.L
01fa430a3e
fix corner case in unused (#4757)
fixes #4756
2021-03-09 07:59:52 +08:00
Alex Lam S.L
f4ee0f651c
fix corner case in unsafe (#4755) 2021-03-09 04:40:21 +08:00
Alex Lam S.L
077512d151
fix corner case in inline (#4754)
fixes #4753
2021-03-08 12:38:53 +08:00
Alex Lam S.L
f52b0e7c31
fix corner case in side_effects (#4752)
fixes #4751
2021-03-08 04:19:51 +08:00
Alex Lam S.L
31e7d25cad
fix issues uncovered by lgtm (#4749) 2021-03-07 12:44:34 +08:00
Alex Lam S.L
397e48b97e
fix corner case in collapse_vars & reduce_vars (#4748)
fixes #4747
2021-03-07 10:33:51 +08:00
Alex Lam S.L
c7520b4b97
support new.target (#4746)
fixes #4745
2021-03-07 07:11:36 +08:00
Alex Lam S.L
ad903e9240
fix corner cases with export (#4743)
fixes #4742
2021-03-06 22:49:39 +08:00
Alex Lam S.L
83c3838b07
fix corner case in awaits (#4740)
fixes #4738
2021-03-06 04:25:44 +08:00
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