robust-http-fetch
Advanced tools
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); |
{ | ||
"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": [ |
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
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
14746
7
146