🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
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

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