Socket
Socket
Sign inDemoInstall

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

Package Overview
Dependencies
5
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.2 to 7.21.4-esm.3

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 _helperExplodeAssignableExpression = require("@babel/helper-explode-assignable-expression");
var _t = require("@babel/types");
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, _helperExplodeAssignableExpression.default)(node.left, nodes, this, 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.2",
"version": "7.21.4-esm.3",
"description": "Helper function to build binary assignment operator visitors",

@@ -17,4 +17,4 @@ "repository": {

"dependencies": {
"@babel/helper-explode-assignable-expression": "7.21.4-esm.2",
"@babel/types": "7.21.4-esm.2"
"@babel/helper-explode-assignable-expression": "7.21.4-esm.3",
"@babel/types": "7.21.4-esm.3"
},

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

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