UglifyJS.git
3 years agospeed up `compress` tests (#4737)
Alex Lam S.L [Fri, 5 Mar 2021 17:11:05 +0000 (17:11 +0000)]
speed up `compress` tests (#4737)

3 years agoenhance `collapse_vars` (#4735)
Alex Lam S.L [Fri, 5 Mar 2021 05:18:01 +0000 (05:18 +0000)]
enhance `collapse_vars` (#4735)

3 years agofix corner case in `collapse_vars` (#4733)
Alex Lam S.L [Thu, 4 Mar 2021 09:13:54 +0000 (09:13 +0000)]
fix corner case in `collapse_vars` (#4733)

fixes #4732

3 years agofix corner cases in `ie8` & `side_effects` (#4731)
Alex Lam S.L [Wed, 3 Mar 2021 19:30:07 +0000 (19:30 +0000)]
fix corner cases in `ie8` & `side_effects` (#4731)

fixes #4729
fixes #4730

3 years agoenhance `side_effects` (#4727)
Alex Lam S.L [Wed, 3 Mar 2021 10:47:17 +0000 (10:47 +0000)]
enhance `side_effects` (#4727)

3 years agoimprove `ufuzz` test generation (#4724)
Alex Lam S.L [Wed, 3 Mar 2021 07:42:46 +0000 (07:42 +0000)]
improve `ufuzz` test generation (#4724)

3 years agofix corner case in `inline` (#4726)
Alex Lam S.L [Wed, 3 Mar 2021 01:18:02 +0000 (01:18 +0000)]
fix corner case in `inline` (#4726)

fixes #4725

3 years agofix corner cases with `class` (#4723)
Alex Lam S.L [Tue, 2 Mar 2021 19:32:58 +0000 (19:32 +0000)]
fix corner cases with `class` (#4723)

fixes #4720
fixes #4721
fixes #4722

3 years agofix corner cases in `varify` (#4719)
Alex Lam S.L [Tue, 2 Mar 2021 15:33:58 +0000 (15:33 +0000)]
fix corner cases in `varify` (#4719)

3 years agofix corner case in `inline` & `sequences` (#4718)
Alex Lam S.L [Tue, 2 Mar 2021 09:39:34 +0000 (09:39 +0000)]
fix corner case in `inline` & `sequences` (#4718)

fixes #4717

3 years agofix corner case in `evaluate` (#4716)
Alex Lam S.L [Tue, 2 Mar 2021 09:33:28 +0000 (09:33 +0000)]
fix corner case in `evaluate` (#4716)

fixes #4715

3 years agoenhance `reduce_vars` & `varify` (#4714)
Alex Lam S.L [Tue, 2 Mar 2021 07:27:55 +0000 (07:27 +0000)]
enhance `reduce_vars` & `varify` (#4714)

3 years agoenhance `reduce_vars` & `side_effects` (#4712)
Alex Lam S.L [Tue, 2 Mar 2021 05:43:10 +0000 (05:43 +0000)]
enhance `reduce_vars` & `side_effects` (#4712)

3 years agofix corner case with `class` (#4713)
Alex Lam S.L [Tue, 2 Mar 2021 04:08:08 +0000 (04:08 +0000)]
fix corner case with `class` (#4713)

3 years agoenhance `side_effects` & `unused` (#4711)
Alex Lam S.L [Mon, 1 Mar 2021 20:55:09 +0000 (04:55 +0800)]
enhance `side_effects` & `unused` (#4711)

3 years agov3.13.0
Alex Lam S.L [Mon, 1 Mar 2021 15:24:17 +0000 (23:24 +0800)]
v3.13.0

3 years agofix corner cases with `import` (#4709)
Alex Lam S.L [Sun, 28 Feb 2021 23:13:49 +0000 (23:13 +0000)]
fix corner cases with `import` (#4709)

fixes #4708

3 years agosupport limited `ufuzz` testing for `import` (#4707)
Alex Lam S.L [Sun, 28 Feb 2021 18:27:41 +0000 (18:27 +0000)]
support limited `ufuzz` testing for `import` (#4707)

3 years agofix corner case `reduce_vars` (#4706)
Alex Lam S.L [Sat, 27 Feb 2021 20:41:21 +0000 (20:41 +0000)]
fix corner case `reduce_vars` (#4706)

fixes #4705

3 years agoimprove `export` compatibility mode (#4704)
Alex Lam S.L [Sat, 27 Feb 2021 13:06:23 +0000 (13:06 +0000)]
improve `export` compatibility mode (#4704)

3 years agoimprove `export` compatibility mode (#4703)
Alex Lam S.L [Sat, 27 Feb 2021 06:05:36 +0000 (06:05 +0000)]
improve `export` compatibility mode (#4703)

3 years agofix corner cases with `export` (#4699)
Alex Lam S.L [Sat, 27 Feb 2021 02:15:14 +0000 (02:15 +0000)]
fix corner cases with `export` (#4699)

fixes #4698
fixes #4700
fixes #4701
fixes #4702

3 years agofix corner case with `arguments` (#4697)
Alex Lam S.L [Sat, 27 Feb 2021 01:26:15 +0000 (01:26 +0000)]
fix corner case with `arguments` (#4697)

fixes #4696

3 years agosupport limited `ufuzz` testing for `export` (#4693)
Alex Lam S.L [Fri, 26 Feb 2021 20:56:34 +0000 (20:56 +0000)]
support limited `ufuzz` testing for `export` (#4693)

fixes #4692

3 years agofix corner cases with block-scoped functions (#4695)
Alex Lam S.L [Fri, 26 Feb 2021 20:16:14 +0000 (20:16 +0000)]
fix corner cases with block-scoped functions (#4695)

3 years agouse strict-mode-safe placeholder (#4694)
Alex Lam S.L [Fri, 26 Feb 2021 08:43:53 +0000 (08:43 +0000)]
use strict-mode-safe placeholder (#4694)

3 years agofix corner cases with `exports` (#4691)
Alex Lam S.L [Thu, 25 Feb 2021 18:22:49 +0000 (18:22 +0000)]
fix corner cases with `exports` (#4691)

3 years agofix corner cases in `sequences` (#4690)
Alex Lam S.L [Thu, 25 Feb 2021 04:48:40 +0000 (04:48 +0000)]
fix corner cases in `sequences` (#4690)

fixes #4689

3 years agofix corner cases with arrow functions (#4688)
Alex Lam S.L [Thu, 25 Feb 2021 01:01:45 +0000 (01:01 +0000)]
fix corner cases with arrow functions (#4688)

fixes #4687

3 years agofix corner case in `collapse_vars` (#4686)
Alex Lam S.L [Wed, 24 Feb 2021 21:31:12 +0000 (21:31 +0000)]
fix corner case in `collapse_vars` (#4686)

fixes #4685

3 years agofix corner case in `loops` (#4684)
Alex Lam S.L [Wed, 24 Feb 2021 20:41:21 +0000 (20:41 +0000)]
fix corner case in `loops` (#4684)

fixes #4683

3 years agofix corner case in `unused` (#4682)
Alex Lam S.L [Wed, 24 Feb 2021 18:17:28 +0000 (18:17 +0000)]
fix corner case in `unused` (#4682)

fixes #4681

3 years agofix corner case in `comparisons` (#4680)
Alex Lam S.L [Wed, 24 Feb 2021 13:38:44 +0000 (13:38 +0000)]
fix corner case in `comparisons` (#4680)

fixes #4679

3 years agosupport nullish coalescing operator (#4678)
Alex Lam S.L [Tue, 23 Feb 2021 21:57:11 +0000 (21:57 +0000)]
support nullish coalescing operator (#4678)

3 years agosupport `class` literals (#4658)
Alex Lam S.L [Tue, 23 Feb 2021 14:55:08 +0000 (14:55 +0000)]
support `class` literals (#4658)

3 years agofix corner case in `templates` (#4677)
Alex Lam S.L [Mon, 22 Feb 2021 15:59:28 +0000 (15:59 +0000)]
fix corner case in `templates` (#4677)

fixes #4676

3 years agoenhance `side_effects` (#4675)
Alex Lam S.L [Mon, 22 Feb 2021 07:44:16 +0000 (07:44 +0000)]
enhance `side_effects` (#4675)

3 years agoimprove CLI usability (#4670)
Alex Lam S.L [Mon, 22 Feb 2021 07:27:03 +0000 (07:27 +0000)]
improve CLI usability (#4670)

closes #3308

3 years agofix corner cases in `reduce_vars` (#4674)
Alex Lam S.L [Mon, 22 Feb 2021 00:21:21 +0000 (00:21 +0000)]
fix corner cases in `reduce_vars` (#4674)

3 years agofix corner cases with `export default` (#4673)
Alex Lam S.L [Sun, 21 Feb 2021 05:01:56 +0000 (05:01 +0000)]
fix corner cases with `export default` (#4673)

3 years agofix corner case with `import` (#4672)
Alex Lam S.L [Sun, 21 Feb 2021 02:00:34 +0000 (02:00 +0000)]
fix corner case with `import` (#4672)

3 years agoparse dynamic `import` correctly (#4671)
Alex Lam S.L [Sat, 20 Feb 2021 22:54:15 +0000 (22:54 +0000)]
parse dynamic `import` correctly (#4671)

3 years agofix corner case in `conditionals` & `side_effects` (#4669)
Alex Lam S.L [Sat, 20 Feb 2021 03:13:15 +0000 (03:13 +0000)]
fix corner case in `conditionals` & `side_effects` (#4669)

fixes #4668

3 years agofix corner cases in arrow functions & `rests` (#4667)
Alex Lam S.L [Fri, 19 Feb 2021 00:26:57 +0000 (00:26 +0000)]
fix corner cases in arrow functions & `rests` (#4667)

fixes #4666

3 years agofix corner case in `reduce_vars` (#4665)
Alex Lam S.L [Thu, 18 Feb 2021 18:04:33 +0000 (18:04 +0000)]
fix corner case in `reduce_vars` (#4665)

fixes #4664

3 years agofix corner case in `reduce_vars` (#4663)
Alex Lam S.L [Thu, 18 Feb 2021 15:24:55 +0000 (15:24 +0000)]
fix corner case in `reduce_vars` (#4663)

fixes #4662

3 years agofix corner case in `inline` (#4660)
Alex Lam S.L [Thu, 18 Feb 2021 08:15:44 +0000 (08:15 +0000)]
fix corner case in `inline` (#4660)

fixes #4659

3 years agoworkaround bug in ECMAScript specification (#4656)
Alex Lam S.L [Tue, 16 Feb 2021 15:39:06 +0000 (15:39 +0000)]
workaround bug in ECMAScript specification (#4656)

closes #4655

3 years agofix corner case in `reduce_vars` (#4654)
Alex Lam S.L [Mon, 15 Feb 2021 22:46:45 +0000 (22:46 +0000)]
fix corner case in `reduce_vars` (#4654)

fixes #4653

3 years agofix syntax error in tests (#4652)
Alex Lam S.L [Mon, 15 Feb 2021 06:41:07 +0000 (06:41 +0000)]
fix syntax error in tests (#4652)

3 years agointroduce `hoist_exports` (#4651)
Alex Lam S.L [Mon, 15 Feb 2021 01:01:18 +0000 (01:01 +0000)]
introduce `hoist_exports` (#4651)

3 years agosupport `export` statements (#4650)
Alex Lam S.L [Sun, 14 Feb 2021 20:13:54 +0000 (20:13 +0000)]
support `export` statements (#4650)

3 years agosupport `import` statements (#4646)
Alex Lam S.L [Sat, 13 Feb 2021 20:26:43 +0000 (20:26 +0000)]
support `import` statements (#4646)

3 years agoimprove fix for #4325 (#4649)
Alex Lam S.L [Sat, 13 Feb 2021 18:24:57 +0000 (18:24 +0000)]
improve fix for #4325 (#4649)

3 years agov3.12.8
Alex Lam S.L [Sat, 13 Feb 2021 13:38:27 +0000 (21:38 +0800)]
v3.12.8

3 years agoavoid false positive in `--reduce-test` (#4648)
Alex Lam S.L [Sat, 13 Feb 2021 13:15:11 +0000 (13:15 +0000)]
avoid false positive in `--reduce-test` (#4648)

3 years agofix corner case in `evaluate` (#4645)
Alex Lam S.L [Thu, 11 Feb 2021 19:26:12 +0000 (19:26 +0000)]
fix corner case in `evaluate` (#4645)

fixes #4644

3 years agoenhance `join_vars` (#4643)
Alex Lam S.L [Wed, 10 Feb 2021 20:59:25 +0000 (20:59 +0000)]
enhance `join_vars` (#4643)

3 years agofix corner cases with asynchronous generators (#4642)
Alex Lam S.L [Wed, 10 Feb 2021 15:41:00 +0000 (15:41 +0000)]
fix corner cases with asynchronous generators (#4642)

fixes #4641

3 years agoenhance `collapse_vars` (#4637)
Alex Lam S.L [Wed, 10 Feb 2021 15:06:12 +0000 (15:06 +0000)]
enhance `collapse_vars` (#4637)

3 years agofix corner cases in `inline` (#4640)
Alex Lam S.L [Wed, 10 Feb 2021 12:40:57 +0000 (12:40 +0000)]
fix corner cases in `inline` (#4640)

fixes #4639

3 years agoenhance `side_effects` (#4638)
Alex Lam S.L [Wed, 10 Feb 2021 10:09:54 +0000 (10:09 +0000)]
enhance `side_effects` (#4638)

3 years agofix corner case in `reduce_vars` (#4636)
Alex Lam S.L [Wed, 10 Feb 2021 02:37:00 +0000 (02:37 +0000)]
fix corner case in `reduce_vars` (#4636)

3 years agofix corner case in `merge_vars` (#4635)
Alex Lam S.L [Wed, 10 Feb 2021 01:13:38 +0000 (01:13 +0000)]
fix corner case in `merge_vars` (#4635)

3 years agofix corner case in `collapse_vars` (#4634)
Alex Lam S.L [Wed, 10 Feb 2021 00:45:36 +0000 (00:45 +0000)]
fix corner case in `collapse_vars` (#4634)

fixes #4633

3 years agoreject invalid `for...of` syntax (#4632)
Alex Lam S.L [Tue, 9 Feb 2021 21:42:27 +0000 (21:42 +0000)]
reject invalid `for...of` syntax (#4632)

3 years agofix corner case with template literals (#4631)
Alex Lam S.L [Tue, 9 Feb 2021 06:21:15 +0000 (06:21 +0000)]
fix corner case with template literals (#4631)

fixes #4630

3 years agofix corner case in `merge_vars` (#4629)
Alex Lam S.L [Tue, 9 Feb 2021 04:36:12 +0000 (04:36 +0000)]
fix corner case in `merge_vars` (#4629)

fixes #4628

3 years agosupport `for [await]...of` statements (#4627)
Alex Lam S.L [Mon, 8 Feb 2021 20:28:23 +0000 (20:28 +0000)]
support `for [await]...of` statements (#4627)

3 years agoimprove false positive detection in `ufuzz` (#4626)
Alex Lam S.L [Mon, 8 Feb 2021 12:17:14 +0000 (12:17 +0000)]
improve false positive detection in `ufuzz` (#4626)

3 years agofix corner case in `--reduce-test` (#4625)
Alex Lam S.L [Mon, 8 Feb 2021 11:16:21 +0000 (11:16 +0000)]
fix corner case in `--reduce-test` (#4625)

3 years agofix corner case in `conditionals` (#4624)
Alex Lam S.L [Mon, 8 Feb 2021 10:31:08 +0000 (10:31 +0000)]
fix corner case in `conditionals` (#4624)

fixes #4623

3 years agosupport generator functions (#4620)
Alex Lam S.L [Sun, 7 Feb 2021 22:44:20 +0000 (22:44 +0000)]
support generator functions (#4620)

3 years agofix corner case in `side_effects` (#4622)
Alex Lam S.L [Sun, 7 Feb 2021 14:40:41 +0000 (14:40 +0000)]
fix corner case in `side_effects` (#4622)

fixes #4621

3 years agofix corner case in `functions` (#4619)
Alex Lam S.L [Sun, 7 Feb 2021 05:52:09 +0000 (05:52 +0000)]
fix corner case in `functions` (#4619)

fixes #4618

3 years agov3.12.7
Alex Lam S.L [Sat, 6 Feb 2021 18:43:47 +0000 (02:43 +0800)]
v3.12.7

3 years agoenhance `compress` on arrow and `async` functions (#4616)
Alex Lam S.L [Sat, 6 Feb 2021 04:39:46 +0000 (04:39 +0000)]
enhance `compress` on arrow and `async` functions (#4616)

3 years agofix corner case in `pure_getters` (#4615)
Alex Lam S.L [Fri, 5 Feb 2021 01:03:51 +0000 (01:03 +0000)]
fix corner case in `pure_getters` (#4615)

fixes #4614

3 years agofix corner cases with function inlining (#4613)
Alex Lam S.L [Thu, 4 Feb 2021 20:49:37 +0000 (20:49 +0000)]
fix corner cases with function inlining (#4613)

fixes #4612

3 years agofix corner cases in `templates` (#4610)
Alex Lam S.L [Tue, 2 Feb 2021 17:39:30 +0000 (17:39 +0000)]
fix corner cases in `templates` (#4610)

3 years agofix corner case in `arguments` (#4609)
Alex Lam S.L [Tue, 2 Feb 2021 15:07:31 +0000 (15:07 +0000)]
fix corner case in `arguments` (#4609)

fixes #4608

3 years agofix corner case in `templates` (#4607)
Alex Lam S.L [Mon, 1 Feb 2021 18:29:43 +0000 (18:29 +0000)]
fix corner case in `templates` (#4607)

fixes #4606

3 years agofix corner case in `collapse_vars` (#4605)
Alex Lam S.L [Mon, 1 Feb 2021 15:24:11 +0000 (15:24 +0000)]
fix corner case in `collapse_vars` (#4605)

fixes #4604

3 years agointroduce `templates` (#4603)
Alex Lam S.L [Mon, 1 Feb 2021 09:20:13 +0000 (09:20 +0000)]
introduce `templates` (#4603)

3 years agosupport template literals (#4601)
Alex Lam S.L [Mon, 1 Feb 2021 02:36:45 +0000 (02:36 +0000)]
support template literals (#4601)

3 years agov3.12.6
Alex Lam S.L [Sun, 31 Jan 2021 17:37:32 +0000 (01:37 +0800)]
v3.12.6

3 years agofix corner case in `conditionals` (#4599)
Alex Lam S.L [Sat, 30 Jan 2021 08:54:29 +0000 (08:54 +0000)]
fix corner case in `conditionals` (#4599)

fixes #4598

3 years agosuppress false positives due to nested objects (#4597)
Alex Lam S.L [Fri, 29 Jan 2021 05:21:19 +0000 (05:21 +0000)]
suppress false positives due to nested objects (#4597)

3 years agofix corner case in `inline` (#4596)
Alex Lam S.L [Tue, 26 Jan 2021 17:30:05 +0000 (17:30 +0000)]
fix corner case in `inline` (#4596)

fixes #4595

3 years agoworkaround tty bugs on Node.js (#4594)
Alex Lam S.L [Tue, 26 Jan 2021 15:07:48 +0000 (15:07 +0000)]
workaround tty bugs on Node.js (#4594)

3 years agosupport exponentiation operator (#4593)
Alex Lam S.L [Sun, 24 Jan 2021 21:48:51 +0000 (21:48 +0000)]
support exponentiation operator (#4593)

3 years agofix infinite recursion in `ufuzz` code generation (#4592)
Alex Lam S.L [Sun, 24 Jan 2021 15:37:57 +0000 (15:37 +0000)]
fix infinite recursion in `ufuzz` code generation (#4592)

3 years agofix corner cases in `collapse_vars` (#4591)
Alex Lam S.L [Sun, 24 Jan 2021 14:15:43 +0000 (14:15 +0000)]
fix corner cases in `collapse_vars` (#4591)

fixes #4590

3 years agofix corner cases with default parameters (#4589)
Alex Lam S.L [Sun, 24 Jan 2021 03:00:47 +0000 (03:00 +0000)]
fix corner cases with default parameters (#4589)

fixes #4588

3 years agosupport BigInt literals (#4583)
Alex Lam S.L [Sun, 24 Jan 2021 01:51:18 +0000 (01:51 +0000)]
support BigInt literals (#4583)

3 years agofix corner case in `collapse_vars` (#4587)
Alex Lam S.L [Sat, 23 Jan 2021 23:05:43 +0000 (23:05 +0000)]
fix corner case in `collapse_vars` (#4587)

fixes #4586

3 years agofix corner case in `reduce_vars` (#4585)
Alex Lam S.L [Sat, 23 Jan 2021 19:37:52 +0000 (19:37 +0000)]
fix corner case in `reduce_vars` (#4585)

fixes #4584

3 years agofix corner case in `reduce_vars` (#4582)
Alex Lam S.L [Fri, 22 Jan 2021 18:14:53 +0000 (18:14 +0000)]
fix corner case in `reduce_vars` (#4582)

fixes #4581

3 years agoimprove `ufuzz` on destructuring (#4580)
Alex Lam S.L [Fri, 22 Jan 2021 18:00:26 +0000 (18:00 +0000)]
improve `ufuzz` on destructuring (#4580)

3 years agoworkaround Node.js bug (#4579)
Alex Lam S.L [Fri, 22 Jan 2021 03:34:30 +0000 (03:34 +0000)]
workaround Node.js bug (#4579)