From e7177d885e1b4fc2ba21500c07106eb045313765 Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Wed, 31 Jul 2024 17:04:43 +0100 Subject: [PATCH 1/3] chore: update min fastify version --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From 24a73789897edea5e8659d6a8de2e4862403165b Mon Sep 17 00:00:00 2001 From: James Sumners Date: Thu, 1 Aug 2024 06:42:00 -0400 Subject: [PATCH 2/3] update fastify deps --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 966dd6e..3fe10c6 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.1", "@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": { From 784fd3f1708243ba076f963f2ac22918d15838ba Mon Sep 17 00:00:00 2001 From: KaKa Date: Fri, 16 Aug 2024 13:11:56 +0800 Subject: [PATCH 3/3] test: fix type-provider error --- .github/workflows/ci.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 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/package.json b/package.json index 3fe10c6..ad3a7f2 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "homepage": "https://github.com/fastify/fastify-websocket#readme", "devDependencies": { "@fastify/pre-commit": "^2.1.0", - "@fastify/type-provider-typebox": "^5.0.0-pre.fv5.1", + "@fastify/type-provider-typebox": "^5.0.0-pre.fv5.2", "@types/node": "^22.0.0", "@types/ws": "^8.5.10", "fastify": "^5.0.0-alpha.3",