diff --git a/Viewer/package-lock.json b/Viewer/package-lock.json index f1d6f740..9eee6362 100644 --- a/Viewer/package-lock.json +++ b/Viewer/package-lock.json @@ -32,6 +32,7 @@ "requirejs": "*", "requirejs-plugins": "*", "sharp": "*", + "sharp-phash": "^2.0.0", "v8-compile-cache": "^2.2.0", "wildglob": "*" }, @@ -2853,6 +2854,17 @@ "url": "https://opencollective.com/libvips" } }, + "node_modules/sharp-phash": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/sharp-phash/-/sharp-phash-2.0.0.tgz", + "integrity": "sha512-MCcJCYew0RANBdIeT9dfEeJCYNjyl+bdJUeVuyTogbup01vZricvuAvWtzv6KjiF2WK9tnYvvqnucCMhrg8PEg==", + "engines": { + "node": ">= 10" + }, + "peerDependencies": { + "sharp": ">= 0.25.4" + } + }, "node_modules/sharp/node_modules/lru-cache": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", @@ -5516,6 +5528,12 @@ } } }, + "sharp-phash": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/sharp-phash/-/sharp-phash-2.0.0.tgz", + "integrity": "sha512-MCcJCYew0RANBdIeT9dfEeJCYNjyl+bdJUeVuyTogbup01vZricvuAvWtzv6KjiF2WK9tnYvvqnucCMhrg8PEg==", + "requires": {} + }, "shebang-command": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", diff --git a/Viewer/package.json b/Viewer/package.json index e1557345..aace6355 100644 --- a/Viewer/package.json +++ b/Viewer/package.json @@ -33,8 +33,8 @@ "guarantee-events": "*", "ig-actions": "*", "ig-argv": "*", - "ig-features": "*", "ig-doc": "*", + "ig-features": "*", "ig-object": "*", "ig-types": "*", "json5": "^2.2.0", @@ -42,6 +42,7 @@ "requirejs": "*", "requirejs-plugins": "*", "sharp": "*", + "sharp-phash": "^2.0.0", "v8-compile-cache": "^2.2.0", "wildglob": "*" }, @@ -49,7 +50,8 @@ "openseadragon": "^2.4.1", "flickrapi": "^0.3.28", "pouchdb": "^7.2.2", - "moment": "^2.29.1" + "moment": "^2.29.1", + "imghash": "^0.0.9" }, "optionalDependencies": { "pica": "*" @@ -60,8 +62,7 @@ "less": "*", "rcedit": "^3.0.0" }, - "-devDependencies": { - }, + "-devDependencies": {}, "bin": { "ig": "ig.js" },