@babel/runtime-corejs2
7.29.7 · 25 May 2026MIT974.5k / weekRepositoryHomepagenpmAtom feed
7.29.10 is the newest release of 7.x.
In short
2 new3 fixed1 changed11 internal
Security
1 advisory affects 7.18.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 @NickHeiner for your first PR!
:rocket: New Feature
babel-preset-envfeat: add import-assertions to shippedProposals (@JLHwung)
babel-helper-create-class-features-plugin,babel-helper-define-map,babel-plugin-proposal-class-static-block,babel-plugin-proposal-destructuring-private,babel-plugin-proposal-object-rest-spread,babel-plugin-syntax-destructuring-private,babel-plugin-transform-destructuring,babel-plugin-transform-proto-to-assign,babel-plugin-transform-typescript,babel-standalone,babel-traverse,babel-typesTransform destructuring private (@JLHwung)
babel-generator,babel-parser,babel-types[ts 4.7] Support optional variance annotations (@magic-akari)
babel-generator,babel-parser[ts 4.7] Support
extendsconstraints forinfer(@sosukesuzuki)
babel-generator,babel-parser,babel-plugin-transform-typescript,babel-traverse,babel-types[ts] Add support for instantiation expressions (@nicolo-ribaudo)
babel-helper-module-transforms,babel-plugin-transform-modules-amd,babel-plugin-transform-modules-commonjs,babel-plugin-transform-modules-umdPass filename to
importInteropmethod (@NickHeiner)
:bug: Bug Fix
babel-typesDo not create multiple copies of comments when cloning nodes (@liuxingbaoyu)
babel-parserFix parsing of
<after object literals with thejsxplugin (@JLHwung)
babel-plugin-transform-react-pure-annotationsfix: do not mark computed
React[...]methods as pure (@JLHwung)
:nail_care: Polish
babel-core,babel-helper-transform-fixture-test-runner,babel-helpers,babel-plugin-proposal-async-generator-functions,babel-plugin-transform-async-to-generator,babel-plugin-transform-block-scoping,babel-plugin-transform-classes,babel-plugin-transform-regenerator,babel-plugin-transform-runtime,babel-preset-env,babel-runtime-corejs2,babel-runtime-corejs3,babel-runtime,babel-standaloneInline
regeneratorRuntimeas a normal helper (@nicolo-ribaudo)
:house: Internal
babel-core,babel-helper-create-class-features-plugin,babel-plugin-proposal-decorators,babel-plugin-transform-modules-systemjsimprove helper-create-class-features typings (@JLHwung)