canvas-heatmap
Advanced tools
Comparing version 1.4.8 to 1.4.9
{ | ||
"name": "canvas-heatmap", | ||
"version": "1.4.8", | ||
"version": "1.4.9", | ||
"description": "Interactive heatmap, capable of displaying 1,000,000+ data points using canvas and d3. ", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -264,5 +264,6 @@ import { | ||
options.colors = JSON.parse(JSON.stringify(options.colors)); | ||
options.colors = options.colors.map((c) => { | ||
if (Array.isArray(c.color)) { | ||
c.rgba = c.color; | ||
c.rgba = JSON.parse(JSON.stringify(c.color)); | ||
c.color = convertToHex(c.color); | ||
@@ -269,0 +270,0 @@ } else { |
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
58708
1695