cacheable-request
Advanced tools
Comparing version 10.2.10 to 10.2.11
@@ -6,3 +6,3 @@ import EventEmitter from 'node:events'; | ||
import normalizeUrl from 'normalize-url'; | ||
import getStream from 'get-stream'; | ||
import { getStreamAsBuffer } from 'get-stream'; | ||
import CachePolicy from 'http-cache-semantics'; | ||
@@ -104,3 +104,3 @@ import Response from 'responselike'; | ||
try { | ||
const bodyPromise = getStream.buffer(response); | ||
const bodyPromise = getStreamAsBuffer(response); | ||
await Promise.race([ | ||
@@ -107,0 +107,0 @@ requestErrorPromise, |
{ | ||
"name": "cacheable-request", | ||
"version": "10.2.10", | ||
"version": "10.2.11", | ||
"description": "Wrap native HTTP requests with RFC compliant cache support", | ||
@@ -40,3 +40,3 @@ "license": "MIT", | ||
"@types/http-cache-semantics": "^4.0.1", | ||
"get-stream": "^6.0.1", | ||
"get-stream": "^7.0.0", | ||
"http-cache-semantics": "^4.1.1", | ||
@@ -52,9 +52,9 @@ "keyv": "^4.5.2", | ||
"@types/get-stream": "^3.0.2", | ||
"@types/jest": "^29.5.1", | ||
"@types/node": "^18.16.0", | ||
"@types/jest": "^29.5.2", | ||
"@types/node": "^20.3.1", | ||
"@types/responselike": "^1.0.0", | ||
"@types/sqlite3": "^3.1.8", | ||
"body-parser": "^1.20.2", | ||
"delay": "^5.0.0", | ||
"eslint-plugin-jest": "^27.2.1", | ||
"delay": "^6.0.0", | ||
"eslint-plugin-jest": "^27.2.2", | ||
"express": "^4.18.2", | ||
@@ -67,4 +67,4 @@ "jest": "^29.5.0", | ||
"ts-node": "^10.9.1", | ||
"typescript": "^5.0.4", | ||
"xo": "^0.54.1" | ||
"typescript": "^5.1.3", | ||
"xo": "^0.54.2" | ||
}, | ||
@@ -71,0 +71,0 @@ "jest": { |
Sorry, the diff of this file is not supported yet
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
53014
64
3
3
1
6
+ Addedget-stream@7.0.1(transitive)
- Removedget-stream@6.0.1(transitive)
Updatedget-stream@^7.0.0