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

dagre

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dagre - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

.jshintrc

7

CHANGELOG.md

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

v0.3.2
======
* Made cp-data a runtime dependency. It was incorrectly specified as a dev
dependency, which could case result in the error `cannot find module
cp-data`.
v0.3.1

@@ -2,0 +9,0 @@ ======

2

lib/acyclic.js

@@ -38,3 +38,3 @@ var util = require("./util");

g.delEdge(e);
value.reversed = true;
value.reversed = !value.reversed;
++reverseCount;

@@ -41,0 +41,0 @@ g.addEdge(e, t, u, value);

@@ -65,5 +65,5 @@ /* jshint -W079 */

// Ensure that all edges to min are reversed
g.addEdge(null, newU, g.source(e), g.edge(e));
g.addEdge(null, newU, g.source(e), { minLen: g.edge(e).minLen || 1 });
} else {
g.addEdge(null, g.source(e), newU, g.edge(e));
g.addEdge(null, g.source(e), newU, { minLen: g.edge(e).minLen || 1 });
}

@@ -75,5 +75,5 @@ g.delEdge(e);

// Ensure that all edges from max are reversed
g.addEdge(null, g.target(e), newU, g.edge(e));
g.addEdge(null, g.target(e), newU, { minLen: g.edge(e).minLen || 1 });
} else {
g.addEdge(null, newU, g.target(e), g.edge(e));
g.addEdge(null, newU, g.target(e), { minLen: g.edge(e).minLen || 1 });
}

@@ -213,3 +213,3 @@ g.delEdge(e);

g.delEdge(e);
value.reversed = true;
value.reversed = !value.reversed;
g.addEdge(e, v, u, value);

@@ -216,0 +216,0 @@ }

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

module.exports = '0.3.1';
module.exports = '0.3.2';
{
"name": "dagre",
"version": "0.3.1",
"version": "0.3.2",
"description": "Graph layout for JavaScript",
"main": "index.js",
"directories": {
"src": "src",
"test": "test"
},
"scripts": {
"blanket": {
"pattern": "lib",
"data-cover-never": [
"node_modules",
"test"
]
}
},
"keywords": [
"graph"
"graph",
"layout"
],
"devDependencies": {
"blanket": "1.x.x",
"chai": "1.7.x",
"cp-data": "1.x.x",
"browserify": "~2.33.1",
"chai": "1.8.x",
"graphlib-dot": "0.4.8",
"jshint": "2.1.x",
"grunt": "~0.4.1",
"grunt-browserify": "~1.2.8",
"grunt-contrib-jshint": "~0.6.4",
"grunt-contrib-uglify": "~0.2.4",
"grunt-mocha-cov": "0.0.7",
"istanbul": "~0.1.44",
"mocha": "1.12.x",
"semver": "2.1.x",
"uglify-js": "1.2.3",
"browserify": "~2.33.1",
"grunt-contrib-watch": "~0.5.3"
"uglify-js": "1.2.3"
},
"dependencies": {
"cp-data": "1.x.x",
"graphlib": "0.7.0"

@@ -41,0 +23,0 @@ },

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