Skip to content

Commit

Permalink
chore: update min fastify version (#209)
Browse files Browse the repository at this point in the history
* chore: update min fastify version

* update fastify deps

---------

Co-authored-by: James Sumners <git@zifbang.com>
  • Loading branch information
Fdawgs and jsumners authored Aug 6, 2024
1 parent 5a44fc7 commit 7358d11
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ function fastifyMiddie (fastify, options, next) {
}

module.exports = fp(fastifyMiddie, {
fastify: '4.x',
fastify: '5.x',
name: '@fastify/middie'
})
module.exports.default = fastifyMiddie
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"@types/connect": "^3.4.38",
"@types/node": "^22.0.0",
"cors": "^2.8.5",
"fastify": "^4.26.2",
"fastify": "^5.0.0-alpha.3",
"helmet": "^7.1.0",
"serve-static": "^1.15.0",
"simple-get": "^4.0.1",
Expand All @@ -50,7 +50,7 @@
},
"dependencies": {
"@fastify/error": "^4.0.0",
"fastify-plugin": "^4.5.1",
"fastify-plugin": "^5.0.0-pre.fv5.1",
"path-to-regexp": "^6.2.2",
"reusify": "^1.0.4"
},
Expand Down

0 comments on commit 7358d11

Please sign in to comment.