@babel/runtime-corejs2
7.29.7 · 25 May 2026MIT974.5k / weekRepositoryHomepagenpmAtom feed
Upgrading @babel/runtime-corejs2 from 7.20.0 to 7.20.1
1 release in betweenevery note read
Security
1 advisory still affects 7.20.1
- 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
indices.groupswhen compiling named groups in regexps (@ptomato) - fixed
Compile re-declare var in
initandbodyoffor await(@liuxingbaoyu) - fixed
Do not mark
inandinstanceofas constant expressions (@nicolo-ribaudo) - fixed
Parse re-declare var in class static body (@liuxingbaoyu)
- fixed
a satisfies bas lval (@liuxingbaoyu) - fixed
Handle multiple named groups in wrapRegExp replace() (@ptomato)
- new
1 other line we could not sort, mostly version bumps
- 7.20.1
Move the generator body to a gen IIFE when compiling its params (@nicolo-ribaudo)
6 internal lines (docs, tests, tooling) left out.