@babel/runtime-corejs2
7.29.7 · 25 May 2026MIT974.5k / weekRepositoryHomepagenpmAtom feed
Upgrading @babel/runtime-corejs2 from 7.12.1 to 7.12.5
1 release in betweenevery note read
Security
1 advisory still affects 7.12.5
- 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
Allows the interface to be used as an Identifier for flow plugin (@sosukesuzuki)
- new
Allow optional binding pattern parameters within types/interfaces (@existentialism)
- fixed
Support string assertion key in assert entries (@JLHwung)
- fixed
Disallow import assertions in export without from (@JLHwung)
- new
4 other lines we could not sort, mostly version bumps
- 7.12.5
Throw a
TypeErrorwhen reassigning aconst(@nicolo-ribaudo) - 7.12.5
packages/babel-standalone: Make data-type="module" option avilable without data-presets option (@hirochachacha)
- 7.12.5
Mark
ThisExpressionandSuperasPurish(@nicolo-ribaudo) - 7.12.5
Update to Browserslist 4.14.5 (@nicolo-ribaudo)
24 internal lines (docs, tests, tooling) left out.