@babel/runtime-corejs2
7.29.7 · 25 May 2026MIT974.5k / weekRepositoryHomepagenpmAtom feed
Upgrading @babel/runtime-corejs2 from 7.11.2 to 7.12.0
1 release in betweenevery note read
Security
1 advisory still affects 7.12.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 support for the "intrinsic" keyword (@nicolo-ribaudo)
- new
Add
jsxPragmaFragsupport to typescript transform (@JLHwung) - new
Add
asserts: falsetoTSTypePredicatenode (@sosukesuzuki) - new
Add
.jsextension to react runtime for JSX transform (@lunaruan)
- new
7 other lines we could not sort, mostly version bumps
- 7.12.0
String import/export specifier (@JLHwung)
- 7.12.0
Throw a syntax error for index signature with
declare(@sosukesuzuki) - 7.12.0
Throw a recoverable error for missing initializer in const declaration (@sosukesuzuki)
- 7.12.0
Throw a syntax error for empty type parameter/argument (@sosukesuzuki)
- 7.12.0
Throw an error for a declare class field that have an initializer (@sosukesuzuki)
- 7.12.0
Throw a syntax error for a parameter properties in not constructor (@sosukesuzuki)
- 7.12.0
Yarn 2.3 (@nicolo-ribaudo)
55 internal lines (docs, tests, tooling) left out.