@babel/runtime-corejs2
7.29.7 · 25 May 2026MIT974.5k / weekRepositoryHomepagenpmAtom feed
7.29.10 is the newest release of 7.x.
In short
7 new5 fixed6 changed31 internal
Security
1 advisory affects 7.10.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 @AndrewLeedham, @fisker, @kik-o, @kitos, @lazytype for their first PRs!
We are also releasing the first experimental version of the new polyfills plugins: you can check them out at babel/babel-polyfills.
:eyeglasses: Spec Compliance
babel-plugin-proposal-logical-assignment-operatorslogical-assignment: Do not assign names to anonymous functions (@arku)
:rocket: New Feature
babel-helper-create-class-features-plugin,babel-helper-member-expression-to-functions,babel-helper-optimise-call-expression,babel-helper-replace-supers,babel-parser,babel-plugin-proposal-class-propertiesHandle private access chained on an optional chain (@jridgewell)
babel-standalonefeat: add privatePropertyInObject to babel-standalone (@JLHwung)
Support data-type="module" to generate native <script type="module"> (@dfabulich)
babel-cli,babel-helper-create-class-features-plugin,babel-parser,babel-plugin-proposal-private-property-in-object,babel-typesAdd private-property-in-object support (@jridgewell)
babel-compat-data,babel-plugin-transform-template-literals,babel-plugin-transform-unicode-escapes,babel-preset-env,babel-standaloneTransform ES2015 Unicode Escapes to ES5 (@jridgewell)
babel-parser,babel-plugin-syntax-module-attributes,babel-standaloneadded basic support for module attributes and tests updated (@vivek12345)
babel-helper-compilation-targets,babel-preset-env[
preset-env] AddbrowserslistEnvoption (@AndrewLeedham)
babel-cliLog after subsequent compilations in --watch mode (@nicolo-ribaudo)
babel-helpers,babel-plugin-transform-destructuring,babel-plugin-transform-spread,babel-traverseAdd "allowArrayLike" option to the destructuring and spread transforms (@nicolo-ribaudo)
babel-helpers,babel-plugin-transform-for-of,babel-preset-envAdd "allowArrayLike" support to the for-of transform (@nicolo-ribaudo)
babel-parserbabel-plugin-transform-react-pure-annotations,babel-preset-reactImplement
plugin-transform-react-pure-annotationsand add topreset-react(@devongovett)
babel-compat-data,babel-preset-envAdd class proposals to shipped proposals (@JLHwung)
:bug: Bug Fix
babel-traversescope.rename() missing identifier in VariableDeclarator (@yulanggong)
babel-plugin-proposal-optional-chainingfix: optional-chaining should work correctly with ts non-null operator (@macabeus)
babel-parser,babel-typesrefactor: add isLiteralPropertyName to parser utils (@JLHwung)
babel-plugin-transform-typescriptfix: don't elide jsx pragma import namespaces (@jquense)
babel-plugin-proposal-object-rest-spreadfix(plugin-proposal-object-rest-spread): use computed memberExpression for literal keys (@kitos)
babel-plugin-transform-runtimefix: skip transforming
delete something.includes(@JLHwung)
babel-generatorgetters and setters support in generator for declare class statement (@zxbodya)
:nail_care: Polish
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-env[helpers] Add a private function name within
createSuper(@cpojer)
:house: Internal
Other
babel-parserFix comments for smartPipeline topic-forbidding contexts (@lazytype)
babel-core,babel-generator,babel-helper-compilation-targets,babel-helpers,babel-parser,babel-plugin-proposal-decorators,babel-plugin-proposal-json-strings,babel-plugin-transform-block-scoping,babel-plugin-transform-flow-comments,babel-plugin-transform-modules-systemjs,babel-plugin-transform-react-jsx-source,babel-plugin-transform-runtime,babel-preset-env,babel-standalone,babel-template,babel-traverse,babel-typesUse ?. where it represents the intended semantics (@nicolo-ribaudo)
:running_woman: Performance
babel-plugin-proposal-object-rest-spreadUse single object spread call in loose mode (@jridgewell)
:leftwards_arrow_with_hook: Revert
babel-standaloneDowngrade rollup to 1.27.9 (@nicolo-ribaudo)