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
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
Alex Lam S.L
a5ffe2c23f
drop unused builtin globals under unsafe ( #2236 )
...
fixes #2233
2017-07-15 15:16:11 +08:00
Alex Lam S.L
9282e7b0c6
fix unsafe evaluate of Object static methods ( #2232 )
...
fixes #2231
2017-07-14 19:52:01 +08:00
Alex Lam S.L
5229cb2b1b
drop unused compound assignments ( #2230 )
...
fixes #2226
2017-07-14 00:39:34 +08:00
Alex Lam S.L
458e3e15f0
enhance passes ( #2229 )
...
- remove hardcoded upper limit
- continue based on node count reduction
- emit verbose statistics
fixes #2226
2017-07-13 02:18:59 +08:00
Alex Lam S.L
c615a1e80a
fix gzip stream in test/benchmark.js ( #2228 )
2017-07-12 02:55:57 +08:00
Alex Lam S.L
10a938cb79
enhance source mapping on IIFEs ( #2224 )
...
fixes #2213
2017-07-11 02:34:28 +08:00
kzc
0f4278148d
uglify-es: update repository and project tagline ( #2221 )
2017-07-09 23:55:38 +08:00
Alex Lam S.L
4956ad311b
benchmark gzipped output ( #2220 )
2017-07-09 01:44:59 +08:00
kzc
145874e504
docs: update benchmarks using node 8, add babili ( #2218 )
2017-07-09 01:06:15 +08:00
kzc
f30375052b
docs: update benchmarks using node 8, add babili ( #2218 )
2017-07-09 00:48:53 +08:00
Alex Lam S.L
3e1a8598bf
harmony-v3.0.24
harmony-v3.0.24
2017-07-08 14:51:47 +08:00
alexlamsl
ef63de6968
handle AST_Arrow IIFEs in collapse_vars
2017-07-08 14:27:06 +08:00
alexlamsl
2539fb8096
inline property access of AST_ConciseMethod
2017-07-08 14:25:58 +08:00
alexlamsl
a556dd2dcb
Merge branch 'master' into harmony-v3.0.24
2017-07-08 13:12:54 +08:00
Alex Lam S.L
bd7be07c38
v3.0.24
v3.0.24
2017-07-08 12:53:20 +08:00
Alex Lam S.L
71ee91e716
handle duplicate argument names in collapse_vars ( #2215 )
2017-07-08 04:42:35 +08:00
kzc
e7334b4048
uglify-es: have repository point to harmony branch ( #2212 )
2017-07-07 11:39:48 +08:00
Alex Lam S.L
4f70d2e28c
inlining of static methods & constants ( #2211 )
...
- guard by `unsafe`
- support `Array`, `Math`, `Number`, `Object` & `String`
fixes #2207
2017-07-07 05:35:32 +08:00
Alex Lam S.L
4b6ca5e742
inline property access of object literal ( #2209 )
...
- only if property value is side-effect-free
- guard by `unsafe`
fixes #2208
2017-07-06 21:51:58 +08:00
Alex Lam S.L
f5c46db738
improve AST_ConciseMethod compression ( #2202 )
...
p(){return x;} ---> p:()=>x
Optimization subject to the `compress` option `arrows`.
2017-07-06 01:21:04 +08:00
Alex Lam S.L
9306da3c58
suppress collapse_vars of this as call argument ( #2204 )
...
fixes #2203
2017-07-06 01:03:52 +08:00
Alex Lam S.L
1ac25fc032
improve compress granularity through typeofs ( #2201 )
...
fixes #2198
2017-07-05 19:20:33 +08:00
kzc
fdbb1d09ef
Convert p: function(){} to p(){} in object literals ( #2199 )
...
when `compress` option `ecma` is 6 or greater.
2017-07-04 14:35:58 +08:00
Alex Lam S.L
5f046c724b
minor clean-ups to evaluate ( #2197 )
2017-07-03 18:52:39 +08:00
Alex Lam S.L
af0262b7e5
improve parenthesis emission ( #2196 )
...
- eliminate `throw` usages
- suppress extraneous parenthesis
- `new function() {foo.bar()}.baz`
- `for (function() { "foo" in bar; };;);`
2017-07-03 04:17:37 +08:00
Alex Lam S.L
6b3aeff1d8
clean up TreeWalker.pop() ( #2195 )
...
Remove superfluous parameter.
2017-07-03 03:23:38 +08:00
Alex Lam S.L
20e4f8277f
refactor throw usage within compress ( #2193 )
...
Eliminate exceptional constructs from normal control flow.
2017-07-03 02:10:56 +08:00
kzc
f3a487a368
document fast mangle-only minify mode ( #2194 )
2017-07-03 01:37:04 +08:00