Skip to content

Commit

Permalink
swap ms out (#132)
Browse files Browse the repository at this point in the history
Co-authored-by: Gün <Gün>
  • Loading branch information
gurgunday authored May 3, 2023
1 parent 52fd3b9 commit 2fe0e07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/cache-control.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// - https://jakearchibald.com/2016/caching-best-practices/

const assert = require('assert')
const ms = require('ms')
const ms = require('@lukeed/ms').parse

const validSingletimes = [
'must-revalidate',
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@
"tsd": "^0.28.0"
},
"dependencies": {
"@lukeed/ms": "^2.0.1",
"fast-deep-equal": "^3.1.1",
"fastify-plugin": "^4.0.0",
"forwarded": "^0.2.0",
"http-errors": "^2.0.0",
"ms": "^2.1.3",
"type-is": "^1.6.18",
"vary": "^1.1.2"
},
Expand Down

0 comments on commit 2fe0e07

Please sign in to comment.