@babel/generator
8.0.6 · 18 Sep 2026MIT285.4M / weekRepositoryHomepagenpmAtom feed
8.0.6 is the newest release of 8.x.
In short
2 new1 faster12 fixed22 internal
Release note
Thanks @drubetti, @jibin7jose, @joelle-a-dev, @journey-ad, @Kjubikstronk, @MatteoGabriele, and @zhangli091011 for your first PRs!
:eyeglasses: Spec Compliance
babel-parserfix(parser): do not form html entity for invalid codepoint (@JLHwung)
:bug: Bug Fix
babel-parserbabel-plugin-transform-destructuringfix: only collapse the empty-object check when it targets the declared binding (@Kjubikstronk)
babel-plugin-transform-typescriptfix(ts): improve variable handling in namespace (@JLHwung)
[ts] Allow merging
enuminto anamespace(@nicolo-ribaudo)
babel-nodeFix import path for babel-node.js (@drubetti)
babel-plugin-bugfix-safari-rest-destructuring-rhs-arrayfix(bugfix): bound check before array access (@JLHwung)
babel-traversebabel-plugin-transform-block-scopingfix: improve for loop closure environment check (@JLHwung)
fix: assign closure body after handling return (@JLHwung)
Fix initialization of nested for loop head declarations (@journey-ad)
babel-generatorfix(generator): keep parens for ?. chain in tag (@JLHwung)
babel-registerfix(babel-register): preserve app-managed graceful shutdown (@jibin7jose)
Other
chore: fix @babel/eslint-plugin peer deps (@JLHwung)
babel-cli,babel-helper-transform-fixture-test-runner,babel-registerfix(register): do not inherit parent execArgv (@JLHwung)
babel-standaloneAdd types for
@babel/standalone(@liuxingbaoyu)
:house: Internal
babel-cli,babel-core,babel-helper-compilation-targets,babel-helper-create-class-features-plugin,babel-helper-create-regexp-features-plugin,babel-helper-fixtures,babel-preset-envrefactor: replace
semverwithverkit(@sxzz)
babel-nodeUpdate node flags list (@nicolo-ribaudo)
babel-typesSimplify AST validators (@fisker)
:running_woman: Performance
babel-parserperf: Improve
@babel/parser(@liuxingbaoyu)