retrieve-favicon
Advanced tools
Comparing version 1.0.2 to 1.0.3-fix
@@ -62,6 +62,6 @@ const got = require("got"); | ||
}).catch(function(err) { | ||
if (!error.response) { | ||
if (!err.response) { | ||
cb(err, null); | ||
} else { | ||
if (error.response.headers["content-type"] == "image/x-icon") {cb(null, true);} else {cb(null, false)} | ||
if (err.response.headers["content-type"] == "image/x-icon") {cb(null, true);} else {cb(null, false)} | ||
} | ||
@@ -68,0 +68,0 @@ }) |
@@ -8,3 +8,3 @@ { | ||
"description": "Favicon retriever written in Node.", | ||
"version": "1.0.2", | ||
"version": "1.0.3-fix", | ||
"main": "index.js", | ||
@@ -11,0 +11,0 @@ "devDependencies": {}, |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
2