looks-same
Advanced tools
Comparing version 9.0.1-alpha.0 to 9.0.1
@@ -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 @@ |
@@ -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)", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
56150
0
1
+ Addedb4a@1.6.7(transitive)
+ Addedbare-events@2.5.0(transitive)
+ Addedbare-fs@2.3.5(transitive)
+ Addedbare-os@2.4.4(transitive)
+ Addedbare-path@2.1.3(transitive)
+ Addedbare-stream@2.4.2(transitive)
+ Addedbase64-js@1.5.1(transitive)
+ Addedbl@4.1.0(transitive)
+ Addedbuffer@5.7.1(transitive)
+ Addedchownr@1.1.4(transitive)
+ Addeddecompress-response@6.0.0(transitive)
+ Addeddeep-extend@0.6.0(transitive)
+ Addedend-of-stream@1.4.4(transitive)
+ Addedexpand-template@2.0.3(transitive)
+ Addedfast-fifo@1.3.2(transitive)
+ Addedfs-constants@1.0.0(transitive)
+ Addedgithub-from-package@0.0.0(transitive)
+ Addedieee754@1.2.1(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedini@1.3.8(transitive)
+ Addedmimic-response@3.1.0(transitive)
+ Addedminimist@1.2.8(transitive)
+ Addedmkdirp-classic@0.5.3(transitive)
+ Addednapi-build-utils@1.0.2(transitive)
+ Addednode-abi@3.71.0(transitive)
+ Addednode-addon-api@6.1.0(transitive)
+ Addedonce@1.4.0(transitive)
+ Addedprebuild-install@7.1.2(transitive)
+ Addedpump@3.0.2(transitive)
+ Addedqueue-tick@1.0.1(transitive)
+ Addedrc@1.2.8(transitive)
+ Addedreadable-stream@3.6.2(transitive)
+ Addedsafe-buffer@5.2.1(transitive)
+ Addedsharp@0.32.6(transitive)
+ Addedsimple-concat@1.0.1(transitive)
+ Addedsimple-get@4.0.1(transitive)
+ Addedstreamx@2.20.2(transitive)
+ Addedstring_decoder@1.3.0(transitive)
+ Addedstrip-json-comments@2.0.1(transitive)
+ Addedtar-fs@2.1.13.0.6(transitive)
+ Addedtar-stream@2.2.03.1.7(transitive)
+ Addedtext-decoder@1.2.1(transitive)
+ Addedtunnel-agent@0.6.0(transitive)
+ Addedutil-deprecate@1.0.2(transitive)
+ Addedwrappy@1.0.2(transitive)
- Removed@emnapi/runtime@1.3.1(transitive)
- Removed@img/sharp-darwin-arm64@0.33.4(transitive)
- Removed@img/sharp-darwin-x64@0.33.4(transitive)
- Removed@img/sharp-libvips-darwin-arm64@1.0.2(transitive)
- Removed@img/sharp-libvips-darwin-x64@1.0.2(transitive)
- Removed@img/sharp-libvips-linux-arm@1.0.2(transitive)
- Removed@img/sharp-libvips-linux-arm64@1.0.2(transitive)
- Removed@img/sharp-libvips-linux-s390x@1.0.2(transitive)
- Removed@img/sharp-libvips-linux-x64@1.0.2(transitive)
- Removed@img/sharp-libvips-linuxmusl-arm64@1.0.2(transitive)
- Removed@img/sharp-libvips-linuxmusl-x64@1.0.2(transitive)
- Removed@img/sharp-linux-arm@0.33.4(transitive)
- Removed@img/sharp-linux-arm64@0.33.4(transitive)
- Removed@img/sharp-linux-s390x@0.33.4(transitive)
- Removed@img/sharp-linux-x64@0.33.4(transitive)
- Removed@img/sharp-linuxmusl-arm64@0.33.4(transitive)
- Removed@img/sharp-linuxmusl-x64@0.33.4(transitive)
- Removed@img/sharp-wasm32@0.33.4(transitive)
- Removed@img/sharp-win32-ia32@0.33.4(transitive)
- Removed@img/sharp-win32-x64@0.33.4(transitive)
- Removedsharp@0.33.4(transitive)
- Removedtslib@2.8.1(transitive)
Updatedsharp@0.32.6