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

robust-http-fetch

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

robust-http-fetch - npm Package Compare versions

Comparing version 1.1.12 to 1.1.13

11

index.js

@@ -10,5 +10,3 @@ /**

*/
function robustHttpFetchAsPromise(url,
init,
optLogger) {
function robustHttpFetchAsPromise(url, init, optLogger) {
return new Promise((resolve => {

@@ -19,8 +17,3 @@ robustHttpFetch(url, init, resolve, optLogger);

function robustHttpFetch(
url,
init,
callback,
optLogger
) {
function robustHttpFetch(url, init, callback, optLogger) {
checkArgs(...arguments);

@@ -27,0 +20,0 @@ const logger = getLogger(optLogger);

5

package.json
{
"name": "robust-http-fetch",
"description": "Redo the http request when timeout or failed, aim at providing resilience over plain one-off fetch request by doing retry delayed/failed requests",
"version": "1.1.12",
"version": "1.1.13",
"repository": {

@@ -27,3 +27,4 @@ "type": "git",

"eslint-plugin-jest": "^22.4.1",
"jest": "^24.5.0"
"jest": "^24.5.0",
"loadash": "^1.0.0"
},

@@ -30,0 +31,0 @@ "files": [

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