Socket
Socket
Sign inDemoInstall

cacheable-request

Package Overview
Dependencies
9
Maintainers
3
Versions
61
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 10.2.11 to 10.2.12

4

dist/index.js

@@ -6,3 +6,3 @@ import EventEmitter from 'node:events';

import normalizeUrl from 'normalize-url';
import { getStreamAsBuffer } from 'get-stream';
import getStream from 'get-stream';
import CachePolicy from 'http-cache-semantics';

@@ -104,3 +104,3 @@ import Response from 'responselike';

try {
const bodyPromise = getStreamAsBuffer(response);
const bodyPromise = getStream.buffer(response);
await Promise.race([

@@ -107,0 +107,0 @@ requestErrorPromise,

{
"name": "cacheable-request",
"version": "10.2.11",
"version": "10.2.12",
"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": "^7.0.0",
"get-stream": "^6.0.1",
"http-cache-semantics": "^4.1.1",

@@ -43,0 +43,0 @@ "keyv": "^4.5.2",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc