UglifyJS.git
4 years agofix suspicious `toplevel` detection (#3902)
Alex Lam S.L [Sun, 17 May 2020 13:35:17 +0000 (14:35 +0100)]
fix suspicious `toplevel` detection (#3902)

4 years agobenchmark without validation by default (#3901)
Alex Lam S.L [Fri, 15 May 2020 15:57:50 +0000 (16:57 +0100)]
benchmark without validation by default (#3901)

4 years agofix corner case in `functions` (#3900)
Alex Lam S.L [Fri, 15 May 2020 10:03:56 +0000 (11:03 +0100)]
fix corner case in `functions` (#3900)

fixes #3899

4 years agofix corner case in `collapse_vars` (#3898)
Alex Lam S.L [Thu, 14 May 2020 17:09:54 +0000 (18:09 +0100)]
fix corner case in `collapse_vars` (#3898)

fixes #3897

4 years agoenhance `collapse_vars` (#3896)
Alex Lam S.L [Wed, 13 May 2020 23:52:42 +0000 (00:52 +0100)]
enhance `collapse_vars` (#3896)

4 years agofix corner case in `reduce_vars` (#3895)
Alex Lam S.L [Wed, 13 May 2020 15:44:54 +0000 (16:44 +0100)]
fix corner case in `reduce_vars` (#3895)

fixes #3894

4 years agov3.9.3
Alex Lam S.L [Wed, 13 May 2020 09:23:01 +0000 (17:23 +0800)]
v3.9.3

4 years agosuppress `ufuzz` false positives (#3893)
Alex Lam S.L [Tue, 12 May 2020 23:07:49 +0000 (00:07 +0100)]
suppress `ufuzz` false positives (#3893)

4 years agofix corner case in `collapse_vars` (#3892)
Alex Lam S.L [Tue, 12 May 2020 14:28:55 +0000 (15:28 +0100)]
fix corner case in `collapse_vars` (#3892)

fixes #3891

4 years agofix corner case in `ie8` (#3890)
Alex Lam S.L [Tue, 12 May 2020 11:28:29 +0000 (12:28 +0100)]
fix corner case in `ie8` (#3890)

fixes #3889

4 years agofix corner case in `evaluate` (#3888)
Alex Lam S.L [Tue, 12 May 2020 09:58:37 +0000 (10:58 +0100)]
fix corner case in `evaluate` (#3888)

fixes #3887

4 years agofix corner case in `collapse_vars` (#3885)
Alex Lam S.L [Mon, 11 May 2020 20:01:14 +0000 (21:01 +0100)]
fix corner case in `collapse_vars` (#3885)

fixes #3884

4 years agofix corner case in `evaluate` (#3883)
Alex Lam S.L [Mon, 11 May 2020 19:24:44 +0000 (20:24 +0100)]
fix corner case in `evaluate` (#3883)

fixes #3882

4 years agofix corner case in `reduce_vars` (#3881)
Alex Lam S.L [Mon, 11 May 2020 18:29:33 +0000 (19:29 +0100)]
fix corner case in `reduce_vars` (#3881)

fixes #3880

4 years agofix corner cases in `evaluate` & `reduce_vars` (#3879)
Alex Lam S.L [Mon, 11 May 2020 14:46:00 +0000 (15:46 +0100)]
fix corner cases in `evaluate` & `reduce_vars` (#3879)

fixes #3878

4 years agoextend `--reduce-test` to cover `minify()` bugs (#3876)
Alex Lam S.L [Sun, 10 May 2020 23:32:21 +0000 (00:32 +0100)]
extend `--reduce-test` to cover `minify()` bugs (#3876)

4 years agofix corner case in `comparisons` (#3877)
Alex Lam S.L [Sun, 10 May 2020 22:33:52 +0000 (23:33 +0100)]
fix corner case in `comparisons` (#3877)

4 years agoenhance `if_return` (#3875)
Alex Lam S.L [Sun, 10 May 2020 20:29:55 +0000 (21:29 +0100)]
enhance `if_return` (#3875)

4 years agoenhance `evaluate` & `reduce_vars` (#3873)
Alex Lam S.L [Sun, 10 May 2020 19:08:05 +0000 (20:08 +0100)]
enhance `evaluate` & `reduce_vars` (#3873)

4 years agoretain `@__PURE__` call when return value is used (#3874)
Alex Lam S.L [Sun, 10 May 2020 17:07:05 +0000 (18:07 +0100)]
retain `@__PURE__` call when return value is used (#3874)

4 years agofix corner case in `hoist_props` (#3872)
Alex Lam S.L [Sun, 10 May 2020 14:23:09 +0000 (15:23 +0100)]
fix corner case in `hoist_props` (#3872)

fixes #3871

4 years agoenhance `evaluate` & `reduce_vars` (#3870)
Alex Lam S.L [Sun, 10 May 2020 10:38:32 +0000 (11:38 +0100)]
enhance `evaluate` & `reduce_vars` (#3870)

4 years agofix corner case in `hoist_props` (#3869)
Alex Lam S.L [Sun, 10 May 2020 09:35:24 +0000 (10:35 +0100)]
fix corner case in `hoist_props` (#3869)

fixes #3868

4 years agofix corner case in `reduce_vars` (#3867)
Alex Lam S.L [Sun, 10 May 2020 08:35:03 +0000 (09:35 +0100)]
fix corner case in `reduce_vars` (#3867)

fixes #3866

4 years agoimprove `inline` of `/*@__PURE__*/` calls (#3865)
Alex Lam S.L [Sat, 9 May 2020 23:16:09 +0000 (00:16 +0100)]
improve `inline` of `/*@__PURE__*/` calls (#3865)

4 years agoimprove AST validation (#3864)
Alex Lam S.L [Sat, 9 May 2020 21:25:44 +0000 (22:25 +0100)]
improve AST validation (#3864)

4 years agoimplement AST validation (#3863)
Alex Lam S.L [Sat, 9 May 2020 01:58:03 +0000 (02:58 +0100)]
implement AST validation (#3863)

4 years agoimprove fix for #3856 (#3862)
Alex Lam S.L [Sat, 9 May 2020 00:50:25 +0000 (01:50 +0100)]
improve fix for #3856 (#3862)

4 years agoimprove `ufuzz` detection of suspicious options (#3860)
Alex Lam S.L [Fri, 8 May 2020 07:03:48 +0000 (08:03 +0100)]
improve `ufuzz` detection of suspicious options (#3860)

4 years agofix corner case in `inline` (#3859)
Alex Lam S.L [Fri, 8 May 2020 07:03:29 +0000 (08:03 +0100)]
fix corner case in `inline` (#3859)

fixes #3858

4 years agofix corner case in `join_vars` (#3857)
Alex Lam S.L [Fri, 8 May 2020 03:49:17 +0000 (04:49 +0100)]
fix corner case in `join_vars` (#3857)

fixes #3856

4 years agosuppress `ufuzz` false positives (#3855)
Alex Lam S.L [Thu, 7 May 2020 19:21:44 +0000 (20:21 +0100)]
suppress `ufuzz` false positives (#3855)

4 years agofix corner case in `inline` (#3853)
Alex Lam S.L [Thu, 7 May 2020 12:53:05 +0000 (13:53 +0100)]
fix corner case in `inline` (#3853)

fixes #3852

4 years agoenhance `dead_code` (#3849)
Alex Lam S.L [Tue, 5 May 2020 21:02:35 +0000 (22:02 +0100)]
enhance `dead_code` (#3849)

4 years agofix intermittent CI failures on GitHub Actions (#3851)
Alex Lam S.L [Tue, 5 May 2020 19:29:23 +0000 (20:29 +0100)]
fix intermittent CI failures on GitHub Actions (#3851)

4 years agoremove unused returns from tree walk (#3850)
kzc [Tue, 5 May 2020 18:21:36 +0000 (14:21 -0400)]
remove unused returns from tree walk (#3850)

4 years agoimprove `TreeWalker` performance (#3848)
Alex Lam S.L [Tue, 5 May 2020 14:45:58 +0000 (15:45 +0100)]
improve `TreeWalker` performance (#3848)

4 years agoupdate links to repository after rename (#3847)
Alex Lam S.L [Tue, 5 May 2020 13:07:33 +0000 (14:07 +0100)]
update links to repository after rename (#3847)

4 years agofix corner case in `reduce_vars` (#3845)
Alex Lam S.L [Sun, 3 May 2020 19:30:10 +0000 (20:30 +0100)]
fix corner case in `reduce_vars` (#3845)

fixes #3844

4 years agoenhance `reduce_vars` (#3843)
Alex Lam S.L [Sun, 3 May 2020 14:52:43 +0000 (15:52 +0100)]
enhance `reduce_vars` (#3843)

4 years agoenhance `unused` (#3839)
Alex Lam S.L [Sun, 3 May 2020 09:38:28 +0000 (10:38 +0100)]
enhance `unused` (#3839)

4 years agov3.9.2
Alex Lam S.L [Sun, 3 May 2020 03:01:18 +0000 (11:01 +0800)]
v3.9.2

4 years agofix diagnostic text (#3838)
Alex Lam S.L [Fri, 1 May 2020 10:55:06 +0000 (11:55 +0100)]
fix diagnostic text (#3838)

4 years agofix corner case in `inline` (#3837)
Alex Lam S.L [Fri, 1 May 2020 09:20:23 +0000 (10:20 +0100)]
fix corner case in `inline` (#3837)

fixes #3836

4 years agofix corner cases in `inline` (#3834)
Alex Lam S.L [Fri, 1 May 2020 01:06:40 +0000 (02:06 +0100)]
fix corner cases in `inline` (#3834)

fixes #3833
fixes #3835

4 years agoenhance `inline` (#3832)
Alex Lam S.L [Thu, 30 Apr 2020 20:33:46 +0000 (21:33 +0100)]
enhance `inline` (#3832)

4 years agofix corner case in `dead_code` (#3831)
Alex Lam S.L [Thu, 30 Apr 2020 13:52:57 +0000 (14:52 +0100)]
fix corner case in `dead_code` (#3831)

fixes #3830

4 years agoupdate dependencies (#3828)
Alex Lam S.L [Wed, 29 Apr 2020 21:55:04 +0000 (22:55 +0100)]
update dependencies (#3828)

- actions/checkout@v2

4 years agofix corner case in `ie8` (#3826)
Alex Lam S.L [Mon, 27 Apr 2020 08:51:21 +0000 (09:51 +0100)]
fix corner case in `ie8` (#3826)

fixes #3825

4 years agofix corner case in `ie8` (#3824)
Alex Lam S.L [Sun, 26 Apr 2020 22:44:53 +0000 (23:44 +0100)]
fix corner case in `ie8` (#3824)

fixes #3823

4 years agofix corner case in `inline` (#3822)
Alex Lam S.L [Sun, 26 Apr 2020 19:31:19 +0000 (20:31 +0100)]
fix corner case in `inline` (#3822)

fixes #3821

4 years agoimprove suspicious option detection (#3820)
Alex Lam S.L [Sun, 26 Apr 2020 16:59:26 +0000 (17:59 +0100)]
improve suspicious option detection (#3820)

4 years agofix corner case in `--reduce-test` (#3819)
Alex Lam S.L [Fri, 24 Apr 2020 22:49:50 +0000 (23:49 +0100)]
fix corner case in `--reduce-test` (#3819)

4 years agoimprove `--reduce-test` on `Error.message` (#3816)
Alex Lam S.L [Fri, 24 Apr 2020 17:30:37 +0000 (18:30 +0100)]
improve `--reduce-test` on `Error.message` (#3816)

closes #3815

4 years agofix corner case in `typeofs` (#3818)
Alex Lam S.L [Fri, 24 Apr 2020 17:29:42 +0000 (18:29 +0100)]
fix corner case in `typeofs` (#3818)

fixes #3817

4 years agoimprove `compress` (#3814)
Alex Lam S.L [Thu, 23 Apr 2020 22:50:53 +0000 (23:50 +0100)]
improve `compress` (#3814)

- avoid identifier overflow through consecutive API calls
- simplify `reduce_vars`
- enhance `unsafe` `evaluate`

4 years agoimprove `unused` efficiency (#3813)
Alex Lam S.L [Thu, 23 Apr 2020 00:31:35 +0000 (01:31 +0100)]
improve `unused` efficiency (#3813)

4 years agogate various label-related transformations (#3812)
Alex Lam S.L [Wed, 22 Apr 2020 21:27:26 +0000 (22:27 +0100)]
gate various label-related transformations (#3812)

4 years agoenhance `dead_code` (#3811)
Alex Lam S.L [Wed, 22 Apr 2020 10:22:45 +0000 (11:22 +0100)]
enhance `dead_code` (#3811)

4 years agoadjust `ufuzz` schedule (#3810)
Alex Lam S.L [Wed, 22 Apr 2020 08:03:15 +0000 (09:03 +0100)]
adjust `ufuzz` schedule (#3810)

4 years agofix corner case in `conditionals` (#3809)
Alex Lam S.L [Tue, 21 Apr 2020 22:30:08 +0000 (23:30 +0100)]
fix corner case in `conditionals` (#3809)

fixes #3808

4 years agoadjust `ufuzz` schedule (#3807)
Alex Lam S.L [Tue, 21 Apr 2020 18:58:02 +0000 (19:58 +0100)]
adjust `ufuzz` schedule (#3807)

4 years agospeed up `ufuzz` on GitHub Actions (#3806)
Alex Lam S.L [Tue, 21 Apr 2020 14:51:42 +0000 (15:51 +0100)]
speed up  `ufuzz` on GitHub Actions (#3806)

4 years agoenhance `conditionals` (#3805)
Alex Lam S.L [Mon, 20 Apr 2020 01:42:13 +0000 (02:42 +0100)]
enhance `conditionals` (#3805)

4 years agoenhance `join_vars` (#3804)
Alex Lam S.L [Sun, 19 Apr 2020 22:37:46 +0000 (23:37 +0100)]
enhance `join_vars` (#3804)

4 years agofix corner case in `functions` & `unused` (#3803)
Alex Lam S.L [Sat, 18 Apr 2020 22:28:01 +0000 (23:28 +0100)]
fix corner case in `functions` & `unused` (#3803)

fixes #3802

4 years agoenhance `collapse_vars` (#3801)
Alex Lam S.L [Sat, 18 Apr 2020 21:04:21 +0000 (22:04 +0100)]
enhance `collapse_vars` (#3801)

4 years agoenhance `unused` (#3800)
Alex Lam S.L [Sat, 18 Apr 2020 16:10:24 +0000 (17:10 +0100)]
enhance `unused` (#3800)

4 years agoenhance `collapse_vars` (#3799)
Alex Lam S.L [Sat, 18 Apr 2020 15:12:20 +0000 (16:12 +0100)]
enhance `collapse_vars` (#3799)

4 years agoenhance `conditionals` (#3798)
Alex Lam S.L [Sat, 18 Apr 2020 14:32:22 +0000 (15:32 +0100)]
enhance `conditionals` (#3798)

4 years agoenhance `unused` (#3794)
Alex Lam S.L [Sat, 18 Apr 2020 10:52:44 +0000 (11:52 +0100)]
enhance `unused` (#3794)

4 years agofix corner case in `join_vars` (#3796)
Alex Lam S.L [Sat, 18 Apr 2020 10:08:05 +0000 (11:08 +0100)]
fix corner case in `join_vars` (#3796)

fixes #3795

4 years agoreport top-level default options (#3797)
Alex Lam S.L [Sat, 18 Apr 2020 10:03:06 +0000 (11:03 +0100)]
report top-level default options (#3797)

4 years agoenhance `collapse_vars` (#3793)
Alex Lam S.L [Sat, 18 Apr 2020 02:06:20 +0000 (03:06 +0100)]
enhance `collapse_vars` (#3793)

4 years agoexpand `ufuzz` patterns (#3792)
Alex Lam S.L [Fri, 17 Apr 2020 23:12:13 +0000 (00:12 +0100)]
expand `ufuzz` patterns (#3792)

4 years agofix corner cases in `join_vars` (#3790)
Alex Lam S.L [Fri, 17 Apr 2020 18:53:26 +0000 (19:53 +0100)]
fix corner cases in `join_vars` (#3790)

fixes #3789
fixes #3791

4 years agofix corner cases in `join_vars` (#3787)
Alex Lam S.L [Fri, 17 Apr 2020 13:19:18 +0000 (14:19 +0100)]
fix corner cases in `join_vars` (#3787)

fixes #3786
fixes #3788

4 years agosuppress mutation of input `options` (#3785)
Alex Lam S.L [Fri, 17 Apr 2020 07:13:49 +0000 (08:13 +0100)]
suppress mutation of input `options` (#3785)

4 years agosupport optional output of `names` in source maps (#3784)
Alex Lam S.L [Thu, 16 Apr 2020 23:20:48 +0000 (00:20 +0100)]
support optional output of `names` in source maps (#3784)

4 years agoenhance `join_vars` (#3783)
Alex Lam S.L [Thu, 16 Apr 2020 21:31:33 +0000 (22:31 +0100)]
enhance `join_vars` (#3783)

4 years agoimprove source-map generation (#3782)
Alex Lam S.L [Thu, 16 Apr 2020 15:30:25 +0000 (16:30 +0100)]
improve source-map generation (#3782)

- emit singleton segments to mark generated code from input

4 years agov3.9.1
Alex Lam S.L [Wed, 15 Apr 2020 09:26:30 +0000 (17:26 +0800)]
v3.9.1

4 years agoprevent input source map mutation (#3781)
Alex Lam S.L [Wed, 15 Apr 2020 09:25:58 +0000 (10:25 +0100)]
prevent input source map mutation (#3781)

fixes #3780

4 years agoexpand testing on Node.js versions (#3779)
Alex Lam S.L [Tue, 14 Apr 2020 02:13:42 +0000 (03:13 +0100)]
expand testing on Node.js versions (#3779)

4 years agov3.9.0
Alex Lam S.L [Mon, 13 Apr 2020 12:45:02 +0000 (13:45 +0100)]
v3.9.0

4 years agofix corner case in `inline` (#3778)
Alex Lam S.L [Sat, 11 Apr 2020 11:54:26 +0000 (12:54 +0100)]
fix corner case in `inline` (#3778)

fixes #3777

4 years agoimprove handling of `eval` (#3776)
Alex Lam S.L [Fri, 10 Apr 2020 22:36:17 +0000 (23:36 +0100)]
improve handling of `eval` (#3776)

closes #3768

4 years agofix corner case in `reduce_vars` (#3775)
Alex Lam S.L [Fri, 10 Apr 2020 18:19:38 +0000 (19:19 +0100)]
fix corner case in `reduce_vars` (#3775)

fixes #3774

4 years agoadd tests for `eval()` (#3769)
Alex Lam S.L [Fri, 10 Apr 2020 16:36:53 +0000 (17:36 +0100)]
add tests for `eval()` (#3769)

closes #3768

4 years agofix corner cases in `inline` (#3773)
Alex Lam S.L [Fri, 10 Apr 2020 16:34:45 +0000 (17:34 +0100)]
fix corner cases in `inline` (#3773)

fixes #3770
fixes #3771
fixes #3772

4 years agoenhance `inline` (#3767)
Alex Lam S.L [Fri, 10 Apr 2020 02:48:24 +0000 (03:48 +0100)]
enhance `inline` (#3767)

4 years agoworkaround intermittent nodejs.org corruptions (#3766)
Alex Lam S.L [Tue, 7 Apr 2020 00:40:38 +0000 (01:40 +0100)]
workaround intermittent nodejs.org corruptions (#3766)

4 years agofix export of PATH to Node.js (#3765)
Alex Lam S.L [Mon, 6 Apr 2020 17:14:16 +0000 (18:14 +0100)]
fix export of PATH to Node.js (#3765)

4 years agofix Github Actions retry logic (#3763)
Alex Lam S.L [Mon, 6 Apr 2020 14:16:48 +0000 (15:16 +0100)]
fix Github Actions retry logic (#3763)

4 years agoexpand `ufuzz` patterns (#3761)
Alex Lam S.L [Sun, 5 Apr 2020 14:12:46 +0000 (15:12 +0100)]
expand `ufuzz` patterns (#3761)

4 years agoenhance `inline` (#3760)
Alex Lam S.L [Sun, 5 Apr 2020 02:42:23 +0000 (03:42 +0100)]
enhance `inline` (#3760)

4 years agoimprove resilience against nodejs.org failures (#3759)
Alex Lam S.L [Thu, 2 Apr 2020 18:49:38 +0000 (19:49 +0100)]
improve resilience against nodejs.org failures (#3759)

4 years agofix corner case in `evaluate` & `unsafe_math` (#3756)
Alex Lam S.L [Mon, 30 Mar 2020 11:13:14 +0000 (12:13 +0100)]
fix corner case in `evaluate` & `unsafe_math` (#3756)

fixes #3755

4 years agoimprove resilience against nodejs.org failures (#3758)
Alex Lam S.L [Mon, 30 Mar 2020 02:20:13 +0000 (03:20 +0100)]
improve resilience against nodejs.org failures (#3758)

4 years agohandle single-field segments (#3757)
Alex Lam S.L [Sun, 29 Mar 2020 22:39:32 +0000 (23:39 +0100)]
handle single-field segments (#3757)