UglifyJS.git
2 years agofix corner case in `unused` (#5225)
Alex Lam S.L [Sun, 19 Dec 2021 18:25:38 +0000 (18:25 +0000)]
fix corner case in `unused` (#5225)

fixes #5224

2 years agofix corner case in `hoist_props` (#5223)
Alex Lam S.L [Wed, 15 Dec 2021 18:57:34 +0000 (18:57 +0000)]
fix corner case in `hoist_props` (#5223)

fixes #5222

2 years agoimprove `compress` efficiency (#5220)
Alex Lam S.L [Wed, 15 Dec 2021 00:08:24 +0000 (00:08 +0000)]
improve `compress` efficiency (#5220)

2 years agospeed up `compress` (#5219)
Alex Lam S.L [Mon, 13 Dec 2021 23:42:47 +0000 (23:42 +0000)]
speed up `compress` (#5219)

2 years agov3.14.5
Alex Lam S.L [Mon, 13 Dec 2021 00:11:48 +0000 (08:11 +0800)]
v3.14.5

2 years agosuppress false positives in `ufuzz` (#5216)
Alex Lam S.L [Sat, 11 Dec 2021 22:19:06 +0000 (06:19 +0800)]
suppress false positives in `ufuzz` (#5216)

closes #5212
closes #5215

2 years agofix corner case in `objects` (#5214)
Alex Lam S.L [Thu, 9 Dec 2021 22:02:22 +0000 (22:02 +0000)]
fix corner case in `objects` (#5214)

fixes #5213

2 years agominor clean-up (#5210)
Alex Lam S.L [Thu, 9 Dec 2021 20:48:06 +0000 (20:48 +0000)]
minor clean-up (#5210)

2 years agominor clean-up (#5209)
Alex Lam S.L [Wed, 8 Dec 2021 21:14:57 +0000 (21:14 +0000)]
minor clean-up (#5209)

2 years agoworkaround v8 performance quirks (#5207)
Alex Lam S.L [Wed, 8 Dec 2021 05:40:47 +0000 (05:40 +0000)]
workaround v8 performance quirks (#5207)

2 years agoworkaround Unicode compatibility in testing (#5206)
Alex Lam S.L [Tue, 7 Dec 2021 10:56:57 +0000 (10:56 +0000)]
workaround Unicode compatibility in testing (#5206)

2 years agoimprove sandbox resilience against process aborts (#5205)
Alex Lam S.L [Mon, 6 Dec 2021 20:54:58 +0000 (20:54 +0000)]
improve sandbox resilience against process aborts (#5205)

2 years agoimprove testing compatibility with Node.js (#5204)
Alex Lam S.L [Mon, 6 Dec 2021 14:42:45 +0000 (14:42 +0000)]
improve testing compatibility with Node.js (#5204)

2 years agoreduce memory pressure via bit fields (#5203)
Alex Lam S.L [Mon, 6 Dec 2021 03:30:05 +0000 (03:30 +0000)]
reduce memory pressure via bit fields (#5203)

2 years agoimprove `Dictionary` performance (#5202)
Alex Lam S.L [Sun, 5 Dec 2021 06:58:52 +0000 (06:58 +0000)]
improve `Dictionary` performance (#5202)

- workaround `__proto__` quirks on v8

2 years agov3.14.4
Alex Lam S.L [Tue, 30 Nov 2021 18:34:20 +0000 (02:34 +0800)]
v3.14.4

2 years agoworkaround sporadic slowdown in GitHub Actions (#5201)
Alex Lam S.L [Sun, 28 Nov 2021 00:45:29 +0000 (00:45 +0000)]
workaround sporadic slowdown in GitHub Actions (#5201)

2 years agofix corner case in `collapse_vars` (#5200)
Alex Lam S.L [Sat, 27 Nov 2021 17:43:43 +0000 (17:43 +0000)]
fix corner case in `collapse_vars` (#5200)

fixes #5199

2 years agoworkaround `toString()` quirks on global context (#5198)
Alex Lam S.L [Sat, 27 Nov 2021 15:17:51 +0000 (15:17 +0000)]
workaround `toString()` quirks on global context (#5198)

closes #5197

2 years agofix corner case in `hoist_vars` (#5196)
Alex Lam S.L [Wed, 24 Nov 2021 20:49:38 +0000 (20:49 +0000)]
fix corner case in `hoist_vars` (#5196)

fixes #5195

2 years agoenhance `merge_vars` (#5194)
Alex Lam S.L [Wed, 24 Nov 2021 10:21:50 +0000 (10:21 +0000)]
enhance `merge_vars` (#5194)

closes #5182

2 years agofix corner case in `ie` (#5193)
Alex Lam S.L [Wed, 24 Nov 2021 09:29:26 +0000 (09:29 +0000)]
fix corner case in `ie` (#5193)

fixes #5192

2 years agoenhance `collapse_vars` (#5186)
Alex Lam S.L [Wed, 24 Nov 2021 09:28:36 +0000 (09:28 +0000)]
enhance `collapse_vars` (#5186)

closes #5182

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)