kzc
e8235657e4
add new compress option unsafe_methods for ecma >= 6 ( #2325 )
...
fixes #2321
2017-09-20 00:15:54 +08:00
Alex Lam S.L
c46b9f361a
harmony-v3.1.1
harmony-v3.1.1
2017-09-17 15:33:55 +08:00
alexlamsl
3b0b4d6abf
handle AST_Super in collapse_vars & side_effects
2017-09-17 05:09:36 +08:00
alexlamsl
d73500e8d1
Merge branch 'master' into harmony-v3.1.1
2017-09-17 04:43:43 +08:00
Alex Lam S.L
aceb0af36b
v3.1.1
v3.1.1
2017-09-17 04:36:27 +08:00
Alex Lam S.L
4f0953f7e9
handle LHS side-effects on cascade & collapse_vars ( #2314 )
...
fixes #2313
2017-09-16 11:45:19 +08:00
Alex Lam S.L
182a47bfb1
improve source mapping ( #2312 )
...
fixes #2310
2017-09-15 12:46:48 +08:00
Alex Lam S.L
d8685f528d
harmony-v3.1.0
harmony-v3.1.0
2017-09-10 20:51:33 +08:00
alexlamsl
8891495789
Merge branch 'master' into harmony-v3.1.0
2017-09-10 15:39:33 +08:00
Alex Lam S.L
cd27f4ec38
v3.1.0
v3.1.0
2017-09-10 15:17:24 +08:00
Mateusz Burzyński
8158b1bdcf
Testing all leading comments against being PURE comments ( #2305 )
2017-09-10 02:08:15 +08:00
Alex Lam S.L
aacf3edc68
extend unsafe on pure global functions ( #2303 )
2017-09-07 22:08:34 +08:00
kzc
8b89072190
add Date and other known globals to unsafe compress option ( #2302 )
2017-09-07 02:44:26 +08:00
Alex Lam S.L
395a17ccda
fix collapse_vars on default function argument ( #2299 )
...
Avoid collision with local variable `undefined` under certain corner cases.
fixes #2298
2017-09-04 02:32:33 +08:00
Alex Lam S.L
3f355866cf
correctly count declarations after hoist_vars ( #2297 )
...
fixes #2295
2017-09-03 17:23:31 +08:00
kzc
2779a29a86
avoid generating ternary with spread ( #2293 )
...
fixes #2292
2017-08-31 00:57:07 +08:00
David Šanda
71d52f147d
Fix CLI example for mangle reserved list of names ( #2294 )
2017-08-31 00:55:32 +08:00
David Šanda
eb7adaa6fc
Fix CLI source-maps examples ( #2291 )
...
fixes #2284
2017-08-29 23:49:20 +08:00
Alex Lam S.L
e5cf7972ea
fix unused patching of AST_For.init blocks ( #2289 )
...
fixes #2288
2017-08-29 01:10:04 +08:00
Alex Lam S.L
067d52b6ba
harmony-v3.0.28
harmony-v3.0.28
2017-08-20 01:19:06 +08:00
alexlamsl
e0e009ace2
Merge branch 'master' into harmony-v3.0.28
2017-08-20 00:35:46 +08:00
Alex Lam S.L
f81ff10a9b
v3.0.28
v3.0.28
2017-08-20 00:27:01 +08:00
kzc
ae0f117da6
Introduce new compress option unsafe_arrows ( #2278 )
...
* Not always safe to convert a function expression to an arrow
function when code depends on the function prototype existing.
Fixes #2271
2017-08-16 22:51:26 +08:00
Alex Lam S.L
a5461e0adc
prohibit let/const redeclaration ( #2277 )
...
fixes #2270
2017-08-14 12:31:12 +08:00
Erik Desjardins
16d40915b4
don't escape null characters as \0 when followed by any digit ( #2273 )
...
fixes #2272
2017-08-14 12:30:08 +08:00
Alex Lam S.L
2bf8216e50
fix pure_getters on spread of objects ( #2275 )
2017-08-13 22:08:33 +08:00
kzc
2ed3f8db44
fix output of spread of a sequence ( #2268 )
...
fixes #2267
2017-08-03 00:40:19 +08:00
kzc
4700c14855
implement object rest/spread ( #2265 )
...
- improve parse errors for destructuring spread elements
- `unsafe` for object literals with rest elements
Miscellaneous
- increase mocha unicode surrogate test timeout
2017-08-02 13:47:58 +08:00
Alex Lam S.L
e7c21e87e3
fix ie8 mangling of top-level AST_SymbolCatch ( #2263 )
...
fixes #2254
2017-08-01 02:38:32 +08:00
Alex Lam S.L
f54ab16843
harmony-v3.0.27
harmony-v3.0.27
2017-07-30 15:15:29 +08:00
alexlamsl
69cb459c16
fix-ups for #2258
2017-07-30 04:26:21 +08:00
alexlamsl
1eae8f2dcc
Merge branch 'master' into harmony
2017-07-30 01:57:34 +08:00
Alex Lam S.L
c4c2ef44d0
v3.0.27
v3.0.27
2017-07-30 01:50:42 +08:00
Alex Lam S.L
a845897758
improve mangle.properties ( #2261 )
...
- include dead code when `keep_quoted`
- unify `keep_quoted` & `reserved`
- make `test/run-tests.js` consistent with `minify()`
fixes #2256
2017-07-29 23:02:04 +08:00
kzc
d600c78d7b
have keep_quoted respect quoted method names ( #2258 )
...
fixes #2257
2017-07-28 19:42:12 +08:00
kzc
32ea2c5530
issue template: describe acceptable JS input ( #2255 )
2017-07-27 21:38:36 +08:00
Alex Lam S.L
d3df2f985d
extend collapse_vars to let and const ( #2252 )
...
fixes #2250
2017-07-25 22:07:21 +08:00
Alex Lam S.L
69861824b5
enhance test for #2242 ( #2248 )
2017-07-24 00:32:33 +08:00
Alex Lam S.L
1e0c7d2bc5
harmony-v3.0.26
harmony-v3.0.26
2017-07-23 16:54:46 +08:00
alexlamsl
98b850580b
fix for #2242 on harmony
2017-07-23 16:20:53 +08:00
alexlamsl
29011ea60a
remove ascii_identifiers
2017-07-23 12:54:50 +08:00
alexlamsl
77d18be073
Merge branch 'master' into harmony-v3.0.26
2017-07-23 12:53:13 +08:00
Alex Lam S.L
bc61deeca9
v3.0.26
v3.0.26
2017-07-23 12:39:36 +08:00
Alex Lam S.L
6a5e74b44e
unescape surrogate pairs only ( #2246 )
...
fixes #2242
2017-07-23 12:38:21 +08:00
Alex Lam S.L
54446341ee
update dependencies ( #2241 )
...
- acorn@5.1.1
- commander@2.11 .0
- mocha@3.4.2
2017-07-16 16:20:40 +08:00
Alex Lam S.L
91f8b57b3e
harmony-v3.0.25
harmony-v3.0.25
2017-07-16 12:21:39 +08:00
alexlamsl
3a2b737c42
Merge branch 'master' into harmony-v3.0.25
2017-07-16 11:15:07 +08:00
Alex Lam S.L
4e12a6f740
v3.0.25
v3.0.25
2017-07-16 11:05:53 +08:00
Alex Lam S.L
b35dfc2599
reject malformed CLI parameters ( #2239 )
...
fixes #2237
2017-07-15 23:50:27 +08:00
Alex Lam S.L
9e1da9235e
ensure ie8 works with mangled properties ( #2238 )
...
fixes #2234
2017-07-15 22:50:59 +08:00