@babel/runtime-corejs2
7.29.7 · 25 May 2026MIT974.5k / weekRepositoryHomepagenpmAtom feed
Upgrading @babel/runtime-corejs2 from 7.14.8 to 7.15.3
1 release in betweenevery note read
Security
1 advisory still affects 7.15.3
- Babel has inefficient RegExp complexity in generated code with .replace when transpiling named capturing groupsmoderate · GHSA-968p-4wvh-cqc8
Upgrading to 7.26.10 clears it.
Release by release
- new
Minor tokenizer tweaks (@lightmare)
- fixed
Fix parse error when using named import "as" with flow parser (@doing-art)
- fixed
Fix parsing of arrows in conditional expressions in parentheses (@nicolo-ribaudo)
- fixed
parser: Add
attachCommenttoParserOptionstype (@sosukesuzuki)
- new
3 other lines we could not sort, mostly version bumps
- 7.15.3
Derived constructors should not be allowed to return primitives (@dhrubesh)
- 7.15.3
Disallow
<T>(a => b)when parsing Flow (@nicolo-ribaudo) - 7.15.3
Use
@babel/eslint-parser/experimental-workerfor our own repo (@nicolo-ribaudo)
8 internal lines (docs, tests, tooling) left out.