resolved-graph
Advanced tools
Comparing version 1.2.0 to 1.2.1
"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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9051
191