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

resemblejs

Package Overview
Dependencies
Maintainers
1
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 2.2.3 to 2.2.4

.idea/markdown-navigator.xml

2

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

@@ -5,0 +5,0 @@ "main": "resemble.js",

@@ -16,3 +16,3 @@ Resemble.js

Retrieve basic analysis on image.
Retrieve basic analysis on an image:

@@ -33,3 +33,3 @@ ```javascript

Use resemble to compare two images.
Use resemble to compare two images:

@@ -56,3 +56,3 @@ ```javascript

You can also change the comparison method after the first analysis.
You can also change the comparison method after the first analysis:

@@ -66,3 +66,3 @@ ```javascript

And change the output display style.
And change the output display style:

@@ -86,3 +86,3 @@ ```javascript

You can switch this modify this behaviour by setting the `largeImageThreshold` option to a different value. Set it to **0** to switch it off completely.
You can modify this behaviour by setting the `largeImageThreshold` option to a different value. Set it to **0** to switch it off completely.

@@ -89,0 +89,0 @@ `useCrossOrigin` is true by default, you might need to set it to false if you're using [Data URIs](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs).

/*
James Cryer / Huddle 2015
James Cryer / Huddle
URL: https://github.com/Huddle/Resemble.js

@@ -693,2 +693,6 @@ */

if(options.errorPixel && typeof options.errorPixel === "function") {
errorPixel = options.errorPixel;
}
pixelTransparency = isNaN(Number(options.transparency)) ? pixelTransparency : options.transparency;

@@ -695,0 +699,0 @@

Sorry, the diff of this file is not supported yet

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