@babel/generator
8.0.6 · 18 Sep 2026MIT285.4M / weekRepositoryHomepagenpmAtom feed
7.29.8 is the newest release of 7.x.
In short
9 fixed3 changed15 internal
Release note
:bug: Bug Fix
babel-plugin-proposal-object-rest-spread,babel-plugin-transform-parametersCorrectly transpile when default parameter initializer references binding in rest pattern (@vedantroy)
babel-traversebabel-plugin-transform-destructuringfix Incorrect destructuring compilation of
for (let [[x] = [1]] =… (@Zzzen)
babel-preset-envFixed useBuiltIns and modules validation when using 'false' as option (@JMarkoski)
babel-plugin-transform-classesFix createSuper in Babel <7.5.5 (@nicolo-ribaudo)
babel-helper-function-name,babel-plugin-transform-function-namefix: do not add function name when parent's operator is not
=(@JLHwung)
babel-helper-builder-react-jsx-experimental,babel-plugin-transform-react-jsxfix auto import error with whitespace JSXText (@lunaruan)
babel-typesfix: allow logical assignment operators in AssignmentExpression (@JLHwung)
babel-plugin-transform-parametersSet correct async/generator in IIFE for params (@nicolo-ribaudo)
babel-helper-create-class-features-pluginIgnore abstract methods when decorating class (@oliverdunk)
:nail_care: Polish
babel-plugin-transform-parametersDon't check type annotations when deciding params scope (@nicolo-ribaudo)
babel-traverseSimplify scope.hasReferences implementation (@Andarist)
babel-plugin-proposal-class-properties,babel-plugin-proposal-decorators,babel-plugin-transform-classes,babel-plugin-transform-parameters,babel-plugin-transform-runtime,babel-plugin-transform-typescript,babel-preset-envDon't call
createSuperin loose mode (it was unused) (@nicolo-ribaudo)
babel-generatorpolish: align optional chain whitespace behavior to their sibiling (@JLHwung)
:house: Internal
Fix e2e publish test when branching from an older version (@nicolo-ribaudo)