@babel/generator
8.0.6 · 18 Sep 2026MIT285.4M / weekRepositoryHomepagenpmAtom feed
7.29.8 is the newest release of 7.x.
In short
6 fixed11 internal
Release note
Thanks @Dunqing, @luiscubal, and @samualtnorman for your first PRs!
:eyeglasses: Spec Compliance
babel-parserForbid initializerless using (@JLHwung)
babel-helpers,babel-plugin-proposal-decorators,babel-runtime-corejs3Ensure decorators are callable (@JLHwung)
:bug: Bug Fix
babel-generatorfix: Correctly prints
{ [key in Bar]? }(@liuxingbaoyu)fix: Correctly generate
TSMappedType(@liuxingbaoyu)
babel-compat-data,babel-plugin-bugfix-firefox-class-in-computed-class-key,babel-preset-envCreate bugfix plugin for classes in computed keys in Firefox (@nicolo-ribaudo)
babel-helper-create-class-features-plugin,babel-plugin-proposal-decoratorsfix: support mutated outer decorated class binding (@JLHwung)
fix: Decorators when
super()exists andprotoInitis not needed (@liuxingbaoyu)
babel-plugin-transform-block-scopingfix: Transform scoping for
for Xin loop (@liuxingbaoyu)fix: Capture
letwhen theforbody is not a block (@liuxingbaoyu)
babel-core,babel-plugin-transform-block-scoped-functions,babel-plugin-transform-block-scopingFix incorrect function hoisting in some case statements (@luiscubal)