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

resemblejs

Package Overview
Dependencies
Maintainers
3
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

resemblejs - npm Package Compare versions

Comparing version 4.0.1 to 4.1.0

16

package.json
{
"name": "resemblejs",
"version": "4.0.1",
"version": "4.1.0",
"description": "Image analysis and comparison with HTML5",

@@ -44,13 +44,13 @@ "main": "resemble.js",

"optionalDependencies": {
"canvas": "2.8.0"
"canvas": "2.9.0"
},
"devDependencies": {
"chai": "^4.3.4",
"eslint": "^8.5.0",
"eslint-config-prettier": "^8.3.0",
"chai": "^4.3.6",
"eslint": "^8.9.0",
"eslint-config-prettier": "^8.4.0",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^7.0.4",
"jest": "^27.4.5",
"jest-cli": "^27.4.5",
"lint-staged": "^12.1.4",
"jest": "^27.5.1",
"jest-cli": "^27.5.1",
"lint-staged": "^12.3.4",
"prettier": "^2.5.1"

@@ -57,0 +57,0 @@ },

@@ -319,6 +319,7 @@ /*

hiddenImage.onerror = function (err) {
hiddenImage.onerror = function (event) {
hiddenImage.onload = null;
hiddenImage.onerror = null; // fixes pollution between calls
images.push({ error: err ? err + "" : "Image load error." });
const error = event ? event + "" : "Unknown error";
images.push({ error: `Failed to load image '${fileDataForImage}'. ${error}` });
callback();

@@ -325,0 +326,0 @@ };

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