Packages

@babel/cli

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

Your version

7.6.0

6 Sep 2019Where it was published

7.29.7 is the newest release of 7.x.

In short

2 new1 faster7 fixed3 changed47 internal

Release note

:eyeglasses: Spec Compliance

  • babel-generator, babel-parser

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

:rocket: New Feature

  • babel-core

    • feat(errors): validate preset when filename is absent (@JLHwung)

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

    • Class Private Static Accessors (@tim-mc)

  • babel-generator, babel-parser, babel-types

  • babel-preset-typescript

    • Allow setting 'allowNamespaces' in typescript preset (@dsgkirkby)

  • babel-parser

  • babel-types

:bug: Bug Fix

  • babel-helpers, babel-plugin-transform-destructuring, babel-plugin-transform-modules-commonjs, babel-preset-env

    • fix: early return when instance is not iterable (@JLHwung)

  • babel-plugin-transform-runtime

    • Add supports for polyfill computed methods (@rhyzx)

  • babel-preset-env

    • Don't polyfill when evaluation is not confident (@rhyzx)

    • [preset-env] Include / exclude module plugins properly (@AdamRamberg)

    • Replace es.string.reverse with es.array.reverse (@epicfaace)

  • babel-plugin-transform-named-capturing-groups-regex

    • fix: transform name capturing regex once (@JLHwung)

  • babel-types

    • fix typescript for babel-types (@tanhauhau)

    • Add a builder definition including name for tsTypeParameter (@deificx)

  • babel-parser

    • Refactor trailing comment adjustment (@banga)

    • Retain trailing comments in array expressions (@banga)

    • fix: assign trailing comment to ObjectProperty only when inside an ObjectExpression (@JLHwung)

  • babel-parser, babel-types

  • babel-generator, babel-plugin-transform-typescript, babel-types

  • babel-core, babel-types

  • babel-plugin-transform-flow-comments

  • babel-helpers, babel-plugin-transform-react-constant-elements

  • babel-plugin-proposal-decorators

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

    • Do expressions transform for switch statements (@tanhauhau)

    • remove finally from completion record in try statement (@tanhauhau)

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

:nail_care: Polish

  • babel-plugin-transform-runtime, babel-preset-env

    • Don't allow instance properties transformation on namespace (@rhyzx)

:house: Internal

  • babel-register

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

  • babel-parser

    • Refactor trailing comment adjustment (@banga)

  • babel-helper-fixtures, babel-helper-transform-fixture-test-runner, babel-plugin-proposal-dynamic-import, babel-preset-env

  • babel-runtime-corejs2, babel-runtime, babel-types

  • babel-cli, babel-core, babel-generator, babel-helper-create-class-features-plugin, babel-helper-fixtures, babel-node, babel-parser, babel-plugin-proposal-do-expressions, babel-plugin-proposal-pipeline-operator, babel-plugin-transform-modules-commonjs, babel-plugin-transform-runtime, babel-preset-env, babel-standalone, babel-template, babel-traverse, babel-types

    • Update dev dependencies and fix linting errors (@danez)

  • babel-cli

:running_woman: Performance

  • babel-helpers, babel-plugin-transform-modules-commonjs, babel-preset-env

    • Improves the logic to import objects in helpers (@ifsnow)

  • babel-traverse

    • perf: always return void 0 as undefined node (@JLHwung)