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

fetch-retry

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fetch-retry - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

2

package.json
{
"name": "fetch-retry",
"version": "0.0.3",
"version": "0.0.4",
"description": "Fetch API with retry functionality",

@@ -5,0 +5,0 @@ "repository": "https://github.com/jonbern/fetch-retry.git",

@@ -20,6 +20,6 @@ # fetch-retry

fetch(url, { retries: 5 })
.then(response => {
return response.json()
.then(function(response) {
return response.json();
})
.then(json => {
.then(function(json) {
// do something with the result

@@ -26,0 +26,0 @@ console.log(json);

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