@babel/runtime-corejs2
7.29.7 · 25 May 2026MIT974.5k / weekRepositoryHomepagenpmAtom feed
7.29.10 is the newest release of 7.x.
In short
9 fixed5 changed8 internal
Security
1 advisory affects 7.20.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
Thanks @davydof and @SuperSodaSea for your first PRs!
:eyeglasses: Spec Compliance
babel-helpers,babel-plugin-transform-destructuring,babel-plugin-transform-modules-commonjs,babel-preset-env,babel-runtime-corejs2,babel-runtime-corejs3,babel-runtime,babel-traverseImprove array destructuring spec compliance (@SuperSodaSea)
babel-cli,babel-helpers,babel-plugin-proposal-class-properties,babel-plugin-proposal-class-static-block,babel-plugin-transform-classes,babel-plugin-transform-runtime,babel-preset-envfix: apply toPropertyKey when defining class members (@JLHwung)
babel-helper-create-class-features-plugin,babel-helpers,babel-plugin-proposal-decorators,babel-plugin-proposal-private-property-in-object,babel-preset-env,babel-runtime-corejs2,babel-runtime-corejs3,babel-runtimefix: validate rhs of
inwhen transpiling#p in C(@JLHwung)
:bug: Bug Fix
babel-parserbabel-helper-wrap-function,babel-preset-env,babel-traversefix: Edge cases for async functions and
noNewArrowassumption (@liuxingbaoyu)
babel-plugin-transform-arrow-functions,babel-plugin-transform-parameters,babel-traversefix: Throw error when compiling
super()in arrow functions with default / rest parameters (@SuperSodaSea)
babel-helpers,babel-node,babel-plugin-proposal-async-generator-functions,babel-plugin-transform-regenerator,babel-preset-env,babel-runtime-corejs2,babel-runtime-corejs3,babel-runtimefix: Bump
regeneratorand add tests (@SuperSodaSea)
babel-helper-create-regexp-features-pluginfix: Update
regjsparserfor@babel/standalone(@liuxingbaoyu)
babel-parser,babel-typesfix: Babel 8 types (@liuxingbaoyu)
babel-generatorDon't print inner comments as leading when wrapping in
(``)(@nicolo-ribaudo)
babel-plugin-transform-block-scoping,babel-traverseRegister
switch'sdiscriminantin the outer scope (@nicolo-ribaudo)
:nail_care: Polish
babel-generatorImprove generator behavior when
comments:false(@liuxingbaoyu)
babel-plugin-transform-block-scopingOnly extract IDs for TDZ checks in assign when necessary (@nicolo-ribaudo)
:house: Internal
babel-core,babel-parserBump typescript to 4.9.3 (@JLHwung)