Alex Lam S.L [Tue, 15 Oct 2019 06:18:12 +0000 (14:18 +0800)]
fix corner case in `ie8` & `mangle` (#3476)
fixes #3475
Alex Lam S.L [Mon, 14 Oct 2019 23:27:02 +0000 (07:27 +0800)]
fix corner case in `ie8` & `rename` (#3474)
fixes #3473
Alex Lam S.L [Mon, 14 Oct 2019 10:15:40 +0000 (18:15 +0800)]
fix corner cases in `ie8` (#3472)
fixes #3471
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
Alex Lam S.L [Mon, 14 Oct 2019 05:34:22 +0000 (13:34 +0800)]
update dependency (#3470)
Alex Lam S.L [Sat, 12 Oct 2019 12:19:05 +0000 (20:19 +0800)]
v3.6.2
Alex Lam S.L [Fri, 11 Oct 2019 21:36:38 +0000 (05:36 +0800)]
minor tweaks to CI test scripts (#3467)
Alex Lam S.L [Fri, 11 Oct 2019 19:42:57 +0000 (03:42 +0800)]
fix boolean context detection (#3466)
fixes #3465
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
Alex Lam S.L [Thu, 10 Oct 2019 17:00:09 +0000 (01:00 +0800)]
update benchmark URLs (#3462)
Alex Lam S.L [Thu, 10 Oct 2019 01:37:02 +0000 (09:37 +0800)]
detect boolean context across IIFEs (#3461)
Alex Lam S.L [Wed, 9 Oct 2019 20:32:32 +0000 (04:32 +0800)]
improve readability of `--help ast` (#3460)
Alex Lam S.L [Wed, 9 Oct 2019 17:36:58 +0000 (01:36 +0800)]
remove extraneous property (#3459)
fixes #3455
Alex Lam S.L [Wed, 9 Oct 2019 15:45:41 +0000 (23:45 +0800)]
clean up AST_Binary optimisation logic (#3458)
Alex Lam S.L [Mon, 7 Oct 2019 06:36:46 +0000 (14:36 +0800)]
v3.6.1
Alex Lam S.L [Mon, 7 Oct 2019 06:36:00 +0000 (14:36 +0800)]
report errors correctly in ufuzz (#3456)
Alex Lam S.L [Sun, 6 Oct 2019 08:51:37 +0000 (16:51 +0800)]
account for `catch` in constant lambda expressions (#3454)
Alex Lam S.L [Sun, 6 Oct 2019 03:49:39 +0000 (11:49 +0800)]
workaround V8 RegExp bug (#3453)
fixes #3434
Alex Lam S.L [Sun, 6 Oct 2019 02:29:13 +0000 (10:29 +0800)]
fix corner case in `hoist_props` (#3452)
fixes #3440
Alex Lam S.L [Sun, 6 Oct 2019 00:51:38 +0000 (08:51 +0800)]
handle function/variable name collisions correctly (#3451)
fixes #3439
David xu [Sat, 5 Oct 2019 21:29:08 +0000 (05:29 +0800)]
exclude mangling of addEventListener parameters (#3445)
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`
Alex Lam S.L [Sat, 5 Oct 2019 21:13:44 +0000 (05:13 +0800)]
fix variable scope determination (#3449)
fixes #3444
Alex Lam S.L [Sat, 5 Oct 2019 19:10:12 +0000 (03:10 +0800)]
update & fix dependencies (#3450)
Alex Lam S.L [Thu, 30 May 2019 07:30:00 +0000 (15:30 +0800)]
v3.6.0
Alex Lam S.L [Wed, 29 May 2019 21:01:53 +0000 (05:01 +0800)]
fix corner case in `assignments` (#3430)
fixes #3429
Alex Lam S.L [Tue, 28 May 2019 17:21:08 +0000 (01:21 +0800)]
enhance `assignments` & `unused` (#3428)
closes #3427
Alex Lam S.L [Tue, 21 May 2019 06:26:58 +0000 (14:26 +0800)]
v3.5.15
Alex Lam S.L [Tue, 21 May 2019 04:55:34 +0000 (12:55 +0800)]
fix corner case in `keep_fargs` (#3424)
fixes #3423
Alex Lam S.L [Sun, 19 May 2019 16:13:06 +0000 (00:13 +0800)]
v3.5.14
Alex Lam S.L [Sun, 19 May 2019 04:59:40 +0000 (12:59 +0800)]
fix corner case in `arguments` (#3421)
fixes #3420
Alex Lam S.L [Fri, 17 May 2019 06:10:33 +0000 (14:10 +0800)]
v3.5.13
Alex Lam S.L [Thu, 16 May 2019 17:28:18 +0000 (01:28 +0800)]
enhance `unsafe` `comparisons` (#3419)
Alex Lam S.L [Thu, 16 May 2019 08:15:03 +0000 (16:15 +0800)]
reduce false positives from fuzzing (#3417)
Alex Lam S.L [Wed, 15 May 2019 15:26:57 +0000 (23:26 +0800)]
improve sandbox fidelity (#3415)
Alex Lam S.L [Tue, 14 May 2019 17:01:18 +0000 (01:01 +0800)]
fix corner case in `comparisons` (#3414)
fixes #3413
Alex Lam S.L [Tue, 14 May 2019 11:12:00 +0000 (19:12 +0800)]
fix corner case in `hoist_props` (#3412)
fixes #3411
Alex Lam S.L [Mon, 13 May 2019 21:26:40 +0000 (05:26 +0800)]
enhance `side_effects` (#3410)
Alex Lam S.L [Mon, 13 May 2019 13:58:04 +0000 (21:58 +0800)]
enhance `keep_fargs` (#3409)
Alex Lam S.L [Sun, 12 May 2019 02:40:13 +0000 (10:40 +0800)]
v3.5.12
Alex Lam S.L [Sun, 12 May 2019 01:44:02 +0000 (09:44 +0800)]
improve tests (#3408)
Alex Lam S.L [Sat, 11 May 2019 19:52:46 +0000 (03:52 +0800)]
fix corner case in `assignments` (#3407)
fixes #3406
Alex Lam S.L [Sat, 11 May 2019 14:03:41 +0000 (22:03 +0800)]
improve tests (#3405)
Alex Lam S.L [Sat, 11 May 2019 10:55:45 +0000 (18:55 +0800)]
fix corner case in `functions` (#3403)
fixes #3402
Alex Lam S.L [Thu, 9 May 2019 17:22:44 +0000 (01:22 +0800)]
fix corner case in `inline` (#3401)
fixes #3400
Alex Lam S.L [Wed, 8 May 2019 23:18:22 +0000 (07:18 +0800)]
improve tests (#3399)
Alex Lam S.L [Mon, 6 May 2019 17:45:40 +0000 (01:45 +0800)]
v3.5.11
Alex Lam S.L [Sat, 4 May 2019 12:25:52 +0000 (20:25 +0800)]
make `enclose` & `wrap` work with `sourceMap` (#3396)
fixes #3313
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
Alex Lam S.L [Thu, 2 May 2019 05:50:51 +0000 (13:50 +0800)]
render comments in custom ASTs gracefully (#3393)
fixes #3246
Alex Lam S.L [Wed, 1 May 2019 16:01:40 +0000 (00:01 +0800)]
v3.5.10
Alex Lam S.L [Mon, 29 Apr 2019 22:32:24 +0000 (06:32 +0800)]
unify logging functionality (#3392)
fixes #3253
fixes #3254
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.
Alex Lam S.L [Mon, 29 Apr 2019 09:23:00 +0000 (17:23 +0800)]
fix corner case in `properties` (#3390)
fixes #3389
Alex Lam S.L [Mon, 29 Apr 2019 00:55:46 +0000 (08:55 +0800)]
fix corner case in `evaluate` (#3388)
fixes #3387
Alex Lam S.L [Sat, 27 Apr 2019 09:00:58 +0000 (17:00 +0800)]
v3.5.9
Alex Lam S.L [Thu, 25 Apr 2019 07:15:50 +0000 (15:15 +0800)]
enhance `side_effects` (#3384)
Alex Lam S.L [Thu, 25 Apr 2019 04:33:13 +0000 (12:33 +0800)]
v3.5.8
Alex Lam S.L [Wed, 24 Apr 2019 20:14:21 +0000 (04:14 +0800)]
enhance `side_effects` (#3383)
Alex Lam S.L [Wed, 24 Apr 2019 18:42:54 +0000 (02:42 +0800)]
enhance `unsafe` (#3382)
Alex Lam S.L [Wed, 24 Apr 2019 16:08:08 +0000 (00:08 +0800)]
enhance `unsafe` `comparisons` (#3381)
Alex Lam S.L [Wed, 24 Apr 2019 14:21:28 +0000 (22:21 +0800)]
fix corner case in `unsafe` (#3380)
Alex Lam S.L [Wed, 24 Apr 2019 13:38:55 +0000 (21:38 +0800)]
enhance `comparisons` (#3379)
Alex Lam S.L [Wed, 24 Apr 2019 06:05:07 +0000 (14:05 +0800)]
v3.5.7
Alex Lam S.L [Wed, 24 Apr 2019 06:01:01 +0000 (14:01 +0800)]
fix corner case in `reduce_vars` (#3378)
fixes #3377
Alex Lam S.L [Tue, 23 Apr 2019 18:50:15 +0000 (02:50 +0800)]
fix corner case in `assignments` (#3376)
fixes #3375
Alex Lam S.L [Sun, 21 Apr 2019 01:49:07 +0000 (09:49 +0800)]
unwind IIFE class patterns (#3373)
fixes #2332
Alex Lam S.L [Sat, 20 Apr 2019 23:19:29 +0000 (07:19 +0800)]
v3.5.6
Alex Lam S.L [Sat, 20 Apr 2019 18:16:05 +0000 (02:16 +0800)]
fix corner cases in `functions` (#3372)
fixes #3371
Alex Lam S.L [Sat, 20 Apr 2019 11:42:41 +0000 (19:42 +0800)]
enhance `unsafe` `evaluate` (#3370)
Alex Lam S.L [Fri, 19 Apr 2019 23:16:14 +0000 (07:16 +0800)]
update `domprops` (#3369)
fixes #2343
fixes #3037
Alex Lam S.L [Fri, 19 Apr 2019 11:01:47 +0000 (19:01 +0800)]
enhance `functions` (#3368)
Alex Lam S.L [Fri, 19 Apr 2019 07:22:46 +0000 (15:22 +0800)]
v3.5.5
Alex Lam S.L [Thu, 18 Apr 2019 18:55:43 +0000 (02:55 +0800)]
fix corner case in `functions` (#3367)
fixes #3366
Alex Lam S.L [Thu, 18 Apr 2019 09:03:52 +0000 (17:03 +0800)]
fix corner case in `functions` (#3365)
fixes #3364
Alex Lam S.L [Wed, 17 Apr 2019 08:19:08 +0000 (16:19 +0800)]
reduce test exports (#3361)
Alex Lam S.L [Mon, 15 Apr 2019 14:23:11 +0000 (22:23 +0800)]
introduce `functions` (#3360)
`var f = function() {};` => `function f() {}`
Alex Lam S.L [Tue, 9 Apr 2019 18:40:42 +0000 (02:40 +0800)]
v3.5.4
Alex Lam S.L [Tue, 9 Apr 2019 18:39:56 +0000 (02:39 +0800)]
update dependencies (#3358)
- commander@2.20.0
- semver@6.0.0
Alex Lam S.L [Mon, 1 Apr 2019 10:12:03 +0000 (18:12 +0800)]
v3.5.3
Alex Lam S.L [Mon, 1 Apr 2019 07:22:00 +0000 (15:22 +0800)]
mangle shadowed lambda under `ie8` correctly (#3356)
fixes #3355
Ruben Bridgewater [Fri, 29 Mar 2019 18:08:27 +0000 (19:08 +0100)]
Fix test expectation (#3357)
The test expects a specific precision value that is not met on all V8 versions anymore due to a recent consolidation of different algorithms across the V8 code base.
This makes sure the preceision is tested against one digit less to keep the test working on all V8 versions.
Refs: https://chromium.googlesource.com/v8/v8/+/
98453126c109016c9d32c6ebd89dd83f69dd8efb
Refs: https://github.com/nodejs/node/issues/25060#issuecomment-
477953457
Alex Lam S.L [Sat, 23 Mar 2019 06:25:14 +0000 (14:25 +0800)]
v3.5.2
Alex Lam S.L [Sat, 23 Mar 2019 06:21:54 +0000 (14:21 +0800)]
fix infinite loop triggered by #3347 (#3354)
fixes #3353
Alex Lam S.L [Thu, 21 Mar 2019 05:54:14 +0000 (13:54 +0800)]
v3.5.1
Alex Lam S.L [Wed, 20 Mar 2019 18:58:33 +0000 (02:58 +0800)]
enhance `inline` (#3352)
Alex Lam S.L [Wed, 20 Mar 2019 15:31:21 +0000 (23:31 +0800)]
enhance `collapse_vars` (#3351)
Alex Lam S.L [Wed, 20 Mar 2019 10:43:54 +0000 (18:43 +0800)]
v3.5.0
Alex Lam S.L [Wed, 20 Mar 2019 06:54:26 +0000 (14:54 +0800)]
fix corner case in `sequences` (#3350)
Alex Lam S.L [Tue, 19 Mar 2019 22:37:51 +0000 (06:37 +0800)]
enhance `unsafe` for `Array` (#3349)
Alex Lam S.L [Tue, 19 Mar 2019 18:53:04 +0000 (02:53 +0800)]
improve `compress` performance (#3348)
fixes #3174
Alex Lam S.L [Mon, 18 Mar 2019 17:34:25 +0000 (01:34 +0800)]
enhance `comparisons` (#3347)
Alex Lam S.L [Mon, 18 Mar 2019 13:28:41 +0000 (21:28 +0800)]
introduce `assignments` (#3345)
Alex Lam S.L [Mon, 18 Mar 2019 13:24:42 +0000 (21:24 +0800)]
fix corner case in `evaluate` (#3344)
Alex Lam S.L [Sat, 16 Mar 2019 21:31:40 +0000 (05:31 +0800)]
fix corner case in `inline` (#3343)
Alex Lam S.L [Fri, 15 Mar 2019 16:16:21 +0000 (00:16 +0800)]
v3.4.10
Alex Lam S.L [Fri, 15 Mar 2019 08:45:12 +0000 (16:45 +0800)]
add Node.js 10 to CI tests (#3342)
Alex Lam S.L [Fri, 15 Mar 2019 08:06:47 +0000 (16:06 +0800)]
fix corner case in `reduce_vars` (#3341)
Alex Lam S.L [Fri, 15 Mar 2019 06:49:48 +0000 (14:49 +0800)]
update dependencies
- acorn@6.1.1
- commander@2.19.0
- semver@5.6.0
Alex Lam S.L [Thu, 14 Mar 2019 21:45:46 +0000 (05:45 +0800)]
fix function inlining after `reduce_vars` (#3340)
fixes #3297