@babel/generator
8.0.6 · 18 Sep 2026MIT285.4M / weekRepositoryHomepagenpmAtom feed
7.29.8 is the newest release of 7.x.
In short
2 new3 fixed1 changed11 internal
Release note
Thanks @NickHeiner for your first PR!
:rocket: New Feature
babel-preset-envfeat: add import-assertions to shippedProposals (@JLHwung)
babel-helper-create-class-features-plugin,babel-helper-define-map,babel-plugin-proposal-class-static-block,babel-plugin-proposal-destructuring-private,babel-plugin-proposal-object-rest-spread,babel-plugin-syntax-destructuring-private,babel-plugin-transform-destructuring,babel-plugin-transform-proto-to-assign,babel-plugin-transform-typescript,babel-standalone,babel-traverse,babel-typesTransform destructuring private (@JLHwung)
babel-generator,babel-parser,babel-types[ts 4.7] Support optional variance annotations (@magic-akari)
babel-generator,babel-parser[ts 4.7] Support
extendsconstraints forinfer(@sosukesuzuki)
babel-generator,babel-parser,babel-plugin-transform-typescript,babel-traverse,babel-types[ts] Add support for instantiation expressions (@nicolo-ribaudo)
babel-helper-module-transforms,babel-plugin-transform-modules-amd,babel-plugin-transform-modules-commonjs,babel-plugin-transform-modules-umdPass filename to
importInteropmethod (@NickHeiner)
:bug: Bug Fix
babel-typesDo not create multiple copies of comments when cloning nodes (@liuxingbaoyu)
babel-parserFix parsing of
<after object literals with thejsxplugin (@JLHwung)
babel-plugin-transform-react-pure-annotationsfix: do not mark computed
React[...]methods as pure (@JLHwung)
:nail_care: Polish
babel-core,babel-helper-transform-fixture-test-runner,babel-helpers,babel-plugin-proposal-async-generator-functions,babel-plugin-transform-async-to-generator,babel-plugin-transform-block-scoping,babel-plugin-transform-classes,babel-plugin-transform-regenerator,babel-plugin-transform-runtime,babel-preset-env,babel-runtime-corejs2,babel-runtime-corejs3,babel-runtime,babel-standaloneInline
regeneratorRuntimeas a normal helper (@nicolo-ribaudo)
:house: Internal
babel-core,babel-helper-create-class-features-plugin,babel-plugin-proposal-decorators,babel-plugin-transform-modules-systemjsimprove helper-create-class-features typings (@JLHwung)