Socket
Socket
Sign inDemoInstall

imagediff

Package Overview
Dependencies
2
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.7 to 1.0.8

7

imagediff.js

@@ -14,3 +14,3 @@ // js-imagediff 1.0.3

throw new Error(
e.message + '\n' +
e.message + '\n' +
'Please see https://github.com/HumbleSoftware/js-imagediff#cannot-find-module-canvas\n'

@@ -57,2 +57,6 @@ );

}
// expost canvas module
function getCanvasRef() {
return Canvas;
}

@@ -357,2 +361,3 @@

createImageData : getImageData,
getCanvasRef: getCanvasRef,

@@ -359,0 +364,0 @@ isImage : isImage,

4

package.json

@@ -23,3 +23,3 @@ {

"optionalDependencies": {
"canvas": "~1.0"
"canvas": "~1.1.6"
},

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

},
"version": "1.0.7",
"version": "1.0.8",
"engines": {

@@ -37,0 +37,0 @@ "node": ">= 0.6.0"

@@ -75,2 +75,6 @@ js-imagediff

---------
<h3>1.0.8</h3>
* Update canvas dependency.
* Expose internal Canvas.
<h3>1.0.7</h3>

@@ -77,0 +81,0 @@ * Add async image loading for canvas (closes #31, #35, #39).

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc