UglifyJS.git
3 years agofix corner cases in `functions` & `merge_vars` (#4156)
Alex Lam S.L [Sat, 26 Sep 2020 07:31:33 +0000 (08:31 +0100)]
fix corner cases in `functions` & `merge_vars` (#4156)

fixes #4155

3 years agofix corner case in `ufuzz` scheduling (#4154)
Alex Lam S.L [Sat, 26 Sep 2020 03:23:56 +0000 (04:23 +0100)]
fix corner case in `ufuzz` scheduling (#4154)

3 years agoimprove `ufuzz` duty cycle heuristic (#4153)
Alex Lam S.L [Fri, 25 Sep 2020 23:56:00 +0000 (00:56 +0100)]
improve `ufuzz` duty cycle heuristic (#4153)

3 years agoenhance `merge_vars` (#4152)
Alex Lam S.L [Fri, 25 Sep 2020 14:00:20 +0000 (15:00 +0100)]
enhance `merge_vars` (#4152)

3 years agofix corner case in `merge_vars` (#4151)
Alex Lam S.L [Fri, 25 Sep 2020 00:04:51 +0000 (01:04 +0100)]
fix corner case in `merge_vars` (#4151)

3 years agominor clean up (#4149)
Alex Lam S.L [Wed, 23 Sep 2020 15:06:12 +0000 (16:06 +0100)]
minor clean up (#4149)

3 years agominor clean up (#4148)
Alex Lam S.L [Wed, 23 Sep 2020 08:34:22 +0000 (09:34 +0100)]
minor clean up (#4148)

3 years agofix corner case in `unused` (#4147)
Alex Lam S.L [Tue, 22 Sep 2020 12:08:45 +0000 (13:08 +0100)]
fix corner case in `unused` (#4147)

fixes #4146

4 years agofix corner case in `unused` (#4145)
Alex Lam S.L [Tue, 22 Sep 2020 06:03:27 +0000 (07:03 +0100)]
fix corner case in `unused` (#4145)

fixes #4144

4 years agofix corner case in `evaluate` (#4143)
Alex Lam S.L [Tue, 22 Sep 2020 04:11:25 +0000 (05:11 +0100)]
fix corner case in `evaluate` (#4143)

fixes #4142

4 years agoMerge pull request #4141 from alexlamsl/unused
Alex Lam S.L [Tue, 22 Sep 2020 01:21:43 +0000 (02:21 +0100)]
Merge pull request #4141 from alexlamsl/unused

enhance `unused`

4 years agoenhance `unused`
alexlamsl [Mon, 21 Sep 2020 23:48:55 +0000 (07:48 +0800)]
enhance `unused`

4 years agofix corner case in `merge_vars` (#4140)
Alex Lam S.L [Mon, 21 Sep 2020 22:49:41 +0000 (23:49 +0100)]
fix corner case in `merge_vars` (#4140)

fixes #4139

4 years agofix corner case in `evaluate` (#4138)
Alex Lam S.L [Mon, 21 Sep 2020 22:49:32 +0000 (23:49 +0100)]
fix corner case in `evaluate` (#4138)

fixes #4137

4 years agofix corner case in `merge_vars`
alexlamsl [Mon, 21 Sep 2020 21:03:06 +0000 (05:03 +0800)]
fix corner case in `merge_vars`

fixes #4139

4 years agofix corner case in `merge_vars` (#4136)
Alex Lam S.L [Sun, 20 Sep 2020 15:54:14 +0000 (16:54 +0100)]
fix corner case in `merge_vars` (#4136)

fixes #4135

4 years agofix corner case in `unused` (#4134)
Alex Lam S.L [Sun, 20 Sep 2020 15:21:59 +0000 (16:21 +0100)]
fix corner case in `unused` (#4134)

fixes #4133

4 years agoimprove `ufuzz` duty cycle heuristic (#4132)
Alex Lam S.L [Sun, 20 Sep 2020 00:29:35 +0000 (01:29 +0100)]
improve `ufuzz` duty cycle heuristic (#4132)

4 years agofix corner case in `merge_vars` (#4131)
Alex Lam S.L [Sat, 19 Sep 2020 21:36:16 +0000 (22:36 +0100)]
fix corner case in `merge_vars` (#4131)

fixes #4130

4 years agoenhance `unused` (#4129)
Alex Lam S.L [Sat, 19 Sep 2020 17:45:52 +0000 (18:45 +0100)]
enhance `unused` (#4129)

4 years agoreport immediate `ufuzz` failure from Pull Request (#4128)
Alex Lam S.L [Sat, 19 Sep 2020 12:31:37 +0000 (13:31 +0100)]
report immediate `ufuzz` failure from Pull Request (#4128)

4 years agofix corner case in `merge_vars` (#4127)
Alex Lam S.L [Sat, 19 Sep 2020 11:56:21 +0000 (12:56 +0100)]
fix corner case in `merge_vars` (#4127)

fixes #4126

4 years agoenhance `merge_vars` (#4125)
Alex Lam S.L [Sat, 19 Sep 2020 03:16:23 +0000 (04:16 +0100)]
enhance `merge_vars` (#4125)

4 years agoenhance `side_effects` (#4124)
Alex Lam S.L [Fri, 18 Sep 2020 13:35:29 +0000 (14:35 +0100)]
enhance `side_effects` (#4124)

- add documentation for `merge_vars`

4 years agoremove redundant transform (#4123)
Alex Lam S.L [Thu, 17 Sep 2020 23:04:46 +0000 (00:04 +0100)]
remove redundant transform (#4123)

4 years agoadd tests (#4122)
Alex Lam S.L [Thu, 17 Sep 2020 16:26:31 +0000 (17:26 +0100)]
add tests (#4122)

4 years agoimprove fix for #4119 (#4121)
Alex Lam S.L [Thu, 17 Sep 2020 15:08:36 +0000 (16:08 +0100)]
improve fix for #4119 (#4121)

4 years agofix corner case in `evaluate` (#4120)
Alex Lam S.L [Thu, 17 Sep 2020 13:20:31 +0000 (14:20 +0100)]
fix corner case in `evaluate` (#4120)

fixes #4119

4 years agominor clean up (#4118)
Alex Lam S.L [Wed, 16 Sep 2020 23:10:45 +0000 (00:10 +0100)]
minor clean up (#4118)

4 years agoenhance `collapse_vars` (#4117)
Alex Lam S.L [Wed, 16 Sep 2020 22:35:22 +0000 (23:35 +0100)]
enhance `collapse_vars` (#4117)

4 years agoimprove handling of `switch` statements (#4114)
Alex Lam S.L [Wed, 16 Sep 2020 19:12:08 +0000 (20:12 +0100)]
improve handling of `switch` statements (#4114)

4 years agofix corner case in `merge_vars` (#4116)
Alex Lam S.L [Wed, 16 Sep 2020 19:11:57 +0000 (20:11 +0100)]
fix corner case in `merge_vars` (#4116)

fixes #4115

4 years agofix corner case in `merge_vars` (#4113)
Alex Lam S.L [Wed, 16 Sep 2020 14:18:28 +0000 (15:18 +0100)]
fix corner case in `merge_vars` (#4113)

fixes #4112

4 years agoenhance `conditionals` (#4106)
Alex Lam S.L [Tue, 15 Sep 2020 21:51:42 +0000 (22:51 +0100)]
enhance `conditionals` (#4106)

4 years agofix corner cases in `merge_vars` (#4108)
Alex Lam S.L [Tue, 15 Sep 2020 20:43:01 +0000 (21:43 +0100)]
fix corner cases in `merge_vars` (#4108)

fixes #4107
fixes #4109
fixes #4110
fixes #4111

4 years agoenhance `merge_vars` (#4105)
Alex Lam S.L [Tue, 15 Sep 2020 14:59:10 +0000 (15:59 +0100)]
enhance `merge_vars` (#4105)

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

fixes #4103

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