@babel/runtime-corejs2
7.29.7 · 25 May 2026MIT974.5k / weekRepositoryHomepagenpmAtom feed
Upgrading @babel/runtime-corejs2 from 7.12.18 to 7.13.0
1 release in betweenevery note read
Security
1 advisory still affects 7.13.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 TypeScript 4.2 abstract constructor signatures (@sosukesuzuki)
- new
referencesImport: Support named exports accessed via namespace imports (@jeysal)
- new
Enable allowNamespaces in
transform-typescriptby default (@JLHwung) - new
Support Flow
thisparameter annotations (@dsainati1)
- new
4 other lines we could not sort, mostly version bumps
- 7.13.0
Use conditional exports in
@babel/runtimefor CJS/ESM (@nicolo-ribaudo) - 7.13.0
Use the
babel-plugin-polyfill-*packages intransform-runtime(@nicolo-ribaudo) - 7.13.0
Make sure that Rollup's
dynamicRequireTargetsare included (@nicolo-ribaudo) - 7.13.0
babel-register: Don’t rewrite the cache if it’s not dirty (@andersk)
19 internal lines (docs, tests, tooling) left out.