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

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.6.0 to 0.7.0

8

CHANGELOG.md

@@ -0,4 +1,12 @@

v0.7.0
======
* Remove data.PriorityQueue. Use `cp-data` to get PriorityQueue.
* Remove usage of `cp-set`. We now use `cp-data` instead.
v0.6.0
======
*broken build* - please do not use this release.
* Graph toString() is not longer included in error messages. In most cases its

@@ -5,0 +13,0 @@ excessive verbosity made it difficult to debug errors in the Chrome debugger.

2

lib/alg/components.js

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

var Set = require("cp-set").Set;
var Set = require("cp-data").Set;

@@ -3,0 +3,0 @@ module.exports = components;

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

var PriorityQueue = require("../data/PriorityQueue");
var PriorityQueue = require("cp-data").PriorityQueue;

@@ -3,0 +3,0 @@ module.exports = dijkstra;

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

var Set = require("cp-set").Set;
var Set = require("cp-data").Set;

@@ -3,0 +3,0 @@ module.exports = postorder;

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

var Set = require("cp-set").Set;
var Set = require("cp-data").Set;

@@ -3,0 +3,0 @@ module.exports = preorder;

var Graph = require("../Graph"),
PriorityQueue = require("../data/PriorityQueue");
PriorityQueue = require("cp-data").PriorityQueue;

@@ -4,0 +4,0 @@ module.exports = prim;

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

var Set = require("cp-set").Set;
var Set = require("cp-data").Set;

@@ -3,0 +3,0 @@ module.exports = BaseGraph;

// This file provides a helper function that mixes-in Dot behavior to an
// existing graph prototype.
var Set = require("cp-set").Set;
var Set = require("cp-data").Set;

@@ -6,0 +6,0 @@ module.exports = compoundify;

@@ -13,3 +13,3 @@ /*

BaseGraph = require("./BaseGraph"),
Set = require("cp-set").Set;
Set = require("cp-data").Set;

@@ -16,0 +16,0 @@ module.exports = Digraph;

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

var Set = require("cp-set").Set;
var Set = require("cp-data").Set;

@@ -3,0 +3,0 @@ exports.all = function() {

@@ -13,3 +13,3 @@ /*

BaseGraph = require("./BaseGraph"),
Set = require("cp-set").Set;
Set = require("cp-data").Set;

@@ -16,0 +16,0 @@ module.exports = Graph;

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

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

@@ -20,3 +20,3 @@ "main": "index.js",

"dependencies": {
"cp-set": "1.0.0"
"cp-data": "1.1.0"
},

@@ -23,0 +23,0 @@ "devDependencies": {

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