New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

wonderful-fetch

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wonderful-fetch - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

6

dist/index.js

@@ -23,3 +23,3 @@ (function (root, factory) {

var SOURCE = 'library';
var VERSION = '0.0.4';
var VERSION = '0.0.5';

@@ -39,3 +39,3 @@ function WonderfulFetch(url, options) {

var maxTries = options.tries - 1;
// console.log('----maxTries', maxTries, url);
var infinite = options.tries === 0;

@@ -84,3 +84,3 @@ if (!url) {

clearTimeout(timeoutHolder);
if (tries > maxTries && maxTries > 0) {
if (tries > maxTries && !infinite) {
return reject(e);

@@ -87,0 +87,0 @@ } else {

{
"name": "wonderful-fetch",
"version": "0.0.4",
"version": "0.0.5",
"description": "A wrapper around fetch.",

@@ -35,2 +35,2 @@ "main": "./dist/index.js",

"runkitExampleFilename": "examples/process.js"
}
}
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