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": {