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.1.6 to 0.1.7

5

lib/Stage.js

@@ -73,5 +73,8 @@ "use strict";

Stage.prototype.render = function () {
var _this = this;
this.context.clearRect(0, 0, this.canvas.width, this.canvas.height);
this.internalLayer.draw(this.context);
this.index();
};
Stage.prototype.index = function () {
var _this = this;
this.tree.clear();

@@ -78,0 +81,0 @@ this.internalLayer.index(function (node, zIndex, transformers) {

2

package.json
{
"name": "pure-canvas",
"version": "0.1.6",
"version": "0.1.7",
"description": "TODO",

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

@@ -90,3 +90,6 @@ import Node, {Bounds, Point} from './Node';

this.internalLayer.draw(this.context);
this.index();
}
index(): void {
this.tree.clear();

@@ -93,0 +96,0 @@ this.internalLayer.index((node: Node, zIndex: number, transformers: Array<Transformer>) => {

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