cacheable-response
Advanced tools
Comparing version
@@ -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 @@ |
@@ -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" |
30868
0.71%143
0.7%