Packages

@babel/cli

8.0.6 · 18 Sep 2026MIT3.9M / weekRepositoryHomepagenpmAtom feed

Your version

7.12.13

3 Feb 2021Where it was published

7.29.7 is the newest release of 7.x.

In short

5 new16 fixed7 changed33 internal

Release note

Thanks @bradzacher, @bz2, @ChALkeR, @FauxFaux, @fedeci, @karansapolia, @panzarino, @shrinktofit, and @Zalathar for your first PRs!

:eyeglasses: Spec Compliance

  • babel-parser

    • spec: disable await binding identifier within static block (@JLHwung)

  • babel-helper-create-class-features-plugin, babel-helpers, babel-plugin-proposal-private-methods, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime

    • fix: throw error when accessing private method without a getter (@fedeci)

  • babel-plugin-transform-computed-properties, babel-plugin-transform-shorthand-properties

    • fix: correctly transform __proto__ properties (@ExE-Boss)

:bug: Bug Fix

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

  • babel-plugin-proposal-class-properties, babel-plugin-transform-classes

  • babel-parser, babel-template

    • Permit %%placeholder%% in left-hand-side of a let declaration (@Zalathar)

  • babel-core, babel-helper-transform-fixture-test-runner, babel-register

  • babel-parser

    • (ts) Raise syntax error for an abstract method in non-abstract class (@sosukesuzuki)

    • fix(parser): throw error with wrong typescript 'export declare' (@fedeci)

    • Raise recoverable error for await expressions in sync functions (@sosukesuzuki)

    • fix: start TypePredicate node after returnToken (@JLHwung)

    • @babel/preset-typescript: fix tsx assigment issue (@Zzzen)

    • [ts]Add optional property to OptionalCallExpression node that has type arguments (@sosukesuzuki)

  • babel-helpers, babel-plugin-transform-classes

    • Avoid hitting __proto__ in _inheritsLoose (@ChALkeR)

  • babel-generator

    • fix: avoid line breaks between class members head and key (@JLHwung)

  • babel-register

  • babel-node

    • fix: place _babel-node after process.execArgv (@JLHwung)

  • babel-types

    • fix: cloneNode(deep, withoutLoc) handles absent comments (@FauxFaux)

    • Use isIdentifierChar instead of regex for toIdentifier (@mischnic)

  • babel-plugin-transform-modules-systemjs

    • [systemjs] Fix: export star alongside with named export (@shrinktofit)

  • babel-plugin-transform-for-of

  • babel-helper-create-class-features-plugin, babel-helper-replace-supers, babel-plugin-transform-classes

    • Correctly access shadowed class binding in super.* (@Zzzen)

  • babel-helper-module-imports, babel-plugin-transform-react-jsx-development, babel-plugin-transform-react-jsx

:nail_care: Polish

  • babel-helper-transform-fixture-test-runner, babel-parser, babel-preset-env

    • refactor: raise AwaitNotInAsyncContext when an AwaitExpression will be parsed (@JLHwung)

  • babel-cli, babel-core, babel-parser

  • babel-helper-create-class-features-plugin, babel-plugin-proposal-private-methods

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

    • fix: print warning messages to stderr (@JLHwung)

  • babel-code-frame

    • fix(code-frame): do not pad gutter of empty lines (@SimenB)

:memo: Documentation

:house: Internal

  • babel-traverse, babel-types

  • babel-register

    • babel-register run default register with global module cache (@overlookmotel)

  • Other

  • babel-generator, babel-preset-env

    • fix: allow to execute util scripts (@armano2)

  • babel-core, babel-helper-compilation-targets, babel-plugin-transform-classes, babel-plugin-transform-function-name, babel-plugin-transform-parameters, babel-plugin-transform-regenerator, babel-preset-env

    • Tweak helper compilation targets (@JLHwung)

:microscope: Output optimization

  • babel-plugin-transform-modules-commonjs, babel-plugin-transform-template-literals, babel-plugin-transform-unicode-escapes, babel-preset-env

  • babel-plugin-transform-react-jsx

    • Optimize jsx spreads of object expressions (@bz2)