@atolis-hq/corum 0.1.29 → 0.1.30

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.
@@ -414,8 +414,8 @@ export function createApp(graph, reloadEvents = createReloadEvents(), source, mu
414
414
  nodesWithEdges.add(edge.to);
415
415
  }
416
416
  }
417
- const orphanNodeCount = [...targetGraph.nodesById.keys()]
418
- .filter(id => !nodesWithEdges.has(id)).length;
417
+ const orphanNodeCount = [...targetGraph.nodesById.values()]
418
+ .filter(node => !nodesWithEdges.has(node.id) && getNavigationOwnership(targetGraph, node) === undefined).length;
419
419
  res.json({
420
420
  nodeCount: targetGraph.nodesById.size,
421
421
  componentCount: components.size,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atolis-hq/corum",
3
- "version": "0.1.29",
3
+ "version": "0.1.30",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",