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.6 to 0.5.7

2

lib/LayerCached.js

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

var height = maxY - minY;
if (width > 0 && height > 0) {
if (Math.floor(width) > 0 && Math.floor(height) > 0) {
if (!this.cache) {

@@ -73,0 +73,0 @@ this.cache = document.createElement('canvas');

{
"name": "pure-canvas",
"version": "0.5.6",
"version": "0.5.7",
"description": "TODO",

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

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

if (width > 0 && height > 0) {
if (Math.floor(width) > 0 && Math.floor(height) > 0) {
if (!this.cache) {

@@ -85,0 +85,0 @@ this.cache = document.createElement('canvas');

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