@babel/runtime-corejs2
7.29.7 · 25 May 2026MIT974.5k / weekRepositoryHomepagenpmAtom feed
7.29.10 is the newest release of 7.x.
In short
1 faster3 fixed3 changed8 internal
Security
1 advisory affects 7.15.3; 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 @dhrubesh and @doing-art for your first PRs!
:eyeglasses: Spec Compliance
babel-helpers,babel-plugin-transform-classesDerived constructors should not be allowed to return primitives (@dhrubesh)
:bug: Bug Fix
babel-parserFix parse error when using named import "as" with flow parser (@doing-art)
[flow] Fix parsing of arrows in conditional expressions in parentheses (@nicolo-ribaudo)
Disallow
<T>(a => b)when parsing Flow (@nicolo-ribaudo)fix(parser): add
attachCommenttoParserOptionstype (@sosukesuzuki)
:house: Internal
Use
@babel/eslint-parser/experimental-workerfor our own repo (@nicolo-ribaudo)
:running_woman: Performance
babel-parserperf: minor tokenizer tweaks (@lightmare)
babel-registerReduce stat calls in register (@overlookmotel)