Packages

@babel/generator

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

Your version

7.1.6

13 Nov 2018Where it was published

7.29.8 is the newest release of 7.x.

In short

4 fixed1 changed16 internal

Release note

Various bug fixes.

:bug: Bug Fix

  • babel-generator

    • Fix retainLines regression for arrow functions. (@loganfsmyth)

  • babel-types

    • Fix cloneNode with typeAnnotation.. (@neoziro)

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

    • Fix "TypeError: comments is not iterable". (@AlicanC)

  • babel-core

    • Fix browser files to have the same API as the nodejs ones. (@danez)

  • Other

    • [Types] fix generated TS/Flow comment types. (@ljqx)

  • babel-preset-env

    • preset-env: fix opera from esmodules target and Browserslist not used. (@ylemkimon)

  • babel-plugin-proposal-decorators, babel-traverse

    • [decorators] Correctly insert _initialize(this) after super().. (@nicolo-ribaudo)

  • babel-parser

    • Fix several edge cases with context expression state. (@danez)

:nail_care: Polish

  • babel-parser

    • Rename primitive types to reserved types. (@danez)

:house: Internal

  • Fix publish command [skip ci]. (@hzoo)