From aabd0b861efbd9fae3a3bd20a148722e64e91219 Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Tue, 6 Aug 2024 17:06:11 +0100 Subject: [PATCH] chore: update min fastify version (#360) * 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 14d6bf3..f85a537 100644 --- a/index.js +++ b/index.js @@ -343,7 +343,7 @@ async function fastifyHttpProxy (fastify, opts) { } module.exports = fp(fastifyHttpProxy, { - fastify: '4.x', + fastify: '5.x', name: '@fastify/http-proxy', encapsulate: true }) diff --git a/package.json b/package.json index f84ad6d..47e9ced 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "express": "^4.19.2", "express-http-proxy": "^2.0.0", "fast-proxy": "^2.1.0", - "fastify": "^4.26.2", + "fastify": "^5.0.0-alpha.3", "got": "^11.8.6", "http-errors": "^2.0.0", "http-proxy": "^1.18.1", @@ -54,7 +54,7 @@ "dependencies": { "@fastify/reply-from": "^10.0.0-pre.fv5.1", "fast-querystring": "^1.1.2", - "fastify-plugin": "^4.5.1", + "fastify-plugin": "^5.0.0-pre.fv5.1", "ws": "^8.16.0" }, "tsd": {