From fbc8066b2af5c5df34bb1b4831c6dcfbc3b63a20 Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Fri, 16 Aug 2024 06:15:05 +0100 Subject: [PATCH] chore: update min fastify version (#303) * chore: update min fastify version * update fastify deps * test: fix type-provider error --------- Co-authored-by: James Sumners Co-authored-by: KaKa --- .github/workflows/ci.yml | 2 +- index.js | 2 +- package.json | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 582175c..c2227cf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ on: jobs: test: - uses: fastify/workflows/.github/workflows/plugins-ci.yml@v4.1.0 + uses: fastify/workflows/.github/workflows/plugins-ci.yml@v5.0.0 with: lint: true license-check: true diff --git a/index.js b/index.js index 186961a..3260877 100644 --- a/index.js +++ b/index.js @@ -234,7 +234,7 @@ function fastifyWebsocket (fastify, opts, next) { } module.exports = fp(fastifyWebsocket, { - fastify: '^4.16.0', + fastify: '5.x', name: '@fastify/websocket' }) module.exports.default = fastifyWebsocket diff --git a/package.json b/package.json index 966dd6e..ad3a7f2 100644 --- a/package.json +++ b/package.json @@ -27,10 +27,10 @@ "homepage": "https://github.com/fastify/fastify-websocket#readme", "devDependencies": { "@fastify/pre-commit": "^2.1.0", - "@fastify/type-provider-typebox": "^4.0.0", + "@fastify/type-provider-typebox": "^5.0.0-pre.fv5.2", "@types/node": "^22.0.0", "@types/ws": "^8.5.10", - "fastify": "^4.26.2", + "fastify": "^5.0.0-alpha.3", "fastify-tsconfig": "^2.0.0", "split2": "^4.2.0", "standard": "^17.1.0", @@ -39,7 +39,7 @@ }, "dependencies": { "duplexify": "^4.1.3", - "fastify-plugin": "^4.5.1", + "fastify-plugin": "^5.0.0-pre.fv5.1", "ws": "^8.16.0" }, "publishConfig": {