@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 new4 fixed5 changed20 internal
Security
1 advisory affects 7.1.5; 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
Various bug fixes and additions.
And thanks to @benmosher, @ryanwmarsh, @Cyp, @vvyomjjain, @byronluk, @everdimension for their first PRs!
:eyeglasses: Spec Compliancy
babel-parser,babylonFix await in function name and parameters. (@nicolo-ribaudo)
:rocket: New Feature
babel-parserTypescript: Validate tuple type element positions. (@Retsam)
[flow] Add support for parsing
_as implicit instantiation in call/new. (@jbrown215)
babel-core,babel-generator,babel-parser,babel-plugin-syntax-typescript,babel-traverseRemove Babylon plugins for features already merged to the ECMAScript spec. (@nicolo-ribaudo)
babel-parser,babel-types[flow] Explicit inexact objects with
.... (@jbrown215)
babel-preset-envUpdate preset-env data. (@existentialism)
:bug: Bug Fix
babel-parserbabel-coreResolve babel.config.js 'babelrcRoots' values relative to the config file.. (@loganfsmyth)
Fix message when plugin of a wrong type is passed. (@everdimension)
babel-plugin-transform-block-scopingrename colliding let bindings with for loop init. (@byronluk)
Treat break inside block inside loop. (@thiagoarrais)
babel-preset-envpreset-env: Edge support for arrow param destructuring. (@benmosher)
babel-generatorfix single-arg async arrows when retainLines=true. (@ryanwmarsh)
babel-traversefix: Expression x === 'y' && '' should not evaluate to undefined.. (@Cyp)