@babel/runtime-corejs2
7.29.7 · 25 May 2026MIT974.5k / weekRepositoryHomepagenpmAtom feed
7.29.10 is the newest release of 7.x.
In short
6 fixed9 internal
Security
1 advisory affects 7.22.6; 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
:bug: Bug Fix
babel-compat-data,babel-helper-compilation-targets,babel-preset-envAdd opera mobile compat data (@JLHwung)
babel-plugin-transform-optional-chainingFix transform of
delete a?.bin function params (@nicolo-ribaudo)
babel-helper-split-export-declaration,babel-plugin-transform-modules-commonjsfix: Default export for duplicate names (@liuxingbaoyu)
babel-compat-data,babel-preset-envupdate compat-data sources (@JLHwung)
babel-helpers,babel-plugin-proposal-explicit-resource-management,babel-runtime-corejs3,babel-runtimeFix handling of sync error in
@@asyncDispose(@nicolo-ribaudo)
babel-standalonefix: Support transforming Explicit Resource Management in
stage-2(@liuxingbaoyu)
babel-corefix: Works correctly with
--frozen-intrinsics(@liuxingbaoyu)
:house: Internal
babel-helper-create-class-features-plugin,babel-plugin-transform-classesMinor class transform cleanups (@JLHwung)
:microscope: Output optimization
babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining,babel-plugin-transform-class-properties,babel-plugin-transform-optional-chaining,babel-plugin-transform-typescriptCompress output for optional chain with multiple
?.(@nicolo-ribaudo)
babel-plugin-proposal-destructuring-private,babel-plugin-proposal-do-expressions,babel-plugin-proposal-pipeline-operator,babel-plugin-transform-class-properties,babel-plugin-transform-nullish-coalescing-operator,babel-plugin-transform-optional-chaining,babel-plugin-transform-private-property-in-object,babel-traverseInject tmp vars in the params list of IIFEs when possible (@nicolo-ribaudo)