@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 new8 fixed2 changed16 internal
Security
1 advisory affects 7.24.0; 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 @ajihyf for your first PR!
Release post with summary and highlights: babeljs.io/7.24.0
:rocket: New Feature
babel-standaloneExport babel tooling packages in
@babel/standalone(@ajihyf)
babel-core,babel-helper-create-class-features-plugin,babel-helpers,babel-plugin-transform-class-propertiesImplement
noUninitializedPrivateFieldAccessassumption (@nicolo-ribaudo)
babel-helper-create-class-features-plugin,babel-helpers,babel-plugin-proposal-decorators,babel-plugin-proposal-pipeline-operator,babel-plugin-syntax-decorators,babel-plugin-transform-class-properties,babel-runtime-corejs2,babel-runtime-corejs3,babel-runtimeSupport decorator 2023-11 normative updates (@JLHwung)
babel-preset-flow[babel 7] Allow setting
ignoreExtensionsin Flow preset (@nicolo-ribaudo)Add
experimental_useHermesParseroption inpreset-flow(@liuxingbaoyu)
babel-helper-import-to-platform-api,babel-plugin-proposal-import-wasm-source,babel-plugin-proposal-json-modules,babel-standaloneAdd transform support for JSON modules imports (@nicolo-ribaudo)
babel-plugin-transform-runtimeAdd back
moduleNameoption to@babel/plugin-transform-runtime(@nicolo-ribaudo)
babel-parser,babel-typesAllow import attributes for
TSImportType(@sosukesuzuki)
:bug: Bug Fix
babel-plugin-proposal-do-expressions,babel-traversefix: avoid
popContexton unvisited node paths (@JLHwung)
babel-helper-create-class-features-plugin,babel-plugin-transform-private-methods,babel-plugin-transform-private-property-in-objectFix class private properties when
privateFieldsAsSymbols(@liuxingbaoyu)
babel-helper-create-class-features-plugin,babel-plugin-transform-private-methodsFix the support of
argumentsin privateget/setmethod (@liuxingbaoyu)
babel-helper-create-class-features-plugin,babel-helpers,babel-plugin-proposal-decoratorsReduce decorator static property size (@liuxingbaoyu)
babel-helper-create-class-features-plugin,babel-plugin-proposal-decoratorsFix evaluation order of decorators with cached receiver (@nicolo-ribaudo)
Fix decorator this memoization (@JLHwung)
Preserve
staticon decorated privateaccessor(@nicolo-ribaudo)fix: handle decorated async private method and generator (@JLHwung)
babel-helper-create-class-features-plugin,babel-plugin-proposal-decorators,babel-plugin-transform-async-generator-functions,babel-plugin-transform-private-methods,babel-plugin-transform-private-property-in-object,babel-plugin-transform-typescript,babel-preset-envFix class private properties when
privateFieldsAsProperties(@liuxingbaoyu)
babel-helpersDo not consider
argumentsin a helper as a global reference (@nicolo-ribaudo)
babel-helpers,babel-plugin-proposal-decoratorsHandle symbol key class elements decoration (@JLHwung)
Do not define
access.getfor public setter decorators (@nicolo-ribaudo)
:nail_care: Polish
babel-core,babel-helper-create-class-features-plugin,babel-preset-envSuggest using
BABEL_SHOW_CONFIG_FORfor config problems (@nicolo-ribaudo)
:house: Internal
babel-helper-transform-fixture-test-runnerContinue writing
output.jswhenexec.jsthrows (@liuxingbaoyu)
:microscope: Output optimization
babel-helper-create-class-features-plugin,babel-plugin-proposal-decoratorsAvoid intermediate functions for private accessors with decs (@nicolo-ribaudo)
babel-helper-create-class-features-plugin,babel-helpers,babel-plugin-proposal-decorators,babel-plugin-proposal-pipeline-operator,babel-plugin-transform-class-propertiesMore aggressively inline decorators in the static block (@nicolo-ribaudo)
babel-helper-create-class-features-plugin,babel-helpers,babel-plugin-transform-private-methodsDo not use
classPrivateMethodGet(@liuxingbaoyu)
babel-helper-create-class-features-plugin,babel-helpers,babel-plugin-proposal-decoratorsReduce decorator static property size (@liuxingbaoyu)
babel-helper-create-class-features-plugin,babel-plugin-proposal-decorators,babel-plugin-transform-class-propertiesReduce element decorator temp variables (@JLHwung)
babel-helper-create-class-features-plugin,babel-helper-fixtures,babel-helpers,babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining,babel-plugin-proposal-decorators,babel-plugin-proposal-destructuring-private,babel-plugin-proposal-optional-chaining-assign,babel-plugin-transform-class-properties,babel-plugin-transform-class-static-block,babel-plugin-transform-private-methods,babel-plugin-transform-private-property-in-object,babel-preset-env,babel-runtime-corejs2,babel-runtime-corejs3,babel-runtimeDo not use descriptors for private class elements (@nicolo-ribaudo)
babel-helpers,babel-plugin-proposal-decoratorsReduce helper size for decorator 2023-11 (@liuxingbaoyu)