toposource
Advanced tools
Comparing version 1.1.0 to 1.1.1
{ | ||
"name": "toposource", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Directed graphs analyzer for parallel traversals", | ||
@@ -5,0 +5,0 @@ "main": "./target/cjs/index.js", |
@@ -12,4 +12,5 @@ export type TDepMap = Map<string, string[]>; | ||
}; | ||
export type TEdges = ([string, string?] | [string])[]; | ||
export type TAnalyze = { | ||
<O extends TAnalyzeOptions = TAnalyzeOptions>(edges: [string, string?][], opts: O): { | ||
<O extends TAnalyzeOptions = TAnalyzeOptions>(edges: TEdges, opts: O): { | ||
next: TDepMap; | ||
@@ -25,3 +26,3 @@ prev: TDepMap; | ||
}; | ||
(edges: [string, string?][]): { | ||
(edges: TEdges): { | ||
next: TDepMap; | ||
@@ -28,0 +29,0 @@ prev: TDepMap; |
@@ -1,3 +0,3 @@ | ||
import { TAnalyze } from './interface'; | ||
import { TAnalyze, TDepMap } from './interface'; | ||
export declare const analyze: TAnalyze; | ||
export declare const checkLoop: (next: Map<string, string[]>) => void; | ||
export declare const checkLoop: (next: TDepMap) => void; |
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
11556
247