Socket
Socket
Sign inDemoInstall

@nivo/heatmap

Package Overview
Dependencies
Maintainers
1
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nivo/heatmap - npm Package Compare versions

Comparing version 0.42.1 to 0.44.0

5

cjs/nivo-heatmap.js

@@ -61,2 +61,3 @@ 'use strict';

colorScale: PropTypes.func.isRequired, // computed
nanColor: PropTypes.string,

@@ -104,2 +105,3 @@ // interactivity

colors: 'nivo',
nanColor: '#000000',

@@ -143,2 +145,3 @@ // interactivity

colorScale = _ref.colorScale,
nanColor = _ref.nanColor,
getLabelTextColor = _ref.getLabelTextColor,

@@ -166,3 +169,3 @@ currentNode = _ref.currentNode,

value: d[key],
color: colorScale(d[key])
color: isNaN(d[key]) ? nanColor : colorScale(d[key])
};

@@ -169,0 +172,0 @@

4

package.json
{
"name": "@nivo/heatmap",
"version": "0.42.1",
"version": "0.44.0",
"license": "MIT",

@@ -13,3 +13,3 @@ "main": "./index.js",

"dependencies": {
"@nivo/core": "0.42.1",
"@nivo/core": "^0.44.0",
"d3-scale": "^1.0.6",

@@ -16,0 +16,0 @@ "lodash": "^4.17.4",

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