Packages

@babel/generator

8.0.6 · 18 Sep 2026MIT285.4M / weekRepositoryHomepagenpmAtom feed

Your version

7.9.5

7 Apr 2020Where it was published

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-parameters

    • Correctly transpile when default parameter initializer references binding in rest pattern (@vedantroy)

  • babel-traverse

    • Fixed generateUid creating clashing ids after scope re-crawling (@Andarist)

    • Fixed issue with programPath.scope.references not being registered back correctly after scope re-crawling (@Andarist)

  • babel-plugin-transform-destructuring

    • fix Incorrect destructuring compilation of for (let [[x] = [1]] =… (@Zzzen)

  • babel-preset-env

    • Fixed useBuiltIns and modules validation when using 'false' as option (@JMarkoski)

  • babel-plugin-transform-classes

  • babel-helper-function-name, babel-plugin-transform-function-name

    • fix: do not add function name when parent's operator is not = (@JLHwung)

  • babel-helper-builder-react-jsx-experimental, babel-plugin-transform-react-jsx

    • fix auto import error with whitespace JSXText (@lunaruan)

  • babel-types

    • fix: allow logical assignment operators in AssignmentExpression (@JLHwung)

  • babel-plugin-transform-parameters

  • babel-helper-create-class-features-plugin

    • Ignore abstract methods when decorating class (@oliverdunk)

:nail_care: Polish

  • babel-plugin-transform-parameters

  • babel-traverse

    • Simplify 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-env

  • babel-generator

    • polish: align optional chain whitespace behavior to their sibiling (@JLHwung)

:house: Internal

  • Fix e2e publish test when branching from an older version (@nicolo-ribaudo)