@atlaspack/graph 3.2.1-dev.3566 → 3.2.1-dev.3567

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/Graph.js CHANGED
@@ -85,11 +85,11 @@ class Graph {
85
85
  hasEdge(from, to, type = 1) {
86
86
  return this.adjacencyList.hasEdge(from, to, type);
87
87
  }
88
- forEachNodeIdConnectedTo(to, fn, type = ALL_EDGE_TYPES) {
88
+ forEachNodeIdConnectedTo(to, fn, type = 1) {
89
89
  this._assertHasNodeId(to);
90
90
  this.adjacencyList.forEachNodeIdConnectedTo(to, fn, type);
91
91
  }
92
- forEachNodeIdConnectedFrom(from, fn, type = ALL_EDGE_TYPES) {
92
+ forEachNodeIdConnectedFrom(from, fn, type = 1) {
93
93
  this._assertHasNodeId(from);
94
94
  this.adjacencyList.forEachNodeIdConnectedFromReverse(from, id => {
95
95
  fn(id);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaspack/graph",
3
- "version": "3.2.1-dev.3566+facdfb05f",
3
+ "version": "3.2.1-dev.3567+c06f4487e",
4
4
  "description": "Blazing fast, zero configuration web application bundler",
5
5
  "license": "(MIT OR Apache-2.0)",
6
6
  "publishConfig": {
@@ -16,8 +16,8 @@
16
16
  "node": ">= 16.0.0"
17
17
  },
18
18
  "dependencies": {
19
- "@atlaspack/feature-flags": "2.12.1-dev.3566+facdfb05f",
19
+ "@atlaspack/feature-flags": "2.12.1-dev.3567+c06f4487e",
20
20
  "nullthrows": "^1.1.1"
21
21
  },
22
- "gitHead": "facdfb05f693e50037a82a4afa101adf093fd8c9"
22
+ "gitHead": "c06f4487ebddc632957147c8b585a97e149062a1"
23
23
  }
package/src/Graph.js CHANGED
@@ -166,7 +166,7 @@ export default class Graph<TNode, TEdgeType: number = 1> {
166
166
  forEachNodeIdConnectedTo(
167
167
  to: NodeId,
168
168
  fn: (nodeId: NodeId) => boolean | void,
169
- type: AllEdgeTypes | TEdgeType | NullEdgeType = ALL_EDGE_TYPES,
169
+ type: AllEdgeTypes | TEdgeType | NullEdgeType = 1,
170
170
  ) {
171
171
  this._assertHasNodeId(to);
172
172
 
@@ -176,7 +176,7 @@ export default class Graph<TNode, TEdgeType: number = 1> {
176
176
  forEachNodeIdConnectedFrom(
177
177
  from: NodeId,
178
178
  fn: (nodeId: NodeId) => void,
179
- type: AllEdgeTypes | TEdgeType | NullEdgeType = ALL_EDGE_TYPES,
179
+ type: AllEdgeTypes | TEdgeType | NullEdgeType = 1,
180
180
  ) {
181
181
  this._assertHasNodeId(from);
182
182