@babel/runtime-corejs2
7.29.7 · 25 May 2026MIT974.5k / weekRepositoryHomepagenpmAtom feed
7.29.10 is the newest release of 7.x.
In short
5 fixed3 changed6 internal
Security
1 advisory affects 7.25.6; 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 @j4k0xb for your first PR!
:bug: Bug Fix
babel-generatorProperly print inner comments in TS array types (@nicolo-ribaudo)
fix: jsx whitespace is not properly preserved when retainLines (@liuxingbaoyu)
babel-traversefix:
path.getAssignmentIdentifiersmay beundefined(@liuxingbaoyu)
babel-parserfix: improve static canFollowModifier checks (@JLHwung)
babel-helpers,babel-plugin-transform-optional-chaining,babel-runtime-corejs3Only wrap functions in
superPropertyGethelper (@nicolo-ribaudo)
:nail_care: Polish
babel-generator,babel-plugin-transform-async-to-generator,babel-plugin-transform-block-scoping,babel-plugin-transform-class-properties,babel-plugin-transform-classes,babel-plugin-transform-duplicate-named-capturing-groups-regex,babel-plugin-transform-named-capturing-groups-regex,babel-plugin-transform-react-jsx-development,babel-plugin-transform-react-jsx,babel-plugin-transform-react-pure-annotations,babel-plugin-transform-regenerator,babel-plugin-transform-runtime,babel-preset-envDo not enforce printing space between
(and comments (@nicolo-ribaudo)
babel-plugin-syntax-import-assertions,babel-plugin-syntax-import-attributesDon't throw when enabling both syntax-import-{assertions,attributes} (@nicolo-ribaudo)
babel-generatorTS union/intersection nested in union does not need parens (@nicolo-ribaudo)
:house: Internal
babel-generatorRemove unused
parentparams in the generator (@nicolo-ribaudo)