graphology-shortest-path
Advanced tools
Comparing version 1.3.3 to 1.3.4
@@ -110,3 +110,3 @@ /** | ||
var finalPath, | ||
var finalPath = [], | ||
finalDistance = Infinity; | ||
@@ -167,3 +167,3 @@ | ||
if (!finalDistance || finalDistance > d) { | ||
if (finalPath.length === 0 || finalDistance > d) { | ||
finalDistance = d; | ||
@@ -170,0 +170,0 @@ finalPath = paths[0][u].concat(paths[1][u].slice(0, -1).reverse()); |
{ | ||
"name": "graphology-shortest-path", | ||
"version": "1.3.3", | ||
"version": "1.3.4", | ||
"description": "Shortest path functions for graphology.", | ||
@@ -40,3 +40,3 @@ "main": "index.js", | ||
"@yomguithereal/eslint-config": "^4.0.0", | ||
"eslint": "^7.2.0", | ||
"eslint": "^7.5.0", | ||
"graphology": "0.17.1", | ||
@@ -59,4 +59,4 @@ "mocha": "^8.0.1" | ||
"graphology-utils": "^1.7.0", | ||
"mnemonist": "^0.36.1" | ||
"mnemonist": "^0.38.0" | ||
} | ||
} |
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
34507
+ Addedmnemonist@0.38.5(transitive)
+ Addedobliterator@2.0.4(transitive)
- Removedmnemonist@0.36.1(transitive)
Updatedmnemonist@^0.38.0