Packages

@babel/cli

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

Your version

7.10.0

26 May 2020Where it was published

7.29.7 is the newest release of 7.x.

In short

7 new5 fixed6 changed31 internal

Release note

Thanks @AndrewLeedham, @fisker, @kik-o, @kitos, @lazytype for their first PRs!

We are also releasing the first experimental version of the new polyfills plugins: you can check them out at babel/babel-polyfills.

:eyeglasses: Spec Compliance

  • babel-plugin-proposal-logical-assignment-operators

    • logical-assignment: Do not assign names to anonymous functions (@arku)

:rocket: New Feature

  • babel-helper-create-class-features-plugin, babel-helper-member-expression-to-functions, babel-helper-optimise-call-expression, babel-helper-replace-supers, babel-parser, babel-plugin-proposal-class-properties

    • Handle private access chained on an optional chain (@jridgewell)

  • babel-standalone

    • feat: add privatePropertyInObject to babel-standalone (@JLHwung)

    • Support data-type="module" to generate native <script type="module"> (@dfabulich)

  • babel-cli, babel-helper-create-class-features-plugin, babel-parser, babel-plugin-proposal-private-property-in-object, babel-types

  • babel-compat-data, babel-plugin-transform-template-literals, babel-plugin-transform-unicode-escapes, babel-preset-env, babel-standalone

  • babel-parser, babel-plugin-syntax-module-attributes, babel-standalone

    • added basic support for module attributes and tests updated (@vivek12345)

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

  • babel-cli

  • babel-helpers, babel-plugin-transform-destructuring, babel-plugin-transform-spread, babel-traverse

    • Add "allowArrayLike" option to the destructuring and spread transforms (@nicolo-ribaudo)

  • babel-helpers, babel-plugin-transform-for-of, babel-preset-env

  • babel-parser

    • Enable import.meta by default in @babel/parser (#11364) (@kik-o)

  • babel-plugin-transform-react-pure-annotations, babel-preset-react

    • Implement plugin-transform-react-pure-annotations and add to preset-react (@devongovett)

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

    • Add class proposals to shipped proposals (@JLHwung)

:bug: Bug Fix

  • babel-traverse

    • scope.rename() missing identifier in VariableDeclarator (@yulanggong)

  • babel-plugin-proposal-optional-chaining

    • fix: optional-chaining should work correctly with ts non-null operator (@macabeus)

  • babel-parser, babel-types

    • refactor: add isLiteralPropertyName to parser utils (@JLHwung)

  • babel-plugin-transform-typescript

    • fix: don't elide jsx pragma import namespaces (@jquense)

  • babel-plugin-proposal-object-rest-spread

    • fix(plugin-proposal-object-rest-spread): use computed memberExpression for literal keys (@kitos)

  • babel-plugin-transform-runtime

    • fix: skip transforming delete something.includes (@JLHwung)

  • babel-generator

    • getters and setters support in generator for declare class statement (@zxbodya)

:nail_care: Polish

  • babel-helpers, babel-plugin-proposal-class-properties, babel-plugin-proposal-decorators, babel-plugin-transform-classes, babel-plugin-transform-function-name, babel-plugin-transform-parameters, babel-plugin-transform-react-jsx, babel-plugin-transform-runtime, babel-plugin-transform-typescript, babel-preset-env

    • [helpers] Add a private function name within createSuper (@cpojer)

:house: Internal

  • Other

  • babel-parser

    • Fix comments for smartPipeline topic-forbidding contexts (@lazytype)

  • babel-core, babel-generator, babel-helper-compilation-targets, babel-helpers, babel-parser, babel-plugin-proposal-decorators, babel-plugin-proposal-json-strings, babel-plugin-transform-block-scoping, babel-plugin-transform-flow-comments, babel-plugin-transform-modules-systemjs, babel-plugin-transform-react-jsx-source, babel-plugin-transform-runtime, babel-preset-env, babel-standalone, babel-template, babel-traverse, babel-types

:running_woman: Performance

  • babel-plugin-proposal-object-rest-spread

    • Use single object spread call in loose mode (@jridgewell)

:leftwards_arrow_with_hook: Revert