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
76b27891c6
fix syntax error in tests ( #4652 )
2021-02-15 14:41:07 +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
94e8944f67
avoid false positive in --reduce-test ( #4648 )
2021-02-13 21:15:11 +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
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
aedc1e7fc9
improve false positive detection in ufuzz ( #4626 )
2021-02-08 20:17:14 +08:00
Alex Lam S.L
353f654038
fix corner case in --reduce-test ( #4625 )
2021-02-08 19:16:21 +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
35435d4bd3
suppress false positives due to nested objects ( #4597 )
2021-01-29 13:21:19 +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
4723b4541e
workaround tty bugs on Node.js ( #4594 )
2021-01-26 23:07:48 +08:00
Alex Lam S.L
9d23ba0a22
support exponentiation operator ( #4593 )
2021-01-25 05:48:51 +08:00
Alex Lam S.L
a08d42555a
fix infinite recursion in ufuzz code generation ( #4592 )
2021-01-24 23:37:57 +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
c0614654d9
improve ufuzz on destructuring ( #4580 )
2021-01-23 02:00:26 +08:00
Alex Lam S.L
0358637725
workaround Node.js bug ( #4579 )
2021-01-22 11:34:30 +08:00
Alex Lam S.L
63b5b6d2b3
suppress false positives in ufuzz ( #4578 )
2021-01-22 02:33:00 +08:00
Alex Lam S.L
e675262d51
suppress false positives in ufuzz ( #4577 )
2021-01-21 14:33:31 +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
bc7a88baea
suppress false positives in ufuzz ( #4574 )
2021-01-20 21:03:33 +08:00
Alex Lam S.L
018e0350f8
workaround GitHub Actions bug ( #4573 )
2021-01-20 20:17:58 +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
884ec4e8a5
improve false positive detection in ufuzz ( #4566 )
2021-01-18 06:35:53 +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
e84957e3da
suppress invalid test generation in ufuzz ( #4551 )
2021-01-13 04:29:39 +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
6c419bc083
implement UGLIFY_BUG_REPORT ( #4516 )
2021-01-07 16:53:29 +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
e8c04f8cb6
suppress invalid AST transform in --reduce-test ( #4498 )
2021-01-03 10:34:46 +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
0013cbf91f
improve false positive detection in ufuzz ( #4482 )
2020-12-30 21:53:03 +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
c00efe56f4
workaround asynchronous tty bugs on Node.js ( #4473 )
2020-12-28 13:32:07 +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
bb45f48ab7
workaround v8 heisenbug ( #4453 )
2020-12-25 13:14:36 +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
Alex Lam S.L
f85a206b9e
fix corner case when parsing expression ( #4435 )
2020-12-23 02:16:04 +08:00
Alex Lam S.L
e1b2026929
improve object function generation in ufuzz ( #4434 )
2020-12-21 15:32:50 +08:00
Alex Lam S.L
c319030373
fix corner case in reduce_vars ( #4433 )
...
fixes #4432
2020-12-21 14:03:18 +08:00
Alex Lam S.L
47b63ed1a0
fix corner case in collapse_vars ( #4431 )
...
fixes #4430
2020-12-20 22:54:27 +08:00
Alex Lam S.L
7aefe97083
parse destructuring under strict mode correctly ( #4429 )
2020-12-20 20:48:51 +08:00
Alex Lam S.L
89198e0ad4
improve destructuring generation in ufuzz ( #4428 )
2020-12-20 13:38:56 +08:00
Alex Lam S.L
caea6aac81
handle destructuring catch in --reduce-test ( #4427 )
2020-12-20 11:22:45 +08:00
Alex Lam S.L
f5224ca1f5
fix corner case with destructuring catch ( #4426 )
...
fixes #4425
2020-12-20 10:31:32 +08:00
Alex Lam S.L
b7c49b72b3
support async function within object literal ( #4424 )
2020-12-20 08:19:04 +08:00
Alex Lam S.L
8ce3c7d70f
fix corner case in evaluate & reduce_vars ( #4423 )
...
fixes #4422
2020-12-20 05:47:15 +08:00
Alex Lam S.L
87cf715213
fix corner case with destructuring catch ( #4421 )
...
fixes #4420
2020-12-20 05:47:01 +08:00
Alex Lam S.L
2c9c72e06c
suppress false positives in ufuzz ( #4419 )
2020-12-20 02:31:09 +08:00
Alex Lam S.L
882968c68c
fix corner case in inline ( #4418 )
...
fixes #4417
2020-12-20 01:24:29 +08:00
Alex Lam S.L
acc2d7d845
fix corner case in objects ( #4416 )
...
fixes #4415
2020-12-20 00:14:57 +08:00
Alex Lam S.L
9a5aede941
fix corner case in reduce_vars & unused ( #4414 )
...
fixes #4413
2020-12-19 12:47:46 +08:00
Alex Lam S.L
e6dd471f8f
support destructuring of catch variable ( #4412 )
2020-12-19 12:28:38 +08:00
Alex Lam S.L
0f55bd92f1
fix corner case in arguments ( #4411 )
...
fixes #4410
2020-12-19 04:53:53 +08:00
Alex Lam S.L
7d9dad0289
fix corner case with parentheses ( #4409 )
...
fixes #4408
2020-12-19 01:01:49 +08:00
Alex Lam S.L
44e494f16f
fix corner case in merge_vars ( #4407 )
...
fixes #4406
2020-12-19 00:52:37 +08:00
Alex Lam S.L
2415a72e75
fix corner case in unused ( #4405 )
...
fixes #4404
2020-12-18 23:45:41 +08:00
Alex Lam S.L
9c0718b162
enhance arrows ( #4403 )
2020-12-18 14:55:20 +08:00
Alex Lam S.L
d2c50ace99
fix corner case in merge_vars ( #4402 )
...
fixes #4401
2020-12-18 12:20:43 +08:00
Alex Lam S.L
1b646d3bc4
fix corner case in arguments ( #4400 )
...
fixes #4399
2020-12-18 10:12:01 +08:00
Alex Lam S.L
82d2aa4acf
fix corner case in arguments ( #4398 )
...
fixes #4397
2020-12-18 09:42:07 +08:00
Alex Lam S.L
c1256c399a
fix corner case in arguments ( #4396 )
...
fixes #4395
2020-12-18 08:41:13 +08:00
Alex Lam S.L
2c637fea8a
fix corner case in evaluate & reduce_vars ( #4394 )
...
fixes #4393
2020-12-18 07:16:04 +08:00
Alex Lam S.L
4fa54b075c
enhance reduce_vars ( #4392 )
2020-12-18 06:18:47 +08:00
Alex Lam S.L
ab82be82b2
fix corner case in collapse_vars ( #4391 )
...
fixes #4390
2020-12-18 03:10:16 +08:00
Alex Lam S.L
02fdcfde01
fix corner case in inline ( #4389 )
...
fixes #4388
2020-12-18 00:55:19 +08:00
Alex Lam S.L
a96f087ac3
support arrow function ( #4385 )
2020-12-17 18:23:41 +08:00
Alex Lam S.L
75e9fd8417
fix corner case in arguments ( #4387 )
...
fixes #4386
2020-12-17 13:51:34 +08:00
Alex Lam S.L
f68e267830
fix corner case in reduce_vars ( #4384 )
...
fixes #4383
2020-12-17 04:47:48 +08:00
Alex Lam S.L
549de028b6
fix corner case in objects ( #4381 )
...
fixes #4380
2020-12-15 21:23:55 +08:00
Alex Lam S.L
f579f1aa47
emulate global context in Node.js & web ( #4379 )
2020-12-14 02:05:07 +08:00
Alex Lam S.L
fcc40d0502
fix corner case in dead_code ( #4378 )
...
fixes #4377
2020-12-14 00:03:44 +08:00
Alex Lam S.L
b309527264
maintain compatibility options when testing ( #4376 )
2020-12-13 14:26:45 +08:00
Alex Lam S.L
5d19bb8d5d
fix corner case in booleans ( #4375 )
...
fixes #4374
2020-12-13 05:01:38 +08:00
Alex Lam S.L
af97629912
fix corner case in dead_code ( #4373 )
...
fixes #4372
2020-12-13 02:24:18 +08:00
Alex Lam S.L
8c000033d3
clarify corner case in object literal ( #4371 )
...
closes #4366
2020-12-12 07:42:29 +08:00
Alex Lam S.L
fd0d28e465
fix corner case in spread ( #4370 )
2020-12-12 06:45:59 +08:00
Alex Lam S.L
2123f38394
fix asynchronous state tracking in ufuzz ( #4369 )
2020-12-12 05:19:56 +08:00
Alex Lam S.L
58dff9ada3
fix corner cases in unused & varify ( #4368 )
...
fixes #4365
2020-12-12 04:45:35 +08:00
Alex Lam S.L
4fdec765bc
gate language features in ufuzz automatically ( #4367 )
2020-12-12 03:43:12 +08:00
Alex Lam S.L
1020d37256
fix corner case in spread ( #4364 )
...
fixes #4363
2020-12-12 02:19:11 +08:00
Alex Lam S.L
076739db07
fix corner case in unused ( #4362 )
...
fixes #4361
2020-12-12 00:57:05 +08:00
Alex Lam S.L
515e93d88a
fix corner case in collapse_vars ( #4360 )
...
fixes #4359
2020-12-12 00:07:28 +08:00
Alex Lam S.L
57105b299e
fix corner cases with spread syntax ( #4358 )
2020-12-11 06:59:21 +08:00
Alex Lam S.L
77e1bda426
improve fix for #4355 ( #4357 )
2020-12-11 00:48:41 +08:00
Alex Lam S.L
a59593cac8
fix corner case in loops & unused ( #4356 )
...
fixes #4355
2020-12-10 15:45:39 +08:00
Alex Lam S.L
046bbde9d4
fix corner case in keep_fargs & reduce_vars ( #4354 )
...
fixes #4353
2020-12-09 01:41:10 +08:00
Alex Lam S.L
fea9da9866
forbid AST_Await in computed function arguments ( #4352 )
...
fixes #4351
2020-12-08 12:59:08 +08:00
Alex Lam S.L
4733159782
fix corner cases with await ( #4350 )
...
fixes #4349
2020-12-08 11:26:03 +08:00
Alex Lam S.L
5fba98608c
fix corner case in reduce_vars ( #4348 )
...
fixes #4347
2020-12-08 08:52:14 +08:00
Alex Lam S.L
c587d7917d
introduce spread ( #4346 )
...
fixes #4345
2020-12-08 06:51:20 +08:00
Alex Lam S.L
336336f53f
fix corner case with parentheses around await ( #4344 )
2020-12-08 04:29:54 +08:00
Alex Lam S.L
4bde50ce85
fix corner case in side_effects ( #4343 )
...
fixes #4342
2020-12-07 17:25:04 +08:00
Alex Lam S.L
fbecedf94c
fix corner case in evaluate ( #4341 )
...
fixes #4340
2020-12-07 16:05:11 +08:00
Alex Lam S.L
2f31f95095
improve ufuzz ( #4339 )
2020-12-07 16:04:51 +08:00
Alex Lam S.L
6b603e1a62
fix corner case in unused ( #4338 )
...
fixes #4337
2020-12-07 13:23:53 +08:00
Alex Lam S.L
499f8d89ff
fix corner case in inline ( #4336 )
...
fixes #4335
2020-12-07 11:30:37 +08:00
Alex Lam S.L
9eb65f3af3
extend trailing comma support ( #4334 )
2020-12-07 10:07:34 +08:00
Alex Lam S.L
2cbbf5c375
support async function ( #4333 )
2020-12-07 05:22:40 +08:00
Alex Lam S.L
3c384cf9a8
fix corner case in collapse_vars ( #4332 )
...
fixes #4331
2020-12-06 18:30:50 +08:00
Alex Lam S.L
37f4f56752
fix corner case in properties ( #4330 )
...
fixes #4329
2020-12-06 13:59:04 +08:00
Alex Lam S.L
1e4985ed9e
support spread syntax ( #4328 )
2020-12-06 05:19:31 +08:00
Alex Lam S.L
9d34f8428b
fix corner case in side_effects ( #4326 )
...
fixes #4325
2020-11-29 10:05:48 +08:00
Alex Lam S.L
f045e2b460
fix corner case in merge_vars ( #4324 )
...
fixes #4323
2020-11-29 05:38:24 +08:00
Alex Lam S.L
8791f258e3
fix corner case in inline ( #4322 )
...
fixes #4321
2020-11-29 03:48:42 +08:00
Alex Lam S.L
af1cca25bf
fix corner case in inline ( #4320 )
...
fixes #4319
2020-11-27 01:31:06 +08:00
Alex Lam S.L
9b3a363604
fix infinite recursion in ufuzz ( #4318 )
2020-11-25 09:33:42 +08:00
Alex Lam S.L
1e8fa1aa1d
fix corner case in passes & reduce_vars ( #4316 )
...
fixes #4315
2020-11-23 07:05:20 +08:00
Alex Lam S.L
645d5a348b
workaround Safari quirks ( #4314 )
...
fixes #1753
2020-11-21 10:30:46 +08:00
Alex Lam S.L
cf120c7cea
fix corner case in merge_vars & reduce_vars ( #4313 )
...
fixes #4312
2020-11-21 08:57:59 +08:00
Alex Lam S.L
8d30902ba9
fix corner case in mangle ( #4311 )
2020-11-21 08:05:40 +08:00
Alex Lam S.L
02459cddf9
gate galio workaround ( #4310 )
2020-11-21 03:37:33 +08:00
Alex Lam S.L
1b579779be
fix corner case in collapse_vars ( #4309 )
...
fixes #4308
2020-11-20 06:23:37 +08:00
Alex Lam S.L
b18b70f63b
fix corner case in hoist_props ( #4307 )
2020-11-20 00:02:25 +08:00
Alex Lam S.L
641406d491
fix corner cases in reduce_vars & unused ( #4306 )
2020-11-19 11:25:36 +08:00
Alex Lam S.L
134ef0b1eb
fix corner case in dead_code ( #4304 )
2020-11-19 08:34:55 +08:00
Alex Lam S.L
db87dcf13e
enhance varify ( #4303 )
2020-11-19 07:58:33 +08:00
Alex Lam S.L
aecbabc587
fix corner case in merge_vars ( #4302 )
...
fixes #4301
2020-11-19 05:44:47 +08:00
Alex Lam S.L
fd6544b340
fix corner case reduce_vars ( #4300 )
...
fixes #4297
2020-11-19 01:11:28 +08:00
Alex Lam S.L
f6a83f7944
fix corner case in merge_vars ( #4299 )
...
fixes #4298
2020-11-18 23:43:55 +08:00
Alex Lam S.L
35283e5dd1
enhance arguments ( #4296 )
2020-11-18 11:39:32 +08:00
Alex Lam S.L
7a51c17ff0
fix corner case in merge_vars ( #4295 )
...
fixes #4294
2020-11-18 09:32:53 +08:00
Alex Lam S.L
aff842f2f9
fix corner case in arguments ( #4293 )
...
fixes #4291
2020-11-18 08:54:58 +08:00
Alex Lam S.L
0bedd031da
fix corner cases in collapse_vars, unused & varify ( #4292 )
...
fixes #4290
2020-11-18 08:22:54 +08:00
Alex Lam S.L
caa92aea5d
fix corner case in merge_vars ( #4289 )
...
fixes #4288
2020-11-18 04:03:20 +08:00
Alex Lam S.L
383163afa6
fix corner case in collapse_vars ( #4287 )
...
fixes #4286
2020-11-17 18:03:31 +08:00
Alex Lam S.L
8a83c8dd46
fix corner cases in collapse_vars & dead_code ( #4285 )
...
fixes #4284
2020-11-17 16:23:50 +08:00
Alex Lam S.L
2a612fd472
fix corner case in reduce_vars ( #4283 )
...
fixes #4282
2020-11-17 14:43:04 +08:00
Alex Lam S.L
b9798a01a8
fix corner case in reduce_vars ( #4281 )
...
fixes #4280
2020-11-17 12:59:44 +08:00
Alex Lam S.L
6dbacb5e3f
enhance varify ( #4279 )
2020-11-17 12:35:00 +08:00
Alex Lam S.L
e5f80afc53
support destructured literals ( #4278 )
2020-11-17 08:01:24 +08:00
Alex Lam S.L
42e34c870a
fix corner case in unused ( #4277 )
...
fixes #4276
2020-11-17 02:06:00 +08:00
Alex Lam S.L
6fd5b5b371
fix corner case in loops ( #4275 )
...
fixes #4274
2020-11-14 02:08:05 +08:00
Alex Lam S.L
fba27bfb71
fix corner case in evaluate ( #4272 )
...
fixes #4271
2020-11-11 00:06:13 +08:00
Alex Lam S.L
41310e6404
fix corner case in objects ( #4270 )
...
fixes #4269
2020-11-09 10:47:02 +08:00
Alex Lam S.L
91fc1c82b5
support computed property name in object literal ( #4268 )
2020-11-08 23:38:32 +08:00
Alex Lam S.L
810cd40356
fix corner case in inline ( #4266 )
...
fixes #4265
2020-11-08 18:50:08 +08:00
Alex Lam S.L
1cbd07e789
support shorthand method name in object literal ( #4264 )
2020-11-08 13:17:53 +08:00
Alex Lam S.L
b82de04775
support shorthand property name in object literal ( #4263 )
2020-11-08 10:44:44 +08:00
Alex Lam S.L
4bbeb09f7c
fix corner case in reduce_vars ( #4262 )
...
fixes #4261
2020-11-07 10:00:04 +08:00
Alex Lam S.L
c2f6fd5fde
fix corner case in functions ( #4260 )
...
fixes #4259
2020-11-06 03:55:25 +08:00
Alex Lam S.L
e7643248a3
fix corner case in merge_vars ( #4258 )
...
fixes #4257
2020-11-02 01:01:00 +08:00
Alex Lam S.L
68091dbf69
fix corner case in merge_vars ( #4256 )
...
fixes #4255
2020-11-01 14:34:07 +08:00
Alex Lam S.L
cbf7269296
fix corner case in merge_vars ( #4254 )
...
fixes #4253
2020-11-01 10:37:21 +08:00
Alex Lam S.L
d8563caba7
improve resilience against spurious time-outs ( #4252 )
2020-10-30 11:06:48 +08:00
Alex Lam S.L
2e0ad40fe6
fix corner case in ie8 ( #4251 )
...
fixes #4250
2020-10-30 11:06:31 +08:00
Alex Lam S.L
5d12abc41b
fix corner cases in collapse_vars ( #4249 )
...
fixes #4248
2020-10-30 10:04:23 +08:00
Alex Lam S.L
79e5c3f564
improve warnings ( #4247 )
...
closes #4244
2020-10-27 17:39:33 +08:00
Alex Lam S.L
607f87c5cd
fix corner case in booleans ( #4246 )
...
fixes #4245
2020-10-26 18:53:58 +08:00
Alex Lam S.L
e478da24c7
fix corner case in collapse_vars ( #4243 )
...
fixes #4242
2020-10-24 22:44:20 +08:00
Alex Lam S.L
c5df8355ba
fix corner case in loops & unused ( #4241 )
...
fixes #4240
2020-10-24 13:33:48 +08:00
Alex Lam S.L
ff38d2471f
improve resilience against npm failures ( #4239 )
2020-10-24 11:22:13 +08:00
Alex Lam S.L
8e86d05c32
fix corner case in merge_vars ( #4238 )
...
fixes #4237
2020-10-24 10:19:43 +08:00
Alex Lam S.L
9e40abeded
fix corner case in unused ( #4236 )
...
fixes #4235
2020-10-22 22:19:47 +08:00
Alex Lam S.L
23ca7d675f
fix corner case in functions ( #4234 )
...
fixes #4233
2020-10-22 10:13:11 +08:00
Alex Lam S.L
fd8c0212b8
fix corner case in ie8 ( #4232 )
...
fixes #4231
2020-10-20 14:02:39 +08:00
Alex Lam S.L
256950c2c0
fix corner case in ie8 ( #4230 )
...
fixes #4229
2020-10-20 06:13:23 +08:00
Alex Lam S.L
8ecaa40c6e
extend support for Unicode ( #4228 )
2020-10-19 09:34:17 +08:00
Alex Lam S.L
96bf7fceab
support let ( #4227 )
2020-10-19 08:32:39 +08:00
Alex Lam S.L
dc575919e2
fix corner case in side_effects ( #4226 )
...
fixes #4225
2020-10-18 22:13:10 +08:00
Alex Lam S.L
4298201938
flush stdout from ufuzz jobs properly ( #4224 )
2020-10-16 21:56:54 +08:00
Alex Lam S.L
4f833937fe
fix corner case in inline ( #4223 )
...
fixes #4222
2020-10-15 21:52:40 +08:00
Alex Lam S.L
3d71e97dd1
fix corner cases in braces & sequences ( #4221 )
...
fixes #4220
2020-10-14 23:39:35 +08:00
Alex Lam S.L
7f35d9cee0
fix corner case in reduce_vars ( #4219 )
...
fixes #4218
2020-10-14 07:58:04 +08:00
Alex Lam S.L
9f8106e1d8
fix corner case in collapse_vars ( #4217 )
...
fixes #4216
2020-10-14 07:18:26 +08:00
Alex Lam S.L
b7b8435721
fix corner case in evaluate ( #4215 )
...
fixes #4214
2020-10-14 02:49:45 +08:00
Alex Lam S.L
c0c04c33bb
fix corner cases in dead_code & reduce_vars ( #4213 )
...
fixes #4212
2020-10-14 00:09:17 +08:00
Alex Lam S.L
0e234a25c5
fix corner case in reduce_vars ( #4211 )
...
fixes #4210
2020-10-13 15:52:03 +08:00
Alex Lam S.L
176c09c6a5
fix corner case in reduce_vars & unused ( #4208 )
...
fixes #4207
2020-10-13 07:32:17 +08:00
Alex Lam S.L
9272f662c0
fix corner case in collapse_vars ( #4206 )
...
fixes #4205
2020-10-13 01:30:21 +08:00
Alex Lam S.L
4d33cb2f94
fix corner case in inilne ( #4204 )
...
fixes #4202
2020-10-12 23:10:32 +08:00
Alex Lam S.L
00d0eda85b
fix corner case in arguments ( #4201 )
...
fixes #4200
2020-10-12 19:03:21 +08:00
Alex Lam S.L
1cdf810f0b
fix corner case in reduce_vars ( #4203 )
...
fixes #4198
2020-10-12 19:02:44 +08:00
Alex Lam S.L
b512726cf3
fix corner case in collapse_vars ( #4199 )
...
fixes #4197
2020-10-12 14:13:17 +08:00
Alex Lam S.L
9b7a13c8c7
fix corner case in ie8 & mangle ( #4196 )
...
fixes #4195
2020-10-12 12:43:26 +08:00
Alex Lam S.L
74ff6ce261
fix corner case in dead_code ( #4194 )
...
fixes #4193
2020-10-12 11:09:26 +08:00
Alex Lam S.L
b1b8898e7c
fix corner case in functions ( #4192 )
...
fixes #4191
2020-10-12 09:26:56 +08:00
Alex Lam S.L
55451e7b78
support const ( #4190 )
2020-10-12 01:18:57 +08:00
Alex Lam S.L
9c0feb69e5
fix corner case in reduce_vars ( #4189 )
...
fixes #4188
2020-10-07 22:01:39 +08:00
Alex Lam S.L
bc6e105174
fix corner case in ie8 ( #4187 )
...
fixes #4186
2020-10-06 09:20:41 +08:00
Alex Lam S.L
b91a2459c0
fix corner case in unused ( #4185 )
...
fixes #4184
2020-10-05 18:59:03 +08:00
Alex Lam S.L
b7a57fc69d
fix corner case in loops ( #4183 )
...
fixes #4182
2020-10-05 17:28:46 +08:00
Alex Lam S.L
2dbe40b01b
enhance conditionals ( #4181 )
2020-10-05 15:55:37 +08:00
Alex Lam S.L
813ac3ba96
enhance loops ( #4180 )
2020-10-05 08:26:59 +08:00
Alex Lam S.L
8f0521d51d
retrofit try-catch-finally as block-scoped ( #4178 )
...
- support optional catch binding
2020-10-05 05:30:14 +08:00
Alex Lam S.L
f9946767c9
retrofit AST_BlockStatement as block-scoped ( #4177 )
2020-10-05 01:58:50 +08:00
Alex Lam S.L
58ac5b9bd5
extend support for numeral literals ( #4176 )
2020-10-05 00:05:03 +08:00
Alex Lam S.L
66140b459e
enhance side_effects ( #4175 )
2020-10-04 23:43:49 +08:00
Alex Lam S.L
95ef4d5377
fix corner case in mangle ( #4174 )
2020-10-04 08:24:41 +08:00
Alex Lam S.L
142bd1bd1a
workaround quirks on latter specs ( #4172 )
...
closes #4171
2020-10-03 18:27:17 +08:00
Alex Lam S.L
8cb509d50e
fix corner case in merge_vars ( #4170 )
...
fixes #4168
2020-10-03 07:03:39 +08:00
Alex Lam S.L
baf4903aa7
fix corner cases of catch variable inlining ( #4169 )
2020-10-03 07:02:28 +08:00
Alex Lam S.L
35465d590e
report immediate ufuzz failure from Pull Request ( #4166 )
2020-10-02 23:43:38 +08:00
Alex Lam S.L
47a5e6e17a
enhance if_return ( #4164 )
2020-10-02 16:10:25 +08:00
Alex Lam S.L
090ee895e1
enhance inline ( #4163 )
2020-09-30 21:03:28 +08:00
Alex Lam S.L
1cd1a1e5ee
improve resilience against GitHub API ( #4161 )
2020-09-30 01:13:29 +08:00
Alex Lam S.L
1d835ac17d
fix corner case in inline ( #4160 )
...
fixes #4159
2020-09-29 07:01:38 +08:00
Alex Lam S.L
9e07ac4102
fix corner case in merge_vars ( #4158 )
...
fixes #4157
2020-09-28 14:09:55 +08:00
Alex Lam S.L
b4ff6d0f2d
fix corner cases in functions & merge_vars ( #4156 )
...
fixes #4155
2020-09-26 15:31:33 +08:00
Alex Lam S.L
9882a9f4af
fix corner case in ufuzz scheduling ( #4154 )
2020-09-26 11:23:56 +08:00
Alex Lam S.L
40f36b9e01
improve ufuzz duty cycle heuristic ( #4153 )
2020-09-26 07:56:00 +08:00
Alex Lam S.L
6e105c5ca6
enhance merge_vars ( #4152 )
2020-09-25 22:00:20 +08:00
Alex Lam S.L
af35cd32f2
fix corner case in merge_vars ( #4151 )
2020-09-25 08:04:51 +08:00
Alex Lam S.L
3472cf1a90
fix corner case in unused ( #4147 )
...
fixes #4146
2020-09-22 20:08:45 +08:00
Alex Lam S.L
6d4c0fa6fa
fix corner case in unused ( #4145 )
...
fixes #4144
2020-09-22 14:03:27 +08:00
Alex Lam S.L
3cca0d6249
fix corner case in evaluate ( #4143 )
...
fixes #4142
2020-09-22 12:11:25 +08:00
alexlamsl
8c670cae93
enhance unused
2020-09-22 07:48:55 +08:00
Alex Lam S.L
0e3da27727
fix corner case in merge_vars ( #4140 )
...
fixes #4139
2020-09-21 23:49:41 +01:00
Alex Lam S.L
13cdc167a2
fix corner case in evaluate ( #4138 )
...
fixes #4137
2020-09-22 06:49:32 +08:00
alexlamsl
51803cdcb2
fix corner case in merge_vars
...
fixes #4139
2020-09-22 05:03:06 +08:00
Alex Lam S.L
8fa470c17c
fix corner case in merge_vars ( #4136 )
...
fixes #4135
2020-09-20 23:54:14 +08:00
Alex Lam S.L
90410f9fc3
fix corner case in unused ( #4134 )
...
fixes #4133
2020-09-20 23:21:59 +08:00
Alex Lam S.L
ef3831437d
improve ufuzz duty cycle heuristic ( #4132 )
2020-09-20 08:29:35 +08:00
Alex Lam S.L
171c544705
fix corner case in merge_vars ( #4131 )
...
fixes #4130
2020-09-20 05:36:16 +08:00
Alex Lam S.L
3c609e2f4a
enhance unused ( #4129 )
2020-09-20 01:45:52 +08:00
Alex Lam S.L
f0ae03ed39
report immediate ufuzz failure from Pull Request ( #4128 )
2020-09-19 20:31:37 +08:00
Alex Lam S.L
31c6b45036
fix corner case in merge_vars ( #4127 )
...
fixes #4126
2020-09-19 19:56:21 +08:00
Alex Lam S.L
3ac533e644
enhance merge_vars ( #4125 )
2020-09-19 11:16:23 +08:00
Alex Lam S.L
38a46c86d7
enhance side_effects ( #4124 )
...
- add documentation for `merge_vars`
2020-09-18 21:35:29 +08:00
Alex Lam S.L
7f501f9fed
add tests ( #4122 )
2020-09-18 00:26:31 +08:00
Alex Lam S.L
72844eb5a4
improve fix for #4119 ( #4121 )
2020-09-17 23:08:36 +08:00
Alex Lam S.L
09d93cc6c8
fix corner case in evaluate ( #4120 )
...
fixes #4119
2020-09-17 21:20:31 +08:00
Alex Lam S.L
fdf2e8c5b0
enhance collapse_vars ( #4117 )
2020-09-17 06:35:22 +08:00
Alex Lam S.L
a9d934ab4e
improve handling of switch statements ( #4114 )
2020-09-17 03:12:08 +08:00
Alex Lam S.L
2a053710bd
fix corner case in merge_vars ( #4116 )
...
fixes #4115
2020-09-17 03:11:57 +08:00
Alex Lam S.L
219aac6a84
fix corner case in merge_vars ( #4113 )
...
fixes #4112
2020-09-16 22:18:28 +08:00
Alex Lam S.L
2039185051
enhance conditionals ( #4106 )
2020-09-16 05:51:42 +08:00
Alex Lam S.L
ad27c14202
fix corner cases in merge_vars ( #4108 )
...
fixes #4107
fixes #4109
fixes #4110
fixes #4111
2020-09-16 04:43:01 +08:00
Alex Lam S.L
a62b086184
enhance merge_vars ( #4105 )
2020-09-15 22:59:10 +08:00
Alex Lam S.L
335456cf77
fix corner case in merge_vars ( #4104 )
...
fixes #4103
2020-09-15 19:47:12 +08:00
Alex Lam S.L
d64d0b0bec
fix corner case in merge_vars ( #4102 )
...
fixes #4101
2020-09-15 19:18:12 +08:00
Alex Lam S.L
3ac575f2e8
introduce merge_vars ( #4100 )
2020-09-15 10:01:48 +08:00
Alex Lam S.L
d33a3a3253
enhance unused ( #4098 )
2020-09-13 01:05:43 +08:00
Alex Lam S.L
d7456a2dc2
enhance if_return ( #4097 )
2020-09-10 22:31:34 +08:00
Alex Lam S.L
d97672613d
fix corner case in reduce_vars ( #4095 )
2020-09-08 22:12:27 +08:00
Alex Lam S.L
fb30aeccaf
relax ufuzz job timing constraint ( #4094 )
2020-09-05 19:29:50 +08:00
Alex Lam S.L
226aa1f76b
enhance unsafe_math ( #4093 )
2020-09-04 10:14:39 +08:00
Alex Lam S.L
6e235602fb
fix corner case in loops & unused ( #4092 )
...
fixes #4091
2020-09-04 01:51:26 +08:00
Alex Lam S.L
980fcbb56b
enhance unused ( #4090 )
2020-09-03 17:41:33 +08:00
Alex Lam S.L
375ebe316d
enhance join_vars ( #4089 )
2020-09-03 01:41:10 +08:00
Alex Lam S.L
2f0da2ff05
reduce AST_ForIn gracefully ( #4087 )
2020-09-02 08:51:43 +08:00
Alex Lam S.L
83a3cbf151
fix test case runtime accounting ( #4086 )
2020-09-02 03:23:08 +08:00
Alex Lam S.L
da8d154571
fix corner case in loops & unused ( #4085 )
...
fixes #4084
2020-09-02 03:20:58 +08:00
Alex Lam S.L
f886b3fb2b
fix corner case in loops & unused ( #4083 )
...
fixes #4082
2020-08-29 02:42:17 +08:00
Alex Lam S.L
b1cc15e85b
fix corner case in sequences ( #4080 )
...
fixes #4079
2020-08-26 20:41:11 +08:00
Alex Lam S.L
3aa765e429
fix corner case in evaluate ( #4078 )
...
fixes #4077
2020-08-26 19:45:38 +08:00
Alex Lam S.L
93d084a1d1
fix corner case in loops & unused ( #4076 )
...
fixes #4075
2020-08-26 17:32:20 +08:00
Alex Lam S.L
c7a3e09407
enhance loops & unused ( #4074 )
...
- extend `ufuzz` generation of for-in loops
2020-08-26 09:32:55 +08:00
Alex Lam S.L
09525c7530
fix corner case in sequences ( #4073 )
2020-08-26 01:26:49 +08:00
Alex Lam S.L
a31c27c7cf
fix corner case in collapse_vars ( #4071 )
...
fixes #4070
2020-08-25 17:23:36 +08:00
Alex Lam S.L
0eb0c9b388
fix corner case in evaluate ( #4068 )
...
fixes #4067
2020-08-24 14:57:26 +08:00
Alex Lam S.L
da85d102e3
enhance mangle.properties ( #4064 )
2020-08-23 08:45:39 +08:00
Alex Lam S.L
f2d486e771
enhance comparisons ( #4062 )
2020-08-23 01:03:48 +08:00
Alex Lam S.L
fee677786e
fix corner case in collapse_vars ( #4061 )
2020-08-21 10:35:34 +08:00
Alex Lam S.L
aa83ecdb3b
fix corner case in switches ( #4060 )
...
fixes #4059
2020-08-21 08:05:10 +08:00
Alex Lam S.L
a153176469
enhance conditionals & switches ( #4058 )
2020-08-21 00:35:39 +08:00
Alex Lam S.L
1c6384b6a5
improve ufuzz duty cycle heuristic ( #4057 )
2020-08-19 23:29:01 +08:00
Alex Lam S.L
e8db526f51
avoid setters during console.log() in sandbox ( #4055 )
...
fixes #4054
2020-08-19 06:14:41 +08:00
Alex Lam S.L
fa13ed4391
reject multiple defaults in switch ( #4053 )
...
fixes #4050
2020-08-17 10:09:12 +08:00
Alex Lam S.L
23f0dca992
fix corner cases in collapse_vars & dead_code ( #4052 )
...
fixes #4051
2020-08-17 05:54:27 +08:00
Alex Lam S.L
49670d216b
fix corner case in collapse_vars ( #4048 )
...
fixes #4047
2020-08-10 05:48:56 +08:00
Alex Lam S.L
e2237d8cd2
improve ufuzz duty cycle heuristic ( #4045 )
2020-08-09 03:10:19 +08:00
Alex Lam S.L
91f078fe35
workaround incorrect workflow status ( #4044 )
2020-08-08 05:16:54 +08:00
Alex Lam S.L
a8e286f7e1
fix corner case in collapse_vars ( #4041 )
...
fixes #4040
2020-08-06 20:30:28 +08:00
Alex Lam S.L
9b05494ebc
fix corner cases in aliasing of global variables ( #4039 )
...
fixes #4038
2020-08-06 09:39:50 +01:00
Alex Lam S.L
a4002ef467
fix corner case in evaluate ( #4036 )
...
fixes #4035
2020-08-04 20:05:10 +08:00
Alex Lam S.L
88423f2574
validate against multiple parents on AST_Node ( #4032 )
...
- fix related issues in `global_defs`, `ie8` & `reduce_vars`
2020-07-31 08:09:19 +08:00
Alex Lam S.L
ee632a5519
fix corner case in reduce_vars ( #4031 )
...
fixes #4030
2020-07-31 08:05:09 +08:00
Alex Lam S.L
dfe47bcc42
fix corner case in ie8 & reduce_vars ( #4029 )
...
fixes #4028
2020-07-29 03:11:02 +08:00
Alex Lam S.L
6d3dcaa59e
fix corner case in unused ( #4026 )
...
fixes #4025
2020-07-26 09:27:54 +08:00
Alex Lam S.L
1bc0df1569
fix corner case in hoist_props ( #4024 )
...
fixes #4023
2020-07-26 09:27:34 +08:00
Alex Lam S.L
a98ba994bd
reduce ufuzz test cases that fail to minify() ( #4021 )
2020-07-21 17:22:18 +08:00
Alex Lam S.L
cd671221c5
fix corner case in ie8 & reduce_vars ( #4020 )
...
fixes #4019
2020-07-21 17:22:18 +08:00
Alex Lam S.L
bce3919748
fix corner case in unused ( #4018 )
...
fixes #4017
2020-07-21 17:21:58 +08:00
Alex Lam S.L
61b66e83f1
fix corner case in ie8 ( #4016 )
...
fixes #4015
2020-07-21 02:32:20 +08:00
Alex Lam S.L
a5db8cd14c
fix corner case in collapse_vars ( #4013 )
...
fixes #4012
2020-07-20 23:28:13 +08:00
Alex Lam S.L
2021c2fa3e
fix corner case in false positive detection ( #4011 )
2020-07-20 21:57:22 +08:00
Alex Lam S.L
484d3fd8c7
fix corner case in side_effects ( #4009 )
...
fixes #4008
2020-07-01 11:33:48 +08:00
Alex Lam S.L
3bf8699f95
fix corner case in inline ( #4007 )
...
fixes #4006
2020-06-29 09:06:23 +08:00
Alex Lam S.L
e61bc34eb1
fix corner case in collapse_vars ( #4002 )
...
fixes #4001
2020-06-20 02:19:37 +08:00
Alex Lam S.L
8b2cfd45fa
fix corner case in rename ( #4000 )
...
fixes #3999
2020-06-15 01:29:01 +08:00
Alex Lam S.L
ae9f56be10
fix corner case in evaluate ( #3998 )
...
fixes #3997
2020-06-15 01:28:44 +08:00
Alex Lam S.L
9aed0e3a73
speed up false positive detection in ufuzz ( #3996 )
2020-06-14 03:42:42 +08:00
Alex Lam S.L
88850a6e05
enhance evaluate ( #3995 )
2020-06-14 02:50:26 +08:00
Alex Lam S.L
9e881407bd
fix corner cases related to AST_Hole ( #3994 )
2020-06-13 15:24:57 +01:00
Alex Lam S.L
a82ca62b66
fix corner case in dead_code ( #3991 )
2020-06-12 08:00:19 +08:00
Alex Lam S.L
e9465717ab
enhance dead_code ( #3990 )
2020-06-12 02:16:13 +08:00
Alex Lam S.L
e89031f1af
fix corner case in unsafe evaluate ( #3989 )
...
fixes #3988
2020-06-11 07:37:39 +08:00
Alex Lam S.L
596fad182e
fix corner case in unused ( #3987 )
...
fixes #3986
2020-06-11 02:01:23 +08:00
Alex Lam S.L
ed69adedcd
fix corner case in --reduce-test ( #3985 )
2020-06-10 15:51:00 +01:00
Alex Lam S.L
1dbf7d4a3a
fix corner case in side_effects ( #3984 )
...
fixes #3983
2020-06-10 19:30:37 +08:00
Alex Lam S.L
2a9d0fc6fb
improve false positive detection in ufuzz ( #3982 )
2020-06-10 07:28:56 +08:00
Alex Lam S.L
ed7c82fa5e
fix corner case in collapse_vars ( #3978 )
...
fixes #3976
2020-06-09 19:07:20 +08:00
Alex Lam S.L
3b273cecac
improve false positive detection in ufuzz ( #3977 )
2020-06-09 19:07:02 +08:00
Alex Lam S.L
d764b6cc3b
fix corner case in reduce_vars ( #3975 )
...
fixes #3974
2020-06-09 10:33:47 +08:00
Alex Lam S.L
08c4729eb4
improve false positive detection in ufuzz ( #3973 )
2020-06-09 01:47:50 +08:00
Alex Lam S.L
5561d3e7f3
fix corner case in collapse_vars ( #3972 )
...
fixes #3971
2020-06-09 00:09:21 +08:00
Alex Lam S.L
491d6ce1d5
improve false positive detection in ufuzz ( #3968 )
2020-06-08 14:21:45 +08:00
Alex Lam S.L
cd55eeb77c
fix corner case in dead_code ( #3969 )
...
fixes #3967
2020-06-08 13:42:09 +08:00
Alex Lam S.L
df3bb8028a
fix corner cases related to in ( #3964 )
2020-06-08 05:23:23 +08:00
Alex Lam S.L
28b7b15da1
parse command line internally ( #3961 )
2020-06-07 13:48:51 +08:00
Alex Lam S.L
aa37b19698
fix corner case in unused ( #3963 )
...
fixes #3962
2020-06-07 13:48:29 +08:00
Alex Lam S.L
486ce00b8e
fix corner case in reduce_vars ( #3959 )
...
fixes #3958
2020-06-06 10:04:37 +08:00
Alex Lam S.L
eb481cee8c
fix corner cases in reduce_vars & unused ( #3955 )
...
fixes #3953
fixes #3956
fixes #3957
2020-06-05 18:51:21 +08:00
Alex Lam S.L
fbc9d8009b
fix corner case in collapse_vars ( #3954 )
2020-06-05 14:28:08 +08:00
Alex Lam S.L
04fd3d90f8
fix corner cases in assignments, reduce_vars & unused ( #3950 )
...
fixes #3949
fixes #3951
2020-06-05 04:06:43 +08:00
Alex Lam S.L
a489f8cb5e
add test case for #3945 ( #3948 )
2020-06-03 03:34:38 +08:00
Alex Lam S.L
e2e4b7fb37
fix corner case in hoist_props ( #3947 )
...
fixes #3945
2020-06-02 23:51:06 +08:00
Alex Lam S.L
c97ad98f92
fix corner case in evaluate ( #3946 )
...
fixes #3944
2020-06-02 23:50:40 +08:00
Alex Lam S.L
b24eb22c6b
enhance reduce_vars ( #3942 )
2020-06-01 20:55:23 +08:00
Alex Lam S.L
06ba4e2ce8
fix corner case in arguments ( #3939 )
2020-05-31 12:18:27 +08:00
Alex Lam S.L
0eb4577a82
fix corner case in evaluate ( #3938 )
...
fixes #3937
2020-05-30 18:22:40 +08:00
Alex Lam S.L
43498769f0
fix corner case in evaluate ( #3936 )
...
fixes #3935
2020-05-29 22:10:36 +08:00
Alex Lam S.L
60c0bc1e6b
fix corner case in evaluate ( #3934 )
...
fixes #3933
2020-05-29 17:48:26 +08:00
Alex Lam S.L
6a5c63e1e3
enhance evaluate, functions & inline ( #3931 )
2020-05-29 07:05:47 +08:00
Alex Lam S.L
d47ea77811
fix corner case in functions ( #3930 )
...
fixes #3929
2020-05-28 20:07:36 +08:00
Alex Lam S.L
7840746bd9
fix corner case in collapse_vars ( #3928 )
...
fixes #3927
2020-05-27 21:02:48 +08:00
Alex Lam S.L
13c72a986c
fix corner case in infinite recursion detection ( #3926 )
2020-05-27 02:03:38 +08:00
Alex Lam S.L
27bdcbbd83
fix corner cases in infinite recursion detection ( #3924 )
2020-05-25 22:54:57 +08:00
Alex Lam S.L
2c4d7d66ef
fix corner case in reduce_vars ( #3923 )
...
fixes #3922
2020-05-24 07:38:40 +08:00
Alex Lam S.L
d1cc5270a3
fix corner case in evaluate ( #3921 )
...
fixes #3920
2020-05-22 11:38:09 +08:00
Alex Lam S.L
75c5b6029b
fix corner case in ie8 & reduce_vars ( #3919 )
...
fixes #3918
2020-05-22 09:56:35 +08:00
Alex Lam S.L
fa14a9cfcd
fix corner case in join_vars ( #3917 )
...
fixes #3916
2020-05-22 05:26:46 +08:00
Alex Lam S.L
aeb9ea5ac2
fix corner case in inline ( #3915 )
...
fixes #3911
2020-05-21 22:05:31 +08:00
Alex Lam S.L
cc6eb4b15f
improve ufuzz ( #3912 )
...
- preserve test case if `beautify` suppresses bug
- determine suspicious options even if `minify()` fails
2020-05-21 04:00:38 +08:00
Alex Lam S.L
14eee81dc6
update header comment for --reduce-test ( #3910 )
2020-05-19 11:35:33 +08:00
Alex Lam S.L
55ebb27878
fix corner case in collapse_vars ( #3909 )
...
fixes #3908
2020-05-19 11:34:50 +08:00
Alex Lam S.L
87046410ef
enhance dead_code ( #3907 )
2020-05-19 03:53:08 +08:00
Alex Lam S.L
f9b3198714
fix corner case in evaluate ( #3906 )
...
fixes #3905
2020-05-18 08:41:10 +08:00
Alex Lam S.L
48b62393a4
fix corner case in evaluate ( #3904 )
...
fixes #3903
2020-05-17 22:25:13 +08:00
Alex Lam S.L
a00f8dade7
fix suspicious toplevel detection ( #3902 )
2020-05-17 21:35:17 +08:00
Alex Lam S.L
9daa2fb6f5
benchmark without validation by default ( #3901 )
2020-05-15 23:57:50 +08:00
Alex Lam S.L
8d81d264f4
fix corner case in functions ( #3900 )
...
fixes #3899
2020-05-15 18:03:56 +08:00
Alex Lam S.L
5ef7060098
fix corner case in collapse_vars ( #3898 )
...
fixes #3897
2020-05-15 01:09:54 +08:00
Alex Lam S.L
938368ba21
enhance collapse_vars ( #3896 )
2020-05-14 07:52:42 +08:00
Alex Lam S.L
fe2f1965d6
fix corner case in reduce_vars ( #3895 )
...
fixes #3894
2020-05-13 23:44:54 +08:00
Alex Lam S.L
dc9e7cd1fe
suppress ufuzz false positives ( #3893 )
2020-05-13 07:07:49 +08:00
Alex Lam S.L
76f40e2528
fix corner case in collapse_vars ( #3892 )
...
fixes #3891
2020-05-12 22:28:55 +08:00
Alex Lam S.L
8024f7f7a8
fix corner case in ie8 ( #3890 )
...
fixes #3889
2020-05-12 19:28:29 +08:00
Alex Lam S.L
eb7fa25270
fix corner case in evaluate ( #3888 )
...
fixes #3887
2020-05-12 17:58:37 +08:00
Alex Lam S.L
ee7647dc67
fix corner case in collapse_vars ( #3885 )
...
fixes #3884
2020-05-12 04:01:14 +08:00
Alex Lam S.L
bd2f53bc8b
fix corner case in evaluate ( #3883 )
...
fixes #3882
2020-05-12 03:24:44 +08:00
Alex Lam S.L
e8a7956b6f
fix corner case in reduce_vars ( #3881 )
...
fixes #3880
2020-05-12 02:29:33 +08:00
Alex Lam S.L
2b24dc25fb
fix corner cases in evaluate & reduce_vars ( #3879 )
...
fixes #3878
2020-05-11 22:46:00 +08:00
Alex Lam S.L
35cc5aa06f
extend --reduce-test to cover minify() bugs ( #3876 )
2020-05-11 07:32:21 +08:00
Alex Lam S.L
c1dd49e075
fix corner case in comparisons ( #3877 )
2020-05-11 06:33:52 +08:00
Alex Lam S.L
c76ee4b868
enhance if_return ( #3875 )
2020-05-11 04:29:55 +08:00
Alex Lam S.L
e23bf48052
enhance evaluate & reduce_vars ( #3873 )
2020-05-11 03:08:05 +08:00
Alex Lam S.L
7e0ad232b0
retain @__PURE__ call when return value is used ( #3874 )
2020-05-11 01:07:05 +08:00
Alex Lam S.L
63adfb1590
fix corner case in hoist_props ( #3872 )
...
fixes #3871
2020-05-10 22:23:09 +08:00
Alex Lam S.L
f9806b43c3
enhance evaluate & reduce_vars ( #3870 )
2020-05-10 18:38:32 +08:00
Alex Lam S.L
c4c9c6d37d
fix corner case in hoist_props ( #3869 )
...
fixes #3868
2020-05-10 10:35:24 +01:00
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
Alex Lam S.L
41a6eb892a
fix corner case in evaluate ( #3685 )
...
fixes #3684
2020-01-16 01:51:37 +08:00
Alex Lam S.L
91d87ae663
fix corner case in unsafe_math ( #3683 )
...
fixes #3682
2020-01-15 04:05:58 +08:00
Alex Lam S.L
46caaa82ba
enhance collapse_vars ( #3680 )
...
closes #3679
2020-01-10 04:28:43 +08:00
Alex Lam S.L
5d258259a4
introduce --output-opts CLI option ( #3678 )
...
closes #3675
2020-01-08 20:44:03 +08:00
Alex Lam S.L
14c35739dd
fix corner case in unsafe_math ( #3677 )
...
fixes #3676
2020-01-08 10:28:10 +08:00
Alex Lam S.L
f5ceff6e4b
fix corner case in unused ( #3674 )
...
fixes #3673
2020-01-07 20:06:25 +08:00
Alex Lam S.L
4d6771b9b1
fix corner case in collapse_vars ( #3672 )
...
fixes #3671
2020-01-07 19:34:16 +08:00
Alex Lam S.L
0ff607cb80
improve ufuzz false positive detection ( #3670 )
2020-01-06 11:26:15 +08:00
Alex Lam S.L
1988495d71
fix corner case in conditionals ( #3669 )
...
fixes #3668
2020-01-04 09:24:28 +08:00
Alex Lam S.L
fdc10086da
fix corner case in reduce_vars ( #3667 )
...
fixes #3666
2020-01-03 19:28:47 +08:00
Alex Lam S.L
746f5f6c62
fix corner case in unused ( #3665 )
...
fixes #3664
2020-01-01 20:24:30 +08:00
Alex Lam S.L
d83d3d741a
enhance unused ( #3662 )
2019-12-31 23:39:24 +08:00
Alex Lam S.L
99ac73a635
enhance booleans ( #3661 )
2019-12-31 13:10:05 +08:00
Alex Lam S.L
94785e8e14
fix corner case in booleans ( #3659 )
...
fixes #3658
2019-12-31 09:57:35 +08:00
Alex Lam S.L
4dbdac9c31
enhance booleans ( #3657 )
2019-12-30 22:41:11 +08:00
Alex Lam S.L
78c8efd851
fix corner case in evaluate ( #3656 )
...
fixes #3655
2019-12-29 21:16:53 +08:00
Alex Lam S.L
af310ba2d0
fix corner case in evaluate ( #3654 )
...
fixes #3653
2019-12-29 02:50:57 +00:00
Alex Lam S.L
2f3930d1b9
fix corner case in collapse_vars ( #3652 )
...
fixes #3651
2019-12-29 00:57:59 +00:00
Alex Lam S.L
d1a78920d9
workaround firefox asm.js quirks ( #3650 )
...
fixes #3636
2019-12-28 23:14:53 +00:00
Alex Lam S.L
d9cd3d33c8
enhance evaluate ( #3649 )
2019-12-28 20:26:15 +00:00
Alex Lam S.L
22b47cdd63
improve unicode handling ( #3648 )
2019-12-28 18:06:51 +00:00
Alex Lam S.L
4cf612dc9f
increase mocha default timeout ( #3647 )
...
closes #3640
2019-12-28 02:32:22 +00:00
Alex Lam S.L
a19d31dd33
fix corner case in unsafe ( #3646 )
2019-12-27 14:24:54 +00:00
Alex Lam S.L
ab050e7a94
fix corner case in directives ( #3645 )
2019-12-25 00:55:39 +00:00
Alex Lam S.L
75aa6ef848
enhance conditionals ( #3643 )
2019-12-22 04:29:32 +00:00
Alex Lam S.L
519a00bd8a
fix corner case in collapse_vars ( #3642 )
...
fixes #3641
2019-12-22 01:08:56 +00:00
Alex Lam S.L
3ff0feddee
suppress false positives from fuzzer ( #3638 )
2019-12-16 17:32:47 +02:00
Alex Lam S.L
74396acc86
fix corner case in loops ( #3635 )
...
fixes #3634
2019-12-11 06:39:46 +08:00
Alex Lam S.L
036bca980c
enhance loops ( #3633 )
2019-12-10 12:57:47 +00:00
Alex Lam S.L
18c2b1841b
fix corner case in reduce_vars ( #3632 )
...
fixes #3631
2019-12-10 09:45:51 +00:00
Alex Lam S.L
9074f05129
fix corner case in collapse_vars ( #3629 )
...
fixes #3628
2019-12-05 05:08:37 +08:00
Alex Lam S.L
04fbb1f949
avoid collision with HTML comments ( #3625 )
...
fixes #3624
2019-12-05 02:43:25 +08:00
Alex Lam S.L
bf7e4ca1a3
fix corner case in collapse_vars ( #3627 )
...
fixes #3626
2019-12-05 00:59:57 +08:00
Alex Lam S.L
d68ddc31f9
fix corner case in reduce_vars ( #3623 )
...
fixes #3622
2019-12-04 20:24:55 +08:00
Alex Lam S.L
500e31e03b
enhance collapse_vars ( #3621 )
2019-12-02 15:25:38 +08:00
Alex Lam S.L
bef856addb
fix corner case in keep_fargs ( #3620 )
...
fixes #3619
2019-12-02 12:28:17 +08:00
Alex Lam S.L
9a6faf365b
fix corner cases in keep_fargs & unused ( #3618 )
2019-12-02 06:43:54 +08:00
Alex Lam S.L
e915832a36
enhance unused ( #3617 )
2019-12-01 18:10:37 +08:00
Alex Lam S.L
0593892d6e
enhance collapse_vars ( #3616 )
2019-12-01 02:31:04 +08:00
Alex Lam S.L
1283d73853
fix corner case in parsing directives ( #3615 )
2019-11-29 18:57:29 +08:00
Alex Lam S.L
1b61a81b5d
enhance collapse_vars ( #3613 )
2019-11-29 17:45:49 +08:00
Alex Lam S.L
5a88c30d65
enhance assignments ( #3612 )
2019-11-28 07:40:34 +08:00
Alex Lam S.L
168ae747ad
enhance collapse_vars ( #3611 )
2019-11-28 03:57:10 +08:00
Alex Lam S.L
d4b7010678
fix corner case in unsafe_regexp ( #3609 )
2019-11-27 17:35:21 +08:00
Alex Lam S.L
e27493f3c2
fix corner case in inline ( #3608 )
2019-11-27 14:54:36 +08:00
Alex Lam S.L
6768e6578f
inline functions with directives more effectively ( #3604 )
2019-11-26 01:51:04 +08:00
Alex Lam S.L
48a0f6fe41
enhance unsafe_math ( #3603 )
2019-11-25 21:14:13 +08:00
Alex Lam S.L
81caadb709
enhance collapse_vars ( #3602 )
2019-11-20 12:54:49 +08:00
Alex Lam S.L
d959e0b86f
fix corner case in if_return ( #3601 )
...
fixes #3600
2019-11-19 15:45:20 +08:00
Alex Lam S.L
67278e76c8
fix corner case in unused ( #3599 )
...
fixes #3598
2019-11-19 04:26:41 +08:00
Alex Lam S.L
c289ba1139
fix corner case in collapse_vars ( #3597 )
...
fixes #3596
2019-11-19 02:30:52 +08:00
Alex Lam S.L
4e06e1ca34
fix corner case in inline ( #3595 )
2019-11-18 15:04:55 +08:00
Alex Lam S.L
644f65feca
fix corner case in unsafe_math ( #3594 )
...
fixes #3593
2019-11-18 13:44:13 +08:00
Alex Lam S.L
8504a4ea0e
fix corner case in reduce_funcs ( #3592 )
2019-11-17 11:19:42 +08:00
Alex Lam S.L
10c1a78772
fix corner case in collapse_vars ( #3591 )
2019-11-17 05:24:02 +08:00
Alex Lam S.L
a6a0319f1c
compress empty for-in loops ( #3590 )
2019-11-17 02:36:42 +08:00
Alex Lam S.L
d1b2ecec27
refine precision limits on unsafe_math ( #3589 )
2019-11-17 01:16:42 +08:00
Alex Lam S.L
552be61c4d
introduce eager evaluation ( #3587 )
2019-11-16 06:10:47 +08:00
Alex Lam S.L
4027f87717
migrate to GitHub Actions ( #3586 )
2019-11-14 10:48:32 +08:00
Alex Lam S.L
910799ca99
fix corner case in switches ( #3585 )
2019-11-14 02:29:55 +08:00
Alex Lam S.L
4bd36dc8da
enhance unused ( #3584 )
2019-11-13 21:44:44 +08:00
Alex Lam S.L
ab15c40770
enhance switches ( #3583 )
2019-11-13 20:03:48 +08:00
Alex Lam S.L
fe65ce9658
fix corner case in collapse_vars ( #3582 )
...
fixes #3581
2019-11-13 16:45:16 +08:00
Alex Lam S.L
d6fd18d0b0
enhance evaluate & inline ( #3580 )
2019-11-13 04:17:09 +08:00
Alex Lam S.L
5b20bad4b3
fix corner case in dead_code ( #3579 )
...
fixes #3578
2019-11-12 05:16:14 +08:00
Alex Lam S.L
5045e140b1
fix corner case in conditionals ( #3577 )
...
fixes #3576
2019-11-09 00:53:15 +08:00
Alex Lam S.L
10648c9af6
enhance dead_code ( #3575 )
2019-11-08 13:45:28 +08:00
Alex Lam S.L
87e67ec299
fix corner case in collapse_vars ( #3574 )
...
fixes #3573
2019-11-07 20:38:03 +08:00
Alex Lam S.L
3e2c51a4da
enhance collapse_vars ( #3572 )
2019-11-05 18:15:28 +08:00
Alex Lam S.L
0e29ad5eb9
fix corner case in evaluate ( #3569 )
2019-11-04 13:13:48 +08:00
Alex Lam S.L
1c0defdc03
enhance unsafe evaluate ( #3564 )
2019-11-02 03:34:32 +08:00
Alex Lam S.L
dcbf2236c7
more tests for #3562 ( #3565 )
2019-11-02 03:34:20 +08:00
Alex Lam S.L
24bb288832
fix corner case in collapse_vars ( #3563 )
...
fixes #3562
2019-11-01 22:38:19 +08:00
Alex Lam S.L
815eff1f7c
enhance if_return ( #3560 )
2019-11-01 02:08:31 +08:00
Alex Lam S.L
1e9b576ee9
fix corner case in evaluate ( #3559 )
...
fixes #3558
2019-11-01 00:01:25 +08:00
Alex Lam S.L
3797458365
enhance conditionals ( #3557 )
2019-10-31 09:33:46 +08:00
Alex Lam S.L
1858c2018c
enhance typeofs ( #3556 )
2019-10-31 08:00:04 +08:00
Alex Lam S.L
ec7f071272
fix corner case in dead_code ( #3553 )
...
fixes #3552
2019-10-30 14:21:22 +08:00
Alex Lam S.L
f1eb03f2c0
enhance dead_code ( #3551 )
2019-10-30 06:34:54 +08:00
Alex Lam S.L
0f4cfa877a
fix corner case in comments ( #3550 )
2019-10-30 03:49:39 +08:00
Alex Lam S.L
1d5c2becbd
enhance evaluate ( #3549 )
2019-10-29 19:51:55 +08:00
Alex Lam S.L
22a09ea7c5
fix corner case in unsafe_math ( #3548 )
...
fixes #3547
2019-10-29 17:06:57 +08:00
Alex Lam S.L
bad664c632
compress object literals ( #3546 )
2019-10-29 16:53:48 +08:00
Alex Lam S.L
83fb8b4ca1
fix corner case in ie8 ( #3543 )
...
fixes #3542
2019-10-28 23:54:27 +08:00
Alex Lam S.L
f38e31bd1e
fix corner case in evaluate ( #3540 )
...
fixes #3539
2019-10-28 19:56:42 +08:00
Alex Lam S.L
24e8b47977
improve ufuzz resilience ( #3541 )
2019-10-28 18:08:51 +08:00
Alex Lam S.L
95618793a4
fix corner case in ufuzz ( #3538 )
2019-10-28 16:04:07 +08:00
Alex Lam S.L
2f3b460212
fix & enhance unsafe_math ( #3537 )
...
closes #3535
fixes #3536
2019-10-28 13:37:08 +08:00
Alex Lam S.L
06e135e35f
migrate CI workaround ( #3534 )
2019-10-27 17:29:54 +08:00
Alex Lam S.L
ebbf3d4a51
improve ufuzz resilience ( #3533 )
2019-10-27 14:17:35 +08:00
Alex Lam S.L
a270ba6b59
fix corner cases in unsafe_math ( #3532 )
...
fixes #3531
2019-10-27 08:25:11 +08:00
Alex Lam S.L
37f35e4ac2
prevent tty truncation in test/compress ( #3530 )
2019-10-27 05:00:21 +08:00
Alex Lam S.L
50a578c1f6
compress arithmetic expressions further ( #3529 )
2019-10-27 03:07:07 +08:00
Alex Lam S.L
85237b08d4
fix corner case in collapse_vars ( #3527 )
...
fixes #3526
2019-10-26 05:41:02 +08:00
Alex Lam S.L
82b3eed5ef
fix corner case in ie8 & mangle ( #3524 )
...
fixes #3523
2019-10-24 23:43:19 +08:00
Alex Lam S.L
0f7aa41e33
fix corner case in collapse_vars ( #3521 )
...
fixes #3520
2019-10-24 01:13:57 +08:00