Socket
Socket
Sign inDemoInstall

graphlib

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphlib - npm Package Compare versions

Comparing version 0.5.5 to 0.5.6

5

CHANGELOG.md

@@ -0,1 +1,6 @@

v0.5.6
======
* `components` now works for directed graphs.
v0.5.5

@@ -2,0 +7,0 @@ ======

4

lib/alg/components.js

@@ -20,6 +20,2 @@ var Set = require("../data/Set");

if (g.isDirected()) {
throw new Error("components can only be applied to an undirected graph. Bad input: " + g);
}
function dfs(v, component) {

@@ -26,0 +22,0 @@ if (!visited.has(v)) {

@@ -1,1 +0,1 @@

module.exports = '0.5.5';
module.exports = '0.5.6';
{
"name": "graphlib",
"version": "0.5.5",
"version": "0.5.6",
"description": "A directed and undirected multi-graph library",

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

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