UglifyJS.git
4 years agofix corner case in `merge_vars` (#4102)
Alex Lam S.L [Tue, 15 Sep 2020 11:18:12 +0000 (12:18 +0100)]
fix corner case in `merge_vars` (#4102)

fixes #4101

4 years agointroduce `merge_vars` (#4100)
Alex Lam S.L [Tue, 15 Sep 2020 02:01:48 +0000 (03:01 +0100)]
introduce `merge_vars` (#4100)

4 years agoenhance `unused` (#4098)
Alex Lam S.L [Sat, 12 Sep 2020 17:05:43 +0000 (18:05 +0100)]
enhance `unused` (#4098)

4 years agoenhance `if_return` (#4097)
Alex Lam S.L [Thu, 10 Sep 2020 14:31:34 +0000 (15:31 +0100)]
enhance `if_return` (#4097)

4 years agofix corner case in `reduce_vars` (#4095)
Alex Lam S.L [Tue, 8 Sep 2020 14:12:27 +0000 (15:12 +0100)]
fix corner case in `reduce_vars` (#4095)

4 years agov3.10.4
Alex Lam S.L [Sun, 6 Sep 2020 16:25:54 +0000 (00:25 +0800)]
v3.10.4

4 years agorelax `ufuzz` job timing constraint (#4094)
Alex Lam S.L [Sat, 5 Sep 2020 11:29:50 +0000 (12:29 +0100)]
relax `ufuzz` job timing constraint (#4094)

4 years agoenhance `unsafe_math` (#4093)
Alex Lam S.L [Fri, 4 Sep 2020 02:14:39 +0000 (03:14 +0100)]
enhance `unsafe_math` (#4093)

4 years agofix corner case in `loops` & `unused` (#4092)
Alex Lam S.L [Thu, 3 Sep 2020 17:51:26 +0000 (18:51 +0100)]
fix corner case in `loops` & `unused` (#4092)

fixes #4091

4 years agoenhance `unused` (#4090)
Alex Lam S.L [Thu, 3 Sep 2020 09:41:33 +0000 (10:41 +0100)]
enhance `unused` (#4090)

4 years agoenhance `join_vars` (#4089)
Alex Lam S.L [Wed, 2 Sep 2020 17:41:10 +0000 (18:41 +0100)]
enhance `join_vars` (#4089)

4 years agoenhance `reduce_vars` (#4088)
Alex Lam S.L [Wed, 2 Sep 2020 03:30:46 +0000 (04:30 +0100)]
enhance `reduce_vars` (#4088)

4 years agoreduce `AST_ForIn` gracefully (#4087)
Alex Lam S.L [Wed, 2 Sep 2020 00:51:43 +0000 (01:51 +0100)]
reduce `AST_ForIn` gracefully (#4087)

4 years agofix test case runtime accounting (#4086)
Alex Lam S.L [Tue, 1 Sep 2020 19:23:08 +0000 (20:23 +0100)]
fix test case runtime accounting (#4086)

4 years agofix corner case in `loops` & `unused` (#4085)
Alex Lam S.L [Tue, 1 Sep 2020 19:20:58 +0000 (20:20 +0100)]
fix corner case in `loops` & `unused` (#4085)

fixes #4084

4 years agov3.10.3
Alex Lam S.L [Sun, 30 Aug 2020 12:09:12 +0000 (13:09 +0100)]
v3.10.3

4 years agofix corner case in `loops` & `unused` (#4083)
Alex Lam S.L [Fri, 28 Aug 2020 18:42:17 +0000 (19:42 +0100)]
fix corner case in `loops` & `unused` (#4083)

fixes #4082

4 years agofix corner case in `sequences` (#4080)
Alex Lam S.L [Wed, 26 Aug 2020 12:41:11 +0000 (13:41 +0100)]
fix corner case in `sequences` (#4080)

fixes #4079

4 years agofix corner case in `evaluate` (#4078)
Alex Lam S.L [Wed, 26 Aug 2020 11:45:38 +0000 (12:45 +0100)]
fix corner case in `evaluate` (#4078)

fixes #4077

4 years agofix corner case in `loops` & `unused` (#4076)
Alex Lam S.L [Wed, 26 Aug 2020 09:32:20 +0000 (10:32 +0100)]
fix corner case in `loops` & `unused` (#4076)

fixes #4075

4 years agoenhance `loops` & `unused` (#4074)
Alex Lam S.L [Wed, 26 Aug 2020 01:32:55 +0000 (02:32 +0100)]
enhance `loops` & `unused` (#4074)

- extend `ufuzz` generation of for-in loops

4 years agofix corner case in `sequences` (#4073)
Alex Lam S.L [Tue, 25 Aug 2020 17:26:49 +0000 (18:26 +0100)]
fix corner case in `sequences` (#4073)

4 years agostreamline parenthesis logic (#4072)
Alex Lam S.L [Tue, 25 Aug 2020 11:45:37 +0000 (12:45 +0100)]
streamline parenthesis logic (#4072)

4 years agofix corner case in `collapse_vars` (#4071)
Alex Lam S.L [Tue, 25 Aug 2020 09:23:36 +0000 (10:23 +0100)]
fix corner case in `collapse_vars` (#4071)

fixes #4070

4 years agominor clean up (#4069)
Alex Lam S.L [Tue, 25 Aug 2020 02:10:56 +0000 (10:10 +0800)]
minor clean up (#4069)

4 years agofix corner case in `evaluate` (#4068)
Alex Lam S.L [Mon, 24 Aug 2020 06:57:26 +0000 (07:57 +0100)]
fix corner case in `evaluate` (#4068)

fixes #4067

4 years agotidy up various interfaces (#4066)
Alex Lam S.L [Sun, 23 Aug 2020 20:39:38 +0000 (21:39 +0100)]
tidy up various interfaces (#4066)

4 years agov3.10.2
Alex Lam S.L [Sun, 23 Aug 2020 15:09:12 +0000 (23:09 +0800)]
v3.10.2

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