UglifyJS.git
3 years agobuild Bootstrap for verification testing (#4795)
Alex Lam S.L [Wed, 17 Mar 2021 14:34:17 +0000 (14:34 +0000)]
build Bootstrap for verification testing (#4795)

3 years agoimprove comment formatting logic (#4794)
Alex Lam S.L [Wed, 17 Mar 2021 05:51:52 +0000 (05:51 +0000)]
improve comment formatting logic (#4794)

3 years agoparse extended Unicode literal correctly (#4792)
Alex Lam S.L [Wed, 17 Mar 2021 02:34:50 +0000 (02:34 +0000)]
parse extended Unicode literal correctly (#4792)

3 years agoextend `keep_fnames` to classes (#4793)
Alex Lam S.L [Wed, 17 Mar 2021 01:28:27 +0000 (01:28 +0000)]
extend `keep_fnames` to classes (#4793)

3 years agoenhance "functions" (#4791)
Alex Lam S.L [Tue, 16 Mar 2021 21:38:33 +0000 (21:38 +0000)]
enhance "functions" (#4791)

3 years agofix corner case in `hoist_funs` (#4790)
Alex Lam S.L [Tue, 16 Mar 2021 17:48:23 +0000 (17:48 +0000)]
fix corner case in `hoist_funs` (#4790)

3 years agofix corner case in `functions` (#4789)
Alex Lam S.L [Tue, 16 Mar 2021 12:58:51 +0000 (12:58 +0000)]
fix corner case in `functions` (#4789)

fixes #4788

3 years agoavoid flaky cases in verification testing (#4785)
Alex Lam S.L [Tue, 16 Mar 2021 12:50:33 +0000 (12:50 +0000)]
avoid flaky cases in verification testing (#4785)

3 years agoensure valid generated cases in `--reduce-test` (#4787)
Alex Lam S.L [Tue, 16 Mar 2021 10:14:24 +0000 (10:14 +0000)]
ensure valid generated cases in `--reduce-test` (#4787)

closes #4786

3 years agobuild web-tooling-benchmark for verification testing (#4776)
Alex Lam S.L [Tue, 16 Mar 2021 09:34:10 +0000 (09:34 +0000)]
build web-tooling-benchmark for verification testing (#4776)

3 years agofix corner cases with `new.target` (#4784)
Alex Lam S.L [Tue, 16 Mar 2021 06:34:36 +0000 (06:34 +0000)]
fix corner cases with `new.target` (#4784)

3 years agofix corner case in `unsafe` (#4783)
Alex Lam S.L [Tue, 16 Mar 2021 01:42:28 +0000 (01:42 +0000)]
fix corner case in `unsafe` (#4783)

3 years agofix corner case in `reduce_vars` (#4782)
Alex Lam S.L [Tue, 16 Mar 2021 00:05:01 +0000 (00:05 +0000)]
fix corner case in `reduce_vars` (#4782)

3 years agoparse out-of-range numerals correctly (#4781)
Alex Lam S.L [Mon, 15 Mar 2021 22:52:21 +0000 (22:52 +0000)]
parse out-of-range numerals correctly (#4781)

3 years agofix corner cases with template literals (#4780)
Alex Lam S.L [Mon, 15 Mar 2021 13:54:05 +0000 (13:54 +0000)]
fix corner cases with template literals (#4780)

3 years agosupport `**=` (#4778)
Alex Lam S.L [Mon, 15 Mar 2021 13:53:48 +0000 (13:53 +0000)]
support `**=` (#4778)

3 years agofix corner case in `unsafe` (#4779)
Alex Lam S.L [Mon, 15 Mar 2021 09:51:32 +0000 (09:51 +0000)]
fix corner case in `unsafe` (#4779)

3 years agofix corner case in `conditionals` (#4777)
Alex Lam S.L [Mon, 15 Mar 2021 04:44:41 +0000 (04:44 +0000)]
fix corner case in `conditionals` (#4777)

3 years agoimprove Node.js setup on GitHub Actions (#4775)
Alex Lam S.L [Sun, 14 Mar 2021 22:25:33 +0000 (22:25 +0000)]
improve Node.js setup on GitHub Actions (#4775)

3 years agoparse parentheses-terminated statements correctly (#4774)
Alex Lam S.L [Sun, 14 Mar 2021 06:09:29 +0000 (06:09 +0000)]
parse parentheses-terminated statements correctly (#4774)

fixes #4772

3 years agofix corner cases with `yield` (#4771)
Alex Lam S.L [Sat, 13 Mar 2021 20:39:30 +0000 (20:39 +0000)]
fix corner cases with `yield` (#4771)

fixes #4769

3 years agosupport shorthand key-symbol output (#4768)
Alex Lam S.L [Sat, 13 Mar 2021 07:37:01 +0000 (07:37 +0000)]
support shorthand key-symbol output (#4768)

3 years agofix corner case in `unused` (#4767)
Alex Lam S.L [Sat, 13 Mar 2021 07:09:07 +0000 (07:09 +0000)]
fix corner case in `unused` (#4767)

fixes #4766

3 years agoimplement `annotations` (#4763)
Alex Lam S.L [Fri, 12 Mar 2021 19:40:49 +0000 (19:40 +0000)]
implement `annotations` (#4763)

3 years agofix corner case in `side_effects` (#4765)
Alex Lam S.L [Fri, 12 Mar 2021 18:40:28 +0000 (18:40 +0000)]
fix corner case in `side_effects` (#4765)

fixes #4764

3 years agov3.13.1
Alex Lam S.L [Thu, 11 Mar 2021 22:50:05 +0000 (06:50 +0800)]
v3.13.1

3 years agofix corner cases in `merge_vars` & with `exports` (#4762)
Alex Lam S.L [Thu, 11 Mar 2021 01:16:16 +0000 (01:16 +0000)]
fix corner cases in `merge_vars` & with `exports` (#4762)

fixes #4761

3 years agofix corner case in `merge_vars` (#4760)
Alex Lam S.L [Wed, 10 Mar 2021 15:44:49 +0000 (15:44 +0000)]
fix corner case in `merge_vars` (#4760)

fixes #4759

3 years agobuild Math.js for verification testing (#4758)
Alex Lam S.L [Tue, 9 Mar 2021 19:34:30 +0000 (19:34 +0000)]
build Math.js for verification testing (#4758)

3 years agofix corner case in `unused` (#4757)
Alex Lam S.L [Mon, 8 Mar 2021 23:59:52 +0000 (23:59 +0000)]
fix corner case in `unused` (#4757)

fixes #4756

3 years agofix corner case in `unsafe` (#4755)
Alex Lam S.L [Mon, 8 Mar 2021 20:40:21 +0000 (20:40 +0000)]
fix corner case in `unsafe` (#4755)

3 years agofix corner case in `inline` (#4754)
Alex Lam S.L [Mon, 8 Mar 2021 04:38:53 +0000 (04:38 +0000)]
fix corner case in `inline` (#4754)

fixes #4753

3 years agospeed up `ufuzz` asynchronous testing (#4750)
Alex Lam S.L [Sun, 7 Mar 2021 20:25:56 +0000 (20:25 +0000)]
speed up `ufuzz` asynchronous testing (#4750)

3 years agofix corner case in `side_effects` (#4752)
Alex Lam S.L [Sun, 7 Mar 2021 20:19:51 +0000 (20:19 +0000)]
fix corner case in `side_effects` (#4752)

fixes #4751

3 years agofix issues uncovered by lgtm (#4749)
Alex Lam S.L [Sun, 7 Mar 2021 04:44:34 +0000 (04:44 +0000)]
fix issues uncovered by lgtm (#4749)

3 years agobuild external projects for verification testing (#4741)
Alex Lam S.L [Sun, 7 Mar 2021 04:41:52 +0000 (04:41 +0000)]
build external projects for verification testing (#4741)

3 years agofix corner case in `collapse_vars` & `reduce_vars` (#4748)
Alex Lam S.L [Sun, 7 Mar 2021 02:33:51 +0000 (02:33 +0000)]
fix corner case in `collapse_vars` & `reduce_vars` (#4748)

fixes #4747

3 years agosupport `new.target` (#4746)
Alex Lam S.L [Sat, 6 Mar 2021 23:11:36 +0000 (23:11 +0000)]
support `new.target` (#4746)

fixes #4745

3 years agofix corner cases with `export` (#4743)
Alex Lam S.L [Sat, 6 Mar 2021 14:49:39 +0000 (14:49 +0000)]
fix corner cases with `export` (#4743)

fixes #4742

3 years agofix corner case in `awaits` (#4740)
Alex Lam S.L [Fri, 5 Mar 2021 20:25:44 +0000 (20:25 +0000)]
fix corner case in `awaits` (#4740)

fixes #4738

3 years agofix corner case in `hoist_vars` (#4739)
Alex Lam S.L [Fri, 5 Mar 2021 20:25:32 +0000 (20:25 +0000)]
fix corner case in `hoist_vars` (#4739)

fixes #4736

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