@babel/generator
8.0.6 · 18 Sep 2026MIT285.4M / weekRepositoryHomepagenpmAtom feed
7.29.8 is the newest release of 7.x.
In short
1 new2 faster3 fixed5 changed11 internal
Release note
Thanks @DylanPiercey and @YuHyeonWook for your first PRs!
:bug: Bug Fix
babel-helper-validator-identifierfix: update identifier to unicode 16 (@JLHwung)
babel-traversefix: issue with node path keys updated on unrelated paths (@DylanPiercey)
babel-plugin-transform-classesUse an inclusion rather than exclusion list for
super()check (@nicolo-ribaudo)
babel-generatorFix printing of TS
inferin compact mode (@nicolo-ribaudo)Print TS type annotations for destructuring in assignment pattern (@nicolo-ribaudo)
Respect
[no LineTerminator here]after nodes (@nicolo-ribaudo)
:nail_care: Polish
babel-typesAdd deprecated JSDOC for fields (@liuxingbaoyu)
:house: Internal
babel-coreAllow sync loading of ESM when
--experimental-require-module(@nicolo-ribaudo)
babel-helper-compilation-targets,babel-helper-plugin-utils,babel-preset-envAdd browserslist config to external dependency (@JLHwung)
babel-plugin-proposal-destructuring-private,babel-plugin-syntax-decimal,babel-plugin-syntax-import-reflection,babel-standaloneArchive syntax-import-reflection and syntax-decimal (@nicolo-ribaudo)
babel-generatorSimplify logic for
[no LineTerminator here]before nodes (@nicolo-ribaudo)
:running_woman: Performance
babel-plugin-transform-typescriptperf: Avoid extra cloning of namespaces (@liuxingbaoyu)
babel-typesperf: Improve @babel/types builders (@liuxingbaoyu)
Only access
BABEL_TYPES_8_BREAKINGat startup (@nicolo-ribaudo)