graphology-shortest-path
Advanced tools
Comparing version 1.5.1 to 1.5.2
@@ -12,7 +12,6 @@ /** | ||
var typed = require('mnemonist/utils/typed-arrays'); | ||
var neighborhoodIndices = require('graphology-indices/neighborhood/outbound'); | ||
var neighborhoodIndices = require('graphology-indices/neighborhood'); | ||
var OutboundNeighborhoodIndex = neighborhoodIndices.OutboundNeighborhoodIndex, | ||
WeightedOutboundNeighborhoodIndex = | ||
neighborhoodIndices.WeightedOutboundNeighborhoodIndex; | ||
var NeighborhoodIndex = neighborhoodIndices.NeighborhoodIndex, | ||
WeightedNeighborhoodIndex = neighborhoodIndices.WeightedNeighborhoodIndex; | ||
@@ -31,3 +30,3 @@ /** | ||
function createUnweightedIndexedBrandes(graph) { | ||
var neighborhoodIndex = new OutboundNeighborhoodIndex(graph); | ||
var neighborhoodIndex = new NeighborhoodIndex(graph); | ||
@@ -126,6 +125,3 @@ var neighborhood = neighborhoodIndex.neighborhood, | ||
var neighborhoodIndex = new WeightedOutboundNeighborhoodIndex( | ||
graph, | ||
weightAttribute | ||
); | ||
var neighborhoodIndex = new WeightedNeighborhoodIndex(graph, weightAttribute); | ||
@@ -132,0 +128,0 @@ var neighborhood = neighborhoodIndex.neighborhood, |
{ | ||
"name": "graphology-shortest-path", | ||
"version": "1.5.1", | ||
"version": "1.5.2", | ||
"description": "Shortest path functions for graphology.", | ||
@@ -43,3 +43,3 @@ "main": "index.js", | ||
"@yomguithereal/helpers": "^1.1.1", | ||
"graphology-indices": "^0.15.0", | ||
"graphology-indices": "^0.16.0", | ||
"graphology-utils": "^2.1.2", | ||
@@ -46,0 +46,0 @@ "mnemonist": "^0.38.1" |
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
33920
848
+ Addedgraphology-indices@0.16.6(transitive)
+ Addedmnemonist@0.39.8(transitive)
- Removedgraphology-indices@0.15.1(transitive)
Updatedgraphology-indices@^0.16.0