Packages

@babel/generator

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

Your version

7.13.0

22 Feb 2021Where it was published

7.29.8 is the newest release of 7.x.

In short

9 new6 fixed4 changed19 internal

Release note

You can read the release post at babeljs.io/blog/2021/02/22/7.13.0!

Thanks @dsainati1, @immitsu, and @perrin4869 for your first PRs!

:rocket: New Feature

  • babel-parser

    • Implement class features in estree (@JLHwung)

  • babel-generator, babel-parser, babel-plugin-syntax-module-blocks, babel-standalone, babel-traverse, babel-types

  • babel-generator, babel-parser, babel-types

    • Support TypeScript 4.2 abstract constructor signatures (@sosukesuzuki)

    • Flow Enums with unknown members support (@gkz)

  • babel-core, babel-register

  • babel-traverse

    • feat(referencesImport): support named exports accessed via namespace imports (@jeysal)

  • babel-plugin-transform-typescript, babel-preset-typescript

    • Enable allowNamespaces in transform-typescript by default (@JLHwung)

  • babel-generator, babel-parser, babel-plugin-transform-flow-strip-types, babel-plugin-transform-parameters, babel-types

    • Support Flow this parameter annotations (@dsainati1)

  • babel-plugin-proposal-record-and-tuple

  • babel-plugin-transform-runtime, babel-plugin-transform-typeof-symbol, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime

  • babel-core, babel-helper-plugin-utils, babel-preset-env

  • babel-core, babel-helper-compilation-targets, babel-helper-plugin-utils, babel-preset-env

  • babel-core

:bug: Bug Fix

  • babel-helpers, babel-plugin-proposal-class-properties, babel-plugin-proposal-decorators, babel-plugin-transform-classes, babel-plugin-transform-function-name, babel-plugin-transform-parameters, babel-plugin-transform-react-jsx, babel-plugin-transform-runtime, babel-plugin-transform-typescript, babel-preset-env

  • babel-cli

    • [babel-cli] Don't fail when chmod throws an error (@immitsu)

  • babel-node

    • fix: create IPC channel for spawned babel-node process (@JLHwung)

  • babel-standalone

    • fix: add regenerate-unicode-properties to dynamicRequireTargets (@JLHwung)

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

:house: Internal

  • babel-plugin-proposal-async-generator-functions, babel-plugin-proposal-decorators, babel-plugin-transform-runtime, babel-preset-env, babel-runtime-corejs2

    • Use the babel-plugin-polyfill-* packages in transform-runtime (@nicolo-ribaudo)

  • babel-plugin-transform-runtime

  • babel-standalone

    • Make sure that Rollup's dynamicRequireTargets are included (@nicolo-ribaudo)

  • babel-helper-transform-fixture-test-runner, babel-plugin-proposal-async-generator-functions, babel-plugin-proposal-decorators, babel-preset-env

:running_woman: Performance

  • babel-register

    • babel-register: Don’t rewrite the cache if it’s not dirty (@andersk)

:microscope: Output optimization

  • babel-helper-create-class-features-plugin, babel-helper-member-expression-to-functions, babel-plugin-proposal-class-properties

    • Support noDocumentAll for obj?.#p (@JLHwung)