72 Commits (b07e091270fd20676e0f57f0e37c083ab83cc8a6)
 

Author SHA1 Message Date
Luke Childs b07e091270 Test headers can contain status code 8 years ago
Luke Childs d9d35e42c4 Remove some irrelevant headers from example usage 8 years ago
Luke Childs 0f1a47af39 1.3.0 8 years ago
Luke Childs 8f876d397c Test throw error if Date header is missing 8 years ago
Luke Childs 4cc917fcfc Test throw error if header argument is missing 8 years ago
Luke Childs e8098e00a1 Update missing header arg error message 8 years ago
Luke Childs 96f3682574 Throw error if Date header is missing 8 years ago
Luke Childs 4a793f4cdc Throw error if header arg is missing 8 years ago
Luke Childs fcdce4dd75 1.2.1 8 years ago
Luke Childs 558f3d648f Reword header obj section in readme 8 years ago
Luke Childs e303f5ba01 Add semicolons to usage examples 8 years ago
Luke Childs f32c420651 Fix `toUTCString()` being called in the wrong place 8 years ago
Luke Childs c75980a8b7 1.2.0 8 years ago
Luke Childs a4f347ccc0 Remove argument types from API docs 8 years ago
Luke Childs 0f5a5a82c3 Give pure usage section it's own heading 8 years ago
Luke Childs 929c8fe046 Update API docs with function args 8 years ago
Luke Childs e89fdf1f29 currentDate => date 8 years ago
Luke Childs 48b0e81308 Mention pure function usage in readme 8 years ago
Luke Childs 40200308ba Add tests for currentDate argument 8 years ago
Luke Childs 6a27c731ae Default expirey should be Date header, not current date 8 years ago
Luke Childs d52b398a0a Allow currentDate to be optionally passed in 8 years ago
Luke Childs 6356f2dd21 1.1.1 8 years ago
Luke Childs 83eddd806d Swap string/object header examples round 8 years ago
Luke Childs efe3a4f3ba 1.1.0 8 years ago
Luke Childs 13ca7ee17f Mention Expires header support in readme 8 years ago
Luke Childs c0abbcf29c Use different dates for Date/Expires headers so bugs don't slip through 8 years ago
Luke Childs 18e4e1e502 Don't freeze `Date` for expired.on tests 8 years ago
Luke Childs 4940ec8319 Test expired.on prefers Cache-Control over Expires header 8 years ago
Luke Childs 28cac6df52 Test expired.on uses Expires header 8 years ago
Luke Childs c62fcaf849 Use Expires headers if we don't have Cache-Control 8 years ago
Luke Childs 47550d4f5c Wrap Cache-Control calculations in if check for headers 8 years ago
Luke Childs db3964eb9b Make API a heading 2 8 years ago
Luke Childs 84fb37fb11 Make expired.in description less ambiguous 8 years ago
Luke Childs 53a92af3b6 Remove extra dates in readme usage example 8 years ago
Luke Childs 1c98641d18 1.0.0 8 years ago
Luke Childs c37cd1e7de Add current date to delay example as well 8 years ago
Luke Childs 627e91a83a Woops, fix dates in readme usage example 8 years ago
Luke Childs 14bd9a3152 Add current date to readme usage example 8 years ago
Luke Childs 64d00ef27b Add API section to readme 8 years ago
Luke Childs ef5959684b Add usage section to readme 8 years ago
Luke Childs 0d6ee3c412 Add install section to readme 8 years ago
Luke Childs f8ba7a3f0e Add license to readme 8 years ago
Luke Childs 99ea6516f7 Add readme 8 years ago
Luke Childs f8418bf31b Update description and keywords 8 years ago
Luke Childs 78c9b683d5 Pin dependency versions 8 years ago
Luke Childs 3a4014e1db Better comments 8 years ago
Luke Childs 73724234d5 Don't instantiate Date object twice on originDate 8 years ago
Luke Childs 89e0f1093f Allow headers to be passed in via string or object 8 years ago
Luke Childs 1c773154ae Test headers can be passed in as a string 8 years ago
Luke Childs 6a9051d138 Test headers can be passed in as an object 8 years ago