Big news!Introducing Socket AI - ChatGPT-Powered Threat Analysis.Learn more
Socket
Socket

@babel/plugin-proposal-optional-chaining

Package Overview
Dependencies
3
Maintainers
4
Versions
70
Issues
File Explorer

Advanced tools

@babel/plugin-proposal-optional-chaining

Transform optional chaining operators into a series of nil checks

    7.21.0latest
    GitHub
    npm

Version published
Maintainers
4
Weekly downloads
20,293,616
increased by0.51%

Weekly downloads

Changelog

Source

v7.21.0 (2023-02-20)

:rocket: New Feature
  • babel-core, babel-helper-create-class-features-plugin, babel-plugin-proposal-class-properties, babel-plugin-proposal-private-methods, babel-plugin-proposal-private-property-in-object
    • #15435 feat: Implement privateFieldsAsSymbols assumption for classes (@fwienber)
  • babel-helper-create-regexp-features-plugin, babel-plugin-proposal-regexp-modifiers, babel-standalone
  • babel-cli, babel-core, babel-generator, babel-plugin-transform-destructuring, babel-plugin-transform-modules-commonjs, babel-plugin-transform-react-jsx, babel-traverse
  • babel-parser, babel-types
  • babel-generator, babel-helpers, babel-parser, babel-plugin-proposal-decorators, babel-plugin-syntax-decorators, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime
  • babel-parser
  • babel-core
  • babel-generator, babel-parser, babel-plugin-transform-typescript
:bug: Bug Fix
  • babel-plugin-transform-typescript
  • babel-core
  • babel-helper-create-class-features-plugin, babel-plugin-proposal-class-properties, babel-plugin-proposal-class-static-block, babel-plugin-proposal-private-methods, babel-plugin-transform-classes, babel-plugin-transform-new-target
  • babel-parser, babel-plugin-transform-flow-comments, babel-plugin-transform-flow-strip-types, babel-types
:nail_care: Polish
  • babel-parser
    • #15400 polish: improve "await as identifier" error in modules (@JLHwung)
:house: Internal
:microscope: Output optimization

Readme

Source

@babel/plugin-proposal-optional-chaining

Transform optional chaining operators into a series of nil checks

See our website @babel/plugin-proposal-optional-chaining for more information.

Install

Using npm:

npm install --save-dev @babel/plugin-proposal-optional-chaining

or using yarn:

yarn add @babel/plugin-proposal-optional-chaining --dev

Keywords

FAQs

Last updated on 20 Feb 2023

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket
Socket SOC 2 Logo

Product

  • Package Issues
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc