Packages

@babel/generator

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

Your version

7.14.5

9 Jun 2021Where it was published

7.29.8 is the newest release of 7.x.

In short

4 fixed2 changed18 internal

Release note

Thanks @Eyoatam, @lightmare, @ota-meshi, and @tony-go for your first PRs!

:eyeglasses: Spec Compliance

  • babel-plugin-proposal-do-expressions, babel-traverse

    • fix: hoist variable declaration within do block (@JLHwung)

  • babel-parser

    • Relax import assertion key-is-type constraint (@JLHwung)

:bug: Bug Fix

  • babel-parser

    • fix(parser): correctly parse record and tuple tokens (@fedeci)

    • fix: throw when async() call param is object with assignement (@tony-go)

    • Add support for d flag of regex literals in parser (@ota-meshi)

  • babel-helpers

    • fix generate-helpers failing in URL-encoded path (@lightmare)

:house: Internal

:running_woman: Performance

  • babel-parser

    • Use set in parser scope (@JLHwung)

    • Faster checkReservedWord (@JLHwung)

    • Back parser state exportedIdentifiers by set (@JLHwung)