Comparing version 0.3.1 to 0.3.2
@@ -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 @@ ====== |
@@ -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 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
8
0
57448
2
1317
+ Addedcp-data@1.x.x
+ Addedcp-data@1.1.3(transitive)