Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

simpleheat

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simpleheat - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

demo/data.js

2

package.json
{
"name": "simpleheat",
"version": "0.1.0",
"version": "0.1.1",
"description": "A tiny JavaScript library for drawing heatmaps with Canvas",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/mourner/simpleheat",

@@ -7,3 +7,3 @@ simpleheat

Demo: http://mourner.github.io/simpleheat/debug
Demo: http://mourner.github.io/simpleheat/demo

@@ -10,0 +10,0 @@ ```js

@@ -88,4 +88,7 @@ /*

if (!this._circle) {
this.radius(25).gradient({0.45: 'blue', 0.55: 'cyan', 0.65: 'lime', 0.95: 'yellow', 1: 'red'});
this.radius(25);
}
if (!this._grad) {
this.gradient({0.45: 'blue', 0.55: 'cyan', 0.65: 'lime', 0.8: 'yellow', 1: 'red'});
}

@@ -92,0 +95,0 @@ var ctx = this._ctx;

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