Skip to content

Commit dcf596b

Browse files
authored
Bump to Fastify v5 (#757)
Signed-off-by: Matteo Collina <[email protected]>
1 parent 91edbd0 commit dcf596b

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@
5959
"close-with-grace": "^2.1.0",
6060
"commist": "^3.0.0",
6161
"dotenv": "^16.0.0",
62-
"fastify": "^4.26.1",
63-
"fastify-plugin": "^4.0.0",
62+
"fastify": "^5.0.0-alpha.4",
63+
"fastify-plugin": "^5.0.0",
6464
"generify": "^4.0.0",
6565
"help-me": "^4.0.1",
6666
"is-docker": "^2.0.0",
@@ -71,9 +71,9 @@
7171
"yargs-parser": "^21.1.1"
7272
},
7373
"devDependencies": {
74-
"@fastify/autoload": "^5.0.0",
74+
"@fastify/autoload": "^6.0.0",
7575
"@fastify/pre-commit": "^2.0.2",
76-
"@fastify/sensible": "^5.0.0",
76+
"@fastify/sensible": "^6.0.0",
7777
"@types/node": "^22.1.0",
7878
"@types/tap": "^15.0.5",
7979
"c8": "^10.1.2",
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import fp from 'fastify-plugin'
2-
import sensible, { SensibleOptions } from '@fastify/sensible'
2+
import sensible, { FastifySensibleOptions } from '@fastify/sensible'
33

44
/**
55
* This plugins adds some utilities to handle http errors
66
*
77
* @see https://github.com/fastify/fastify-sensible
88
*/
9-
export default fp<SensibleOptions>(async (fastify) => {
9+
export default fp<FastifySensibleOptions>(async (fastify) => {
1010
fastify.register(sensible)
1111
})
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import fp from 'fastify-plugin'
2-
import sensible, { SensibleOptions } from '@fastify/sensible'
2+
import sensible, { FastifySensibleOptions } from '@fastify/sensible'
33

44
/**
55
* This plugins adds some utilities to handle http errors
66
*
77
* @see https://github.com/fastify/fastify-sensible
88
*/
9-
export default fp<SensibleOptions>(async (fastify) => {
9+
export default fp<FastifySensibleOptions>(async (fastify) => {
1010
fastify.register(sensible)
1111
})

0 commit comments

Comments
 (0)