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

cacheable-request

Package Overview
Dependencies
Maintainers
3
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cacheable-request - npm Package Compare versions

Comparing version 10.2.10 to 10.2.11

4

dist/index.js

@@ -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

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