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

dagre

Package Overview
Dependencies
Maintainers
2
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.8.2 to 0.8.3

2

bower.json
{
"name": "dagre",
"version": "0.8.2",
"version": "0.8.3",
"main": [

@@ -5,0 +5,0 @@ "dist/dagre.core.js"

@@ -41,3 +41,3 @@ "use strict";

var rank = _.minBy(_.map(g.outEdges(v), function(e) {
var rank = _.min(_.map(g.outEdges(v), function(e) {
return dfs(e.w) - g.edge(e).minlen;

@@ -44,0 +44,0 @@ }));

@@ -150,3 +150,3 @@ "use strict";

function normalizeRanks(g) {
var min = _.minBy(_.map(g.nodes(), function(v) { return g.node(v).rank; }));
var min = _.min(_.map(g.nodes(), function(v) { return g.node(v).rank; }));
_.forEach(g.nodes(), function(v) {

@@ -162,3 +162,3 @@ var node = g.node(v);

// Ranks may not start at 0, so we need to offset them
var offset = _.minBy(_.map(g.nodes(), function(v) { return g.node(v).rank; }));
var offset = _.min(_.map(g.nodes(), function(v) { return g.node(v).rank; }));

@@ -165,0 +165,0 @@ var layers = [];

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

module.exports = "0.8.2";
module.exports = "0.8.3";
{
"name": "dagre",
"version": "0.8.2",
"version": "0.8.3",
"description": "Graph layout for JavaScript",

@@ -20,3 +20,3 @@ "author": "Chris Pettitt <cpettitt@gmail.com>",

"benchmark": "^2.1.4",
"browserify": "^14.5.0",
"browserify": "^16.2.3",
"chai": "^4.1.2",

@@ -27,3 +27,3 @@ "istanbul": "^0.4.5",

"jshint-stylish": "^2.2.1",
"karma": "^2.0.0",
"karma": "^3.0.0",
"karma-chrome-launcher": "^2.2.0",

@@ -30,0 +30,0 @@ "karma-firefox-launcher": "^1.1.0",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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