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

retrieve-favicon

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

retrieve-favicon - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3-fix

4

index.js

@@ -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": {},

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