Skip to content

Commit f43b91f

Browse files
DRoetfranky47
andauthored
feat: Add fastify v5 as supported version (#443)
Co-authored-by: François Best <francois@francoisbest.com>
1 parent 348e787 commit f43b91f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"fastify-plugin": "^3.0.0"
3838
},
3939
"peerDependencies": {
40-
"fastify": "^4.1.0"
40+
"fastify": "^4.1.0 || ^5.0.0"
4141
},
4242
"devDependencies": {
4343
"@commitlint/config-conventional": "^17.0.3",

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,5 +79,5 @@ const plugin: FastifyPluginAsync<Config> = async function fastifyCronPlugin(
7979

8080
export default fp(plugin, {
8181
name: 'fastify-cron',
82-
fastify: '4.x'
82+
fastify: '4.x || 5.x'
8383
})

0 commit comments

Comments
 (0)