Packages

@babel/generator

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

Your version

7.12.5

3 Nov 2020Where it was published

7.29.8 is the newest release of 7.x.

In short

2 new6 fixed4 changed24 internal

Release note

Thanks @joelvh, @liuliangsir and @mondeja for your first PRs!

:eyeglasses: Spec Compliance

  • babel-helpers, babel-plugin-transform-block-scoping

:bug: Bug Fix

  • babel-parser

    • fix: support string assertion key in assert entries (@JLHwung)

    • fix: disallow import assertions in export without from (@JLHwung)

    • Handle exprAllowed before ObjectLike is parsed (@JLHwung)

    • Refactor yield await classification (@JLHwung)

    • Allows the interface to be used as an Identifier for flow plugin (@sosukesuzuki)

    • [ts] Error on invalid type casts in JSX (@existentialism)

    • [ts] Allow optional binding pattern parameters within types/interfaces (@existentialism)

    • Fix parsing of imports with module string name in flow plugin (@sosukesuzuki)

  • babel-parser, babel-types

  • babel-template, babel-types

    • fix: babel-types: ImportDeclaration: add assertions (@coderaiser)

  • babel-generator

    • Do not use currentColumn to indent comments when retainLines=true (@ian-craig)

  • babel-generator, babel-parser

    • Support Import Assertions for re-export statement (@sosukesuzuki)

  • babel-plugin-proposal-numeric-separator

    • fix: support bigInt in numeric-separator transform (@JLHwung)

  • babel-helper-replace-supers, babel-plugin-transform-classes

    • fix: support optionalCall in replace super handler (@JLHwung)

  • babel-standalone

    • packages/babel-standalone: make data-type="module" option avilable without data-presets option (@hirochachacha)

:nail_care: Polish

  • babel-compat-data

    • chore: bump compat-table and electron-to-chromium (@JLHwung)

  • babel-parser, babel-preset-env

:house: Internal

  • Other

    • chore: avoid duplicate coverage data upload (@JLHwung)

    • chore: bump Jest to v26 (@JLHwung)

    • chore: test on node 15 (@JLHwung)

  • babel-generator, babel-helper-module-imports, babel-helper-replace-supers, babel-parser, babel-traverse

    • add declare to class properties type annotations (@JLHwung)

  • babel-traverse, babel-types

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