@babel/runtime-corejs2
7.29.7 · 25 May 2026MIT974.5k / weekRepositoryHomepagenpmAtom feed
Upgrading @babel/runtime-corejs2 from 7.21.5 to 7.22.0
1 release in betweenevery note read
Security
1 advisory still affects 7.22.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
Support
import ... =andexport =in scripts (@nicolo-ribaudo) - new
Add
unicode-sets-regextransform topreset-env(@JLHwung) - new
Implement transform support for
usingdeclarations (@nicolo-ribaudo) - new
Add decorators version
2023-05(@nicolo-ribaudo) - fixed
Allow polyfill providers to specify custom
@babel/runtimepkg (@nicolo-ribaudo)
- new
4 other lines we could not sort, mostly version bumps
- 7.22.0
- 7.22.0
Parse
await usingdeclarations (@JLHwung) - 7.22.0
Unify parsing of import/export modifiers (type/typeof/module) (@nicolo-ribaudo)
- 7.22.0
Rename
-proposal-s that became standard to-transform-(@nicolo-ribaudo)
7 internal lines (docs, tests, tooling) left out.