UglifyJS.git
2 years agofix corner case in `unused` (#5190)
Alex Lam S.L [Tue, 23 Nov 2021 12:10:05 +0000 (12:10 +0000)]
fix corner case in `unused` (#5190)

fixes #5189

2 years agofix corner case in `hoist_vars` (#5188)
Alex Lam S.L [Tue, 23 Nov 2021 10:00:47 +0000 (10:00 +0000)]
fix corner case in `hoist_vars` (#5188)

fixes #5187

2 years agoimprove sandbox `async` detection (#5185)
Alex Lam S.L [Mon, 22 Nov 2021 18:29:54 +0000 (18:29 +0000)]
improve sandbox `async` detection (#5185)

closes #5184

2 years agoenhance `hoist_props` & `reduce_vars` (#5183)
Alex Lam S.L [Mon, 22 Nov 2021 16:31:10 +0000 (16:31 +0000)]
enhance `hoist_props` & `reduce_vars` (#5183)

closes #5182

2 years agoenhance `side_effects` & `unused` (#5181)
Alex Lam S.L [Mon, 22 Nov 2021 03:14:28 +0000 (03:14 +0000)]
enhance `side_effects` & `unused` (#5181)

2 years agominor clean-up (#5180)
Alex Lam S.L [Fri, 19 Nov 2021 08:34:11 +0000 (08:34 +0000)]
minor clean-up (#5180)

2 years agofix corner cases in `properties` (#5178)
Alex Lam S.L [Tue, 16 Nov 2021 20:21:44 +0000 (20:21 +0000)]
fix corner cases in `properties` (#5178)

fixes #5177

2 years agofix corner case in `join_vars` (#5176)
Alex Lam S.L [Mon, 15 Nov 2021 13:35:54 +0000 (13:35 +0000)]
fix corner case in `join_vars` (#5176)

fixes #5175

2 years agofix corner case in `inline` (#5174)
Alex Lam S.L [Sun, 14 Nov 2021 23:14:08 +0000 (23:14 +0000)]
fix corner case in `inline` (#5174)

fixes #5173

2 years agoenhance `reduce_vars` (#5171)
Alex Lam S.L [Sat, 13 Nov 2021 14:18:56 +0000 (14:18 +0000)]
enhance `reduce_vars` (#5171)

2 years agofix corner case in `collapse_vars` (#5169)
Alex Lam S.L [Sat, 13 Nov 2021 14:18:18 +0000 (14:18 +0000)]
fix corner case in `collapse_vars` (#5169)

fixes #5168

2 years agoinclude Node.js v16 in CI tests (#5170)
Alex Lam S.L [Sat, 13 Nov 2021 10:34:18 +0000 (10:34 +0000)]
include Node.js v16 in CI tests (#5170)

- fix compatibility issues on v0.10 & v0.12

2 years agoenhance `reduce_vars` (#5164)
Alex Lam S.L [Thu, 4 Nov 2021 10:36:39 +0000 (18:36 +0800)]
enhance `reduce_vars` (#5164)

- fix corner case in `join_vars`

2 years agofix corner cases in `reduce_vars` & `rests` (#5166)
Alex Lam S.L [Wed, 3 Nov 2021 13:29:01 +0000 (21:29 +0800)]
fix corner cases in `reduce_vars` & `rests` (#5166)

fixes #5165

2 years agoenhance `join_vars` (#5162)
Alex Lam S.L [Tue, 2 Nov 2021 03:33:24 +0000 (11:33 +0800)]
enhance `join_vars` (#5162)

2 years agoenhance `reduce_vars` (#5163)
Alex Lam S.L [Tue, 2 Nov 2021 03:32:26 +0000 (11:32 +0800)]
enhance `reduce_vars` (#5163)

2 years agov3.14.3
Alex Lam S.L [Mon, 1 Nov 2021 21:03:46 +0000 (05:03 +0800)]
v3.14.3

2 years agofix corner case in `awaits` (#5160)
Alex Lam S.L [Sun, 31 Oct 2021 15:46:55 +0000 (23:46 +0800)]
fix corner case in `awaits` (#5160)

fixes #5159

2 years agofix corner case in `awaits` (#5158)
Alex Lam S.L [Fri, 29 Oct 2021 15:33:10 +0000 (23:33 +0800)]
fix corner case in `awaits` (#5158)

fixes #5157

2 years agofix corner case in `dead_code` (#5154)
Alex Lam S.L [Sun, 24 Oct 2021 22:18:16 +0000 (06:18 +0800)]
fix corner case in `dead_code` (#5154)

fixes #5153

2 years agoparse `let` as symbol names correctly (#5151)
Alex Lam S.L [Wed, 20 Oct 2021 18:14:29 +0000 (02:14 +0800)]
parse `let` as symbol names correctly (#5151)

fixes #5149

2 years agofix issues in tests flagged by LGTM (#5150)
Alex Lam S.L [Wed, 20 Oct 2021 18:07:23 +0000 (02:07 +0800)]
fix issues in tests flagged by LGTM (#5150)

2 years agofix corner cases in `strings` & `templates` (#5147)
Alex Lam S.L [Sat, 16 Oct 2021 10:02:23 +0000 (11:02 +0100)]
fix corner cases in `strings` & `templates` (#5147)

fixes #5145

2 years agodocument ECMAScript quirks (#5148)
Alex Lam S.L [Sat, 16 Oct 2021 05:28:13 +0000 (06:28 +0100)]
document ECMAScript quirks (#5148)

- exclude Node.js v0.8 from CI as npm registry no longer works

closes #5146

2 years agofix corner case in `merge_vars` (#5143)
Alex Lam S.L [Mon, 4 Oct 2021 16:42:46 +0000 (17:42 +0100)]
fix corner case in `merge_vars` (#5143)

fixes #5142

2 years agofix corner case in `inline` (#5141)
Alex Lam S.L [Fri, 1 Oct 2021 22:54:42 +0000 (23:54 +0100)]
fix corner case in `inline` (#5141)

fixes #5140

2 years agofix corner case in `evaluate` (#5139)
Alex Lam S.L [Thu, 30 Sep 2021 18:52:21 +0000 (19:52 +0100)]
fix corner case in `evaluate` (#5139)

fixes #5138

2 years agofix corner case in `templates` (#5137)
Alex Lam S.L [Thu, 30 Sep 2021 13:43:34 +0000 (14:43 +0100)]
fix corner case in `templates` (#5137)

fixes #5136

2 years agoavoid potential RegExp denial-of-service (#5135)
Alex Lam S.L [Wed, 29 Sep 2021 17:49:46 +0000 (18:49 +0100)]
avoid potential RegExp denial-of-service (#5135)

closes #5133
closes #5134

2 years agoenhance `templates` (#5131)
Alex Lam S.L [Thu, 23 Sep 2021 10:26:26 +0000 (11:26 +0100)]
enhance `templates` (#5131)

closes #5125

2 years agoenhance `dead_code` (#5130)
Alex Lam S.L [Tue, 21 Sep 2021 19:11:45 +0000 (20:11 +0100)]
enhance `dead_code` (#5130)

2 years agofix corner case in `rests` (#5129)
Alex Lam S.L [Sun, 19 Sep 2021 21:02:35 +0000 (22:02 +0100)]
fix corner case in `rests` (#5129)

fixes #5128

2 years agov3.14.2
Alex Lam S.L [Tue, 7 Sep 2021 13:52:59 +0000 (21:52 +0800)]
v3.14.2

2 years agotweak test & warnings (#5123)
Alex Lam S.L [Mon, 6 Sep 2021 17:33:23 +0000 (18:33 +0100)]
tweak test & warnings (#5123)

closes #5116
closes #5117
closes #5122

2 years agofix corner case in `reduce_vars` (#5121)
Alex Lam S.L [Wed, 25 Aug 2021 02:39:35 +0000 (03:39 +0100)]
fix corner case in `reduce_vars` (#5121)

fixes #5120

2 years agofix corner case in `side_effects` (#5118)
Alex Lam S.L [Mon, 23 Aug 2021 00:51:59 +0000 (01:51 +0100)]
fix corner case in `side_effects` (#5118)

2 years agofix corner cases in `optional_chains` (#5110)
Alex Lam S.L [Fri, 20 Aug 2021 02:10:10 +0000 (03:10 +0100)]
fix corner cases in `optional_chains` (#5110)

2 years agofix corner case in `inline` (#5115)
Alex Lam S.L [Wed, 18 Aug 2021 07:57:08 +0000 (08:57 +0100)]
fix corner case in `inline` (#5115)

fixes #5114

2 years agofix corner case in `collapse_vars` (#5113)
Alex Lam S.L [Wed, 18 Aug 2021 02:54:24 +0000 (03:54 +0100)]
fix corner case in `collapse_vars` (#5113)

fixes #5112

2 years agofix corner case in `rests` (#5109)
Alex Lam S.L [Mon, 9 Aug 2021 00:59:33 +0000 (01:59 +0100)]
fix corner case in `rests` (#5109)

fixes #5108

2 years agofix corner case in `dead_code` (#5107)
Alex Lam S.L [Fri, 6 Aug 2021 00:35:11 +0000 (01:35 +0100)]
fix corner case in `dead_code` (#5107)

fixes #5106

2 years agoenhance `inline` (#5105)
Alex Lam S.L [Tue, 27 Jul 2021 13:47:01 +0000 (14:47 +0100)]
enhance `inline` (#5105)

2 years agov3.14.1
Alex Lam S.L [Tue, 27 Jul 2021 08:53:57 +0000 (16:53 +0800)]
v3.14.1

2 years agofix `ie8` option alias (#5103)
Alex Lam S.L [Mon, 26 Jul 2021 08:45:43 +0000 (09:45 +0100)]
fix `ie8` option alias (#5103)

fixes #5102

2 years agofix corner case in `unused` (#5101)
Alex Lam S.L [Mon, 26 Jul 2021 08:44:34 +0000 (09:44 +0100)]
fix corner case in `unused` (#5101)

fixes #5100

2 years agofix corner case in `reduce_vars` (#5099)
Alex Lam S.L [Fri, 23 Jul 2021 23:10:14 +0000 (00:10 +0100)]
fix corner case in `reduce_vars` (#5099)

fixes #5098

2 years agofix corner cases in `reduce_vars` (#5097)
Alex Lam S.L [Fri, 23 Jul 2021 09:17:20 +0000 (10:17 +0100)]
fix corner cases in `reduce_vars` (#5097)

fixes #5096

2 years agov3.14.0
Alex Lam S.L [Thu, 22 Jul 2021 13:13:43 +0000 (21:13 +0800)]
v3.14.0

2 years agoextend `keep_quoted_props` over numeric keys (#5094)
Alex Lam S.L [Wed, 21 Jul 2021 22:12:57 +0000 (23:12 +0100)]
extend `keep_quoted_props` over numeric keys (#5094)

fixes #5093

2 years agofix corner case in `merge_vars` (#5092)
Alex Lam S.L [Tue, 20 Jul 2021 18:47:53 +0000 (19:47 +0100)]
fix corner case in `merge_vars` (#5092)

fixes #5091

2 years agofix corner case in `unused` (#5090)
Alex Lam S.L [Tue, 20 Jul 2021 17:10:58 +0000 (18:10 +0100)]
fix corner case in `unused` (#5090)

fixes #5089

2 years agofix corner case in `inline` (#5088)
Alex Lam S.L [Mon, 19 Jul 2021 14:35:45 +0000 (15:35 +0100)]
fix corner case in `inline` (#5088)

fixes #5087

2 years agofix corner case in `unused` (#5086)
Alex Lam S.L [Sun, 18 Jul 2021 11:38:09 +0000 (12:38 +0100)]
fix corner case in `unused` (#5086)

fixes #5085

2 years agoworkaround various IE quirks (#5084)
Alex Lam S.L [Sat, 17 Jul 2021 12:20:56 +0000 (13:20 +0100)]
workaround various IE quirks (#5084)

fixes #5081

2 years agofix corner case in `inline` (#5083)
Alex Lam S.L [Fri, 16 Jul 2021 14:13:33 +0000 (15:13 +0100)]
fix corner case in `inline` (#5083)

fixes #5082

2 years agofix corner case in `unused` (#5080)
Alex Lam S.L [Wed, 14 Jul 2021 15:02:45 +0000 (16:02 +0100)]
fix corner case in `unused` (#5080)

fixes #5079

2 years agosuppress false positives in `ufuzz` (#5078)
Alex Lam S.L [Mon, 12 Jul 2021 20:10:59 +0000 (21:10 +0100)]
suppress false positives in `ufuzz` (#5078)

2 years agofix corner case in `unused` & `yields` (#5077)
Alex Lam S.L [Mon, 12 Jul 2021 15:16:12 +0000 (16:16 +0100)]
fix corner case in `unused` & `yields` (#5077)

fixes #5076

2 years agofix corner cases in `unused` (#5075)
Alex Lam S.L [Sun, 11 Jul 2021 23:43:13 +0000 (00:43 +0100)]
fix corner cases in `unused` (#5075)

fixes #5074

2 years agofix corner cases in `unused` (#5073)
Alex Lam S.L [Sun, 11 Jul 2021 06:52:38 +0000 (07:52 +0100)]
fix corner cases in `unused` (#5073)

fixes #5071

2 years agofix corner case in `awaits` & `side_effects` (#5072)
Alex Lam S.L [Sun, 11 Jul 2021 05:43:08 +0000 (06:43 +0100)]
fix corner case in `awaits` & `side_effects` (#5072)

fixes #5070

2 years agofix corner case in `hoist_props` (#5069)
Alex Lam S.L [Sun, 11 Jul 2021 02:59:57 +0000 (03:59 +0100)]
fix corner case in `hoist_props` (#5069)

2 years agofix corner case in `inline` (#5068)
Alex Lam S.L [Sat, 10 Jul 2021 20:11:10 +0000 (21:11 +0100)]
fix corner case in `inline` (#5068)

fixes #5067

2 years agofix corner case in `unused` (#5066)
Alex Lam S.L [Sat, 10 Jul 2021 16:43:01 +0000 (17:43 +0100)]
fix corner case in `unused` (#5066)

fixes #5065

2 years agoenhance `unused` (#5064)
Alex Lam S.L [Sat, 10 Jul 2021 11:58:57 +0000 (12:58 +0100)]
enhance `unused` (#5064)

2 years agofix corner cases in `rests` & `unused` (#5063)
Alex Lam S.L [Fri, 9 Jul 2021 16:28:23 +0000 (17:28 +0100)]
fix corner cases in `rests` & `unused` (#5063)

2 years agofix corner case in `reduce_vars` (#5062)
Alex Lam S.L [Thu, 8 Jul 2021 08:31:04 +0000 (09:31 +0100)]
fix corner case in `reduce_vars` (#5062)

fixes #5061

2 years agoenhance `evaluate` & `reduce_vars` (#5060)
Alex Lam S.L [Wed, 7 Jul 2021 16:29:23 +0000 (17:29 +0100)]
enhance `evaluate` & `reduce_vars` (#5060)

2 years agosupport destructured shorthand for default parameters (#5059)
Alex Lam S.L [Wed, 7 Jul 2021 14:45:24 +0000 (15:45 +0100)]
support destructured shorthand for default parameters (#5059)

closes #4990

2 years agofix corner cases in `inline` & `unused` (#5058)
Alex Lam S.L [Wed, 7 Jul 2021 02:29:16 +0000 (03:29 +0100)]
fix corner cases in `inline` & `unused` (#5058)

fixes #5057

2 years agofix corner case in `reduce_vars` (#5056)
Alex Lam S.L [Tue, 6 Jul 2021 18:23:09 +0000 (19:23 +0100)]
fix corner case in `reduce_vars` (#5056)

fixes #5055

2 years agofix corner case with `class` (#5054)
Alex Lam S.L [Tue, 6 Jul 2021 08:04:11 +0000 (09:04 +0100)]
fix corner case with `class` (#5054)

fixes #5053

2 years agoenhance `functions` (#5052)
Alex Lam S.L [Mon, 5 Jul 2021 18:43:09 +0000 (19:43 +0100)]
enhance `functions` (#5052)

2 years agofix corner case in `reduce_vars` (#5051)
Alex Lam S.L [Mon, 5 Jul 2021 03:57:58 +0000 (04:57 +0100)]
fix corner case in `reduce_vars` (#5051)

fixes #5050

2 years agofix corner case in `reduce_funcs` (#5049)
Alex Lam S.L [Sun, 4 Jul 2021 07:09:05 +0000 (08:09 +0100)]
fix corner case in `reduce_funcs` (#5049)

fixes #5048

2 years agofix corner case in `reduce_vars` (#5047)
Alex Lam S.L [Sun, 4 Jul 2021 05:45:09 +0000 (06:45 +0100)]
fix corner case in `reduce_vars` (#5047)

fixes #5046

2 years agoenhance `functions` & `reduce_vars` (#5045)
Alex Lam S.L [Sat, 3 Jul 2021 22:19:08 +0000 (23:19 +0100)]
enhance `functions` & `reduce_vars` (#5045)

2 years agotweak `beautify` output (#5044)
Alex Lam S.L [Sat, 3 Jul 2021 15:10:39 +0000 (16:10 +0100)]
tweak `beautify` output (#5044)

2 years agoenhance `booleans` (#5043)
Alex Lam S.L [Wed, 30 Jun 2021 19:05:52 +0000 (20:05 +0100)]
enhance `booleans` (#5043)

2 years agofix corner case in `booleans` (#5042)
Alex Lam S.L [Wed, 30 Jun 2021 16:52:54 +0000 (17:52 +0100)]
fix corner case in `booleans` (#5042)

fixes #5041

2 years agofix corner case in `ie8` (#5040)
Alex Lam S.L [Tue, 29 Jun 2021 18:14:07 +0000 (19:14 +0100)]
fix corner case in `ie8` (#5040)

fixes #5039

2 years agoenhance `reduce_vars` (#5038)
Alex Lam S.L [Mon, 28 Jun 2021 19:51:44 +0000 (20:51 +0100)]
enhance `reduce_vars` (#5038)

2 years agov3.13.10
Alex Lam S.L [Sun, 27 Jun 2021 14:59:34 +0000 (22:59 +0800)]
v3.13.10

2 years agofix corner case in `functions` (#5037)
Alex Lam S.L [Thu, 24 Jun 2021 19:43:52 +0000 (20:43 +0100)]
fix corner case in `functions` (#5037)

fixes #5036

2 years agofix corner case in `functions` (#5035)
Alex Lam S.L [Thu, 24 Jun 2021 11:43:46 +0000 (12:43 +0100)]
fix corner case in `functions` (#5035)

fixes #5034

2 years agoworkaround Safari quirks (#5033)
Alex Lam S.L [Thu, 24 Jun 2021 09:09:19 +0000 (10:09 +0100)]
workaround Safari quirks (#5033)

closes #5032

2 years agofix corner case in `dead_code` (#5031)
Alex Lam S.L [Wed, 23 Jun 2021 14:56:28 +0000 (15:56 +0100)]
fix corner case in `dead_code` (#5031)

fixes #5030

2 years agofix corner cases in `booleans` (#5029)
Alex Lam S.L [Tue, 22 Jun 2021 23:42:57 +0000 (00:42 +0100)]
fix corner cases in `booleans` (#5029)

fixes #5028

2 years agofix corner case in `collapse_vars` (#5026)
Alex Lam S.L [Tue, 22 Jun 2021 21:03:11 +0000 (22:03 +0100)]
fix corner case in `collapse_vars` (#5026)

fixes #5025

2 years agofix corner case in `side_effects` (#5024)
Alex Lam S.L [Tue, 22 Jun 2021 16:36:07 +0000 (17:36 +0100)]
fix corner case in `side_effects` (#5024)

fixes #5023

2 years agoenhance `booleans` (#5022)
Alex Lam S.L [Tue, 22 Jun 2021 16:35:50 +0000 (17:35 +0100)]
enhance `booleans` (#5022)

closes #5021

2 years agofix corner cases in `dead_code` & `inline` (#5020)
Alex Lam S.L [Mon, 21 Jun 2021 14:28:54 +0000 (15:28 +0100)]
fix corner cases in `dead_code` & `inline` (#5020)

fixes #5019

2 years agofix corner case in `collapse_vars` (#5018)
Alex Lam S.L [Mon, 21 Jun 2021 03:12:45 +0000 (04:12 +0100)]
fix corner case in `collapse_vars` (#5018)

fixes #5017

2 years agofix corner cases in `reduce_vars` & `side_effects` (#5016)
Alex Lam S.L [Sun, 20 Jun 2021 19:13:05 +0000 (20:13 +0100)]
fix corner cases in `reduce_vars` & `side_effects` (#5016)

fixes #5015

2 years agoenhance `dead_code` (#5014)
Alex Lam S.L [Sun, 20 Jun 2021 07:30:04 +0000 (08:30 +0100)]
enhance `dead_code` (#5014)

2 years agofix corner case in `switches` (#5013)
Alex Lam S.L [Tue, 15 Jun 2021 15:51:53 +0000 (16:51 +0100)]
fix corner case in `switches` (#5013)

fixes #5012

2 years agofix corner case in `switches` (#5011)
Alex Lam S.L [Tue, 15 Jun 2021 12:59:53 +0000 (13:59 +0100)]
fix corner case in `switches` (#5011)

fixes #5010

2 years agofix corner case in `switches` (#5009)
Alex Lam S.L [Tue, 15 Jun 2021 10:27:55 +0000 (11:27 +0100)]
fix corner case in `switches` (#5009)

fixes #5008

2 years agofix corner case in `arguments` (#5007)
Alex Lam S.L [Tue, 15 Jun 2021 04:53:22 +0000 (05:53 +0100)]
fix corner case in `arguments` (#5007)

fixes #5006

2 years agoenhance `switches` (#5005)
Alex Lam S.L [Tue, 15 Jun 2021 02:32:39 +0000 (03:32 +0100)]
enhance `switches` (#5005)

closes #5004