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 to 7.21.4-esm.1

14

lib/index.js

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

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

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

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

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

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

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

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

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

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

@@ -25,3 +25,3 @@ "engines": {

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

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