UglifyJS.git
4 years agoupdate `domprops` (#4065)
Alex Lam S.L [Sun, 23 Aug 2020 15:06:15 +0000 (16:06 +0100)]
update `domprops` (#4065)

4 years agoenhance `mangle.properties` (#4064)
Alex Lam S.L [Sun, 23 Aug 2020 00:45:39 +0000 (01:45 +0100)]
enhance `mangle.properties` (#4064)

4 years agosimplify traversal logic (#4063)
Alex Lam S.L [Sat, 22 Aug 2020 21:45:35 +0000 (05:45 +0800)]
simplify traversal logic (#4063)

4 years agoenhance `comparisons` (#4062)
Alex Lam S.L [Sat, 22 Aug 2020 17:03:48 +0000 (01:03 +0800)]
enhance `comparisons` (#4062)

4 years agofix corner case in `collapse_vars` (#4061)
Alex Lam S.L [Fri, 21 Aug 2020 02:35:34 +0000 (03:35 +0100)]
fix corner case in `collapse_vars` (#4061)

4 years agofix corner case in `switches` (#4060)
Alex Lam S.L [Fri, 21 Aug 2020 00:05:10 +0000 (01:05 +0100)]
fix corner case in `switches` (#4060)

fixes #4059

4 years agoenhance `conditionals` & `switches` (#4058)
Alex Lam S.L [Thu, 20 Aug 2020 16:35:39 +0000 (17:35 +0100)]
enhance `conditionals` & `switches` (#4058)

4 years agoimprove `ufuzz` duty cycle heuristic (#4057)
Alex Lam S.L [Wed, 19 Aug 2020 15:29:01 +0000 (16:29 +0100)]
improve `ufuzz` duty cycle heuristic (#4057)

4 years agoavoid setters during `console.log()` in sandbox (#4055)
Alex Lam S.L [Tue, 18 Aug 2020 22:14:41 +0000 (23:14 +0100)]
avoid setters during `console.log()` in sandbox (#4055)

fixes #4054

4 years agoreject multiple `default`s in `switch` (#4053)
Alex Lam S.L [Mon, 17 Aug 2020 02:09:12 +0000 (03:09 +0100)]
reject multiple `default`s in `switch` (#4053)

fixes #4050

4 years agofix corner cases in `collapse_vars` & `dead_code` (#4052)
Alex Lam S.L [Sun, 16 Aug 2020 21:54:27 +0000 (22:54 +0100)]
fix corner cases in `collapse_vars` & `dead_code` (#4052)

fixes #4051

4 years agoclarify `toplevel` & global variable aliasing (#4046)
Alex Lam S.L [Sun, 9 Aug 2020 22:39:28 +0000 (23:39 +0100)]
clarify `toplevel` & global variable aliasing (#4046)

4 years agofix corner case in `collapse_vars` (#4048)
Alex Lam S.L [Sun, 9 Aug 2020 21:48:56 +0000 (22:48 +0100)]
fix corner case in `collapse_vars` (#4048)

fixes #4047

4 years agoimprove `ufuzz` duty cycle heuristic (#4045)
Alex Lam S.L [Sat, 8 Aug 2020 19:10:19 +0000 (20:10 +0100)]
improve `ufuzz` duty cycle heuristic (#4045)

4 years agoworkaround incorrect workflow status (#4044)
Alex Lam S.L [Fri, 7 Aug 2020 21:16:54 +0000 (22:16 +0100)]
workaround incorrect workflow status (#4044)

4 years agoimprove `ufuzz` duty cycle on GitHub Actions (#4043)
Alex Lam S.L [Fri, 7 Aug 2020 10:42:36 +0000 (11:42 +0100)]
improve `ufuzz` duty cycle on GitHub Actions (#4043)

4 years agotweak GitHub Actions (#4042)
Alex Lam S.L [Thu, 6 Aug 2020 18:15:51 +0000 (19:15 +0100)]
tweak GitHub Actions (#4042)

4 years agofix corner case in `collapse_vars` (#4041)
Alex Lam S.L [Thu, 6 Aug 2020 12:30:28 +0000 (13:30 +0100)]
fix corner case in `collapse_vars` (#4041)

fixes #4040

4 years agofix corner cases in aliasing of global variables (#4039)
Alex Lam S.L [Thu, 6 Aug 2020 08:39:50 +0000 (09:39 +0100)]
fix corner cases in aliasing of global variables (#4039)

fixes #4038

4 years agotweak GitHub Actions (#4037)
Alex Lam S.L [Wed, 5 Aug 2020 14:09:02 +0000 (15:09 +0100)]
tweak GitHub Actions (#4037)

4 years agofix corner case in `evaluate` (#4036)
Alex Lam S.L [Tue, 4 Aug 2020 12:05:10 +0000 (20:05 +0800)]
fix corner case in `evaluate` (#4036)

fixes #4035

4 years agov3.10.1
Alex Lam S.L [Sun, 2 Aug 2020 13:08:48 +0000 (21:08 +0800)]
v3.10.1

4 years agoimprove diagnostics upon AST validation failure (#4033)
Alex Lam S.L [Fri, 31 Jul 2020 14:50:16 +0000 (15:50 +0100)]
improve diagnostics upon AST validation failure (#4033)

4 years agovalidate against multiple parents on `AST_Node` (#4032)
Alex Lam S.L [Fri, 31 Jul 2020 00:09:19 +0000 (01:09 +0100)]
validate against multiple parents on `AST_Node` (#4032)

- fix related issues in `global_defs`, `ie8` & `reduce_vars`

4 years agofix corner case in `reduce_vars` (#4031)
Alex Lam S.L [Fri, 31 Jul 2020 00:05:09 +0000 (01:05 +0100)]
fix corner case in `reduce_vars` (#4031)

fixes #4030

4 years agofix corner case in `ie8` & `reduce_vars` (#4029)
Alex Lam S.L [Tue, 28 Jul 2020 19:11:02 +0000 (20:11 +0100)]
fix corner case in `ie8` & `reduce_vars` (#4029)

fixes #4028

4 years agofix corner case in `unused` (#4026)
Alex Lam S.L [Sun, 26 Jul 2020 01:27:54 +0000 (02:27 +0100)]
fix corner case in `unused` (#4026)

fixes #4025

4 years agofix corner case in `hoist_props` (#4024)
Alex Lam S.L [Sun, 26 Jul 2020 01:27:34 +0000 (02:27 +0100)]
fix corner case in `hoist_props` (#4024)

fixes #4023

4 years agoreduce `ufuzz` test cases that fail to `minify()` (#4021)
Alex Lam S.L [Tue, 21 Jul 2020 08:17:15 +0000 (09:17 +0100)]
reduce `ufuzz` test cases that fail to `minify()` (#4021)

4 years agofix corner case in `ie8` & `reduce_vars` (#4020)
Alex Lam S.L [Tue, 21 Jul 2020 08:17:02 +0000 (09:17 +0100)]
fix corner case in `ie8` & `reduce_vars` (#4020)

fixes #4019

4 years agofix corner case in `unused` (#4018)
Alex Lam S.L [Tue, 21 Jul 2020 00:06:42 +0000 (01:06 +0100)]
fix corner case in `unused` (#4018)

fixes #4017

4 years agofix corner case in `ie8` (#4016)
Alex Lam S.L [Mon, 20 Jul 2020 18:32:20 +0000 (19:32 +0100)]
fix corner case in `ie8` (#4016)

fixes #4015

4 years agofix corner case in `collapse_vars` (#4013)
Alex Lam S.L [Mon, 20 Jul 2020 15:28:13 +0000 (16:28 +0100)]
fix corner case in `collapse_vars` (#4013)

fixes #4012

4 years agofix corner case in false positive detection (#4011)
Alex Lam S.L [Mon, 20 Jul 2020 13:57:22 +0000 (14:57 +0100)]
fix corner case in false positive detection (#4011)

4 years agofix corner case in `side_effects` (#4009)
Alex Lam S.L [Wed, 1 Jul 2020 03:33:48 +0000 (04:33 +0100)]
fix corner case in `side_effects` (#4009)

fixes #4008

4 years agofix corner case in `inline` (#4007)
Alex Lam S.L [Mon, 29 Jun 2020 01:06:23 +0000 (02:06 +0100)]
fix corner case in `inline` (#4007)

fixes #4006

4 years agov3.10.0
Alex Lam S.L [Sun, 21 Jun 2020 10:30:24 +0000 (11:30 +0100)]
v3.10.0

4 years agofix corner case in `collapse_vars` (#4002)
Alex Lam S.L [Fri, 19 Jun 2020 18:19:37 +0000 (19:19 +0100)]
fix corner case in `collapse_vars` (#4002)

fixes #4001

4 years agofix corner case in `rename` (#4000)
Alex Lam S.L [Sun, 14 Jun 2020 17:29:01 +0000 (01:29 +0800)]
fix corner case in `rename` (#4000)

fixes #3999

4 years agofix corner case in `evaluate` (#3998)
Alex Lam S.L [Sun, 14 Jun 2020 17:28:44 +0000 (01:28 +0800)]
fix corner case in `evaluate` (#3998)

fixes #3997

4 years agospeed up false positive detection in `ufuzz` (#3996)
Alex Lam S.L [Sat, 13 Jun 2020 19:42:42 +0000 (20:42 +0100)]
speed up false positive detection in `ufuzz` (#3996)

4 years agoenhance `evaluate` (#3995)
Alex Lam S.L [Sat, 13 Jun 2020 18:50:26 +0000 (19:50 +0100)]
enhance `evaluate` (#3995)

4 years agofix corner cases related to `AST_Hole` (#3994)
Alex Lam S.L [Sat, 13 Jun 2020 14:24:57 +0000 (15:24 +0100)]
fix corner cases related to `AST_Hole` (#3994)

4 years agoremove AppVeyor (#3992)
Alex Lam S.L [Fri, 12 Jun 2020 00:43:42 +0000 (01:43 +0100)]
remove AppVeyor (#3992)

4 years agofix corner case in `dead_code` (#3991)
Alex Lam S.L [Fri, 12 Jun 2020 00:00:19 +0000 (01:00 +0100)]
fix corner case in `dead_code` (#3991)

4 years agoenhance `dead_code` (#3990)
Alex Lam S.L [Thu, 11 Jun 2020 18:16:13 +0000 (19:16 +0100)]
enhance `dead_code` (#3990)

4 years agofix corner case in `unsafe` `evaluate` (#3989)
Alex Lam S.L [Wed, 10 Jun 2020 23:37:39 +0000 (00:37 +0100)]
fix corner case in `unsafe` `evaluate` (#3989)

fixes #3988

4 years agofix corner case in `unused` (#3987)
Alex Lam S.L [Wed, 10 Jun 2020 18:01:23 +0000 (19:01 +0100)]
fix corner case in `unused` (#3987)

fixes #3986

4 years agofix corner case in `--reduce-test` (#3985)
Alex Lam S.L [Wed, 10 Jun 2020 14:51:00 +0000 (15:51 +0100)]
fix corner case in `--reduce-test` (#3985)

4 years agofix corner case in `side_effects` (#3984)
Alex Lam S.L [Wed, 10 Jun 2020 11:30:37 +0000 (12:30 +0100)]
fix corner case in `side_effects` (#3984)

fixes #3983

4 years agoimprove false positive detection in `ufuzz` (#3982)
Alex Lam S.L [Tue, 9 Jun 2020 23:28:56 +0000 (00:28 +0100)]
improve false positive detection in `ufuzz` (#3982)

4 years agoperform `ufuzz` on more stable Node.js version (#3981)
Alex Lam S.L [Tue, 9 Jun 2020 16:02:05 +0000 (17:02 +0100)]
perform `ufuzz` on more stable Node.js version (#3981)

4 years agoimprove fix for #3976 (#3980)
Alex Lam S.L [Tue, 9 Jun 2020 16:00:57 +0000 (17:00 +0100)]
improve fix for #3976 (#3980)

4 years agofix corner case in `collapse_vars` (#3978)
Alex Lam S.L [Tue, 9 Jun 2020 11:07:20 +0000 (12:07 +0100)]
fix corner case in `collapse_vars` (#3978)

fixes #3976

4 years agoimprove false positive detection in `ufuzz` (#3977)
Alex Lam S.L [Tue, 9 Jun 2020 11:07:02 +0000 (12:07 +0100)]
improve false positive detection in `ufuzz` (#3977)

4 years agofix corner case in `reduce_vars` (#3975)
Alex Lam S.L [Tue, 9 Jun 2020 02:33:47 +0000 (03:33 +0100)]
fix corner case in `reduce_vars` (#3975)

fixes #3974

4 years agoimprove false positive detection in `ufuzz` (#3973)
Alex Lam S.L [Mon, 8 Jun 2020 17:47:50 +0000 (18:47 +0100)]
improve false positive detection in `ufuzz` (#3973)

4 years agofix corner case in `collapse_vars` (#3972)
Alex Lam S.L [Mon, 8 Jun 2020 16:09:21 +0000 (17:09 +0100)]
fix corner case in `collapse_vars` (#3972)

fixes #3971

4 years agoimprove false positive detection in `ufuzz` (#3968)
Alex Lam S.L [Mon, 8 Jun 2020 06:21:45 +0000 (07:21 +0100)]
improve false positive detection in `ufuzz` (#3968)

4 years agofix corner case in `dead_code` (#3969)
Alex Lam S.L [Mon, 8 Jun 2020 05:42:09 +0000 (06:42 +0100)]
fix corner case in `dead_code` (#3969)

fixes #3967

4 years agoimprove handling of invalid CLI options (#3966)
Alex Lam S.L [Mon, 8 Jun 2020 03:16:03 +0000 (04:16 +0100)]
improve handling of invalid CLI options (#3966)

4 years agofix corner cases related to `in` (#3964)
Alex Lam S.L [Sun, 7 Jun 2020 21:23:23 +0000 (22:23 +0100)]
fix corner cases related to `in` (#3964)

4 years agoparse command line internally (#3961)
Alex Lam S.L [Sun, 7 Jun 2020 05:48:51 +0000 (06:48 +0100)]
parse command line internally (#3961)

4 years agofix corner case in `unused` (#3963)
Alex Lam S.L [Sun, 7 Jun 2020 05:48:29 +0000 (06:48 +0100)]
fix corner case in `unused` (#3963)

fixes #3962

4 years agoimprove fix for #3958 (#3960)
Alex Lam S.L [Sat, 6 Jun 2020 14:07:32 +0000 (15:07 +0100)]
improve fix for #3958 (#3960)

4 years agofix corner case in `reduce_vars` (#3959)
Alex Lam S.L [Sat, 6 Jun 2020 02:04:37 +0000 (10:04 +0800)]
fix corner case in `reduce_vars` (#3959)

fixes #3958

4 years agofix corner cases in `reduce_vars` & `unused` (#3955)
Alex Lam S.L [Fri, 5 Jun 2020 10:51:21 +0000 (11:51 +0100)]
fix corner cases in `reduce_vars` & `unused` (#3955)

fixes #3953
fixes #3956
fixes #3957

4 years agofix corner case in `collapse_vars` (#3954)
Alex Lam S.L [Fri, 5 Jun 2020 06:28:08 +0000 (07:28 +0100)]
fix corner case in `collapse_vars` (#3954)

4 years agofix corner cases in `assignments`, `reduce_vars` & `unused` (#3950)
Alex Lam S.L [Thu, 4 Jun 2020 20:06:43 +0000 (21:06 +0100)]
fix corner cases in `assignments`, `reduce_vars` & `unused` (#3950)

fixes #3949
fixes #3951

4 years agoadd test case for #3945 (#3948)
Alex Lam S.L [Tue, 2 Jun 2020 19:34:38 +0000 (20:34 +0100)]
add test case for #3945 (#3948)

4 years agofix corner case in `hoist_props` (#3947)
Alex Lam S.L [Tue, 2 Jun 2020 15:51:06 +0000 (16:51 +0100)]
fix corner case in `hoist_props` (#3947)

fixes #3945

4 years agofix corner case in `evaluate` (#3946)
Alex Lam S.L [Tue, 2 Jun 2020 15:50:40 +0000 (16:50 +0100)]
fix corner case in `evaluate` (#3946)

fixes #3944

4 years agoenhance `reduce_vars` (#3942)
Alex Lam S.L [Mon, 1 Jun 2020 12:55:23 +0000 (13:55 +0100)]
enhance `reduce_vars` (#3942)

4 years agofix corner case in `arguments` (#3939)
Alex Lam S.L [Sun, 31 May 2020 04:18:27 +0000 (05:18 +0100)]
fix corner case in `arguments` (#3939)

4 years agofix corner case in `evaluate` (#3938)
Alex Lam S.L [Sat, 30 May 2020 10:22:40 +0000 (11:22 +0100)]
fix corner case in `evaluate` (#3938)

fixes #3937

4 years agofix corner case in `evaluate` (#3936)
Alex Lam S.L [Fri, 29 May 2020 14:10:36 +0000 (15:10 +0100)]
fix corner case in `evaluate` (#3936)

fixes #3935

4 years agofix corner case in `evaluate` (#3934)
Alex Lam S.L [Fri, 29 May 2020 09:48:26 +0000 (10:48 +0100)]
fix corner case in `evaluate` (#3934)

fixes #3933

4 years agoenhance `evaluate`, `functions` & `inline` (#3931)
Alex Lam S.L [Thu, 28 May 2020 23:05:47 +0000 (00:05 +0100)]
enhance `evaluate`, `functions` & `inline` (#3931)

4 years agofix corner case in `functions` (#3930)
Alex Lam S.L [Thu, 28 May 2020 12:07:36 +0000 (13:07 +0100)]
fix corner case in `functions` (#3930)

fixes #3929

4 years agofix corner case in `collapse_vars` (#3928)
Alex Lam S.L [Wed, 27 May 2020 13:02:48 +0000 (14:02 +0100)]
fix corner case in `collapse_vars` (#3928)

fixes #3927

4 years agov3.9.4
Alex Lam S.L [Wed, 27 May 2020 06:50:18 +0000 (07:50 +0100)]
v3.9.4

4 years agofix corner case in infinite recursion detection (#3926)
Alex Lam S.L [Tue, 26 May 2020 18:03:38 +0000 (19:03 +0100)]
fix corner case in infinite recursion detection (#3926)

4 years agoperform `ufuzz` on Pull Requests (#3925)
Alex Lam S.L [Mon, 25 May 2020 14:55:14 +0000 (15:55 +0100)]
perform `ufuzz` on Pull Requests (#3925)

4 years agofix corner cases in infinite recursion detection (#3924)
Alex Lam S.L [Mon, 25 May 2020 14:54:57 +0000 (15:54 +0100)]
fix corner cases in infinite recursion detection (#3924)

4 years agofix corner case in `reduce_vars` (#3923)
Alex Lam S.L [Sat, 23 May 2020 23:38:40 +0000 (00:38 +0100)]
fix corner case in `reduce_vars` (#3923)

fixes #3922

4 years agofix corner case in `evaluate` (#3921)
Alex Lam S.L [Fri, 22 May 2020 03:38:09 +0000 (04:38 +0100)]
fix corner case in `evaluate` (#3921)

fixes #3920

4 years agofix corner case in `ie8` & `reduce_vars` (#3919)
Alex Lam S.L [Fri, 22 May 2020 01:56:35 +0000 (02:56 +0100)]
fix corner case in `ie8` & `reduce_vars` (#3919)

fixes #3918

4 years agofix corner case in `join_vars` (#3917)
Alex Lam S.L [Thu, 21 May 2020 21:26:46 +0000 (22:26 +0100)]
fix corner case in `join_vars` (#3917)

fixes #3916

4 years agofix corner case in `inline` (#3915)
Alex Lam S.L [Thu, 21 May 2020 14:05:31 +0000 (15:05 +0100)]
fix corner case in `inline` (#3915)

fixes #3911

4 years agoimprove job resilience (#3913)
Alex Lam S.L [Wed, 20 May 2020 20:50:42 +0000 (21:50 +0100)]
improve job resilience (#3913)

4 years agoimprove `ufuzz` (#3912)
Alex Lam S.L [Wed, 20 May 2020 20:00:38 +0000 (21:00 +0100)]
improve `ufuzz` (#3912)

- preserve test case if `beautify` suppresses bug
- determine suspicious options even if `minify()` fails

4 years agoupdate header comment for `--reduce-test` (#3910)
Alex Lam S.L [Tue, 19 May 2020 03:35:33 +0000 (04:35 +0100)]
update header comment for `--reduce-test` (#3910)

4 years agofix corner case in `collapse_vars` (#3909)
Alex Lam S.L [Tue, 19 May 2020 03:34:50 +0000 (04:34 +0100)]
fix corner case in `collapse_vars` (#3909)

fixes #3908

4 years agoenhance `dead_code` (#3907)
Alex Lam S.L [Mon, 18 May 2020 19:53:08 +0000 (20:53 +0100)]
enhance `dead_code` (#3907)

4 years agofix corner case in `evaluate` (#3906)
Alex Lam S.L [Mon, 18 May 2020 00:41:10 +0000 (01:41 +0100)]
fix corner case in `evaluate` (#3906)

fixes #3905

4 years agofix corner case in `evaluate` (#3904)
Alex Lam S.L [Sun, 17 May 2020 14:25:13 +0000 (15:25 +0100)]
fix corner case in `evaluate` (#3904)

fixes #3903

4 years agofix suspicious `toplevel` detection (#3902)
Alex Lam S.L [Sun, 17 May 2020 13:35:17 +0000 (14:35 +0100)]
fix suspicious `toplevel` detection (#3902)

4 years agobenchmark without validation by default (#3901)
Alex Lam S.L [Fri, 15 May 2020 15:57:50 +0000 (16:57 +0100)]
benchmark without validation by default (#3901)

4 years agofix corner case in `functions` (#3900)
Alex Lam S.L [Fri, 15 May 2020 10:03:56 +0000 (11:03 +0100)]
fix corner case in `functions` (#3900)

fixes #3899

4 years agofix corner case in `collapse_vars` (#3898)
Alex Lam S.L [Thu, 14 May 2020 17:09:54 +0000 (18:09 +0100)]
fix corner case in `collapse_vars` (#3898)

fixes #3897