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
231
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.3522 to 3.2.1-canary.3527

5

lib/Graph.js

@@ -34,3 +34,6 @@ "use strict";

let adjacencyList = opts === null || opts === void 0 ? void 0 : opts.adjacencyList;
this.adjacencyList = adjacencyList ? _AdjacencyList.default.deserialize(adjacencyList) : new _AdjacencyList.default();
let initialCapacity = opts === null || opts === void 0 ? void 0 : opts.initialCapacity;
this.adjacencyList = adjacencyList ? _AdjacencyList.default.deserialize(adjacencyList) : new _AdjacencyList.default(typeof initialCapacity === 'number' ? {
initialCapacity
} : undefined);
}

@@ -37,0 +40,0 @@ setRootNodeId(id) {

6

package.json
{
"name": "@atlaspack/graph",
"version": "3.2.1-canary.3522+56e3e234a",
"version": "3.2.1-canary.3527+3766d627c",
"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.3522+56e3e234a",
"@atlaspack/feature-flags": "2.12.1-canary.3527+3766d627c",
"nullthrows": "^1.1.1"
},
"gitHead": "56e3e234a88ec4681a542477d38e3a7e1f300844"
"gitHead": "3766d627cee17159b930f3117730d214c4774152"
}

@@ -20,2 +20,3 @@ // @flow strict-local

rootNodeId?: ?NodeId,
initialCapacity?: number,
|};

@@ -88,5 +89,8 @@

let adjacencyList = opts?.adjacencyList;
let initialCapacity = opts?.initialCapacity;
this.adjacencyList = adjacencyList
? AdjacencyList.deserialize(adjacencyList)
: new AdjacencyList<TEdgeType>();
: new AdjacencyList<TEdgeType>(
typeof initialCapacity === 'number' ? {initialCapacity} : undefined,
);
}

@@ -93,0 +97,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