@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 faster10 fixed2 changed8 internal
Security
1 advisory affects 7.20.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 @wsypower for your first PR!
:eyeglasses: Spec Compliance
babel-helper-member-expression-to-functions,babel-helper-replace-supers,babel-plugin-proposal-class-properties,babel-plugin-transform-classesfix: Deleting super property should throw (@SuperSodaSea)
babel-helpers,babel-plugin-proposal-class-properties,babel-plugin-transform-classes,babel-plugin-transform-object-superfix: Throw correct error types from sed ant class TDZ helpers (@SuperSodaSea)
:bug: Bug Fix
babel-parser,babel-plugin-transform-typescriptfix: Support auto accessors with TypeScript annotations (@liuxingbaoyu)
babel-traverseFix
.parentPathafter rename inSwitchCase(@nicolo-ribaudo)
babel-plugin-transform-typescript,babel-traversefix: Ts import type and func with duplicate name (@liuxingbaoyu)
babel-plugin-transform-block-scopingFix tdz analysis for reassigned captured for bindings (@nicolo-ribaudo)
babel-plugin-proposal-async-generator-functions,babel-preset-envfix: Transform
for awaitwith shadowed variables (@liuxingbaoyu)
babel-generator,babel-plugin-proposal-optional-chainingfix: Correctly generate
(a ?? b) as T(@liuxingbaoyu)
babel-plugin-transform-react-jsx,babel-typesfix: Emit correct sourcemap ranges for
JSXText(@liuxingbaoyu)
babel-core,babel-helpers,babel-plugin-transform-computed-properties,babel-runtime-corejs2,babel-runtime-corejs3,babel-runtimefix: Computed properties should keep original definition order (@SuperSodaSea)
babel-helper-member-expression-to-functions,babel-helper-replace-supers,babel-plugin-proposal-class-properties,babel-plugin-transform-classesfix: Deleting super property should throw (@SuperSodaSea)
babel-generatorfix: Print newlines for leading Comments of
TSEnumMember(@liuxingbaoyu)
:nail_care: Polish
babel-plugin-transform-block-scoping,babel-traverseImprove relative execution tracking in fn exprs (@nicolo-ribaudo)
:house: Internal
babel-helper-define-map,babel-plugin-transform-property-mutatorsInline & simplify
@babel/helper-define-map(@nicolo-ribaudo)
babel-core,babel-plugin-proposal-class-properties,babel-plugin-transform-block-scoping,babel-plugin-transform-classes,babel-plugin-transform-destructuring,babel-plugin-transform-parameters,babel-plugin-transform-regenerator,babel-plugin-transform-runtime,babel-preset-env,babel-traverseRewrite
transform-block-scopingplugin (@nicolo-ribaudo)
:running_woman: Performance
babel-helper-compilation-targetsperf: Speed up
getTargets(@liuxingbaoyu)