Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

resolved-graph

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

resolved-graph - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

2

dist/mutateDeepLeft.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.mutateDeepLeft = (left, right) => Object.keys(right).forEach((key) => typeof right[key] === 'object' ? exports.mutateDeepLeft((left[key] !== undefined || (left[key] = {})) && left[key], right[key]) : (left[key] = right[key]));
exports.mutateDeepLeft = (left, right) => Object.keys(right).forEach((key) => typeof right[key] === 'object' ? exports.mutateDeepLeft((typeof left[key] === 'object' || (left[key] = {})) && left[key], right[key]) : (left[key] = right[key]));

@@ -15,6 +15,2 @@ import { Node } from './Node';

mergeGraph(graph: Graph<NodeData, LinkData>): void;
/**
* Sets a node and resolves its links into a ResolvedNode internally.
* @param {node} The node to set.
*/
setNode(node: Node<NodeData>): void;

@@ -21,0 +17,0 @@ mergeNode(node: Node<NodeData>): void;

@@ -32,6 +32,2 @@ "use strict";

}
/**
* Sets a node and resolves its links into a ResolvedNode internally.
* @param {node} The node to set.
*/
setNode(node) {

@@ -38,0 +34,0 @@ this._nodes[node.id] = node;

@@ -37,2 +37,1 @@ "use strict";

}
resolvedGraph.setNode(null);
{
"name": "resolved-graph",
"version": "1.2.0",
"version": "1.2.1",
"description": "Generates and updates a graph of nodes and links with resolved relationships for ease of traversal and extraction",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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