Comparing version 1.3.5 to 1.3.6
{ | ||
"name": "expired", | ||
"version": "1.3.5", | ||
"version": "1.3.6", | ||
"description": "Calculate when HTTP responses expire from the cache headers", | ||
@@ -39,7 +39,7 @@ "main": "src/index.js", | ||
"coveralls": "^2.11.15", | ||
"date-fns": "^1.21.1", | ||
"date-fns": "^1.28.1", | ||
"nyc": "^10.0.0", | ||
"timekeeper": "^1.0.0", | ||
"xo": "^0.17.1" | ||
"xo": "^0.18.0" | ||
} | ||
} |
@@ -14,3 +14,3 @@ import test from 'ava'; | ||
const headers = { | ||
date: date, | ||
date, | ||
age: 0, | ||
@@ -29,3 +29,3 @@ 'cache-control': `public, max-age=${maxAge}` | ||
const headers = { | ||
date: date, | ||
date, | ||
age: 0, | ||
@@ -32,0 +32,0 @@ 'cache-control': `public, max-age=0` |
@@ -14,3 +14,3 @@ import test from 'ava'; | ||
const headers = { | ||
date: date, | ||
date, | ||
age: 0, | ||
@@ -27,3 +27,3 @@ 'cache-control': `public, max-age=${maxAge}` | ||
const headers = { | ||
date: date, | ||
date, | ||
age: 0, | ||
@@ -55,4 +55,4 @@ 'cache-control': `public, max-age=0` | ||
const headers = { | ||
date: date, | ||
age: age, | ||
date, | ||
age, | ||
'cache-control': `public, max-age=${maxAge}` | ||
@@ -80,4 +80,4 @@ }; | ||
const headers = { | ||
date: date, | ||
age: age, | ||
date, | ||
age, | ||
'cache-control': `public, max-age=${maxAge}`, | ||
@@ -84,0 +84,0 @@ expires: date |
@@ -21,3 +21,3 @@ import test from 'ava'; | ||
const headers = { | ||
date: date, | ||
date, | ||
age: 0, | ||
@@ -24,0 +24,0 @@ 'cache-control': `public, max-age=0` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13136