Comparing version 0.5.5 to 0.5.6
@@ -0,1 +1,6 @@ | ||
v0.5.6 | ||
====== | ||
* `components` now works for directed graphs. | ||
v0.5.5 | ||
@@ -2,0 +7,0 @@ ====== |
@@ -20,6 +20,2 @@ var Set = require("../data/Set"); | ||
if (g.isDirected()) { | ||
throw new Error("components can only be applied to an undirected graph. Bad input: " + g); | ||
} | ||
function dfs(v, component) { | ||
@@ -26,0 +22,0 @@ if (!visited.has(v)) { |
@@ -1,1 +0,1 @@ | ||
module.exports = '0.5.5'; | ||
module.exports = '0.5.6'; |
{ | ||
"name": "graphlib", | ||
"version": "0.5.5", | ||
"version": "0.5.6", | ||
"description": "A directed and undirected multi-graph library", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
56900
1463