Henry Zhu
123dce5fcd
Hardcode to double quotes, indent to 2 spaces ( #5824 )
2017-06-05 22:14:37 -05:00
Brian Ng
32c4cdf016
339-spread-obj-pattern-assignable
2017-05-23 08:43:15 -05:00
Brian Ng
79c1eed8c1
Fix incorrect property ordering with obj rest spread on nested ( #5685 )
2017-05-02 14:04:37 -04:00
Christopher Karper
14ed03127c
Fix object destructuring in param arrays ( #5650 )
2017-04-20 10:45:45 -04:00
Daniel Tschinder
7c62278dcd
[7.0] Change for-await to use new AST ( #5321 )
2017-02-15 17:29:09 -05:00
Erik Desjardins
bca170ad79
Avoid duplicating impure expressions in object rest destructuring ( #5151 )
...
* avoid duplicating impure initializers in object rest destructuring
* reuse existing VariableDeclarations in object rest destructuring, to fix two issues:
1. inserting an additional VariableDeclaration after the current one may change order of operations, which is unsafe if a future VariableDeclarator refers to a destructured variable.
2. The entire VariableDeclaration is removed when all properties are rest properties, indiscriminately removing other variables
2017-01-18 21:32:44 -05:00
Sergey Rubanov
292c3ca206
Refactor test packages to use ES modules instead of CJS ( #5138 )
2017-01-16 11:25:04 -05:00
Christophe Hurpeau
4a1965511f
fix: plugin-transform-object-rest-spread param with default value
2017-01-15 14:02:08 -08:00
Henry Zhu
cfc1e5cb38
fix object spread ( #4976 )
2016-12-08 20:13:57 -05:00
Henry Zhu
88bc28c414
Fix nested object spread ( #4974 )
2016-12-08 19:30:50 -05:00
Christophe Hurpeau
81575bcdfe
Fix for object-rest with parameters destructuring nested rest ( #4883 )
2016-12-01 23:58:07 -05:00
Henry Zhu
19bb830c50
use *, add test for assign-expression in parameter ( #4865 )
2016-11-19 10:45:00 -05:00
Henry Zhu
cd041541b8
Fix bug + Generate test fixtures if no expected.js ( #4858 )
2016-11-17 17:53:46 -05:00
Henry Zhu
5e0508d57c
object rest - fix when destructuring in variables/parameters ( #4755 )
...
* object rest - fix when destructuring in variables/parameters
* fixes + ExportNamedDeclaration support
* Account for CatchClause
* support ForXStatement
* support assignment expression? + PR fixes
2016-11-15 11:31:03 -05:00
Henry Zhu
d2d34ba8e7
object rest spread useBuiltIns option ( #4491 )
...
* feat(transform-object-rest-spread): add polyfill=false option to avoid extends helper
* object-rest-spread: add useBuiltIns option
* add test for invalid option
2016-09-09 18:38:50 -04:00
Logan Smyth
305252d335
Recognize object rest properties as binding identifiers - fixes T7178
2016-03-03 08:58:22 -08:00
Sebastian McKenzie
15969a0904
move all plugin tests out of babel-core and into their appropriate folders
2015-11-08 23:04:10 -08:00