Skip to content

Commit

Permalink
build(deps-dev): use new @fastify org dependencies (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs authored Apr 29, 2022
1 parent 7cedf8a commit cd8a7a8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions example/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ const db = new Map()
fastify
// remember to configure the content security policy as well!
.decorateRequest('user', null)
.register(require('fastify-cookie'), { secret: 'supersecret' })
.register(require('fastify-formbody'))
.register(require('fastify-websocket'), { clientTracking: true })
.register(require('@fastify/cookie'), { secret: 'supersecret' })
.register(require('@fastify/formbody'))
.register(require('@fastify/websocket'), { clientTracking: true })
.register(require('..'), {
templates: join(__dirname, 'views'),
filename: join(__dirname, 'worker.js')
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@
"piscina": "^3.1.0"
},
"devDependencies": {
"@fastify/cookie": "^6.0.0",
"@fastify/formbody": "^6.0.0",
"@fastify/websocket": "^5.0.0",
"@hotwired/turbo": "^7.0.1",
"@types/node": "^17.0.0",
"fastify": "^3.22.1",
"fastify-cookie": "^5.3.1",
"fastify-formbody": "^5.1.0",
"fastify-websocket": "^4.0.0",
"mqemitter": "^4.5.0",
"pino-pretty": "^7.1.0",
"shortid": "^2.2.16",
Expand Down

0 comments on commit cd8a7a8

Please sign in to comment.