cacheable-response
Advanced tools
Comparing version 2.4.2 to 2.4.3
@@ -5,2 +5,4 @@ # Changelog | ||
### 2.4.3 (2021-08-12) | ||
### 2.4.2 (2021-08-12) | ||
@@ -7,0 +9,0 @@ |
@@ -5,3 +5,3 @@ { | ||
"homepage": "https://nicedoc.io/Kikobeats/cacheable-response", | ||
"version": "2.4.2", | ||
"version": "2.4.3", | ||
"main": "src/index.js", | ||
@@ -8,0 +8,0 @@ "author": { |
@@ -29,3 +29,3 @@ 'use strict' | ||
const getStatus = ({ isHit, isStale, hasForce }) => | ||
isHit ? (isStale ? 'REVALIDATING' : 'HIT') : hasForce ? 'BYPASS' : 'MISS' | ||
isHit ? (isStale ? 'STALE' : 'HIT') : hasForce ? 'BYPASS' : 'MISS' | ||
@@ -32,0 +32,0 @@ const createSetHeaders = ({ staleTtl }) => { |
37055