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

3 years agosuppress false positives in `ufuzz` (#4578)
Alex Lam S.L [Thu, 21 Jan 2021 18:33:00 +0000 (18:33 +0000)]
suppress false positives in `ufuzz` (#4578)

3 years agosuppress false positives in `ufuzz` (#4577)
Alex Lam S.L [Thu, 21 Jan 2021 06:33:31 +0000 (06:33 +0000)]
suppress false positives in `ufuzz` (#4577)

3 years agofix corner case in `rests` (#4576)
Alex Lam S.L [Wed, 20 Jan 2021 23:23:06 +0000 (23:23 +0000)]
fix corner case in `rests` (#4576)

fixes #4575

3 years agosuppress false positives in `ufuzz` (#4574)
Alex Lam S.L [Wed, 20 Jan 2021 13:03:33 +0000 (13:03 +0000)]
suppress false positives in `ufuzz` (#4574)

3 years agoworkaround GitHub Actions bug (#4573)
Alex Lam S.L [Wed, 20 Jan 2021 12:17:58 +0000 (12:17 +0000)]
workaround GitHub Actions bug (#4573)

3 years agosupport asynchronous test cases properly (#4529)
Alex Lam S.L [Tue, 19 Jan 2021 23:27:32 +0000 (23:27 +0000)]
support asynchronous test cases properly (#4529)

3 years agov3.12.5
Alex Lam S.L [Tue, 19 Jan 2021 22:30:01 +0000 (06:30 +0800)]
v3.12.5

3 years agofix corner case in `dead_code` (#4571)
Alex Lam S.L [Tue, 19 Jan 2021 01:33:57 +0000 (01:33 +0000)]
fix corner case in `dead_code` (#4571)

fixes #4570

3 years agoFix overwriting existing sourcesContent in sourcemaps (#4567)
Jimb Esser [Mon, 18 Jan 2021 23:44:24 +0000 (15:44 -0800)]
Fix overwriting existing sourcesContent in sourcemaps (#4567)

3 years agofix corner case in `reduce_vars` (#4569)
Alex Lam S.L [Mon, 18 Jan 2021 22:34:48 +0000 (22:34 +0000)]
fix corner case in `reduce_vars` (#4569)

fixes #4568

3 years agofix corner case in `loops` (#4565)
Alex Lam S.L [Sun, 17 Jan 2021 22:36:59 +0000 (22:36 +0000)]
fix corner case in `loops` (#4565)

fixes #4564

3 years agoimprove false positive detection in `ufuzz` (#4566)
Alex Lam S.L [Sun, 17 Jan 2021 22:35:53 +0000 (22:35 +0000)]
improve false positive detection in `ufuzz` (#4566)

3 years agofix corner case in `reduce_vars` (#4563)
Alex Lam S.L [Sun, 17 Jan 2021 17:47:07 +0000 (17:47 +0000)]
fix corner case in `reduce_vars` (#4563)

fixes #4562

3 years agofix corner cases in `reduce_vars` (#4561)
Alex Lam S.L [Sat, 16 Jan 2021 08:55:10 +0000 (08:55 +0000)]
fix corner cases in `reduce_vars` (#4561)

fixes #4560

3 years agofix corner case in `unused` (#4559)
Alex Lam S.L [Fri, 15 Jan 2021 18:37:27 +0000 (18:37 +0000)]
fix corner case in `unused` (#4559)

fixes #4558

3 years agofix corner case in `unused` (#4557)
Alex Lam S.L [Fri, 15 Jan 2021 04:33:17 +0000 (04:33 +0000)]
fix corner case in `unused` (#4557)

fixes #4556

3 years agofix corner cases in `collapse_vars` (#4555)
Alex Lam S.L [Thu, 14 Jan 2021 16:22:34 +0000 (16:22 +0000)]
fix corner cases in `collapse_vars` (#4555)

fixes #4554

3 years agofix corner case in `evaluate` (#4553)
Alex Lam S.L [Wed, 13 Jan 2021 14:17:24 +0000 (14:17 +0000)]
fix corner case in `evaluate` (#4553)

fixes #4552

3 years agosuppress invalid test generation in `ufuzz` (#4551)
Alex Lam S.L [Tue, 12 Jan 2021 20:29:39 +0000 (20:29 +0000)]
suppress invalid test generation in `ufuzz` (#4551)

3 years agofix corner case in `merge_vars` (#4550)
Alex Lam S.L [Tue, 12 Jan 2021 19:48:46 +0000 (19:48 +0000)]
fix corner case in `merge_vars` (#4550)

fixes #4548

3 years agodocument v8 bug (#4549)
Alex Lam S.L [Tue, 12 Jan 2021 19:48:33 +0000 (19:48 +0000)]
document v8 bug (#4549)

closes #4547

3 years agofix corner case in `side_effects` (#4545)
Alex Lam S.L [Tue, 12 Jan 2021 17:08:16 +0000 (17:08 +0000)]
fix corner case in `side_effects` (#4545)

fixes #4544

3 years agoenhance `rests` (#4546)
Alex Lam S.L [Tue, 12 Jan 2021 16:00:19 +0000 (16:00 +0000)]
enhance `rests` (#4546)

3 years agofix corner case in `unsafe_math` (#4543)
Alex Lam S.L [Tue, 12 Jan 2021 04:07:01 +0000 (04:07 +0000)]
fix corner case in `unsafe_math` (#4543)

fixes #4542

3 years agofix corner case in `side_effects` (#4541)
Alex Lam S.L [Tue, 12 Jan 2021 01:12:43 +0000 (01:12 +0000)]
fix corner case in `side_effects` (#4541)

fixes #4540

3 years agofix corner case in `rests` (#4539)
Alex Lam S.L [Tue, 12 Jan 2021 01:12:30 +0000 (01:12 +0000)]
fix corner case in `rests` (#4539)

fixes #4538

3 years agoupdate command line examples (#4536)
Alex Lam S.L [Mon, 11 Jan 2021 01:12:27 +0000 (01:12 +0000)]
update command line examples (#4536)

3 years agofix corner case in `arguments` (#4535)
Alex Lam S.L [Sun, 10 Jan 2021 20:17:39 +0000 (20:17 +0000)]
fix corner case in `arguments` (#4535)

fixes #4534

3 years agofix corner case in `ie8` (#4532)
Alex Lam S.L [Sun, 10 Jan 2021 16:01:49 +0000 (16:01 +0000)]
fix corner case in `ie8` (#4532)

fixes #4531

3 years agosupport asynchronous arrow functions (#4530)
Alex Lam S.L [Sun, 10 Jan 2021 03:34:26 +0000 (03:34 +0000)]
support asynchronous arrow functions (#4530)

3 years agofix corner case in `mangle` (#4528)
Alex Lam S.L [Sat, 9 Jan 2021 20:20:43 +0000 (20:20 +0000)]
fix corner case in `mangle` (#4528)

fixes #4527

3 years agofix corner cases with rest parameters (#4526)
Alex Lam S.L [Sat, 9 Jan 2021 00:38:51 +0000 (00:38 +0000)]
fix corner cases with rest parameters (#4526)

fixes #4525

3 years agofix corner case in `merge_vars` (#4524)
Alex Lam S.L [Fri, 8 Jan 2021 07:49:14 +0000 (07:49 +0000)]
fix corner case in `merge_vars` (#4524)

fixes #4523

3 years agofix corner case in `assignments` (#4522)
Alex Lam S.L [Fri, 8 Jan 2021 05:03:21 +0000 (05:03 +0000)]
fix corner case in `assignments` (#4522)

fixes #4521

3 years agoimplement `UGLIFY_BUG_REPORT` (#4516)
Alex Lam S.L [Thu, 7 Jan 2021 08:53:29 +0000 (08:53 +0000)]
implement `UGLIFY_BUG_REPORT` (#4516)

3 years agofix corner cases with `arguments` (#4520)
Alex Lam S.L [Thu, 7 Jan 2021 08:53:14 +0000 (08:53 +0000)]
fix corner cases with `arguments` (#4520)

fixes #4519

3 years agofix corner case in `hoist_vars` (#4518)
Alex Lam S.L [Thu, 7 Jan 2021 07:05:48 +0000 (07:05 +0000)]
fix corner case in `hoist_vars` (#4518)

fixes #4517

3 years agosupport rest parameters (#4515)
Alex Lam S.L [Thu, 7 Jan 2021 02:04:09 +0000 (02:04 +0000)]
support rest parameters (#4515)

3 years agoupdate issue templates (#4514)
Alex Lam S.L [Tue, 5 Jan 2021 21:37:30 +0000 (21:37 +0000)]
update issue templates (#4514)

3 years agofix corner case in `side_effects` (#4513)
Alex Lam S.L [Tue, 5 Jan 2021 18:11:30 +0000 (18:11 +0000)]
fix corner case in `side_effects` (#4513)

fixes #4512

3 years agofix corner case in`default_values` (#4511)
Alex Lam S.L [Tue, 5 Jan 2021 17:26:19 +0000 (17:26 +0000)]
fix corner case in`default_values` (#4511)

fixes #4510

3 years agofix corner cases in `inline` & `unused` (#4509)
Alex Lam S.L [Tue, 5 Jan 2021 16:15:12 +0000 (16:15 +0000)]
fix corner cases in `inline` & `unused` (#4509)

fixes #4508

3 years agoenhance `inline` & `side_effects` (#4506)
Alex Lam S.L [Tue, 5 Jan 2021 07:02:49 +0000 (07:02 +0000)]
enhance `inline` & `side_effects` (#4506)

3 years agofix corner case in `merge_vars` (#4505)
Alex Lam S.L [Tue, 5 Jan 2021 06:23:46 +0000 (06:23 +0000)]
fix corner case in `merge_vars` (#4505)

fixes #4504

3 years agofix corner cases in `inline` & `side_effects` (#4503)
Alex Lam S.L [Mon, 4 Jan 2021 02:17:32 +0000 (02:17 +0000)]
fix corner cases in `inline` & `side_effects` (#4503)

fixes #4502

3 years agofix corner case in `evaluate` (#4501)
Alex Lam S.L [Sun, 3 Jan 2021 18:31:20 +0000 (18:31 +0000)]
fix corner case in `evaluate` (#4501)

fixes #4500

3 years agofix toggling of AST validation (#4499)
Alex Lam S.L [Sun, 3 Jan 2021 03:09:10 +0000 (03:09 +0000)]
fix toggling of AST validation (#4499)

3 years agosuppress invalid AST transform in `--reduce-test` (#4498)
Alex Lam S.L [Sun, 3 Jan 2021 02:34:46 +0000 (02:34 +0000)]
suppress invalid AST transform in `--reduce-test` (#4498)

3 years agofix corner case in `default_values` (#4497)
Alex Lam S.L [Sat, 2 Jan 2021 14:51:53 +0000 (14:51 +0000)]
fix corner case in `default_values` (#4497)

fixes #4496

3 years agointroduce `awaits` (#4495)
Alex Lam S.L [Sat, 2 Jan 2021 12:35:48 +0000 (12:35 +0000)]
introduce `awaits` (#4495)