Nicolò Ribaudo
f2af6c1170
v7.3.1
2019-01-22 08:07:23 +01:00
Daniel Tschinder
43b83f8ed7
Revert "Differentiate object spread and non-spread properties ( #9341 )" ( #9379 )
...
This reverts commit 3ae5e79ec8ab1e6d1c6927f35d4a1eeac04faf9a.
2019-01-21 23:03:54 -08:00
Nicolò Ribaudo
f6ee26c3da
v7.3.0
2019-01-21 22:22:39 +01:00
Kagami Sascha Rosylight
3ae5e79ec8
Differentiate object spread and non-spread properties ( #9341 )
...
* add isSpread field
* use argument
* t.booleanLiteral
* fix typo
* push empty-argument object
* .object
* .value
* object field should be an expression
* lint
* update outputs
* isSpread for the second argument is redundant
* add test
* alternating spread
2019-01-21 22:04:47 +01:00
Nicolò Ribaudo
282129ea66
v7.2.0
2018-12-03 20:00:35 +01:00
Nicolò Ribaudo
8c7d4b55c9
Add plugins name ( #8769 )
...
* Add plugins name
* Add missing names found by the plugin
* Add eslint plugin
2018-11-18 23:02:58 +01:00
Nicolò Ribaudo
38397ce11f
Use toPropertyKey in the "decorate" helper
...
This commit also makes the "toPropertyKey" helper call @@toPrimitive
when needed.
2018-11-02 13:59:57 +01:00
Logan Smyth
79b2af5997
Format fixture JSON with Prettier. ( #8658 )
2018-09-09 17:57:52 -07:00
Henry Zhu
04d09cc754
add access public to all packages [skip ci] ( #8573 )
...
If people copy paste to make an new package they might miss this and we will get a publish error later so figured we should add it to all.
2018-08-29 09:54:53 -04:00
Henry Zhu
90fb82a535
v7.0.0
2018-08-27 17:41:21 -04:00
Henry Zhu
814c564c45
v7.0.0-rc.4
2018-08-27 12:42:00 -04:00
Henry Zhu
cada040bec
v7.0.0-rc.3
2018-08-24 14:06:00 -04:00
Jason Quense
47e05d70f3
Fixed issue with non-simple property paths in object-rest-spread loose mode ( #8514 )
...
* fix: object rest with default values bug
fixes #8323
* rename variable
2018-08-23 15:53:31 +02:00
Henry Zhu
f1d774b34f
v7.0.0-rc.2
2018-08-21 15:22:07 -04:00
Henry Zhu
0a958861c9
v7.0.0-rc.1
2018-08-09 16:06:08 -04:00
Henry Zhu
904bcaffe3
fix peer deps [skip ci] ( #8445 )
...
Should be anything 7.x
2018-08-09 15:59:14 -04:00
Henry Zhu
8b1406127a
v7.0.0-rc.0
2018-08-09 11:56:00 -04:00
Henry Zhu
6695f5e2f7
v7.0.0-beta.56
2018-08-03 21:02:42 -04:00
Henry Zhu
adca165ee9
v7.0.0-beta.55
2018-07-28 18:06:42 -04:00
Henry Zhu
84282f199b
v7.0.0-beta.54
2018-07-16 13:59:43 -04:00
Henry Zhu
b89234b1a2
v7.0.0-beta.53
2018-07-11 09:39:52 -04:00
Mateusz Burzyński
21de1581aa
Fixed fixture tests after merge ( #8287 )
2018-07-07 18:40:15 -04:00
Mateusz Burzyński
b5e64cb66e
Remove unused bindings when excluding keys with rest in loose mode ( #8264 )
2018-07-07 19:54:51 +02:00
Mateusz Burzyński
c0c13ae30f
Introduce objectWithoutPropertiesLoose helper ( #8261 )
2018-07-06 15:03:44 -04:00
Henry Zhu
663c96db04
v7.0.0-beta.52
2018-07-05 20:59:03 -04:00
Rodolfo Rodriguez
c6a4108e57
Update READMEs for yarn ( #8215 ) [skip ci]
...
Closes https://github.com/babel/babel/pull/8255
2018-07-03 09:03:18 -04:00
Sven Sauleau
8f8b4e8e82
Switch new website in READMEs ( #8181 ) [skip ci]
2018-06-15 10:13:20 -04:00
Henry Zhu
c313b267f7
v7.0.0-beta.51
2018-06-12 17:18:28 -04:00
Henry Zhu
eb54adb755
use a semver range for core peerDep [skip ci]
2018-06-12 17:10:15 -04:00
Henry Zhu
e0ef50c00f
Use older semver range since lerna update does not change peerDeps on publish [skip ci] ( #8152 )
2018-06-12 16:45:10 -04:00
Henry Zhu
3af623678f
v7.0.0-beta.50
2018-06-12 15:46:05 -04:00
Sven SAULEAU
b445b79734
Refactor move docs ( #8108 )
...
* feat: [skip] generate readme script
* docs: [skip ci] update READMEs
* docs: [skip ci] fix code block type
* chore: [skip ci] move generator script
2018-06-04 10:32:39 -04:00
Logan Smyth
90566103a6
v7.0.0-beta.49
2018-05-25 09:00:02 -07:00
Henry Zhu
e6d198eef5
v7.0.0-beta.48
2018-05-24 15:20:31 -04:00
Henry Zhu
f03adbadf4
v7.0.0-beta.47
2018-05-14 17:15:44 -07:00
Logan Smyth
3a2aa9b862
v7.0.0-beta.46
2018-04-22 21:29:42 -07:00
Henry Zhu
b414387bb1
v7.0.0-beta.45
2018-04-22 21:55:16 -04:00
Henry Zhu
a6df92f245
v7.0.0-beta.44
2018-04-02 18:19:30 -04:00
Henry Zhu
bdfeeb38c6
v7.0.0-beta.43
2018-04-02 12:47:55 -04:00
Deven Bansod
c9b99af5a6
Remove assert.* from commented out assertions
2018-03-24 16:22:20 +05:30
Deven Bansod
c8d82d6483
Migrate all remaining fixtures to jest expect
2018-03-24 16:22:20 +05:30
Henry Zhu
d260bfaec4
v7.0.0-beta.42
2018-03-15 16:50:03 -04:00
Mateusz Burzyński
d682e32529
Favour extends helper over objectWithoutProperties when whole object gets copied anyway ( #7390 )
2018-03-14 22:59:02 +01:00
Henry Zhu
270ea17fed
v7.0.0-beta.41
2018-03-14 12:25:26 -04:00
Logan Smyth
a4795408b4
Allow plugins to assert that a specific babel version has loaded the plugin. ( #7450 )
2018-03-04 14:36:54 -08:00
Logan Smyth
7cc00cce0d
Require output fixture extension to match sourceType output.
2018-03-04 13:31:33 -08:00
Logan Smyth
beb99dfda1
Rename test fixtures using module syntax to .mjs files.
2018-03-04 13:31:32 -08:00
Nicolò Ribaudo
3d49766f6b
Don't extract rest elements from nested expressions ( #7364 )
...
* Don't extract rest elements from nested expressions
* Node 4
2018-02-17 16:22:38 +01:00
Brian Ng
4d17a96d50
Minor object-rest-spread README tweaks [skip ci]
2018-02-16 20:56:21 -06:00
James Reggio
6cbc585cf4
Fix over-zealous traversal by object-rest-spread ( #7388 )
...
Prior to this change, we'd conduct an open-ended traversal on the 'id'
of any VariableDeclarator to find a RestElement. The 'id' of
a VariableDeclarator can contain an AssignmentPattern (to supply
a default value), and if the right-hand side of the AssignmentPattern
contained a RestElement, we'd transform it.
The problem here is that the right-hand side of an AssignmentPattern can
be *any* Expression. If the right-hand side is a function body, we'd
traverse the entire function body, and if a RestElement occurred
anywhere in that function body, we'd transform it and emit the
transformations wherever we began the traversal (at least one scope
outside its usage).
The fix is to stop the inner traversal if we encounter an
AssignmentPattern. The outer traversal will still visit the
AssignmentPattern, so RestElements within the right-hand side of an
AssignmentPattern will be properly transformed at that time.
2018-02-16 21:19:09 -05:00