@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 faster2 changed21 internal
Security
1 advisory affects 7.6.3; 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
:eyeglasses: Spec Compliance
babel-parserDisallow await inside async arrow params (@nicolo-ribaudo)
[parser] Disallow numeric separators in legacy octal like integers (@gonzarodriguezt)
:rocket: New Feature
babel-typesAdd declarations for more of @babel/types exports (@Jessidhia)
:bug: Bug Fix
babel-plugin-transform-block-scopingDo not remove let bindings even they are wrapped in closure (@JLHwung)
babel-parseradd scope to TSModuleDeclaration (@tanhauhau)
Do not allow member expressions to start async arrows (@nicolo-ribaudo)
[parser] Don't crash on comment after trailing comma after elision (@nicolo-ribaudo)
babel-plugin-transform-react-constant-elements,babel-traverseDo not hoist jsx referencing a mutable binding (@nicolo-ribaudo)
babel-generator,babel-parser,babel-plugin-transform-block-scoping,babel-plugin-transform-flow-comments,babel-plugin-transform-flow-strip-types,babel-plugin-transform-typescriptFlow: interface identifier should be declared in the scope (@JLHwung)
:nail_care: Polish
babel-core
:house: Internal
Other
Use
make -jfor parallel build (@JLHwung)perf: only apply lazy cjs module transform on cli and core (@JLHwung)
Enable optional chaining and nullish coalescing plugins (@nicolo-ribaudo)
babel-cli,babel-core,babel-generator,babel-helper-fixtures,babel-helper-transform-fixture-test-runner,babel-node,babel-plugin-transform-react-jsx-source,babel-plugin-transform-runtime,babel-preset-env,babel-preset-reactAdd windows to travis (@nicolo-ribaudo)
:running_woman: Performance