Babel 7.22.0 is out, with parsing/transform support for the Explicit Resource Management proposal, including both the sync and async variants, and with parsing support for the Import Attributes (an evolution of the old Import Assertions proposal).
We also updated our implementation of decorators following some changes in the proposal, and added support for the TypeScript import ... =
and export ... =
statements.
@babel/preset-env
now includes transform support for the v
regular expressions flag, which was recently approved as part of the ECMAScript standard, by default. Lastly, we renamed all the plugins for stable ECMAScript features from -proposal-
to -transform-
.
You can read the whole changelog on GitHub.