@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 new2 faster3 fixed5 changed11 internal
Security
1 advisory affects 7.25.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 @DylanPiercey and @YuHyeonWook for your first PRs!
:bug: Bug Fix
babel-helper-validator-identifierfix: update identifier to unicode 16 (@JLHwung)
babel-traversefix: issue with node path keys updated on unrelated paths (@DylanPiercey)
babel-plugin-transform-classesUse an inclusion rather than exclusion list for
super()check (@nicolo-ribaudo)
babel-generatorFix printing of TS
inferin compact mode (@nicolo-ribaudo)Print TS type annotations for destructuring in assignment pattern (@nicolo-ribaudo)
Respect
[no LineTerminator here]after nodes (@nicolo-ribaudo)
:nail_care: Polish
babel-typesAdd deprecated JSDOC for fields (@liuxingbaoyu)
:house: Internal
babel-coreAllow sync loading of ESM when
--experimental-require-module(@nicolo-ribaudo)
babel-helper-compilation-targets,babel-helper-plugin-utils,babel-preset-envAdd browserslist config to external dependency (@JLHwung)
babel-plugin-proposal-destructuring-private,babel-plugin-syntax-decimal,babel-plugin-syntax-import-reflection,babel-standaloneArchive syntax-import-reflection and syntax-decimal (@nicolo-ribaudo)
babel-generatorSimplify logic for
[no LineTerminator here]before nodes (@nicolo-ribaudo)
:running_woman: Performance
babel-plugin-transform-typescriptperf: Avoid extra cloning of namespaces (@liuxingbaoyu)
babel-typesperf: Improve @babel/types builders (@liuxingbaoyu)
Only access
BABEL_TYPES_8_BREAKINGat startup (@nicolo-ribaudo)