@datastructures-js/graph
Advanced tools
Comparing version 5.1.1 to 5.1.2
@@ -8,2 +8,7 @@ # Changelog | ||
## [Unreleased] | ||
## [v5.1.2] - 2022-02-11 | ||
### Fixed | ||
- getWeight type definition. | ||
## [v5.1.1] - 2021-06-20 | ||
@@ -10,0 +15,0 @@ ### Fixed |
{ | ||
"name": "@datastructures-js/graph", | ||
"version": "5.1.1", | ||
"version": "5.1.2", | ||
"description": "graph & directed graph implementation in javascript", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -8,3 +8,3 @@ export class DirectedGraph<T extends number|string, U = undefined> { | ||
hasEdge(srcKey: T, destKey: T): boolean; | ||
getWeight(): number; | ||
getWeight(srcKey: T, destKey: T): number; | ||
removeEdge(srcKey: T, destKey: T): boolean; | ||
@@ -11,0 +11,0 @@ removeEdges(key: T): number; |
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
32963