make-fetch-happen
Advanced tools
Comparing version 10.2.1 to 11.0.0
{ | ||
"name": "make-fetch-happen", | ||
"version": "10.2.1", | ||
"version": "11.0.0", | ||
"description": "Opinionated, caching, retrying fetch client", | ||
@@ -11,5 +11,2 @@ "main": "lib/index.js", | ||
"scripts": { | ||
"preversion": "npm test", | ||
"postversion": "npm publish", | ||
"prepublishOnly": "git push origin --follow-tags", | ||
"test": "tap", | ||
@@ -41,3 +38,3 @@ "posttest": "npm run lint", | ||
"agentkeepalive": "^4.2.1", | ||
"cacache": "^16.1.0", | ||
"cacache": "^17.0.0", | ||
"http-cache-semantics": "^4.1.0", | ||
@@ -59,4 +56,4 @@ "http-proxy-agent": "^5.0.0", | ||
"devDependencies": { | ||
"@npmcli/eslint-config": "^3.0.1", | ||
"@npmcli/template-oss": "3.5.0", | ||
"@npmcli/eslint-config": "^3.1.0", | ||
"@npmcli/template-oss": "4.5.1", | ||
"mkdirp": "^1.0.4", | ||
@@ -70,3 +67,3 @@ "nock": "^13.2.4", | ||
"engines": { | ||
"node": "^12.13.0 || ^14.15.0 || >=16.0.0" | ||
"node": "^14.17.0 || ^16.13.0 || >=18.0.0" | ||
}, | ||
@@ -77,8 +74,12 @@ "tap": { | ||
"check-coverage": true, | ||
"timeout": 60 | ||
"timeout": 60, | ||
"nyc-arg": [ | ||
"--exclude", | ||
"tap-snapshots/**" | ||
] | ||
}, | ||
"templateOSS": { | ||
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", | ||
"version": "3.5.0" | ||
"version": "4.5.1" | ||
} | ||
} |
@@ -324,3 +324,3 @@ # make-fetch-happen | ||
A function called whenever a retry is attempted. | ||
A function called with the response or error which caused the retry whenever one is attempted. | ||
@@ -331,4 +331,4 @@ ##### Example | ||
fetch('https://flaky.site.com', { | ||
onRetry() { | ||
console.log('we will retry!') | ||
onRetry(cause) { | ||
console.log('we will retry because of', cause) | ||
} | ||
@@ -335,0 +335,0 @@ }) |
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
59347
+ Added@isaacs/cliui@8.0.2(transitive)
+ Added@npmcli/fs@3.1.1(transitive)
+ Added@pkgjs/parseargs@0.11.0(transitive)
+ Addedansi-regex@5.0.16.1.0(transitive)
+ Addedansi-styles@4.3.06.2.1(transitive)
+ Addedcacache@17.1.4(transitive)
+ Addedcolor-convert@2.0.1(transitive)
+ Addedcolor-name@1.1.4(transitive)
+ Addedcross-spawn@7.0.3(transitive)
+ Addedeastasianwidth@0.2.0(transitive)
+ Addedemoji-regex@8.0.09.2.2(transitive)
+ Addedforeground-child@3.3.0(transitive)
+ Addedfs-minipass@3.0.3(transitive)
+ Addedglob@10.4.5(transitive)
+ Addedis-fullwidth-code-point@3.0.0(transitive)
+ Addedisexe@2.0.0(transitive)
+ Addedjackspeak@3.4.3(transitive)
+ Addedlru-cache@10.4.3(transitive)
+ Addedminimatch@9.0.5(transitive)
+ Addedminipass@7.1.2(transitive)
+ Addedpackage-json-from-dist@1.0.1(transitive)
+ Addedpath-key@3.1.1(transitive)
+ Addedpath-scurry@1.11.1(transitive)
+ Addedshebang-command@2.0.0(transitive)
+ Addedshebang-regex@3.0.0(transitive)
+ Addedsignal-exit@4.1.0(transitive)
+ Addedssri@10.0.6(transitive)
+ Addedstring-width@4.2.35.1.2(transitive)
+ Addedstrip-ansi@6.0.17.1.0(transitive)
+ Addedunique-filename@3.0.0(transitive)
+ Addedunique-slug@4.0.0(transitive)
+ Addedwhich@2.0.2(transitive)
+ Addedwrap-ansi@7.0.08.1.0(transitive)
- Removed@gar/promisify@1.1.3(transitive)
- Removed@npmcli/fs@2.1.2(transitive)
- Removed@npmcli/move-file@2.0.1(transitive)
- Removedbrace-expansion@1.1.11(transitive)
- Removedcacache@16.1.3(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removedfs.realpath@1.0.0(transitive)
- Removedglob@7.2.38.1.0(transitive)
- Removedinfer-owner@1.0.4(transitive)
- Removedinflight@1.0.6(transitive)
- Removedinherits@2.0.4(transitive)
- Removedminimatch@3.1.25.1.6(transitive)
- Removedonce@1.4.0(transitive)
- Removedpath-is-absolute@1.0.1(transitive)
- Removedpromise-inflight@1.0.1(transitive)
- Removedrimraf@3.0.2(transitive)
- Removedunique-filename@2.0.1(transitive)
- Removedunique-slug@3.0.0(transitive)
- Removedwrappy@1.0.2(transitive)
Updatedcacache@^17.0.0