resemblejs
Advanced tools
Comparing version 2.7.0 to 2.7.1
{ | ||
"name": "resemblejs", | ||
"version": "2.7.0", | ||
"version": "2.7.1", | ||
"description": "Image analysis and comparison with HTML5", | ||
@@ -5,0 +5,0 @@ "main": "resemble.js", |
@@ -145,2 +145,3 @@ Resemble.js | ||
}); | ||
} | ||
``` | ||
@@ -195,3 +196,3 @@ | ||
await fs.readFile('./demoassets/People2.jpg'), | ||
options, | ||
options | ||
); | ||
@@ -198,0 +199,0 @@ |
@@ -811,8 +811,20 @@ /* | ||
switch (ignore) { | ||
case 'nothing': api.ignoreNothing(); | ||
case 'less': api.ignoreLess(); | ||
case 'antialiasing': api.ignoreAntialiasing(); | ||
case 'colors': api.ignoreColors(); | ||
case 'alpha': api.ignoreAlpha(); | ||
default: throw new Error('Invalid ignore: ' + ignore); | ||
case 'nothing': | ||
api.ignoreNothing(); | ||
break; | ||
case 'less': | ||
api.ignoreLess(); | ||
break; | ||
case 'antialiasing': | ||
api.ignoreAntialiasing(); | ||
break; | ||
case 'colors': | ||
api.ignoreColors(); | ||
break; | ||
case 'alpha': | ||
api.ignoreAlpha(); | ||
break; | ||
default: | ||
throw new Error('Invalid ignore: ' + ignore); | ||
break; | ||
} | ||
@@ -819,0 +831,0 @@ } |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
74276
715
228