Join our webinar on Wednesday, June 26, at 1pm EDTHow Chia Mitigates Risk in the Crypto Industry.Register
Socket
Socket
Sign inDemoInstall

canvas-heatmap

Package Overview
Dependencies
37
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.4.7 to 1.4.8

2

package.json
{
"name": "canvas-heatmap",
"version": "1.4.7",
"version": "1.4.8",
"description": "Interactive heatmap, capable of displaying 1,000,000+ data points using canvas and d3. ",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -14,3 +14,3 @@ export const convertToRGB = (hex) => {

export const convertToHex = (rgb) => {
return hex(rgb[0]) + hex(rgb[1]) + hex(rgb[2]);
return "#" + hex(rgb[0]) + hex(rgb[1]) + hex(rgb[2]);
}

@@ -17,0 +17,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc