toposource
Advanced tools
Comparing version 1.1.2 to 1.1.3
{ | ||
"name": "toposource", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"description": "Directed graphs analyzer for parallel traversals", | ||
@@ -44,3 +44,3 @@ "main": "./target/cjs/index.js", | ||
"devDependencies": { | ||
"@types/node": "^18.14.2", | ||
"@types/node": "^18.15.10", | ||
"@types/toposort": "^2.0.3", | ||
@@ -50,10 +50,10 @@ "benchmark": "^2.1.4", | ||
"concurrently": "^7.6.0", | ||
"esbuild": "^0.17.10", | ||
"esbuild": "^0.17.14", | ||
"esbuild-node-externals": "^1.6.0", | ||
"eslint": "^8.35.0", | ||
"eslint-config-qiwi": "^2.0.8", | ||
"eslint": "^8.36.0", | ||
"eslint-config-qiwi": "^2.1.1", | ||
"toposort": "^2.0.2", | ||
"tsm": "^2.3.0", | ||
"typedoc": "^0.23.26", | ||
"typescript": "^4.9.5", | ||
"typedoc": "^0.23.28", | ||
"typescript": "^5.0.2", | ||
"uvu": "^0.5.6" | ||
@@ -60,0 +60,0 @@ }, |
@@ -43,5 +43,5 @@ # toposource | ||
* [topology-runner](https://github.com/smartprocure/topology-runner) | ||
* [graph-data-structure]https://github.com/datavis-tech/graph-data-structure | ||
* [graph-data-structure](https://github.com/datavis-tech/graph-data-structure) | ||
## License | ||
[MIT](./LICENSE) |
@@ -13,2 +13,9 @@ export type TDepMap = Map<string, string[]>; | ||
export type TEdges = ([string, string?] | [string])[]; | ||
export type TTopoResult = { | ||
next: TDepMap; | ||
prev: TDepMap; | ||
sources: string[]; | ||
queue: string[]; | ||
graphs: TGraph[]; | ||
}; | ||
export type TAnalyze = { | ||
@@ -26,9 +33,3 @@ <O extends TAnalyzeOptions = TAnalyzeOptions>(edges: TEdges, opts: O): { | ||
}; | ||
(edges: TEdges): { | ||
next: TDepMap; | ||
prev: TDepMap; | ||
sources: string[]; | ||
queue: string[]; | ||
graphs: TGraph[]; | ||
}; | ||
(edges: TEdges): TTopoResult; | ||
}; |
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
11793
248