New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New Babel 7.13.0 features for @babel/core
#12470
Conversation
#12266 was green before merging 🙃 I'll make it pass tomorrow |
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 33fbf84:
|
CI is red because Node.js segfaults 🙃 EDIT: Ok, it was just a conflict with https://github.com/babel/babel/pull/12288/files |
b02fdc0
to
4cf7289
Compare
Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/41445/ |
4cf7289
to
f2fc1a3
Compare
f2fc1a3
to
961dff6
Compare
fdf35b2
to
7ce478c
Compare
63c7a5a
to
caa4fda
Compare
e9ccbbe
to
5323795
Compare
5323795
to
f1a6109
Compare
0b1b012
to
e7944a5
Compare
- Disallow setting assumptions to `false` in presets (#12498)
- `mutableTemplateObject` and `ignoreToPrimitiveHint` (#12408) - `setClassMethods` (#12407) - `setComputedProperties` (#12490) - `ignoreFunctionLength` (#12491) - `noDocumentAll` (#12481) - `iterableIsArray` and `arrayLikeIsIterable` (#12489) - `pureGetters` (#12504) - `skipForOfIteratorClosing` (#12496) - `objectRestNoSymbols`, `setSpreadProperties` and `pureGetters` (#12505) - `noNewArrows` (#12613, #12793) - `setPublicClassFields` and `privateFieldsAsProperties` (#12497) - `constantReexports` and `enumerableModuleMeta` (#12618) - `constantSuper`, `superIsCallableConstructor` and `noClassCalls` (#12726) Co-authored-by: Justin Ridgewell <justin@ridgewell.name> Co-authored-by: Huáng Jùnliàng <JLHwung@users.noreply.github.com>
e7944a5
to
33fbf84
Compare
.mjs
plugins/presets and async factories (Support.mjs
plugins/presets and async factories #12266)targets
andbrowserslist*
options to@babel/core
(Addtargets
andbrowserslist*
options to@babel/core
#12189)@babel/core
support for the newassumptions
option (Add@babel/core
support for the newassumptions
option #12219)ignoreToPrimitiveHint
(ImplementmutableTemplateObject
andignoreToPrimitiveHint
#12408)mutableTemplateObject
(ImplementmutableTemplateObject
andignoreToPrimitiveHint
#12408)ignoreFunctionLength
(ImplementignoreFunctionLength
assumption #12491)iterableIsArray
(ImplementiterableIsArray
andarrayLikeIsIterable
assumptions #12489)arrayLikeIsIterable
(ImplementiterableIsArray
andarrayLikeIsIterable
assumptions #12489)skipForOfIterationClosing
(ImplementskipForOfIteratorClosing
assumption #12496)objectRestNoSymbols
(ImplementobjectRestNoSymbols
,setSpreadProperties
andpureGetters
for object rest/spread #12505)setSpreadProperties
(ImplementobjectRestNoSymbols
,setSpreadProperties
andpureGetters
for object rest/spread #12505)setComputedProperties
(ImplementsetComputedProperties
assumption #12490)setClassMethods
(ImplementsetClassMethods
assumption #12407)setPublicClassFields
(ImplementsetPublicClassFields
andprivateFieldsAsProperties
assumptions #12497)privateFieldsAsProperties
(ImplementsetPublicClassFields
andprivateFieldsAsProperties
assumptions #12497)constantSuper
(ImplementconstantSuper
,superIsCallableConstructor
andnoClassCalls
assumption #12726)superIsCallableConstructor
(ImplementconstantSuper
,superIsCallableConstructor
andnoClassCalls
assumption #12726)noClassCalls
(ImplementconstantSuper
,superIsCallableConstructor
andnoClassCalls
assumption #12726)noDocumentAll
(ImplementnoDocumentAll
assumption #12481, SupportnoDocumentAll
forobj?.#p
#12762)pureGetters
(ImplementpureGetters
assumption #12504, ImplementobjectRestNoSymbols
,setSpreadProperties
andpureGetters
for object rest/spread #12505)enumerableModuleMeta
(ImplementconstantReexports
andenumerableModuleMeta
assumptions #12618)constantReexports
(ImplementconstantReexports
andenumerableModuleMeta
assumptions #12618)noNewArrows
(ImplementnewableArrowFunctions
assumption #12613, RenamenewableArrowFunctions
tonoNewArrows
#12793)