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

looks-same

Package Overview
Dependencies
Maintainers
9
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

looks-same - npm Package Compare versions

Comparing version 8.2.2 to 8.2.3

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

### [8.2.3](https://github.com/gemini-testing/looks-same/compare/v8.2.2...v8.2.3) (2023-09-27)
### Bug Fixes
* createDiffImage off by one ([cd9744b](https://github.com/gemini-testing/looks-same/commit/cd9744b576e56b957f33c3ff2ec3c41a76457a62))
### [8.2.2](https://github.com/gemini-testing/looks-same/compare/v8.2.1...v8.2.2) (2023-09-25)

@@ -7,0 +14,0 @@

2

lib/utils.js

@@ -146,3 +146,3 @@ 'use strict';

for (let x = 0; x < maxWidth; x++) {
if (y > minHeight || x > minWidth) {
if (y >= minHeight || x >= minWidth) {
markDiff(x, y); // Out of bounds pixels considered as diff

@@ -149,0 +149,0 @@ continue;

{
"name": "looks-same",
"version": "8.2.2",
"version": "8.2.3",
"description": "Pure node.js library for comparing PNG-images, taking into account human color perception.",

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

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