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

3 years agoenhance `if_return` & `side_effects` (#4494)
Alex Lam S.L [Sat, 2 Jan 2021 04:39:51 +0000 (04:39 +0000)]
enhance `if_return` & `side_effects` (#4494)

3 years agoenhance `inline`, `sequences` & `side_effects` (#4493)
Alex Lam S.L [Sat, 2 Jan 2021 01:43:05 +0000 (01:43 +0000)]
enhance `inline`, `sequences` & `side_effects` (#4493)

3 years agofix corner case in `conditionals` (#4492)
Alex Lam S.L [Fri, 1 Jan 2021 23:53:15 +0000 (23:53 +0000)]
fix corner case in `conditionals` (#4492)

3 years agoenhance `collapse_vars` & `dead_code` (#4491)
Alex Lam S.L [Fri, 1 Jan 2021 13:52:14 +0000 (13:52 +0000)]
enhance `collapse_vars` & `dead_code` (#4491)

3 years agofix corner case in `reduce_vars` (#4490)
Alex Lam S.L [Fri, 1 Jan 2021 04:56:13 +0000 (04:56 +0000)]
fix corner case in `reduce_vars` (#4490)

fixes #4489

3 years agofix corner case in `functions` (#4488)
Alex Lam S.L [Fri, 1 Jan 2021 02:39:40 +0000 (02:39 +0000)]
fix corner case in `functions` (#4488)

fixes #4487

3 years agov3.12.4
Alex Lam S.L [Fri, 1 Jan 2021 00:47:24 +0000 (08:47 +0800)]
v3.12.4

3 years agofix corner case with `arguments` (#4486)
Alex Lam S.L [Thu, 31 Dec 2020 06:55:05 +0000 (06:55 +0000)]
fix corner case with `arguments` (#4486)

fixes #4485

3 years agofix corner case with default values (#4484)
Alex Lam S.L [Wed, 30 Dec 2020 17:47:00 +0000 (17:47 +0000)]
fix corner case with default values (#4484)

fixes #4483

3 years agoimprove false positive detection in `ufuzz` (#4482)
Alex Lam S.L [Wed, 30 Dec 2020 13:53:03 +0000 (13:53 +0000)]
improve false positive detection in `ufuzz` (#4482)

3 years agofix corner cases with `arguments` (#4481)
Alex Lam S.L [Tue, 29 Dec 2020 16:22:03 +0000 (16:22 +0000)]
fix corner cases with `arguments` (#4481)

fixes #4480

3 years agoenhance `reduce_vars` (#4479)
Alex Lam S.L [Tue, 29 Dec 2020 11:43:12 +0000 (11:43 +0000)]
enhance `reduce_vars` (#4479)

3 years agofix corner case in `arguments` (#4477)
Alex Lam S.L [Tue, 29 Dec 2020 10:58:29 +0000 (10:58 +0000)]
fix corner case in `arguments` (#4477)

fixes #4476

3 years agoexpand test options (#4475)
Alex Lam S.L [Mon, 28 Dec 2020 22:17:52 +0000 (22:17 +0000)]
expand test options (#4475)

- fix corner cases in `hoist_vars` & `keep_fnames`

3 years agoworkaround asynchronous tty bugs on Node.js (#4473)
Alex Lam S.L [Mon, 28 Dec 2020 05:32:07 +0000 (05:32 +0000)]
workaround asynchronous tty bugs on Node.js (#4473)

3 years agofix corner case in `inline` (#4472)
Alex Lam S.L [Mon, 28 Dec 2020 02:05:59 +0000 (02:05 +0000)]
fix corner case in `inline` (#4472)

fixes #4471

3 years agofix corner case in `unused` (#4469)
Alex Lam S.L [Sun, 27 Dec 2020 12:06:50 +0000 (12:06 +0000)]
fix corner case in `unused` (#4469)

fixes #4468

3 years agoworkaround v8 bug with labels (#4467)
Alex Lam S.L [Sun, 27 Dec 2020 05:32:18 +0000 (05:32 +0000)]
workaround v8 bug with labels (#4467)

closes #4466

3 years agoworkaround `schedule` delays on GitHub Actions (#4463)
Alex Lam S.L [Sat, 26 Dec 2020 09:27:03 +0000 (09:27 +0000)]
workaround `schedule` delays on GitHub Actions (#4463)

3 years agofix corner case in `reduce_vars` & `unused` (#4465)
Alex Lam S.L [Sat, 26 Dec 2020 08:52:16 +0000 (08:52 +0000)]
fix corner case in `reduce_vars` & `unused` (#4465)

fixes #4464

3 years agofix corner cases in `collapse_vars` (#4462)
Alex Lam S.L [Sat, 26 Dec 2020 05:40:31 +0000 (05:40 +0000)]
fix corner cases in `collapse_vars` (#4462)

fixes #4460
fixes #4461

3 years agofix corner case in `reduce_vars` (#4459)
Alex Lam S.L [Fri, 25 Dec 2020 14:50:11 +0000 (14:50 +0000)]
fix corner case in `reduce_vars` (#4459)

fixes #4458

3 years agofix corner case in `unused` (#4457)
Alex Lam S.L [Fri, 25 Dec 2020 12:10:58 +0000 (12:10 +0000)]
fix corner case in `unused` (#4457)

fixes #4456

3 years agofix corner case in `merge_vars` (#4455)
Alex Lam S.L [Fri, 25 Dec 2020 11:27:05 +0000 (11:27 +0000)]
fix corner case in `merge_vars` (#4455)

fixes #4454

3 years agoworkaround v8 heisenbug (#4453)
Alex Lam S.L [Fri, 25 Dec 2020 05:14:36 +0000 (13:14 +0800)]
workaround v8 heisenbug (#4453)

3 years agofix corner case in `functions` & `reduce_vars` (#4452)
Alex Lam S.L [Fri, 25 Dec 2020 00:38:24 +0000 (00:38 +0000)]
fix corner case in `functions` & `reduce_vars` (#4452)

fixes #4451

3 years agoenhance `default_values` (#4450)
Alex Lam S.L [Thu, 24 Dec 2020 23:31:34 +0000 (23:31 +0000)]
enhance `default_values` (#4450)

3 years agofix corner case in `pure_getters` (#4449)
Alex Lam S.L [Thu, 24 Dec 2020 19:58:23 +0000 (19:58 +0000)]
fix corner case in `pure_getters` (#4449)

fixes #4448

3 years agofix & enhance `collapse_vars` (#4447)
Alex Lam S.L [Thu, 24 Dec 2020 09:02:18 +0000 (09:02 +0000)]
fix & enhance `collapse_vars` (#4447)

fixes #4446

3 years agofix corner case in `collapse_vars` (#4445)
Alex Lam S.L [Thu, 24 Dec 2020 02:56:22 +0000 (02:56 +0000)]
fix corner case in `collapse_vars` (#4445)

fixes #4444

3 years agoreplace `keep_fargs` default to `false` (#4443)
Alex Lam S.L [Thu, 24 Dec 2020 01:56:02 +0000 (01:56 +0000)]
replace `keep_fargs` default to `false` (#4443)

3 years agosupport default values (#4442)
Alex Lam S.L [Wed, 23 Dec 2020 22:22:55 +0000 (22:22 +0000)]
support default values (#4442)

3 years agofix corner case in `pure_getters` (#4441)
Alex Lam S.L [Wed, 23 Dec 2020 20:09:09 +0000 (20:09 +0000)]
fix corner case in `pure_getters` (#4441)

fixes #4440

3 years agofix corner case in `if_return` (#4439)
Alex Lam S.L [Wed, 23 Dec 2020 20:08:57 +0000 (20:08 +0000)]
fix corner case in `if_return` (#4439)

fixes #4438

3 years agofix corner case with `NaN` (#4437)
Alex Lam S.L [Tue, 22 Dec 2020 23:01:50 +0000 (23:01 +0000)]
fix corner case with `NaN` (#4437)

fixes #4436

3 years agofix corner case when parsing expression (#4435)
Alex Lam S.L [Tue, 22 Dec 2020 18:16:04 +0000 (18:16 +0000)]
fix corner case when parsing expression (#4435)

3 years agov3.12.3
Alex Lam S.L [Tue, 22 Dec 2020 15:59:53 +0000 (23:59 +0800)]
v3.12.3

3 years agoimprove object function generation in `ufuzz` (#4434)
Alex Lam S.L [Mon, 21 Dec 2020 07:32:50 +0000 (07:32 +0000)]
improve object function generation in `ufuzz` (#4434)

3 years agofix corner case in `reduce_vars` (#4433)
Alex Lam S.L [Mon, 21 Dec 2020 06:03:18 +0000 (06:03 +0000)]
fix corner case in `reduce_vars` (#4433)

fixes #4432

3 years agofix corner case in `collapse_vars` (#4431)
Alex Lam S.L [Sun, 20 Dec 2020 14:54:27 +0000 (14:54 +0000)]
fix corner case in `collapse_vars` (#4431)

fixes #4430

3 years agoparse destructuring under strict mode correctly (#4429)
Alex Lam S.L [Sun, 20 Dec 2020 12:48:51 +0000 (12:48 +0000)]
parse destructuring under strict mode correctly (#4429)

3 years agoimprove destructuring generation in `ufuzz` (#4428)
Alex Lam S.L [Sun, 20 Dec 2020 05:38:56 +0000 (05:38 +0000)]
improve destructuring generation in `ufuzz` (#4428)

3 years agohandle destructuring `catch` in `--reduce-test` (#4427)
Alex Lam S.L [Sun, 20 Dec 2020 03:22:45 +0000 (03:22 +0000)]
handle destructuring `catch` in `--reduce-test` (#4427)

3 years agofix corner case with destructuring `catch` (#4426)
Alex Lam S.L [Sun, 20 Dec 2020 02:31:32 +0000 (02:31 +0000)]
fix corner case with destructuring `catch` (#4426)

fixes #4425