@babel/runtime-corejs2
7.29.7 · 25 May 2026MIT974.5k / weekRepositoryHomepagenpmAtom feed
7.29.10 is the newest release of 7.x.
In short
6 fixed11 internal
Security
1 advisory affects 7.24.4; 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 @Dunqing, @luiscubal, and @samualtnorman for your first PRs!
:eyeglasses: Spec Compliance
babel-parserForbid initializerless using (@JLHwung)
babel-helpers,babel-plugin-proposal-decorators,babel-runtime-corejs3Ensure decorators are callable (@JLHwung)
:bug: Bug Fix
babel-generatorfix: Correctly prints
{ [key in Bar]? }(@liuxingbaoyu)fix: Correctly generate
TSMappedType(@liuxingbaoyu)
babel-compat-data,babel-plugin-bugfix-firefox-class-in-computed-class-key,babel-preset-envCreate bugfix plugin for classes in computed keys in Firefox (@nicolo-ribaudo)
babel-helper-create-class-features-plugin,babel-plugin-proposal-decoratorsfix: support mutated outer decorated class binding (@JLHwung)
fix: Decorators when
super()exists andprotoInitis not needed (@liuxingbaoyu)
babel-plugin-transform-block-scopingfix: Transform scoping for
for Xin loop (@liuxingbaoyu)fix: Capture
letwhen theforbody is not a block (@liuxingbaoyu)
babel-core,babel-plugin-transform-block-scoped-functions,babel-plugin-transform-block-scopingFix incorrect function hoisting in some case statements (@luiscubal)