Packages

@babel/generator

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

Your version

7.15.0

4 Aug 2021Where it was published

7.29.8 is the newest release of 7.x.

In short

9 new3 fixed2 changed16 internal

Release note

Thanks @a-tarasyuk and @gausie for your first PRs!

:eyeglasses: Spec Compliance

  • babel-parser

    • feat(ts): raise error for abstract property with initializer (@fedeci)

:rocket: New Feature

  • babel-parser

    • Add attachComment parser option to disable comment attachment (@JLHwung)

  • babel-standalone

  • babel-parser, babel-preset-env

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

  • babel-plugin-transform-typescript

    • feat(typescript): implement namespace alias (@colinaaa)

  • babel-core, babel-helper-create-class-features-plugin, babel-helper-module-transforms, babel-plugin-transform-modules-commonjs

    • feat: add noIncompleteNsImportDetection assumption to plugin-transform-modules-commonjs (@fedeci)

  • babel-plugin-transform-react-display-name

    • Add display name after create context (@JLHwung)

  • babel-parser, babel-plugin-proposal-pipeline-operator, babel-plugin-syntax-pipeline-operator

    • Hack-pipe proposal with % topic token (@js-choi)

  • babel-generator, babel-parser, babel-plugin-proposal-pipeline-operator, babel-plugin-syntax-pipeline-operator, babel-traverse, babel-types

    • Add support for the "Hack" pipeline proposal (@js-choi)

  • babel-plugin-transform-runtime

  • babel-compat-data, babel-helper-compilation-targets, babel-preset-env

    • Add support for rhino as a compilation target (@gausie)

  • babel-compat-data, babel-parser, babel-preset-env

:bug: Bug Fix

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

    • [ts] support optional chain call with generic (@lala7573)

  • babel-plugin-transform-typescript

    • Handle typescript function overloading in a default export (@tony-go)

  • babel-parser