@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 fixed20 internal
Security
1 advisory affects 7.4.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
Thanks @airato, @schu34, @divbhasin, @eps1lon and @pnavarrc for their first PRs! :smile:
:bug: Bug Fix
babel-parserFix location for optional params in arrow functions (@danez)
Avoid unnecessary work during lookahead (@danez)
fix: allow shebang directive (@tanhauhau)
babel-preset-envUpdate preset-env dependencies and fix fixtures (@danez)
Fix mobile browsers support in preset-env (@nicolo-ribaudo)
Fix destructuring assignments being transpiled for edge 15 (@eps1lon)
babel-plugin-transform-typescriptfix(typescript): erase type exports (@airato)
:nail_care: Polish
babel-parserDo not use lookahead when parsing construct signature declarations in TS (@danez)
Only compute Position if not already in state (@danez)
Do not use lookahead when parsing jsx expression containers (@danez)
Do not use lookahead when parsing imports in declare module in flow (@danez)
Do not use lookahead when parsing declare module or declare module.exports in flow (@danez)
Do not use lookahead when parsing dynamic import or import.meta (@danez)
Remove guardedHandlers from ASTs (@danez)
babel-preset-envuse console.warn for warning (@schu34)
babel-coreFixed null error in plugin opts and added a test for it (@divbhasin)
babel-core,babel-traverseAdd missing space in error messages (@pnavarrc)
:house: Internal
babel-node[babel-node] Do not hardcode node flags (@nicolo-ribaudo)