UglifyJS.git
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

2 years agofix corner case in `side_effects` (#5002)
Alex Lam S.L [Sun, 13 Jun 2021 12:29:14 +0000 (13:29 +0100)]
fix corner case in `side_effects` (#5002)

fixes #5001

2 years agofix corner cases in `parse` & `unused` (#5000)
Alex Lam S.L [Sat, 12 Jun 2021 16:10:01 +0000 (17:10 +0100)]
fix corner cases in `parse` & `unused` (#5000)

2 years agominor clean-up (#4998)
Alex Lam S.L [Sat, 12 Jun 2021 01:20:06 +0000 (09:20 +0800)]
minor clean-up (#4998)

2 years agofix corner case in `reduce_vars` (#4997)
Alex Lam S.L [Thu, 10 Jun 2021 00:03:17 +0000 (01:03 +0100)]
fix corner case in `reduce_vars` (#4997)

fixes #4996

2 years agofix corner cases in `loops` & `unused` (#4995)
Alex Lam S.L [Wed, 9 Jun 2021 23:58:33 +0000 (00:58 +0100)]
fix corner cases in `loops` & `unused` (#4995)

fixes #4994

2 years agov3.13.9
Alex Lam S.L [Fri, 4 Jun 2021 21:21:10 +0000 (05:21 +0800)]
v3.13.9

2 years agofix corner case in `unused` (#4993)
Alex Lam S.L [Thu, 3 Jun 2021 12:23:14 +0000 (13:23 +0100)]
fix corner case in `unused` (#4993)

fixes #4992

2 years agoworkaround GitHub Actions issues (#4991)
Alex Lam S.L [Tue, 1 Jun 2021 18:43:34 +0000 (19:43 +0100)]
workaround GitHub Actions issues (#4991)

2 years agoworkaround transient `npm` failures (#4989)
Alex Lam S.L [Sun, 30 May 2021 09:19:29 +0000 (10:19 +0100)]
workaround transient `npm` failures (#4989)

2 years agoimprove handling of declaration statements (#4980)
Alex Lam S.L [Sun, 30 May 2021 08:32:48 +0000 (09:32 +0100)]
improve handling of declaration statements (#4980)

2 years agofix corner case in `awaits` (#4988)
Alex Lam S.L [Sun, 30 May 2021 05:40:13 +0000 (06:40 +0100)]
fix corner case in `awaits` (#4988)

fixes #4987

2 years agofix corner case in `hoist_props` (#4986)
Alex Lam S.L [Sun, 30 May 2021 04:00:32 +0000 (05:00 +0100)]
fix corner case in `hoist_props` (#4986)

fixes #4985

2 years agofix corner case in `dead_code` (#4984)
Alex Lam S.L [Sun, 30 May 2021 03:07:55 +0000 (04:07 +0100)]
fix corner case in `dead_code` (#4984)

2 years agofix corner case in `dead_code` (#4983)
Alex Lam S.L [Sun, 30 May 2021 01:00:48 +0000 (02:00 +0100)]
fix corner case in `dead_code` (#4983)

fixes #4982

2 years agofix corner case in `dead_code` (#4981)
Alex Lam S.L [Sat, 29 May 2021 19:16:18 +0000 (20:16 +0100)]
fix corner case in `dead_code` (#4981)

2 years agoimprove handling of lexical scope (#4979)
Alex Lam S.L [Sat, 29 May 2021 04:48:34 +0000 (05:48 +0100)]
improve handling of lexical scope (#4979)

2 years agofix corner cases in `collapse_vars` (#4978)
Alex Lam S.L [Sat, 29 May 2021 00:57:24 +0000 (01:57 +0100)]
fix corner cases in `collapse_vars` (#4978)

fixes #4977

2 years agofix corner cases in `awaits` (#4976)
Alex Lam S.L [Fri, 28 May 2021 17:47:54 +0000 (18:47 +0100)]
fix corner cases in `awaits` (#4976)

fixes #4974
fixes #4975

2 years agofix corner case in `awaits` (#4973)
Alex Lam S.L [Fri, 28 May 2021 02:53:10 +0000 (03:53 +0100)]
fix corner case in `awaits` (#4973)

fixes #4972

2 years agoenhance `awaits` (#4971)
Alex Lam S.L [Fri, 28 May 2021 00:47:37 +0000 (01:47 +0100)]
enhance `awaits` (#4971)

2 years agofix corner case in `collapse_vars` (#4970)
Alex Lam S.L [Thu, 27 May 2021 22:32:43 +0000 (23:32 +0100)]
fix corner case in `collapse_vars` (#4970)

2 years agoenhance `awaits` (#4969)
Alex Lam S.L [Thu, 27 May 2021 16:57:14 +0000 (17:57 +0100)]
enhance `awaits` (#4969)

2 years agoenhance `unused` (#4968)
Alex Lam S.L [Wed, 26 May 2021 14:25:07 +0000 (15:25 +0100)]
enhance `unused` (#4968)