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.4.4 to 0.4.5

8

lib/LayerCached.js

@@ -21,6 +21,6 @@ "use strict";

return {
minX: Math.min(minX, clipMinX),
minY: Math.min(minY, clipMinY),
maxX: Math.max(maxX, clipMaxX),
maxY: Math.max(maxY, clipMaxY)
minX: Math.max(minX, clipMinX),
minY: Math.max(minY, clipMinY),
maxX: Math.min(maxX, clipMaxX),
maxY: Math.min(maxY, clipMaxY)
};

@@ -27,0 +27,0 @@ }

{
"name": "pure-canvas",
"version": "0.4.4",
"version": "0.4.5",
"description": "TODO",

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

@@ -21,6 +21,6 @@ import {Bounds} from './Node';

return {
minX: Math.min(minX, clipMinX),
minY: Math.min(minY, clipMinY),
maxX: Math.max(maxX, clipMaxX),
maxY: Math.max(maxY, clipMaxY)
minX: Math.max(minX, clipMinX),
minY: Math.max(minY, clipMinY),
maxX: Math.min(maxX, clipMaxX),
maxY: Math.min(maxY, clipMaxY)
};

@@ -27,0 +27,0 @@ } else {

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