@babel/generator
8.0.6 · 18 Sep 2026MIT285.4M / weekRepositoryHomepagenpmAtom feed
7.29.8 is the newest release of 7.x.
In short
1 new3 fixed11 internal
Release note
:eyeglasses: Spec Compliance
babel-parserAllow the dynamic
import.defer()form ofimport defer(@babel-bot)
:bug: Bug Fix
babel-plugin-transform-block-scoped-functionschore: Avoid calling
isInStrictModein Babel 7 (@liuxingbaoyu)
babel-plugin-transform-typescriptfix: Correctly generate exported const enums in namespace (@liuxingbaoyu)
babel-parser[estree] Unify method type parameters handling (@JLHwung)
fix: Correctly set position for
@(a.b)()(@liuxingbaoyu)[estree] Adjust the start loc of class methods with type params (@nicolo-ribaudo)
babel-generator,babel-parser,babel-plugin-transform-flow-strip-types,babel-typesSupport flow jsx opening element type arguments (@JLHwung)
babel-compat-data,babel-preset-envfix: More accurate
transform-typeof-symbolcompat data (@liuxingbaoyu)
babel-generator,babel-parser,babel-typesFix incomplete visitor keys (@JLHwung)
:microscope: Output optimization
babel-plugin-transform-nullish-coalescing-operatorImprove nullish coalescing operator output (@liuxingbaoyu)