Socket
Socket
Sign inDemoInstall

@babel/plugin-transform-optional-chaining

Package Overview
Dependencies
Maintainers
4
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/plugin-transform-optional-chaining - npm Package Compare versions

Comparing version 7.24.7 to 7.24.8

6

lib/index.js

@@ -134,3 +134,7 @@ 'use strict';

check = core.types.assignmentExpression("=", core.types.cloneNode(tmpVar), chainWithTypes);
isCall ? node.callee = ref : node.object = ref;
if (isCall) {
node.callee = ref;
} else {
node.object = ref;
}
}

@@ -137,0 +141,0 @@ if (isCall && core.types.isMemberExpression(chain)) {

8

package.json
{
"name": "@babel/plugin-transform-optional-chaining",
"version": "7.24.7",
"version": "7.24.8",
"description": "Transform optional chaining operators into a series of nil checks",

@@ -20,3 +20,3 @@ "repository": {

"dependencies": {
"@babel/helper-plugin-utils": "^7.24.7",
"@babel/helper-plugin-utils": "^7.24.8",
"@babel/helper-skip-transparent-expression-wrappers": "^7.24.7",

@@ -29,6 +29,6 @@ "@babel/plugin-syntax-optional-chaining": "^7.8.3"

"devDependencies": {
"@babel/core": "^7.24.7",
"@babel/core": "^7.24.8",
"@babel/helper-plugin-test-runner": "^7.24.7",
"@babel/plugin-transform-block-scoping": "^7.24.7",
"@babel/traverse": "^7.24.7"
"@babel/traverse": "^7.24.8"
},

@@ -35,0 +35,0 @@ "engines": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc