@babel/runtime-corejs2
7.29.7 · 25 May 2026MIT974.5k / weekRepositoryHomepagenpmAtom feed
7.29.10 is the newest release of 7.x.
In short
3 new3 changed16 internal
Security
1 advisory affects 7.22.10; 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 @DimitriPapadopoulos, @FabianWarnecke, @JoshuaKGoldberg, and @YYvanYang for your first pull requests!
:bug: Bug Fix
babel-plugin-transform-typescript[ts] Strip type-only namespaces (@nicolo-ribaudo)
[ts] Fix compiling extended exported nested namespace (@nicolo-ribaudo)
babel-helper-create-class-features-plugin,babel-plugin-proposal-decorators,babel-plugin-proposal-destructuring-private,babel-plugin-transform-class-properties,babel-plugin-transform-class-static-block,babel-plugin-transform-new-target,babel-plugin-transform-private-methods,babel-preset-envMemoize class binding when compiling private methods and static elements (@JLHwung)
:nail_care: Polish
babel-cliAdd
metaobject to@babel/eslint-plugin(@JLHwung)
babel-traverse,babel-typesImprove the type definition of
path.isX(@liuxingbaoyu)
babel-generator,babel-typesimprove SourceLocation typing (@JLHwung)
:house: Internal
Other
babel-cli,babel-core,babel-generator,babel-helper-builder-react-jsx,babel-preset-env,babel-standaloneEnable
@typescript-eslint/no-redundant-type-constituentsrule (@JLHwung)
babel-helper-compilation-targetsRemove
@babel/corepeerDep fromhelper-compilation-targets(@nicolo-ribaudo)
babel-parserUse const enum in babel-parser (@JLHwung)
babel-plugin-transform-runtime,babel-traverse,babel-typeschore: Use
typescript-eslint@v6with reworked configs (@JoshuaKGoldberg)
:microscope: Output optimization
babel-plugin-transform-block-scoping,babel-plugin-transform-parameters,babel-plugin-transform-regeneratorReduce
transform-block-scopingloops output size (@liuxingbaoyu)