@babel/runtime-corejs2
7.29.7 · 25 May 2026MIT974.5k / weekRepositoryHomepagenpmAtom feed
Upgrading @babel/runtime-corejs2 from 7.9.6 to 7.10.0
1 release in betweenevery note read
Security
1 advisory still affects 7.10.0
- Babel has inefficient RegExp complexity in generated code with .replace when transpiling named capturing groupsmoderate · GHSA-968p-4wvh-cqc8
Upgrading to 7.26.10 clears it.
Release by release
- new
Add privatePropertyInObject to babel-standalone (@JLHwung)
- new
Support data-type="module" to generate native <script type="module"> (@dfabulich)
- new
Add "allowArrayLike" option to the destructuring and spread transforms (@nicolo-ribaudo)
- new
Add "allowArrayLike" support to the for-of transform (@nicolo-ribaudo)
- new
6 other lines we could not sort, mostly version bumps
- 7.10.0
Transform ES2015 Unicode Escapes to ES5 (@jridgewell)
- 7.10.0
[
preset-env] AddbrowserslistEnvoption (@AndrewLeedham) - 7.10.0
Scope.rename() missing identifier in VariableDeclarator (@yulanggong)
- 7.10.0
Getters and setters support in generator for declare class statement (@zxbodya)
- 7.10.0
Use ?. where it represents the intended semantics (@nicolo-ribaudo)
- 7.10.0
Downgrade rollup to 1.27.9 (@nicolo-ribaudo)
31 internal lines (docs, tests, tooling) left out.