New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

carbonator

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

carbonator - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

8

lib/carbonator.js

@@ -86,5 +86,9 @@ const Random = require('./random.js');

this.clear();
this.updateBubbles();
this.updateHotspots();
this.drawBubbles();
this.beforeDraw && this.beforeDraw(this.ctx);
this.draw();
this.afterDraw && this.afterDraw(this.ctx);
}.bind(this));

@@ -97,3 +101,3 @@ };

Carbonator.prototype.drawBubbles = function () {
Carbonator.prototype.draw = function () {
this.ctx.fillStyle = this.bubbleColor;

@@ -100,0 +104,0 @@ this.ctx.globalAlpha = this.bubbleOpacity;

{
"name": "carbonator",
"version": "1.1.0",
"version": "1.2.0",
"description": "Carbonate your web pages.",

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

@@ -49,2 +49,4 @@ # Carbonator

| `hotspotRespawnRate` | chance per frame that hotspot will be deleted and regenerated at a different location | `1 / (24 * 10)` (about every 10 seconds) |
| `beforeDraw` | `function` to call before drawing each frame (passed `Canvas​Rendering​Context2D`) | `undefined` |
| `afterDraw` | `function` to call after drawing each frame (passed `Canvas​Rendering​Context2D`) | `undefined` |

@@ -51,0 +53,0 @@ ### You Might Not Need JQuery

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