Packages

@babel/generator

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

Your version

7.17.0

2 Feb 2022Where it was published

7.29.8 is the newest release of 7.x.

In short

7 new4 changed16 internal

Release note

Thanks @atti187 and @phulin for your first PRs!

:rocket: New Feature

  • babel-cli, babel-core

  • babel-core, babel-parser, babel-traverse

    • Expose .index on Position to internally track nodes location (@tolmasky)

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

    • proposal-pipe: Add support for ^^ and @@ topics (@js-choi)

  • babel-traverse

    • Add new method to check if node is null or not (@danez)

  • babel-generator, babel-parser, babel-plugin-syntax-destructuring-private, babel-standalone

    • Parse destructuring private fields (@JLHwung)

  • babel-helper-create-class-features-plugin, babel-helpers, babel-plugin-proposal-decorators, babel-plugin-syntax-decorators, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime, babel-standalone, babel-types

    • Add new decorators transform (@pzuraq)

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

    • Add the decoratorsAutoAccessors parser plugin (@pzuraq)

  • babel-core, babel-helper-create-regexp-features-plugin, babel-plugin-proposal-unicode-sets-regex, babel-plugin-syntax-unicode-sets-regex, babel-plugin-transform-dotall-regex

    • Add transform support for the "regexp unicode sets" proposal (@nicolo-ribaudo)

  • babel-parser

    • Add parser support for the "regexp unicode sets" proposal (@nicolo-ribaudo)

  • babel-register

:bug: Bug Fix

  • babel-parser

    • Reinterpret << when parsing TS type arguments (@JLHwung)

  • babel-plugin-transform-runtime

    • Normalize absolute paths on Windows (@atti187)

:memo: Documentation

:house: Internal

  • babel-helper-fixtures, babel-parser

    • Fuzz test location-related parser options (@tolmasky)

  • babel-compat-data

    • Update compat data (specifically for rhino 1.7.14) (@phulin)

  • Other

    • chore: run tscheck on babel 8 breaking test (@JLHwung)

:running_woman: Performance