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

@datastructures-js/graph

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@datastructures-js/graph - npm Package Compare versions

Comparing version 5.1.1 to 5.1.2

5

CHANGELOG.md

@@ -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

2

package.json
{
"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;

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