chrishinrichs
70c0ed512a
Fix: Don't call Object.keys on non-objects (babel#10482) ( #10683 )
2019-11-08 21:31:46 -06:00
Huáng Jùnliàng
5d9a786b2f
perf: match ownKeys perf to the one of objectSpread ( #10189 )
2019-07-10 21:03:01 -05:00
Nicolò Ribaudo
fa5ec75c43
Fix _objectSpread2 for real ( #10188 )
...
* Fix _objectSpread2 for real
* Tests
* Test 2
2019-07-09 20:50:07 +02:00
Nicolò Ribaudo
9e65472377
[_objectSpread2] Do not use hoisted var from prev iteration ( #10180 )
2019-07-09 16:38:40 +02:00
Nicolò Ribaudo
406a65c894
Don't rely on getOwnPropertyDescriptors in objectSpread2 ( #10171 )
2019-07-07 11:24:36 +02:00
Kagami Sascha Rosylight
a596da2822
Retry to fix object spread helper compatibility ( #9384 )
...
This reverts commit 43b83f8ed7 .
Fix objectSpread helper breaking old codes
remove tests to regenerate later
renamed output
new name
try using word
add comment as requested
revert inline name changes
add 2 for consistency
Update packages/babel-helpers/src/helpers.js
Co-Authored-By: Daniel Tschinder <daniel@tschinder.de >
2019-05-25 12:57:13 +02:00
Daniel Tschinder
43b83f8ed7
Revert "Differentiate object spread and non-spread properties ( #9341 )" ( #9379 )
...
This reverts commit 3ae5e79ec8 .
2019-01-21 23:03:54 -08: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
Logan Smyth
79b2af5997
Format fixture JSON with Prettier. ( #8658 )
2018-09-09 17:57:52 -07:00
Mateusz Burzyński
21de1581aa
Fixed fixture tests after merge ( #8287 )
2018-07-07 18:40:15 -04:00
Mateusz Burzyński
c0c13ae30f
Introduce objectWithoutPropertiesLoose helper ( #8261 )
2018-07-06 15:03:44 -04:00
Deven Bansod
c8d82d6483
Migrate all remaining fixtures to jest expect
2018-03-24 16:22:20 +05:30
Andrea Puddu
ee6dfd1580
Fix object spread according to spec ( #7034 )
2018-02-16 20:06:17 -05:00
Nicolò Ribaudo
8659e1a88c
Remove old expected.{js,json} files ( #7187 )
2018-01-09 13:10:30 -06:00
Raja Sekar
0f42accb87
Renamed files
2018-01-09 15:36:42 +01:00
Henry Zhu
c41abd79a1
Rename all proposal plugins to -proposal- from -transform- ( #6570 )
2017-10-27 15:26:38 -04:00