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

pure-canvas

Package Overview
Dependencies
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pure-canvas - npm Package Compare versions

Comparing version 0.5.4 to 0.5.5

5

lib/Stage.js

@@ -76,3 +76,3 @@ "use strict";

};
Stage.prototype.renderAsynchronous = function (index, maxBatchTime) {
Stage.prototype.renderAsynchronous = function (index, callback, maxBatchTime) {
var _this = this;

@@ -100,2 +100,5 @@ if (index === void 0) { index = true; }

commit(index);
if (callback) {
callback();
}
}

@@ -102,0 +105,0 @@ };

2

package.json
{
"name": "pure-canvas",
"version": "0.5.4",
"version": "0.5.5",
"description": "TODO",

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

@@ -87,3 +87,3 @@ import {EventEmitter} from 'eventemitter3';

renderAsynchronous(index: boolean = true, maxBatchTime: number = 10): void {
renderAsynchronous(index: boolean = true, callback?: () => void, maxBatchTime: number = 10): void {
const {steps, commit} = this.renderDeferred();

@@ -109,2 +109,5 @@

commit(index);
if (callback) {
callback();
}
}

@@ -111,0 +114,0 @@ };

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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