@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 new3 fixed2 changed14 internal
Security
1 advisory affects 7.7.5; 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
:bug: Bug Fix
babel-plugin-transform-modules-commonjs,babel-plugin-transform-regenerator,babel-plugin-transform-runtime,babel-preset-env,babel-runtime-corejs2Add ".js" extension to injected polyfill imports (@shimataro)
babel-clibabel --watchshould have equivalent file selection logic withbabel(@JLHwung)
babel-parserUse scope flags to check arguments (@JLHwung)
Allow tuple rest trailing comma (@yeonjuan)
Correctly disambiguate / after async fuctions (@nicolo-ribaudo)
babel-parser,babel-plugin-proposal-optional-chaining,babel-plugin-transform-modules-amdfix(optional chaining): Optional delete returns true with nullish base (@mpaarating)
babel-helper-module-transforms,babel-plugin-transform-modules-amdfix: rewriteBindingInitVisitor should skip on scopable node (@JLHwung)
:nail_care: Polish
babel-plugin-transform-runtimeDo not transpile typeof helper with itself in babel/runtime (@nicolo-ribaudo)
babel-corerefactor: Improve error message in @babel/core (@jaroslav-kubicek)
:house: Internal