Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

toposource

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

toposource - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

2

package.json
{
"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;
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc