New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cacheable-response

Package Overview
Dependencies
Maintainers
1
Versions
111
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cacheable-response - npm Package Compare versions

Comparing version

to
2.0.6

2

CHANGELOG.md

@@ -5,2 +5,4 @@ # Changelog

### [2.0.6](https://github.com/Kikobeats/cacheable-response/compare/v2.0.5...v2.0.6) (2020-02-21)
### [2.0.5](https://github.com/Kikobeats/cacheable-response/compare/v2.0.4...v2.0.5) (2020-02-19)

@@ -7,0 +9,0 @@

5

index.d.ts

@@ -22,5 +22,6 @@ import { ParsedUrlQuery } from 'querystring';

compress?: boolean;
serialize?: (object) => string;
deserialize?: (string) => object;
serialize?: (obj: object) => string;
deserialize?: (str: string) => object;
cache?: boolean;
getKey: (req: any) => string,
revalidate?: (ttl: number) => number;

@@ -27,0 +28,0 @@ }

@@ -5,3 +5,3 @@ {

"homepage": "https://nicedoc.io/Kikobeats/cacheable-response",
"version": "2.0.5",
"version": "2.0.6",
"main": "index.js",

@@ -19,2 +19,6 @@ "author": {

{
"name": "Ali Hmer",
"email": "alitohami@gmail.com"
},
{
"name": "Jakub Sarnowski",

@@ -21,0 +25,0 @@ "email": "jakub.sarnowski.st-yl.com"