UglifyJS.git
3 years agoenhance `unused` (#4858)
Alex Lam S.L [Thu, 22 Apr 2021 02:58:50 +0000 (03:58 +0100)]
enhance `unused` (#4858)

3 years agofix corner case in `hoist_vars` (#4860)
Alex Lam S.L [Wed, 21 Apr 2021 21:47:21 +0000 (22:47 +0100)]
fix corner case in `hoist_vars` (#4860)

fixes #4859

3 years agodocument various ECMAScript bugs (#4857)
Alex Lam S.L [Wed, 21 Apr 2021 00:33:54 +0000 (01:33 +0100)]
document various ECMAScript bugs (#4857)

3 years agofix corner case in `collapse_vars` (#4855)
Alex Lam S.L [Tue, 13 Apr 2021 17:22:08 +0000 (18:22 +0100)]
fix corner case in `collapse_vars` (#4855)

fixes #4854

3 years agov3.13.4
Alex Lam S.L [Sun, 11 Apr 2021 20:33:40 +0000 (04:33 +0800)]
v3.13.4

3 years agofix corner case in `collapse_vars` (#4853)
Alex Lam S.L [Thu, 8 Apr 2021 09:50:40 +0000 (10:50 +0100)]
fix corner case in `collapse_vars` (#4853)

fixes #4852

3 years agofix corner case in `if_return` (#4851)
Alex Lam S.L [Thu, 8 Apr 2021 00:57:59 +0000 (01:57 +0100)]
fix corner case in `if_return` (#4851)

fixes #4848

3 years agofix corner case in `unused` (#4850)
Alex Lam S.L [Wed, 7 Apr 2021 22:31:15 +0000 (23:31 +0100)]
fix corner case in `unused` (#4850)

fixes #4849

3 years agoreject invalid `for await` syntax (#4847)
Alex Lam S.L [Wed, 7 Apr 2021 14:37:15 +0000 (15:37 +0100)]
reject invalid `for await` syntax (#4847)

3 years agopreserve compatibility of `quote_style` (#4845)
Alex Lam S.L [Tue, 6 Apr 2021 22:49:12 +0000 (23:49 +0100)]
preserve compatibility of `quote_style` (#4845)

3 years agospeed up `OutputStream` (#4844)
Alex Lam S.L [Tue, 6 Apr 2021 18:57:23 +0000 (19:57 +0100)]
speed up `OutputStream` (#4844)

3 years agoparse octal literals correctly (#4843)
Alex Lam S.L [Tue, 6 Apr 2021 18:23:35 +0000 (19:23 +0100)]
parse octal literals correctly (#4843)

3 years agoclean up `OutputStream` (#4842)
Alex Lam S.L [Tue, 6 Apr 2021 13:34:27 +0000 (14:34 +0100)]
clean up `OutputStream` (#4842)

3 years agoenhance `comparisons` & `reduce_vars` (#4841)
Alex Lam S.L [Sat, 3 Apr 2021 14:06:05 +0000 (15:06 +0100)]
enhance `comparisons` & `reduce_vars` (#4841)

3 years agofix corner case in `hoist_vars` (#4840)
Alex Lam S.L [Sat, 3 Apr 2021 02:07:18 +0000 (03:07 +0100)]
fix corner case in `hoist_vars` (#4840)

fixes #4839

3 years agosupport `mangle.properties` on `class` (#4838)
Alex Lam S.L [Fri, 2 Apr 2021 22:00:19 +0000 (23:00 +0100)]
support `mangle.properties` on `class` (#4838)

3 years agoparse `import.meta` correctly (#4836)
Alex Lam S.L [Fri, 2 Apr 2021 20:31:29 +0000 (21:31 +0100)]
parse `import.meta` correctly (#4836)

3 years agofix corner case in `unused` (#4835)
Alex Lam S.L [Thu, 1 Apr 2021 19:55:53 +0000 (20:55 +0100)]
fix corner case in `unused` (#4835)

fixes #4834

3 years agosuppress invalid AST transform in `--reduce-test` (#4833)
Alex Lam S.L [Thu, 1 Apr 2021 10:52:29 +0000 (11:52 +0100)]
suppress invalid AST transform in `--reduce-test` (#4833)

3 years agofix corner case in `properties` (#4832)
Alex Lam S.L [Thu, 1 Apr 2021 06:39:51 +0000 (07:39 +0100)]
fix corner case in `properties` (#4832)

fixes #4831

3 years agofix corner case in `properties` (#4830)
Alex Lam S.L [Wed, 31 Mar 2021 23:05:50 +0000 (00:05 +0100)]
fix corner case in `properties` (#4830)

fixes #4829

3 years agov3.13.3
Alex Lam S.L [Sun, 28 Mar 2021 22:58:06 +0000 (06:58 +0800)]
v3.13.3

3 years agofix corner cases with logical assignment operators (#4828)
Alex Lam S.L [Sat, 27 Mar 2021 19:44:45 +0000 (19:44 +0000)]
fix corner cases with logical assignment operators (#4828)

fixes #4827

3 years agoenhance `collapse_vars` (#4826)
Alex Lam S.L [Sat, 27 Mar 2021 14:14:37 +0000 (14:14 +0000)]
enhance `collapse_vars` (#4826)

3 years agodiagnose GitHub Actions (#4825)
Alex Lam S.L [Thu, 25 Mar 2021 10:44:39 +0000 (10:44 +0000)]
diagnose GitHub Actions (#4825)

3 years agofix corner case in `functions` (#4824)
Alex Lam S.L [Thu, 25 Mar 2021 00:49:01 +0000 (00:49 +0000)]
fix corner case in `functions` (#4824)

fixes #4823

3 years agofix corner cases with `class` (#4822)
Alex Lam S.L [Wed, 24 Mar 2021 20:36:50 +0000 (20:36 +0000)]
fix corner cases with `class` (#4822)

fixes #4821

3 years agofix corner case in `comparisons` (#4820)
Alex Lam S.L [Wed, 24 Mar 2021 02:10:02 +0000 (02:10 +0000)]
fix corner case in `comparisons` (#4820)

fixes #4819

3 years agofix corner case in `inline` (#4818)
Alex Lam S.L [Tue, 23 Mar 2021 14:33:24 +0000 (14:33 +0000)]
fix corner case in `inline` (#4818)

fixes #4817

3 years agofix corner cases with logical assignment operators (#4816)
Alex Lam S.L [Tue, 23 Mar 2021 05:02:45 +0000 (05:02 +0000)]
fix corner cases with logical assignment operators (#4816)

fixes #4815

3 years agoworkaround `toString()` quirks on global context (#4814)
Alex Lam S.L [Tue, 23 Mar 2021 03:15:41 +0000 (03:15 +0000)]
workaround `toString()` quirks on global context (#4814)

3 years agosupport logical assignment operators (#4813)
Alex Lam S.L [Mon, 22 Mar 2021 20:59:43 +0000 (20:59 +0000)]
support logical assignment operators (#4813)

3 years agoimprove global context enumeration under `sandbox` (#4812)
Alex Lam S.L [Mon, 22 Mar 2021 14:43:33 +0000 (14:43 +0000)]
improve global context enumeration under `sandbox` (#4812)

fixes #4811

3 years agov3.13.2
Alex Lam S.L [Sun, 21 Mar 2021 20:34:26 +0000 (04:34 +0800)]
v3.13.2

3 years agofix corner case in `arguments` (#4810)
Alex Lam S.L [Sun, 21 Mar 2021 02:40:32 +0000 (02:40 +0000)]
fix corner case in `arguments` (#4810)

fixes #4809

3 years agodocument various v8 bugs (#4808)
Alex Lam S.L [Sat, 20 Mar 2021 22:33:45 +0000 (22:33 +0000)]
document various v8 bugs (#4808)

closes #4805

3 years agofix corner cases in `collapse_vars` & `unused` (#4807)
Alex Lam S.L [Sat, 20 Mar 2021 19:51:03 +0000 (19:51 +0000)]
fix corner cases in `collapse_vars` & `unused` (#4807)

fixes #4806

3 years agofix corner case in `pure_getters` (#4804)
Alex Lam S.L [Fri, 19 Mar 2021 08:16:53 +0000 (08:16 +0000)]
fix corner case in `pure_getters` (#4804)

fixes #4803

3 years agofix corner case in `reduce_vars` (#4802)
Alex Lam S.L [Thu, 18 Mar 2021 15:58:35 +0000 (15:58 +0000)]
fix corner case in `reduce_vars` (#4802)

fixes #4801

3 years agofix corner case in `evaluate` (#4800)
Alex Lam S.L [Thu, 18 Mar 2021 03:31:20 +0000 (03:31 +0000)]
fix corner case in `evaluate` (#4800)

fixes #4799

3 years agofix corner case in `sequences` (#4798)
Alex Lam S.L [Thu, 18 Mar 2021 00:31:55 +0000 (00:31 +0000)]
fix corner case in `sequences` (#4798)

3 years agofix corner case in `collapse_vars` (#4797)
Alex Lam S.L [Wed, 17 Mar 2021 23:50:55 +0000 (23:50 +0000)]
fix corner case in `collapse_vars` (#4797)

3 years agofix corner case in `reduce_vars` (#4796)
Alex Lam S.L [Wed, 17 Mar 2021 21:14:14 +0000 (21:14 +0000)]
fix corner case in `reduce_vars` (#4796)

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