Bogdan Savluk
0058b7fef4
Migrate Babel from Flow to TypeScript (except Babel parser) ( #11578 )
...
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2021-11-25 23:09:13 +01:00
Nicolò Ribaudo
9440318309
Update Rollup plugins ( #13265 )
2021-05-06 08:53:30 +02:00
Ujjwal Sharma
2ac49ba7c4
add support for logical assignments with private properties ( #11702 )
...
* add support for logical assignments with private properties
Patches the logic for handling assignment operators and adds support for
handling the logical assignment operators appropriately.
Fixes: https://github.com/babel/babel/issues/11646
* replace hardcoded logical assignment operators with constant
Replace a hardcoded check for logical assignment operators with the
LOGICAL_OPERATORS constant in
plugin-proposal-logical-assignment-operators.
Refs: https://github.com/babel/babel/pull/11702#discussion_r438554423
2020-07-30 14:10:16 -04:00
Justin Ridgewell
a3f00896f7
Infer names of anonymous functions in logical assignments ( #11658 )
...
This is a partial revert of #11370 , updating the tests to match the [new consensus](https://github.com/babel/proposals/issues/66#issuecomment-636984546 ).
2020-06-03 23:23:40 +02:00
Arun Kumar Mohan
a8061ae7d8
logical-assignment: Do not assign names to anonymous functions ( #11370 )
2020-05-05 16:00:41 +02: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
Justin Ridgewell
a7bddc02ba
Add ??= to Logical Assignment Operators ( #7623 )
...
`??=` is being merged into the Logical Assignment Operator proposal, and the overall proposal will wait until nullish coalescing is finalized.
2018-03-25 18:58:51 +01:00
Justin Ridgewell
55bf55398a
Logical Assignment: ensure computed key isn't recomputed ( #7604 )
...
* Logical Assignment: ensure computed key isn't recomputed
* More tests
2018-03-20 23:06:09 +00: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
Justin Ridgewell
7e90d56024
Proposal: Logical Assignment Operators ( #7385 )
...
* Proposal: Logical Assignment Operators
https://github.com/jridgewell/proposal-logical-assignment
I'm bringing it [back](https://github.com/babel/babel/pull/516 ). 😉
* Use expectPlugin
* Add to stage 0 preset
* Add logicalAssignment missing plugin log stuff
2018-02-18 13:56:29 -05:00