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

broccoli-viz

Package Overview
Dependencies
Maintainers
5
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

broccoli-viz - npm Package Compare versions

Comparing version 3.1.2 to 3.1.3

18

lib/dot.js

@@ -43,6 +43,6 @@ var statsGlob = require('./stats-glob');

return ' ' + key + ' (' + value + ') \n';
return key + ' (' + value + ')';
});
return result.join('');
return result.join('\\n');
}

@@ -52,3 +52,3 @@

var out = 'digraph G {';
out += ' ratio = "auto"';
out += ' ratio = "auto"\n';

@@ -66,3 +66,3 @@ var patterns = options && options.stats;

var annotation = node.id.name;
annotation = annotation.replace('(', '\n(');
annotation = annotation.replace(' (', '\\n(');

@@ -82,7 +82,7 @@ var shape, style;

out += ' [shape=' + shape + ', style=' + style + ', colorscheme="rdylbu9", color=' + selfTimeColor(selfTime) +', label=" ' +
node._id + ' \n' +
annotation + '\n' +
out += ' [shape=' + shape + ', style=' + style + ', colorscheme="rdylbu9", color=' + selfTimeColor(selfTime) +', label="' +
node._id + '\\n' +
annotation + '\\n' +
statsString(node, patterns) +
' "]';
'"]';

@@ -95,3 +95,3 @@ out += '\n';

var level = graph.nodesById[childId].stats._broccoli_viz.level;
out += ' ' + childId + ' -> ' + node._id + '[penwidth=' + penWidth(level) + ' ] \n';
out += ' ' + childId + ' -> ' + node._id + ' [penwidth=' + penWidth(level) + ']\n';
});

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

{
"name": "broccoli-viz",
"version": "3.1.2",
"version": "3.1.3",
"description": "",

@@ -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