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

@atlaspack/graph

Package Overview
Dependencies
Maintainers
0
Versions
236
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atlaspack/graph - npm Package Compare versions

Comparing version 3.2.1-canary.3425 to 3.2.1-canary.3426

4

lib/ContentGraph.js

@@ -72,3 +72,3 @@ "use strict";

}
removeNode(nodeId) {
removeNode(nodeId, removeOrphans = true) {
this._assertHasNodeId(nodeId);

@@ -78,5 +78,5 @@ let contentKey = (0, _nullthrows().default)(this._nodeIdToContentKey.get(nodeId));

this._nodeIdToContentKey.delete(nodeId);
super.removeNode(nodeId);
super.removeNode(nodeId, removeOrphans);
}
}
exports.default = ContentGraph;

@@ -95,3 +95,3 @@ "use strict";

// Removes node and any edges coming from or to that node
removeNode(nodeId) {
removeNode(nodeId, removeOrphans = true) {
if (!this.hasNode(nodeId)) {

@@ -113,3 +113,3 @@ return;

} of this.adjacencyList.getOutboundEdgesByType(nodeId)) {
this._removeEdge(nodeId, to, type);
this._removeEdge(nodeId, to, type, removeOrphans);
}

@@ -116,0 +116,0 @@ this.nodes[nodeId] = null;

{
"name": "@atlaspack/graph",
"version": "3.2.1-canary.3425+9f7376c6c",
"version": "3.2.1-canary.3426+9ec24d923",
"description": "Blazing fast, zero configuration web application bundler",

@@ -19,6 +19,6 @@ "license": "(MIT OR Apache-2.0)",

"dependencies": {
"@atlaspack/feature-flags": "2.12.1-canary.3425+9f7376c6c",
"@atlaspack/feature-flags": "2.12.1-canary.3426+9ec24d923",
"nullthrows": "^1.1.1"
},
"gitHead": "9f7376c6cf799896a0789ab66f1cc253f2464991"
"gitHead": "9ec24d923e4361f97bcc64c967c066fbebb7f4b4"
}

@@ -89,3 +89,3 @@ // @flow strict-local

removeNode(nodeId: NodeId): void {
removeNode(nodeId: NodeId, removeOrphans: boolean = true): void {
this._assertHasNodeId(nodeId);

@@ -95,4 +95,4 @@ let contentKey = nullthrows(this._nodeIdToContentKey.get(nodeId));

this._nodeIdToContentKey.delete(nodeId);
super.removeNode(nodeId);
super.removeNode(nodeId, removeOrphans);
}
}

@@ -189,3 +189,3 @@ // @flow strict-local

// Removes node and any edges coming from or to that node
removeNode(nodeId: NodeId) {
removeNode(nodeId: NodeId, removeOrphans: boolean = true) {
if (!this.hasNode(nodeId)) {

@@ -207,3 +207,3 @@ return;

for (let {type, to} of this.adjacencyList.getOutboundEdgesByType(nodeId)) {
this._removeEdge(nodeId, to, type);
this._removeEdge(nodeId, to, type, removeOrphans);
}

@@ -210,0 +210,0 @@

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