Packages

@babel/cli

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

Your version

7.2.0

3 Dec 2018Where it was published

7.29.7 is the newest release of 7.x.

In short

4 new3 fixed7 changed26 internal

Release note

You can read more about this release at babeljs.io/blog/2018/12/03/7.2.0.

:rocket: New Feature

  • babel-parser

    • Implement Smart Pipeline proposal in @babel/parser. (@mAAdhaTTah)

  • babel-core

    • Export @babel/parser#tokTypes in @babel/core. (@kaicataldo)

  • babel-node

  • babel-generator, babel-helpers, babel-plugin-class-features, babel-plugin-proposal-private-methods, babel-plugin-syntax-class-properties, babel-types

    • Private class methods stage 3. (@tim-mc)

  • babel-preset-env

:bug: Bug Fix

  • babel-parser

    • Parse non-octals with leading zeros in non strict mode correctly. (@danez)

    • Disallow await inside arrow functions. (@nicolo-ribaudo)

    • [flow] Allow type casts in array patterns inside arrow parameters. (@nicolo-ribaudo)

    • Fix compatibility between typescript and jsx plugins in interface declarations. (@danez)

    • Fix bug with parsing TS generic async arrow function. (@existentialism)

    • Fix parsing typescript function types with destructuring. (@danez)

  • babel-helper-fixtures, babel-parser

    • Ignore empty fixture directories and fix fixtures in the parser. (@danez)

  • babel-preset-env

  • babel-plugin-transform-destructuring

    • Fix destructuring assignment in arrow functions without block. (@RubenVerborgh)

  • babel-plugin-proposal-optional-chaining

  • babel-core, babel-helper-wrap-function, babel-plugin-proposal-async-generator-functions, babel-plugin-proposal-function-sent, babel-plugin-transform-async-to-generator, babel-plugin-transform-classes

  • babel-core

    • Normalize presets before merging config with others.. (@loganfsmyth)

:nail_care: Polish

  • babel-generator

  • babel-node

  • babel-parser

    • a better error message for disallowed trailing commas/additional parameters after rest elements in function params. (@morozRed)

  • babel-*

:house: Internal

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

    • Make @babel/plugin-class-features a normal helper package. (@nicolo-ribaudo)

  • Other

    • Add node 11 to CI and remove node 9. (@danez)

    • Skip minifying standalone in non-publish runs. (@danez)

  • babel-types

    • Fix warning when using prettier in code generators. (@danez)

  • babel-generator