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

looks-same

Package Overview
Dependencies
Maintainers
10
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 9.0.1-alpha.0 to 9.0.1

7

CHANGELOG.md

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

### [9.0.1](https://github.com/gemini-testing/looks-same/compare/v9.0.0...v9.0.1) (2024-08-09)
### Bug Fixes
* remove async from index.d.ts ([59a6a1c](https://github.com/gemini-testing/looks-same/commit/59a6a1cd26455dd133d5da7aca1d569694e9ce17))
## [9.0.0](https://github.com/gemini-testing/looks-same/compare/v8.2.4...v9.0.0) (2023-10-31)

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

12

index.d.ts

@@ -265,7 +265,7 @@ // Type definitions for looks-same 5.0

export async function getDiffArea(
export function getDiffArea(
image1: string | Buffer | BoundedImage,
image2: string | Buffer | BoundedImage
): Promise<CoordBounds | null>;
export async function getDiffArea(
export function getDiffArea(
image1: string | Buffer | BoundedImage,

@@ -276,4 +276,4 @@ image2: string | Buffer | BoundedImage,

export async function createDiff(options: CreateDiffOptions): Promise<null>;
export async function createDiff(options: CreateDiffAsBufferOptions): Promise<Buffer>;
export function createDiff(options: CreateDiffOptions): Promise<null>;
export function createDiff(options: CreateDiffAsBufferOptions): Promise<Buffer>;

@@ -296,3 +296,3 @@ /**

*/
async function looksSame(
declare function looksSame(
image1: string | Buffer | looksSame.BoundedImage,

@@ -303,3 +303,3 @@ image2: string | Buffer | looksSame.BoundedImage,

async function looksSame(
declare function looksSame(
image1: string | Buffer | looksSame.BoundedImage,

@@ -306,0 +306,0 @@ image2: string | Buffer | looksSame.BoundedImage,

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

@@ -17,3 +17,3 @@ "main": "index.js",

"parse-color": "^1.0.0",
"sharp": "0.33.4"
"sharp": "0.32.6"
},

@@ -41,3 +41,3 @@ "devDependencies": {

"engines": {
"node": ">= 18.17.0"
"node": ">= 18.0.0"
},

@@ -44,0 +44,0 @@ "author": "Sergey Tatarintsev <sevinf@yandex-team.ru> (https://github.com/SevInf)",

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