Babel 7.25.0 introduces support for duplicated named capturing groups in regular expressions, a fix for class field issues in Safari, and improvements for JSON module imports to CommonJS. The support for duplicated named capturing groups allows re-using the same name for groups within alternative branches of a regex.

3m read time From babeljs.io
Post cover image
Table of contents
Duplicated named capturing groups ( #16445 ) ​Simplify JSON modules imports in CommonJS ( #16579 ) ​@babel/plugin-bugfix-safari-class-field-initializer-scope ( #16569 ) ​

Sort: