Packages

@babel/generator

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

Your version

7.20.7

22 Dec 2022Where it was published

7.29.8 is the newest release of 7.x.

In short

1 faster10 fixed2 changed8 internal

Release note

Thanks @wsypower for your first PR!

:eyeglasses: Spec Compliance

  • babel-helper-member-expression-to-functions, babel-helper-replace-supers, babel-plugin-proposal-class-properties, babel-plugin-transform-classes

  • babel-helpers, babel-plugin-proposal-class-properties, babel-plugin-transform-classes, babel-plugin-transform-object-super

    • fix: Throw correct error types from sed ant class TDZ helpers (@SuperSodaSea)

:bug: Bug Fix

  • babel-parser, babel-plugin-transform-typescript

    • fix: Support auto accessors with TypeScript annotations (@liuxingbaoyu)

  • babel-traverse

  • babel-plugin-transform-typescript, babel-traverse

  • babel-plugin-transform-block-scoping

  • babel-plugin-proposal-async-generator-functions, babel-preset-env

  • babel-generator, babel-plugin-proposal-optional-chaining

  • babel-plugin-transform-react-jsx, babel-types

  • babel-core, babel-helpers, babel-plugin-transform-computed-properties, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime

    • fix: Computed properties should keep original definition order (@SuperSodaSea)

  • babel-helper-member-expression-to-functions, babel-helper-replace-supers, babel-plugin-proposal-class-properties, babel-plugin-transform-classes

  • babel-generator

    • fix: Print newlines for leading Comments of TSEnumMember (@liuxingbaoyu)

:nail_care: Polish

  • babel-plugin-transform-block-scoping, babel-traverse

:house: Internal

  • babel-helper-define-map, babel-plugin-transform-property-mutators

  • babel-core, babel-plugin-proposal-class-properties, babel-plugin-transform-block-scoping, babel-plugin-transform-classes, babel-plugin-transform-destructuring, babel-plugin-transform-parameters, babel-plugin-transform-regenerator, babel-plugin-transform-runtime, babel-preset-env, babel-traverse

:running_woman: Performance

  • babel-helper-compilation-targets