Skip to content

Commit

Permalink
Update fastify to v5 (#1129)
Browse files Browse the repository at this point in the history
* chore: update fastify to ^5.0.0

* fixup

Signed-off-by: Matteo Collina <hello@matteocollina.com>

---------

Signed-off-by: Matteo Collina <hello@matteocollina.com>
Co-authored-by: Tony133 <a.tripodi133@gmail.com>
  • Loading branch information
mcollina and Tony133 authored Jan 7, 2025
1 parent 0c7a426 commit f0aaf00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"concurrently": "^9.0.0",
"docsify-cli": "^4.4.3",
"eslint": "^9.9.1",
"fastify": "^5.0.0-alpha.4",
"fastify": "^5.0.0",
"graphql": "^16.0.0",
"graphql-tag": "^2.12.6",
"graphql-ws": "^5.11.2",
Expand Down
2 changes: 1 addition & 1 deletion test/subscription.js
Original file line number Diff line number Diff line change
Expand Up @@ -2694,7 +2694,7 @@ test('wrong messages do not crash the server', async (t) => {

t.teardown(fastify.close.bind(fastify))

const ws = new WebSocket(`ws://127.0.0.1:${fastify.server.address().port}/graphql`, 'graphql-ws')
const ws = new WebSocket(`ws://localhost:${fastify.server.address().port}/graphql`, 'graphql-ws')

await once(ws, 'open')
ws._socket.write(Buffer.from([0xa2, 0x00]))
Expand Down

0 comments on commit f0aaf00

Please sign in to comment.