Alex Lam S.L
e8a2c0b5bf
fix corner case in functions ( #3365 )
...
fixes #3364
2019-04-18 17:03:52 +08:00
Alex Lam S.L
21cd7e3f57
reduce test exports ( #3361 )
2019-04-17 16:19:08 +08:00
Alex Lam S.L
5172ba5f2a
introduce functions ( #3360 )
...
`var f = function() {};` => `function f() {}`
2019-04-15 22:23:11 +08:00
Alex Lam S.L
a57b069409
v3.5.4
v3.5.4
2019-04-10 02:40:42 +08:00
Alex Lam S.L
4454656c3b
update dependencies ( #3358 )
...
- commander@2.20 .0
- semver@6.0.0
2019-04-10 02:39:56 +08:00
Alex Lam S.L
fa43768ce0
v3.5.3
v3.5.3
2019-04-01 18:12:03 +08:00
Alex Lam S.L
a74e600fa0
mangle shadowed lambda under ie8 correctly ( #3356 )
...
fixes #3355
2019-04-01 15:22:00 +08:00
Ruben Bridgewater
4b21526310
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: 98453126c1
Refs: https://github.com/nodejs/node/issues/25060#issuecomment-477953457
2019-03-30 02:08:27 +08:00
Alex Lam S.L
a7a7b1daed
v3.5.2
v3.5.2
2019-03-23 14:25:14 +08:00
Alex Lam S.L
7436977aa5
fix infinite loop triggered by #3347 ( #3354 )
...
fixes #3353
2019-03-23 14:21:54 +08:00
Alex Lam S.L
e3c565b46f
v3.5.1
v3.5.1
2019-03-21 13:54:14 +08:00
Alex Lam S.L
54b0b49b68
enhance inline ( #3352 )
2019-03-21 02:58:33 +08:00
Alex Lam S.L
65648d84a5
enhance collapse_vars ( #3351 )
2019-03-20 23:31:21 +08:00
Alex Lam S.L
fd788590f6
v3.5.0
v3.5.0
2019-03-20 18:43:54 +08:00
Alex Lam S.L
143f9054da
fix corner case in sequences ( #3350 )
2019-03-20 14:54:26 +08:00
Alex Lam S.L
f2286c33f1
enhance unsafe for Array ( #3349 )
2019-03-20 06:37:51 +08:00
Alex Lam S.L
b9615f7a62
improve compress performance ( #3348 )
...
fixes #3174
2019-03-20 02:53:04 +08:00
Alex Lam S.L
c520e99eda
enhance comparisons ( #3347 )
2019-03-19 01:34:25 +08:00
Alex Lam S.L
615ae37ca3
introduce assignments ( #3345 )
2019-03-18 21:28:41 +08:00
Alex Lam S.L
7aa7f21872
fix corner case in evaluate ( #3344 )
2019-03-18 21:24:42 +08:00
Alex Lam S.L
4430a436eb
fix corner case in inline ( #3343 )
2019-03-17 05:31:40 +08:00
Alex Lam S.L
9707ccdc9f
v3.4.10
v3.4.10
2019-03-16 00:16:21 +08:00
Alex Lam S.L
cb8f3a2a31
add Node.js 10 to CI tests ( #3342 )
2019-03-15 16:45:12 +08:00
Alex Lam S.L
8b3259e0c2
fix corner case in reduce_vars ( #3341 )
2019-03-15 16:06:47 +08:00
Alex Lam S.L
b66f47b8dd
update dependencies
...
- acorn@6.1.1
- commander@2.19 .0
- semver@5.6.0
2019-03-15 14:49:48 +08:00
Alex Lam S.L
8d2e6f333e
fix function inlining after reduce_vars ( #3340 )
...
fixes #3297
2019-03-15 05:45:46 +08:00
Alex Lam S.L
b3ef5e514d
enhance evaluate ( #3339 )
...
fixes #3299
2019-03-15 02:48:23 +08:00
Alex Lam S.L
627f5fb41e
fix corner case with nameCache ( #3338 )
...
fixes #3301
2019-03-15 01:15:50 +08:00
Alex Lam S.L
d90777b724
parse mangle.properties.regex in --config-file properly ( #3337 )
...
fixes #3315
2019-03-15 00:20:20 +08:00
Alex Lam S.L
e49297e5eb
improve usability of pure_funcs ( #3336 )
...
fixes #3325
2019-03-14 21:36:45 +08:00
Alex Lam S.L
ebd82b3fb6
fix corner case in collapse_vars ( #3334 )
...
fixes #3274
2019-03-14 16:05:56 +08:00
Alex Lam S.L
d074aa6e27
fix corner case in collapse_vars ( #3333 )
...
fixes #3247
fixes #3305
fixes #3314
fixes #3327
2019-03-13 23:48:52 +08:00
Alex Lam S.L
b052f62710
fix corner case in reduce_vars ( #3332 )
...
fixes #3267
2019-03-13 21:56:38 +08:00
Alex Lam S.L
d4ac84b255
fix corner case in arguments & reduce_vars ( #3331 )
...
fixes #3282
2019-03-13 08:46:03 +08:00
Alex Lam S.L
e250396d7e
fix corner case in arguments ( #3330 )
...
Track modifications to `arguments[i]` under Strict Mode.
fixes #3273
2019-03-13 06:59:53 +08:00
Seul-gi Choi(Chase)
c6fa39b482
Update README.md ( #3311 )
...
fix anchor for mangle-options
2019-03-13 05:31:04 +08:00
silverwind
9aae4f2424
make tests compatible with Node.js 12 ( #3304 )
...
In Node.js 12, the formatting of console arguments will change slightly.
Previously, a string other than the first argument was formatted using
single quotes if the first argument was non-string. Now, quotes are
never added regardless of position of a string argument.
To make test compatible in all Node.js versions, I work around by
ensuring the first argument to console.log is a string which prevents
the quotes from being added on older versions of Node.js.
Ref: https://github.com/nodejs/node/pull/23162
2019-03-13 04:55:04 +08:00
Alex Lam S.L
008c236137
fix corner case in conditionals ( #3329 )
...
fixes #3245
fixes #3257
fixes #3260
fixes #3269
fixes #3271
fixes #3278
fixes #3309
fixes #3319
fixes #3321
2019-03-13 04:28:21 +08:00
Ed S
b1c0664066
Fix typo in warning ( #3324 )
...
protoype -> prototype
2019-03-13 02:15:54 +08:00
Alex Lam S.L
ea999b0e92
v3.4.9
v3.4.9
2018-08-31 04:28:21 +00:00
Alex Lam S.L
ce7e220de4
fix corner case in conditionals ( #3244 )
2018-08-30 15:59:05 +08:00
Alex Lam S.L
2bdaca10ae
enhance conditionals ( #3243 )
2018-08-30 01:06:34 +08:00
Alex Lam S.L
aa0029204e
fix corner case in reduce_vars ( #3241 )
...
fixes #3240
2018-08-29 22:14:25 +08:00
Alex Lam S.L
f352bcec3a
fix corner case in collapse_vars ( #3239 )
...
fixes #3238
2018-08-29 11:34:34 +08:00
Alex Lam S.L
08514030f4
v3.4.8
v3.4.8
2018-08-23 15:27:34 +08:00
Alex Lam S.L
694ca5d045
fix corner case in unused ( #3234 )
...
fixes #3233
2018-08-23 06:03:39 +08:00
Alex Lam S.L
57fb58b263
enhance if_return ( #3232 )
2018-08-21 18:34:16 +08:00
alexlamsl
18c1c9b38a
update dependencies
...
- commander@2.17 .1
2018-08-14 17:06:09 +08:00
Alex Lam S.L
5c1ae3662d
v3.4.7
v3.4.7
2018-08-09 14:47:24 +00:00
Alex Lam S.L
cfebeb2f63
fix corner case in mangle workaround for Safari ( #3230 )
...
fixes #3227
2018-08-09 17:34:28 +08:00