Nicolò Ribaudo
ea6a438315
Enable external-helpers by default in tests ( #12911 )
...
Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com >
Co-authored-by: Babel Bot <babel-bot@users.noreply.github.com >
2021-02-26 23:33:26 +01:00
Justin Ridgewell
c1d65d8842
Fix evaluation order with object spread, 2 ( #11471 )
2020-04-26 20:30:48 +02:00
Zen
af669297ef
Fix evaluation order with object spread ( #11412 )
...
* Fix object spread runtime semantics
* limit this deoptimization
* optimize empty objects
* declare variables
2020-04-23 17:59:35 -04:00
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
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