From 5f5808e793b8240754974aecc78448c54d6f1c37 Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Wed, 31 Jul 2024 17:03:56 +0100 Subject: [PATCH 1/2] chore: update min fastify version --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }) From 564779cb60f6974e7c617a14dadbccd8c5b8381e Mon Sep 17 00:00:00 2001 From: James Sumners Date: Thu, 1 Aug 2024 06:27:30 -0400 Subject: [PATCH 2/2] update fastify deps --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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": {