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 2.0.6 to 2.0.7

2

package.json
{
"name": "d3-flame-graph",
"version": "2.0.6",
"version": "2.0.7",
"description": "A d3.js library to produce flame graphs.",

@@ -5,0 +5,0 @@ "main": "dist/d3-flamegraph.js",

@@ -36,3 +36,7 @@ import { select } from 'd3-selection'

var getValue = function (d) {
return d.v || d.value
if ('v' in d) {
return d.v
} else {
return d.value
}
}

@@ -49,3 +53,7 @@

var getDelta = function (d) {
return d.data.d || d.data.delta
if ('d' in d.data) {
return d.data.v
} else {
return d.data.delta
}
}

@@ -564,4 +572,3 @@

// This line is invalid - root is a d3 node, while getValue() expects data item. Will address in next patch.
totalValue = getValue(root)
totalValue = root.value

@@ -568,0 +575,0 @@ selection = s.datum(root)

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