Socket
Socket
Sign inDemoInstall

@babel/helper-builder-binary-assignment-operator-visitor

Package Overview
Dependencies
4
Maintainers
4
Versions
70
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.21.4-esm.4 to 7.21.5

lib/explode-assignable-expression.js

14

lib/index.js

@@ -1,3 +0,9 @@

import explode from "@babel/helper-explode-assignable-expression";
import * as _t from "@babel/types";
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = _default;
var _t = require("@babel/types");
var _explodeAssignableExpression = require("./explode-assignable-expression");
const {

@@ -7,3 +13,3 @@ assignmentExpression,

} = _t;
export default function (opts) {
function _default(opts) {
const {

@@ -21,3 +27,3 @@ build,

const nodes = [];
const exploded = explode(node.left, nodes, this, scope);
const exploded = (0, _explodeAssignableExpression.default)(node.left, nodes, scope);
nodes.push(assignmentExpression("=", exploded.ref, build(exploded.uid, node.right)));

@@ -24,0 +30,0 @@ path.replaceWith(sequenceExpression(nodes));

{
"name": "@babel/helper-builder-binary-assignment-operator-visitor",
"version": "7.21.4-esm.4",
"version": "7.21.5",
"description": "Helper function to build binary assignment operator visitors",

@@ -17,5 +17,7 @@ "repository": {

"dependencies": {
"@babel/helper-explode-assignable-expression": "7.21.4-esm.4",
"@babel/types": "7.21.4-esm.4"
"@babel/types": "^7.21.5"
},
"devDependencies": {
"@babel/traverse": "^7.21.5"
},
"engines": {

@@ -25,3 +27,3 @@ "node": ">=6.9.0"

"author": "The Babel Team (https://babel.dev/team)",
"type": "module"
"type": "commonjs"
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • 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