@nivo/heatmap
Advanced tools
Comparing version 0.42.1 to 0.44.0
@@ -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 @@ |
{ | ||
"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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
38784
957
+ Added@nivo/core@0.44.0(transitive)
- Removed@nivo/core@0.42.1(transitive)
Updated@nivo/core@^0.44.0