@babel/runtime-corejs2
7.29.7 · 25 May 2026MIT974.5k / weekRepositoryHomepagenpmAtom feed
7.29.10 is the newest release of 7.x.
In short
1 new6 fixed2 changed20 internal
Security
1 advisory affects 7.17.7; 7.26.10 fixes them
- ModerateBabel has inefficient RegExp complexity in generated code with .replace when transpiling named capturing groupsGHSA-968p-4wvh-cqc8 · 11 Mar 2025Fixed in 7.26.10
Release note
Thanks @cha0s, @dev-itsheng, @green1052, @jlennox and @Yokubjon-J for your first PRs!
:eyeglasses: Spec Compliance
babel-generator,babel-parser[tsx] raise error on single arrow type argument without comma (@ozanhonamlioglu)
:bug: Bug Fix
babel-helper-compilation-targetsAvoid
resolveTargetscall ifbrowsersis an empty array (@dev-itsheng)
babel-helper-module-transforms,babel-helper-simple-access,babel-plugin-transform-modules-amd,babel-plugin-transform-modules-commonjs,babel-plugin-transform-modules-umdFix update expression for exported bigints (@magic-akari)
babel-parserAllow variable and function with the same name in static blocks (@Yokubjon-J)
Remove length restriction from JSX entities, and ignore
Object.prototype(@nicolo-ribaudo)fix(ts): skip func-type param start on parsing (@JLHwung)
babel-helpers,babel-plugin-proposal-decoratorsbabel-generatorFix
import type/typeofprinting with no specifiers (@The-x-Theorist)
babel-helper-module-transforms,babel-plugin-transform-modules-commonjsFix duplicate exports initialization with many exports (@JasinYip)
babel-helper-member-expression-to-functions,babel-plugin-proposal-class-properties,babel-plugin-proposal-private-methods,babel-plugin-transform-classes,babel-plugin-transform-object-superfix: support bigints in update expressions for private fields (@magic-akari)
babel-registerFix babel register cache invalidation (@cha0s)
:nail_care: Polish
babel-parserReport single error for invalid num seps in unicode escapes (@nicolo-ribaudo)
:house: Internal
babel-generator,babel-parserType-safe ParseErrors (@tolmasky)
babel-plugin-transform-destructuringImprove
transform-destructuringtypings (@JLHwung)
Other
Convert ESLint plugins to CommonJS (@nicolo-ribaudo)