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

cacheable-request

Package Overview
Dependencies
Maintainers
1
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 5.1.0 to 5.2.0

2

package.json
{
"name": "cacheable-request",
"version": "5.1.0",
"version": "5.2.0",
"description": "Wrap native HTTP requests with RFC compliant cache support",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -120,3 +120,5 @@ # cacheable-request

Any of the default request functions options plus:
- Any of the default request functions options.
- Any [`http-cache-semantics`](https://github.com/kornelski/http-cache-semantics#constructor-options) options.
- Any of the following:

@@ -123,0 +125,0 @@ ###### opts.cache

@@ -82,3 +82,3 @@ 'use strict';

if (!response.fromCache) {
response.cachePolicy = new CachePolicy(opts, response);
response.cachePolicy = new CachePolicy(opts, response, opts);
response.fromCache = false;

@@ -85,0 +85,0 @@ }

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