From 7358d11be87320f87619ccdefd314fedf47803f1 Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Tue, 6 Aug 2024 07:18:02 +0100 Subject: [PATCH] chore: update min fastify version (#209) * chore: update min fastify version * update fastify deps --------- Co-authored-by: James Sumners --- index.js | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index 32e3862..023a495 100644 --- a/index.js +++ b/index.js @@ -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 diff --git a/package.json b/package.json index 9b1365f..5ecf197 100644 --- a/package.json +++ b/package.json @@ -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", @@ -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" },