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 1.2.1 to 1.3.0

2

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

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

@@ -265,3 +265,3 @@ /*

var hasSiblingWithDifferentHue = 0;
var hasEquivilantSibling = 0;
var hasEquivalentSibling = 0;

@@ -292,3 +292,3 @@ addHueInfo(sourcePix);

if( isRGBSame(sourcePix,targetPix) ){
hasEquivilantSibling++;
hasEquivalentSibling++;
}

@@ -307,3 +307,3 @@

if(hasEquivilantSibling < 2){
if(hasEquivalentSibling < 2){
return true;

@@ -564,8 +564,8 @@ }

tolerance.red = 16;
tolerance.green = 16;
tolerance.blue = 16;
tolerance.alpha = 16;
tolerance.minBrightness = 16;
tolerance.maxBrightness = 240;
tolerance.red = 0;
tolerance.green = 0;
tolerance.blue = 0;
tolerance.alpha = 0;
tolerance.minBrightness = 0;
tolerance.maxBrightness = 255;

@@ -572,0 +572,0 @@ ignoreAntialiasing = false;

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