Skip to content

Commit 7cf269b

Browse files
committed
upgrade deps, add plugin metadata
1 parent 8ecad74 commit 7cf269b

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

index.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,7 @@ function fastifyErrorPage(fastify, options, next) {
1919
next()
2020
}
2121

22-
module.exports = fp(fastifyErrorPage, '>=0.43.0 || >=1.0.0-rc.2')
22+
module.exports = fp(fastifyErrorPage, {
23+
fastify: '>=0.43.0 || >=1.0.0-rc.2',
24+
name: 'fastify-error-page'
25+
})

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
},
2121
"homepage": "https://github.com/hemerajs/fastify-error-page#readme",
2222
"dependencies": {
23-
"fastify-plugin": "^0.2.1",
23+
"fastify-plugin": "^0.2.2",
2424
"youch": "^2.0.7"
2525
},
2626
"devDependencies": {

0 commit comments

Comments
 (0)