UglifyJS.git
4 years agofix corner case in `collapse_vars` (#3527)
Alex Lam S.L [Fri, 25 Oct 2019 21:41:02 +0000 (05:41 +0800)]
fix corner case in `collapse_vars` (#3527)

fixes #3526

4 years agoseparate ufuzz job failures (#3525)
Alex Lam S.L [Thu, 24 Oct 2019 18:06:29 +0000 (02:06 +0800)]
separate ufuzz job failures (#3525)

4 years agofix corner case in `ie8` & `mangle` (#3524)
Alex Lam S.L [Thu, 24 Oct 2019 15:43:19 +0000 (23:43 +0800)]
fix corner case in `ie8` & `mangle` (#3524)

fixes #3523

4 years agofix corner case in `collapse_vars` (#3521)
Alex Lam S.L [Wed, 23 Oct 2019 17:13:57 +0000 (01:13 +0800)]
fix corner case in `collapse_vars` (#3521)

fixes #3520

4 years agov3.6.4
Alex Lam S.L [Wed, 23 Oct 2019 07:38:05 +0000 (15:38 +0800)]
v3.6.4

4 years agofix corner cases in `unused` (#3519)
Alex Lam S.L [Tue, 22 Oct 2019 22:46:05 +0000 (06:46 +0800)]
fix corner cases in `unused` (#3519)

4 years agofix corner case in `unused` (#3517)
Alex Lam S.L [Tue, 22 Oct 2019 17:58:40 +0000 (01:58 +0800)]
fix corner case in `unused` (#3517)

fixes #3515

4 years agofix corner case in `side_effects` (#3514)
Alex Lam S.L [Tue, 22 Oct 2019 17:04:00 +0000 (01:04 +0800)]
fix corner case in `side_effects` (#3514)

fixes #3512

4 years agofix corner case in `reduce_vars` (#3510)
Alex Lam S.L [Tue, 22 Oct 2019 12:36:05 +0000 (20:36 +0800)]
fix corner case in `reduce_vars` (#3510)

fixes #3509

4 years agofix corner cases in `inline` (#3507)
Alex Lam S.L [Tue, 22 Oct 2019 07:41:55 +0000 (15:41 +0800)]
fix corner cases in `inline` (#3507)

fixes #3506

4 years agofix GitHub Actions script for fuzzing (#3504)
Alex Lam S.L [Sun, 20 Oct 2019 20:30:00 +0000 (04:30 +0800)]
fix GitHub Actions script for fuzzing (#3504)

4 years agoenable GitHub Actions (#3503)
Alex Lam S.L [Sun, 20 Oct 2019 20:11:14 +0000 (04:11 +0800)]
enable GitHub Actions (#3503)

4 years agominor tweaks (#3502)
Alex Lam S.L [Sun, 20 Oct 2019 07:19:19 +0000 (15:19 +0800)]
minor tweaks (#3502)

4 years agofix corner case in `collapse_vars` (#3501)
Alex Lam S.L [Sat, 19 Oct 2019 19:53:20 +0000 (03:53 +0800)]
fix corner case in `collapse_vars` (#3501)

4 years agofix corner case in `comments` (#3500)
Alex Lam S.L [Sat, 19 Oct 2019 19:21:30 +0000 (03:21 +0800)]
fix corner case in `comments` (#3500)

4 years agov3.6.3
Alex Lam S.L [Sat, 19 Oct 2019 06:28:11 +0000 (14:28 +0800)]
v3.6.3

4 years agofix corner case in `unused` (#3499)
Alex Lam S.L [Fri, 18 Oct 2019 12:08:05 +0000 (20:08 +0800)]
fix corner case in `unused` (#3499)

fixes #3497

4 years agofix corner case in `unused` (#3496)
Alex Lam S.L [Fri, 18 Oct 2019 09:09:43 +0000 (17:09 +0800)]
fix corner case in `unused` (#3496)

fixes #3495

4 years agofix corner case in `dead_code` & `ie8` (#3494)
Alex Lam S.L [Thu, 17 Oct 2019 01:58:05 +0000 (09:58 +0800)]
fix corner case in `dead_code` & `ie8` (#3494)

fixes #3493

4 years agofix corner case in `sequences` (#3491)
Alex Lam S.L [Thu, 17 Oct 2019 01:57:50 +0000 (09:57 +0800)]
fix corner case in `sequences` (#3491)

fixes #3490

4 years agohandle `throw` of non-`Error`s gracefully (#3492)
Alex Lam S.L [Wed, 16 Oct 2019 22:29:02 +0000 (06:29 +0800)]
handle `throw` of non-`Error`s gracefully (#3492)

4 years agotweak Travis CI execution environment (#3489)
Alex Lam S.L [Wed, 16 Oct 2019 07:47:06 +0000 (15:47 +0800)]
tweak Travis CI execution environment (#3489)

4 years agofix corner case in `ie8` (#3487)
Alex Lam S.L [Wed, 16 Oct 2019 04:18:27 +0000 (12:18 +0800)]
fix corner case in `ie8` (#3487)

fixes #3486

4 years agofix corner cases in `ie8` (#3485)
Alex Lam S.L [Tue, 15 Oct 2019 22:37:40 +0000 (06:37 +0800)]
fix corner cases in `ie8` (#3485)

fixes #3484

4 years agofix corner case in `evaluate` & `ie8` (#3483)
Alex Lam S.L [Tue, 15 Oct 2019 17:09:16 +0000 (01:09 +0800)]
fix corner case in `evaluate` & `ie8` (#3483)

fixes #3482

4 years agofix corner case in `rename` (#3481)
Alex Lam S.L [Tue, 15 Oct 2019 11:44:07 +0000 (19:44 +0800)]
fix corner case in `rename` (#3481)

fixes #3480

4 years agofix corner case in `ie8` & `mangle` (#3479)
Alex Lam S.L [Tue, 15 Oct 2019 09:14:48 +0000 (17:14 +0800)]
fix corner case in `ie8` & `mangle` (#3479)

fixes #3478

4 years agoavoid mangling of `MutationObserver` properties (#3477)
David xu [Tue, 15 Oct 2019 08:16:43 +0000 (16:16 +0800)]
avoid mangling of `MutationObserver` properties (#3477)

4 years agofix corner case in `ie8` & `mangle` (#3476)
Alex Lam S.L [Tue, 15 Oct 2019 06:18:12 +0000 (14:18 +0800)]
fix corner case in `ie8` & `mangle` (#3476)

fixes #3475

4 years agofix corner case in `ie8` & `rename` (#3474)
Alex Lam S.L [Mon, 14 Oct 2019 23:27:02 +0000 (07:27 +0800)]
fix corner case in `ie8` & `rename` (#3474)

fixes #3473

4 years agofix corner cases in `ie8` (#3472)
Alex Lam S.L [Mon, 14 Oct 2019 10:15:40 +0000 (18:15 +0800)]
fix corner cases in `ie8` (#3472)

fixes #3471

4 years agofix corner case with `collapse_vars` & `ie8` (#3469)
Alex Lam S.L [Mon, 14 Oct 2019 05:34:35 +0000 (13:34 +0800)]
fix corner case with `collapse_vars` & `ie8` (#3469)

fixes #3468

4 years agoupdate dependency (#3470)
Alex Lam S.L [Mon, 14 Oct 2019 05:34:22 +0000 (13:34 +0800)]
update dependency (#3470)

4 years agov3.6.2
Alex Lam S.L [Sat, 12 Oct 2019 12:19:05 +0000 (20:19 +0800)]
v3.6.2

4 years agominor tweaks to CI test scripts (#3467)
Alex Lam S.L [Fri, 11 Oct 2019 21:36:38 +0000 (05:36 +0800)]
minor tweaks to CI test scripts (#3467)

4 years agofix boolean context detection (#3466)
Alex Lam S.L [Fri, 11 Oct 2019 19:42:57 +0000 (03:42 +0800)]
fix boolean context detection (#3466)

fixes #3465

4 years agoimprove source map handling (#3464)
Alex Lam S.L [Thu, 10 Oct 2019 19:52:33 +0000 (03:52 +0800)]
improve source map handling (#3464)

fixes #2947
fixes #3277
fixes #3411

4 years agoupdate benchmark URLs (#3462)
Alex Lam S.L [Thu, 10 Oct 2019 17:00:09 +0000 (01:00 +0800)]
update benchmark URLs (#3462)

4 years agodetect boolean context across IIFEs (#3461)
Alex Lam S.L [Thu, 10 Oct 2019 01:37:02 +0000 (09:37 +0800)]
detect boolean context across IIFEs (#3461)

4 years agoimprove readability of `--help ast` (#3460)
Alex Lam S.L [Wed, 9 Oct 2019 20:32:32 +0000 (04:32 +0800)]
improve readability of `--help ast` (#3460)

4 years agoremove extraneous property (#3459)
Alex Lam S.L [Wed, 9 Oct 2019 17:36:58 +0000 (01:36 +0800)]
remove extraneous property (#3459)

fixes #3455

4 years agoclean up AST_Binary optimisation logic (#3458)
Alex Lam S.L [Wed, 9 Oct 2019 15:45:41 +0000 (23:45 +0800)]
clean up AST_Binary optimisation logic (#3458)

4 years agov3.6.1
Alex Lam S.L [Mon, 7 Oct 2019 06:36:46 +0000 (14:36 +0800)]
v3.6.1

4 years agoreport errors correctly in ufuzz (#3456)
Alex Lam S.L [Mon, 7 Oct 2019 06:36:00 +0000 (14:36 +0800)]
report errors correctly in ufuzz (#3456)

4 years agoaccount for `catch` in constant lambda expressions (#3454)
Alex Lam S.L [Sun, 6 Oct 2019 08:51:37 +0000 (16:51 +0800)]
account for `catch` in constant lambda expressions (#3454)

4 years agoworkaround V8 RegExp bug (#3453)
Alex Lam S.L [Sun, 6 Oct 2019 03:49:39 +0000 (11:49 +0800)]
workaround V8 RegExp bug (#3453)

fixes #3434

4 years agofix corner case in `hoist_props` (#3452)
Alex Lam S.L [Sun, 6 Oct 2019 02:29:13 +0000 (10:29 +0800)]
fix corner case in `hoist_props` (#3452)

fixes #3440

4 years agohandle function/variable name collisions correctly (#3451)
Alex Lam S.L [Sun, 6 Oct 2019 00:51:38 +0000 (08:51 +0800)]
handle function/variable name collisions correctly (#3451)

fixes #3439

4 years agoexclude mangling of addEventListener parameters (#3445)
David xu [Sat, 5 Oct 2019 21:29:08 +0000 (05:29 +0800)]
exclude mangling of addEventListener parameters (#3445)

4 years agofacilitate Webpack compatibility (#3435)
Sampson Crowley [Sat, 5 Oct 2019 21:20:47 +0000 (15:20 -0600)]
facilitate Webpack compatibility (#3435)

Verbose application of `require.resolve` instead of `[].map`

4 years agofix variable scope determination (#3449)
Alex Lam S.L [Sat, 5 Oct 2019 21:13:44 +0000 (05:13 +0800)]
fix variable scope determination (#3449)

fixes #3444

4 years agoupdate & fix dependencies (#3450)
Alex Lam S.L [Sat, 5 Oct 2019 19:10:12 +0000 (03:10 +0800)]
update & fix dependencies (#3450)

5 years agov3.6.0
Alex Lam S.L [Thu, 30 May 2019 07:30:00 +0000 (15:30 +0800)]
v3.6.0

5 years agofix corner case in `assignments` (#3430)
Alex Lam S.L [Wed, 29 May 2019 21:01:53 +0000 (05:01 +0800)]
fix corner case in `assignments` (#3430)

fixes #3429

5 years agoenhance `assignments` & `unused` (#3428)
Alex Lam S.L [Tue, 28 May 2019 17:21:08 +0000 (01:21 +0800)]
enhance `assignments` & `unused` (#3428)

closes #3427

5 years agov3.5.15
Alex Lam S.L [Tue, 21 May 2019 06:26:58 +0000 (14:26 +0800)]
v3.5.15

5 years agofix corner case in `keep_fargs` (#3424)
Alex Lam S.L [Tue, 21 May 2019 04:55:34 +0000 (12:55 +0800)]
fix corner case in `keep_fargs` (#3424)

fixes #3423

5 years agov3.5.14
Alex Lam S.L [Sun, 19 May 2019 16:13:06 +0000 (00:13 +0800)]
v3.5.14

5 years agofix corner case in `arguments` (#3421)
Alex Lam S.L [Sun, 19 May 2019 04:59:40 +0000 (12:59 +0800)]
fix corner case in `arguments` (#3421)

fixes #3420

5 years agov3.5.13
Alex Lam S.L [Fri, 17 May 2019 06:10:33 +0000 (14:10 +0800)]
v3.5.13

5 years agoenhance `unsafe` `comparisons` (#3419)
Alex Lam S.L [Thu, 16 May 2019 17:28:18 +0000 (01:28 +0800)]
enhance `unsafe` `comparisons` (#3419)

5 years agoreduce false positives from fuzzing (#3417)
Alex Lam S.L [Thu, 16 May 2019 08:15:03 +0000 (16:15 +0800)]
reduce false positives from fuzzing (#3417)

5 years agoimprove sandbox fidelity (#3415)
Alex Lam S.L [Wed, 15 May 2019 15:26:57 +0000 (23:26 +0800)]
improve sandbox fidelity (#3415)

5 years agofix corner case in `comparisons` (#3414)
Alex Lam S.L [Tue, 14 May 2019 17:01:18 +0000 (01:01 +0800)]
fix corner case in `comparisons` (#3414)

fixes #3413

5 years agofix corner case in `hoist_props` (#3412)
Alex Lam S.L [Tue, 14 May 2019 11:12:00 +0000 (19:12 +0800)]
fix corner case in `hoist_props` (#3412)

fixes #3411

5 years agoenhance `side_effects` (#3410)
Alex Lam S.L [Mon, 13 May 2019 21:26:40 +0000 (05:26 +0800)]
enhance `side_effects` (#3410)

5 years agoenhance `keep_fargs` (#3409)
Alex Lam S.L [Mon, 13 May 2019 13:58:04 +0000 (21:58 +0800)]
enhance `keep_fargs` (#3409)

5 years agov3.5.12
Alex Lam S.L [Sun, 12 May 2019 02:40:13 +0000 (10:40 +0800)]
v3.5.12

5 years agoimprove tests (#3408)
Alex Lam S.L [Sun, 12 May 2019 01:44:02 +0000 (09:44 +0800)]
improve tests (#3408)

5 years agofix corner case in `assignments` (#3407)
Alex Lam S.L [Sat, 11 May 2019 19:52:46 +0000 (03:52 +0800)]
fix corner case in `assignments` (#3407)

fixes #3406

5 years agoimprove tests (#3405)
Alex Lam S.L [Sat, 11 May 2019 14:03:41 +0000 (22:03 +0800)]
improve tests (#3405)

5 years agofix corner case in `functions` (#3403)
Alex Lam S.L [Sat, 11 May 2019 10:55:45 +0000 (18:55 +0800)]
fix corner case in `functions` (#3403)

fixes #3402

5 years agofix corner case in `inline` (#3401)
Alex Lam S.L [Thu, 9 May 2019 17:22:44 +0000 (01:22 +0800)]
fix corner case in `inline` (#3401)

fixes #3400

5 years agoimprove tests (#3399)
Alex Lam S.L [Wed, 8 May 2019 23:18:22 +0000 (07:18 +0800)]
improve tests (#3399)

5 years agov3.5.11
Alex Lam S.L [Mon, 6 May 2019 17:45:40 +0000 (01:45 +0800)]
v3.5.11

5 years agomake `enclose` & `wrap` work with `sourceMap` (#3396)
Alex Lam S.L [Sat, 4 May 2019 12:25:52 +0000 (20:25 +0800)]
make `enclose` & `wrap` work with `sourceMap` (#3396)

fixes #3313

5 years agofix corner cases in `sourceMap` (#3397)
Alex Lam S.L [Sat, 4 May 2019 12:08:57 +0000 (20:08 +0800)]
fix corner cases in `sourceMap` (#3397)

fixes #3255
fixes #3294

5 years agorender comments in custom ASTs gracefully (#3393)
Alex Lam S.L [Thu, 2 May 2019 05:50:51 +0000 (13:50 +0800)]
render comments in custom ASTs gracefully (#3393)

fixes #3246

5 years agov3.5.10
Alex Lam S.L [Wed, 1 May 2019 16:01:40 +0000 (00:01 +0800)]
v3.5.10

5 years agounify logging functionality (#3392)
Alex Lam S.L [Mon, 29 Apr 2019 22:32:24 +0000 (06:32 +0800)]
unify logging functionality (#3392)

fixes #3253
fixes #3254

5 years agoremove blanket safeguard from `source-map` (#3391)
Alex Lam S.L [Mon, 29 Apr 2019 18:40:36 +0000 (02:40 +0800)]
remove blanket safeguard from `source-map` (#3391)

Things has stabilised since 80a18fe2fa60d8a689516b921a386839d30b6abe, so it makes sense to remove the unconditional masking for ease of debugging.

5 years agofix corner case in `properties` (#3390)
Alex Lam S.L [Mon, 29 Apr 2019 09:23:00 +0000 (17:23 +0800)]
fix corner case in `properties` (#3390)

fixes #3389

5 years agofix corner case in `evaluate` (#3388)
Alex Lam S.L [Mon, 29 Apr 2019 00:55:46 +0000 (08:55 +0800)]
fix corner case in `evaluate` (#3388)

fixes #3387

5 years agov3.5.9
Alex Lam S.L [Sat, 27 Apr 2019 09:00:58 +0000 (17:00 +0800)]
v3.5.9

5 years agoenhance `side_effects` (#3384)
Alex Lam S.L [Thu, 25 Apr 2019 07:15:50 +0000 (15:15 +0800)]
enhance `side_effects` (#3384)

5 years agov3.5.8
Alex Lam S.L [Thu, 25 Apr 2019 04:33:13 +0000 (12:33 +0800)]
v3.5.8

5 years agoenhance `side_effects` (#3383)
Alex Lam S.L [Wed, 24 Apr 2019 20:14:21 +0000 (04:14 +0800)]
enhance `side_effects` (#3383)

5 years agoenhance `unsafe` (#3382)
Alex Lam S.L [Wed, 24 Apr 2019 18:42:54 +0000 (02:42 +0800)]
enhance `unsafe` (#3382)

5 years agoenhance `unsafe` `comparisons` (#3381)
Alex Lam S.L [Wed, 24 Apr 2019 16:08:08 +0000 (00:08 +0800)]
enhance `unsafe` `comparisons` (#3381)

5 years agofix corner case in `unsafe` (#3380)
Alex Lam S.L [Wed, 24 Apr 2019 14:21:28 +0000 (22:21 +0800)]
fix corner case in `unsafe` (#3380)

5 years agoenhance `comparisons` (#3379)
Alex Lam S.L [Wed, 24 Apr 2019 13:38:55 +0000 (21:38 +0800)]
enhance `comparisons` (#3379)

5 years agov3.5.7
Alex Lam S.L [Wed, 24 Apr 2019 06:05:07 +0000 (14:05 +0800)]
v3.5.7

5 years agofix corner case in `reduce_vars` (#3378)
Alex Lam S.L [Wed, 24 Apr 2019 06:01:01 +0000 (14:01 +0800)]
fix corner case in `reduce_vars` (#3378)

fixes #3377

5 years agofix corner case in `assignments` (#3376)
Alex Lam S.L [Tue, 23 Apr 2019 18:50:15 +0000 (02:50 +0800)]
fix corner case in `assignments` (#3376)

fixes #3375

5 years agounwind IIFE class patterns (#3373)
Alex Lam S.L [Sun, 21 Apr 2019 01:49:07 +0000 (09:49 +0800)]
unwind IIFE class patterns (#3373)

fixes #2332

5 years agov3.5.6
Alex Lam S.L [Sat, 20 Apr 2019 23:19:29 +0000 (07:19 +0800)]
v3.5.6

5 years agofix corner cases in `functions` (#3372)
Alex Lam S.L [Sat, 20 Apr 2019 18:16:05 +0000 (02:16 +0800)]
fix corner cases in `functions` (#3372)

fixes #3371

5 years agoenhance `unsafe` `evaluate` (#3370)
Alex Lam S.L [Sat, 20 Apr 2019 11:42:41 +0000 (19:42 +0800)]
enhance `unsafe` `evaluate` (#3370)

5 years agoupdate `domprops` (#3369)
Alex Lam S.L [Fri, 19 Apr 2019 23:16:14 +0000 (07:16 +0800)]
update `domprops` (#3369)

fixes #2343
fixes #3037

5 years agoenhance `functions` (#3368)
Alex Lam S.L [Fri, 19 Apr 2019 11:01:47 +0000 (19:01 +0800)]
enhance `functions` (#3368)