@babel/runtime-corejs2
7.29.7 · 25 May 2026MIT974.5k / weekRepositoryHomepagenpmAtom feed
Upgrading @babel/runtime-corejs2 from 7.25.9 to 7.26.10
4 releases in betweenevery note read
- 0
- changes to make
- 1
- advisory fixed
- 7
- new
- 12
- fixes
Security
Fixes 1 advisory affecting 7.25.9
- Babel has inefficient RegExp complexity in generated code with .replace when transpiling named capturing groupsmoderate · GHSA-968p-4wvh-cqc8
- 7.26.10
This release includes a fix for github.com/babel/babel/security/advisories/GHSA…, a security vulnerability which affects the
.replacemethod of transpiled regular expressions that use named capturing groups.
Release by release
- fixed
Always initialize ExportDeclaration attributes (@JLHwung)
- fixed
"Map maximum size exceeded" in deepClone (@liuxingbaoyu)
- fixed
Should not evaluate vars in child scope (@liuxingbaoyu)
- fixed
Correctly generate
abstract override(@liuxingbaoyu) - fixed
Fix processing of replacement pattern with named capture groups (@mmmsssttt404)
- fixed
Avoid warnings when re-bundling @babel/standalone with webpack (@liuxingbaoyu)
- fixed
- fixed
Definition for
TSPropertySignature.kind(@liuxingbaoyu) - fixed
Do not depend on
@types/gensyncin Babel 7 (@nicolo-ribaudo)
- fixed
- fixed
Correctly handle
typeofin arrow functions (@liuxingbaoyu) - fixed
Correctly resolve references to non-constant enum members (@branchseer)
- fixed
Remove type-only
import x = y.z(@liuxingbaoyu)
- fixed
- new
Support async plugin's pre/post (@timofei-iatsenko)
- new
Add
transform-regexp-modifierstopreset-env(@JLHwung) - new
Add
startIndexparser option (@DylanPiercey) - new
Support
import()inrewriteImportExtensions(@liuxingbaoyu)
- new
6 other lines we could not sort, mostly version bumps
- 7.26.9
Print TypeScript optional/definite in ClassPrivateProperty (@jamiebuilds-signal)
- 7.26.9
Use
.tsfiles with explicit reexports to solve name conflicts (@nicolo-ribaudo) - 7.26.7
Make "object without properties" helpers ES6-compatible (@tquetano-netflix)
- 7.26.7
Respect
rangesoption in estree method value (@JLHwung) - 7.26.0
Rename
proposal-json-modulestotransform-json-modules(@nicolo-ribaudo) - 7.26.0
Inline
@babel/highlightin@babel/code-frame(@nicolo-ribaudo)
30 internal lines (docs, tests, tooling) left out.