@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 new6 fixed4 changed19 internal
Security
1 advisory affects 7.13.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
You can read the release post at babeljs.io/blog/2021/02/22/7.13.0!
Thanks @dsainati1, @immitsu, and @perrin4869 for your first PRs!
:rocket: New Feature
babel-parserImplement class features in estree (@JLHwung)
babel-generator,babel-parser,babel-plugin-syntax-module-blocks,babel-standalone,babel-traverse,babel-typesParse JS Module Blocks proposal (@sosukesuzuki)
babel-generator,babel-parser,babel-typesSupport TypeScript 4.2 abstract constructor signatures (@sosukesuzuki)
Flow Enums with unknown members support (@gkz)
babel-core,babel-registerAdd cjs as a default extension (@perrin4869)
babel-traversefeat(referencesImport): support named exports accessed via namespace imports (@jeysal)
babel-plugin-transform-typescript,babel-preset-typescriptEnable allowNamespaces in
transform-typescriptby default (@JLHwung)
babel-generator,babel-parser,babel-plugin-transform-flow-strip-types,babel-plugin-transform-parameters,babel-typesSupport Flow
thisparameter annotations (@dsainati1)
babel-plugin-proposal-record-and-tupleImplement "Records and Tuples" transform (@rickbutton)
babel-plugin-transform-runtime,babel-plugin-transform-typeof-symbol,babel-runtime-corejs2,babel-runtime-corejs3,babel-runtimeUse conditional exports in
@babel/runtimefor CJS/ESM (@nicolo-ribaudo)
babel-core,babel-helper-plugin-utils,babel-preset-envAdd
@babel/coresupport for the newassumptionsoption (@nicolo-ribaudo)
babel-core,babel-helper-compilation-targets,babel-helper-plugin-utils,babel-preset-envAdd
targetsandbrowserslist*options to@babel/core(@nicolo-ribaudo)
babel-coreSupport
.mjsplugins/presets and async factories (@nicolo-ribaudo)
:bug: Bug Fix
babel-helpers,babel-plugin-proposal-class-properties,babel-plugin-proposal-decorators,babel-plugin-transform-classes,babel-plugin-transform-function-name,babel-plugin-transform-parameters,babel-plugin-transform-react-jsx,babel-plugin-transform-runtime,babel-plugin-transform-typescript,babel-preset-envFix _isNativeReflectConstruct helper (@nicolo-ribaudo)
babel-cli[babel-cli] Don't fail when
chmodthrows an error (@immitsu)
babel-nodefix: create IPC channel for spawned babel-node process (@JLHwung)
babel-standalonefix: add regenerate-unicode-properties to dynamicRequireTargets (@JLHwung)
babel-plugin-proposal-optional-chaining,babel-traverseFix scope of computed method keys (@overlookmotel)
:house: Internal
babel-plugin-proposal-async-generator-functions,babel-plugin-proposal-decorators,babel-plugin-transform-runtime,babel-preset-env,babel-runtime-corejs2Use the
babel-plugin-polyfill-*packages intransform-runtime(@nicolo-ribaudo)
babel-plugin-transform-runtimeDon't use
useESModulesin@babel/runtimebuild script (@nicolo-ribaudo)
babel-standaloneMake sure that Rollup's
dynamicRequireTargetsare included (@nicolo-ribaudo)
babel-helper-transform-fixture-test-runner,babel-plugin-proposal-async-generator-functions,babel-plugin-proposal-decorators,babel-preset-envUse the
babel-plugin-polyfill-*packages inpreset-env(@nicolo-ribaudo)
:running_woman: Performance
babel-registerbabel-register: Don’t rewrite the cache if it’s not dirty (@andersk)
:microscope: Output optimization
babel-helper-create-class-features-plugin,babel-helper-member-expression-to-functions,babel-plugin-proposal-class-propertiesSupport
noDocumentAllforobj?.#p(@JLHwung)