Packages

@babel/generator

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

Your version

7.20.1

1 Nov 2022Where it was published

7.29.8 is the newest release of 7.x.

In short

1 new5 fixed1 changed6 internal

Release note

Thanks @ptomato for your first pull request!

:bug: Bug Fix

  • babel-plugin-proposal-async-generator-functions

    • fix: Compile re-declare var in init and body of for await (@liuxingbaoyu)

  • babel-plugin-proposal-class-properties, babel-traverse

  • babel-helpers, babel-plugin-proposal-duplicate-named-capturing-groups-regex, babel-plugin-transform-named-capturing-groups-regex

    • Support indices.groups when compiling named groups in regexps (@ptomato)

  • babel-parser

  • babel-helpers, babel-plugin-proposal-duplicate-named-capturing-groups-regex

    • Handle multiple named groups in wrapRegExp replace() (@ptomato)

  • babel-plugin-transform-async-to-generator, babel-plugin-transform-parameters, babel-preset-env

    • Move the generator body to a gen IIFE when compiling its params (@nicolo-ribaudo)

:house: Internal