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

d3-flame-graph

Package Overview
Dependencies
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

d3-flame-graph - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

dist/d3.flameGraph.css

11

bower.json
{
"name": "d3-flame-graph",
"version": "0.4.2",
"homepage": "https://github.com/spiermar/d3-flame-graph",

@@ -9,3 +8,6 @@ "authors": [

"description": "A d3.js library to produce flame graphs.",
"main": "src/d3.flame.js",
"main": [
"src/d3.flameGraph.js",
"src/d3.flameGraph.css"
],
"keywords": [

@@ -30,7 +32,4 @@ "flame",

"d3-tip": "~0.7.1",
"lodash": "~3.10.1"
},
"resolutions": {
"d3": "4.8.0"
"lodash": "~4.17.4"
}
}
{
"name": "d3-flame-graph",
"version": "1.0.0",
"version": "1.0.1",
"description": "A d3.js library to produce flame graphs.",

@@ -31,18 +31,20 @@ "main": "src/d3.flame.js",

"devDependencies": {
"browser-sync": "^2.9.10",
"browserify": "^11.2.0",
"del": "^2.0.2",
"gulp": "^3.9.0",
"gulp-concat": "^2.6.0",
"gulp-jshint": "^1.11.2",
"gulp-minify-css": "^1.2.1",
"gulp-notify": "^2.2.0",
"browser-sync": "^2.18.13",
"browserify": "^14.4.0",
"del": "^3.0.0",
"gulp": "^3.9.1",
"gulp-concat": "^2.6.1",
"gulp-jshint": "^2.0.4",
"gulp-minify-css": "^1.2.4",
"gulp-notify": "^3.0.0",
"gulp-rename": "^1.2.2",
"gulp-uglify": "^1.4.1",
"jshint-stylish": "^2.0.1",
"mocha": "^2.3.3"
"gulp-uglify": "^3.0.0",
"jshint": "^2.9.5",
"jshint-stylish": "^2.2.1",
"mocha": "^3.5.0"
},
"dependencies": {
"d3": "^3.5.6"
"d3": "^4.10.0",
"graceful-fs": "^4.1.11"
}
}

@@ -39,3 +39,4 @@ # d3-flame-graph

$ cd your-project
$ bower install --save
$ bower init
$ bower install d3-flame-graph --save
```

@@ -42,0 +43,0 @@

@@ -67,4 +67,7 @@ (function() {

if (name) {
name = name.replace(/.*`/, ""); // drop module name if present
name = name.replace(/\(.*/, ""); // drop extra info
var nameArr = name.split('`');
if (nameArr.length > 1) {
name = nameArr[nameArr.length -1]; // drop module name if present
}
name = name.split('(')[0]; // drop extra info
vector = generateHash(name);

@@ -182,4 +185,2 @@ }

return d3.ascending(a.data.name, b.data.name);
} else {
return 0;
}

@@ -196,3 +197,4 @@ }

root.sort(doSort);
if (sort)
root.sort(doSort);
root.sum(function(d) {

@@ -221,4 +223,3 @@ if (d.fade) {

.ease(transitionEase)
.attr("transform", function(d) { return "translate(" + x(d.x0) + ","
+ (reversed ? y(d.depth) : (h - y(d.depth) - c)) + ")"; });
.attr("transform", function(d) { return "translate(" + x(d.x0) + "," + (reversed ? y(d.depth) : (h - y(d.depth) - c)) + ")"; });

@@ -232,4 +233,3 @@ g.select("rect").transition()

.append("svg:g")
.attr("transform", function(d) { return "translate(" + x(d.x0) + ","
+ (reversed ? y(d.depth) : (h - y(d.depth) - c)) + ")"; });
.attr("transform", function(d) { return "translate(" + x(d.x0) + "," + (reversed ? y(d.depth) : (h - y(d.depth) - c)) + ")"; });

@@ -298,3 +298,3 @@ node.append("svg:rect").attr("width", width);

}
merge(node.children, sample.children)
merge(node.children, sample.children);
}

@@ -360,3 +360,3 @@ } else {

}
tooltip = true;
tooltip = !!_;
return chart;

@@ -443,3 +443,3 @@ };

update();
}
};

@@ -446,0 +446,0 @@ chart.color = function(_) {

Sorry, the diff of this file is not supported yet

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