@babel/generator
8.0.6 · 18 Sep 2026MIT285.4M / weekRepositoryHomepagenpmAtom feed
Upgrading @babel/generator from 7.21.3 to 8.0.6
52 releases in betweenevery note read
- 2
- changes to make
- 0
- advisories fixed
- 71
- new
- 130
- fixes
Start here
Before you upgrade
Tick each one off as you go- breaking8.0.0
- breaking8.0.0
Security
- 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
Fix parsing of arrow function params inside ternaries with Flow (@robhogan)
- fixed
Polish error message for invalid binary 0b19 (@JLHwung)
- fixed
Replace
lru-cachewithflru(@nicolo-ribaudo)
- fixed
- new
Allow merging
enuminto anamespace(@nicolo-ribaudo) - new
Add types for
@babel/standalone(@liuxingbaoyu) - new
Improve
@babel/parser(@liuxingbaoyu) - fixed
parser: Do not form html entity for invalid codepoint (@JLHwung)
- new
- new
Only extract source map comments at the end of the file (@liuxingbaoyu)
- new
Add EOL date for Babel 7 (end of June 2027) to SECURITY.md (@nicolo-ribaudo)
- fixed
generator: Improve new callee parens check (@JLHwung)
- fixed
systemjs: Support proto as an export name (@JLHwung)
- new
7.29.6 – 7.29.72 releases, nothing new or fixed in the notes
- fixed
Ensure
targets.esmodulesis validated (@JLHwung) - fixed
Fix undefined when 64 indents (@liuxingbaoyu)
- fixed
- new
standalone: Export async transform (@JLHwung)
- new
Read standalone targets from data-targets (@JLHwung)
- fixed
parser: Correctly parse type assertions in
extendsclause (@nicolo-ribaudo) - fixed
parser: Improve super type argument parsing (@JLHwung)
- fixed
traverse: Provide a hub when traversing a File or Program and no parentPath is given (@simbahax)
- fixed
Rename switch discriminant references when body creates shadowing variable (@magic-akari)
- new
- new
Use lighter traversal for jsx
__source,__self(@liuxingbaoyu) - fixed
transform-regeneratorcorrectly handles scope (@liuxingbaoyu) - fixed
Keep jsx comments (@liuxingbaoyu)
- fixed
Allow Babel 8 in compatible Babel 7 plugins (@nicolo-ribaudo)
- new
80 other lines we could not sort, mostly version bumps
- 8.0.6
Update identifier definition to Unicode 18 (@JLHwung)
- 8.0.0
Fallback to assuming ESM support with
modules: auto(@nicolo-ribaudo) - 8.0.0
Remove
locations: "packed"(@liuxingbaoyu) - 7.29.6
Preserve original identifier names from input sourcemaps (#17992) (@Andarist)
- 7.28.6
Polish(standalone): improve message on invalid preset/plugin (@JLHwung)
- 7.28.5
Improve
@babel/parsererror typing (@JLHwung) - 7.28.3
Move eslint-{parser,plugin} docs to the website (@JLHwung)
- 7.28.0
Materialize
explicitResourceManagementparser plugin (@JLHwung) - 7.28.0
LVal coverage updates (Part 2) (@JLHwung)
- 7.28.0
Accept bigints in
t.bigIntLiteralfactory (@JLHwung)
402 internal lines (docs, tests, tooling) left out.