Babel 7.14.0 is out!
This release enables class fields and private methods by default (they were promoted to Stage 4 during the recent April TC39 meeting!) and adds brand checks for private fields and static class blocks to @babel/preset-env
's shippedProposals
option.
We added support for Stage 1 async do expressions (using @babel/plugin-proposal-async-do-expressions
), which extends the Stage 1 do expression proposal.
Thanks to Sosuke Suzuki and Pig Fang, Babel can now handle TypeScript 4.3 features. @babel/parser
also has a new option to correctly parse TypeScript declaration files.
Finally, we introduced a new importInterop: node
option to make it easier to produce dual modules by compiling ECMAScript imports to CommonJS that follow Node.js semantics.
You can read the whole changelog on GitHub.