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 3.0.0 to 3.0.1

4

CHANGELOG.md

@@ -7,4 +7,8 @@ # Changelog

## [v3.0.1] - 2020-01-02
### Fixed
- typos in readme
## [v3.0.0] - 2020-01-01
### Added
- new release of graph npm

2

package.json
{
"name": "@datastructures-js/graph",
"version": "3.0.0",
"version": "3.0.1",
"description": "graph & directed graph implementation in javascript",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -21,3 +21,3 @@ # @datastructures-js/graph

* [.edgesCount()](#edgescount)
* [.getWeight(srcKey, destKey)](#getweightsrcKey-destKey))
* [.getWeight(srcKey, destKey)](#getweightsrcKey-destKey)
* [.removeVertex(key)](#removevertexkey)

@@ -317,3 +317,3 @@ * [.removeEdge(key)](#removeedgesrckey-destkey)

#### Eample
#### Example
```js

@@ -354,3 +354,3 @@ directedGraph.traverseDfs('v1', (v) => console.log(`${v.getKey()}:${v.getValue()}`));

#### Eample
#### Example
```js

@@ -357,0 +357,0 @@ directedGraph.traverseBfs('v1', (v) => console.log(`${v.getKey()}:${v.getValue()}`));

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