Packages

@babel/cli

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

Your version

7.8.0

12 Jan 2020Where it was published

7.29.7 is the newest release of 7.x.

In short

3 new9 fixed11 changed49 internal

Release note

Blog post on the website

:eyeglasses: Spec Compliance

  • babel-parser

    • Disallow private name in object elements and TS type elements (@JLHwung)

    • LiteralPropertyName should allow BigIntLiteral (@JLHwung)

    • fix: check await when parsing AsyncArrowBindingIdentifier (@JLHwung)

    • Fix: TopLevelAwait should respect await identifiers defined in sub scope. (@JLHwung)

    • fix: Class Field Initializer should not allow await expression as immediate child (@JLHwung)

  • babel-plugin-proposal-numeric-separator

    • StringNumericLiteral does not include NumericLiteralSeparator (@JLHwung)

  • babel-generator, babel-parser, babel-plugin-proposal-private-methods

:boom: Breaking Change

  • breaking

    babel-types

    • (opt-in) Improve @babel/types with env.BABEL_TYPES_8_BREAKING (@nicolo-ribaudo)

:rocket: New Feature

  • babel-standalone

    • Merge env-standalone to babel-standalone (@JLHwung)

  • babel-core

  • babel-compat-data, babel-preset-env-standalone, babel-preset-env

    • Add optional-chaining and nullish-coalescing to preset-env (@Druotic)

  • babel-helper-module-transforms, babel-plugin-transform-modules-systemjs

    • add allowTopLevelThis option to transform-modules-systemjs (@JLHwung)

  • babel-parser

  • babel-cli

    • --copy-ignored flag added to CLI (@rajasekarm)

    • Add --out-file-extension option to babel-cli (@eps1lon)

  • babel-core, babel-generator, babel-parser

    • Enable nullish coalescing by default in @babel/parser (@layershifter)

  • babel-core, babel-parser

    • [parser] enable dynamic import by default (@AbdulAli19)

:bug: Bug Fix

  • babel-node

    • Filename detection should respect short flags (@JLHwung)

  • babel-plugin-proposal-numeric-separator

    • StringNumericLiteral does not include NumericLiteralSeparator (@JLHwung)

  • babel-preset-env

    • Use chrome data when android is absent (@JLHwung)

    • fix: Promise.any requires global.AggregateError (@JLHwung)

  • babel-parser

    • When reading a new string, U+2028/2029 should correctly set the new column (@JLHwung)

    • Refactor parseSubscript (@JLHwung)

    • fix: lost leading comment after named import (@elevatebart)

  • Other

  • babel-traverse

    • Override toString in case this function is printed (@jayenashar)

  • babel-helper-module-transforms, babel-plugin-transform-modules-commonjs

    • helper-module-transforms: dereference imported template tag (@ajafff)

  • babel-traverse, babel-types

    • Fix parameter expression get binding (@JLHwung)

  • babel-core

  • babel-helpers

    • fix: Object.getOwnPropertySymbols called on non-object (@bassaer)

:nail_care: Polish

  • babel-node

    • Use babel > as prompt in babel-node (@ZYSzys)

  • babel-parser

    • refactor: remove inClassProperty parser state (@JLHwung)

:memo: Documentation

  • babel-preset-env

    • CONTRIBUTING: Update link to plugin-features.js [skip ci] (@andersk)

  • Other

:house: Internal

  • babel-preset-env

    • chore: update corejs fixtures (@JLHwung)

    • chore: update caniuse-usage Chrome 49 related fixtures (@JLHwung)

    • Replace custom "findSuggestion" function with "levenary" (@nicolo-ribaudo)

  • babel-core

  • Other

    • Reduce false negative cases of typescript parser tests (@JLHwung)

    • Update Test262, Flow and TS parser tests (@nicolo-ribaudo)

    • Bump coverage target from 80% to 90% (@nicolo-ribaudo)

    • Fix recent e2e-vuejs-cli error (@JLHwung)

    • Add integration test: e2e-vue-cli (@JLHwung)

    • chore: update test262 (@JLHwung)

    • chore: refine e2e test scripts (@JLHwung)

    • chore: separate build-standalone with coverage (@JLHwung)

    • Move coverage to GitHub actions (@JLHwung)

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

  • babel-parser

    • test: add invalid-lone-import test (@JLHwung)

    • refactor: remove unecessary checkYieldAwaitInDefaultParams (@JLHwung)

    • refactor: remove unused invalidTemplateEscapePosition tokenizer state (@JLHwung)

    • TSTypeCastExpression should not be inside call parameters (@JLHwung)

    • Remove unused parser methods (@JLHwung)

  • Every package

    • chore: specify package type [skip-ci] (@JLHwung)

:leftwards_arrow_with_hook: Revert

  • babel-cli

    • fix: minified should not accept optional argument (@JLHwung)