Socket
Socket
Sign inDemoInstall

cacheable-request

Package Overview
Dependencies
Maintainers
3
Versions
61
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.4 to 10.2.5

7

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

@@ -35,3 +35,7 @@ "license": "MIT",

],
"dependenciesComments": {
"@types/http-cache-semantics": "It needs to be in the dependencies list and not devDependencies because otherwise projects that use this one will be getting `Could not find a declaration file for module 'http-cache-semantics'` error when running `tsc`, see https://github.com/jaredwray/cacheable-request/issues/194 for details"
},
"dependencies": {
"@types/http-cache-semantics": "^4.0.1",
"get-stream": "^6.0.1",

@@ -46,3 +50,2 @@ "http-cache-semantics": "^4.1.0",

"@keyv/sqlite": "^3.6.4",
"@types/http-cache-semantics": "^4.0.1",
"@types/delay": "^3.1.0",

@@ -49,0 +52,0 @@ "@types/get-stream": "^3.0.2",

@@ -266,3 +266,3 @@ # cacheable-request

## Using Hooks
Hooks have been implemented since version `v9` and are very useful to modify response before saving it in cache. You can use hooks to modify response before saving it in cache. You can also use hooks to modify response before returning it to user.
Hooks have been implemented since version `v9` and are very useful to modify response before saving it in cache. You can use hooks to modify response before saving it in cache.

@@ -269,0 +269,0 @@ ### Add Hooks

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