@dnlup/fastify-traps
Advanced tools
Comparing version 1.2.0 to 2.0.0
@@ -82,4 +82,4 @@ 'use strict' | ||
module.exports = fp(plugin, { | ||
fastify: '^3.0.0', | ||
fastify: '^4.0.0', | ||
name: '@dnlup/fastify-traps' | ||
}) |
{ | ||
"name": "@dnlup/fastify-traps", | ||
"version": "1.2.0", | ||
"version": "2.0.0", | ||
"description": "A Fastify plugin to close the server gracefully on SIGINT and SIGTERM signals", | ||
@@ -39,3 +39,3 @@ "main": "index.js", | ||
], | ||
"author": "Daniele Belardi <dwon.dnl@gmail.com>", | ||
"author": "dnlup <dnlup.dev@gmail.com>", | ||
"license": "ISC", | ||
@@ -51,3 +51,3 @@ "publishConfig": { | ||
"@types/node": "^17.0.4", | ||
"fastify": "^3.15.1", | ||
"fastify": "^4.1.0", | ||
"husky": "^7.0.0", | ||
@@ -59,3 +59,3 @@ "lint-staged": "^12.1.4", | ||
"standard-version": "^9.2.0", | ||
"tap": "^15.0.6", | ||
"tap": "^16.0.0", | ||
"tsd": "^0.19.0", | ||
@@ -62,0 +62,0 @@ "typescript": "^4.3.5" |
@@ -32,2 +32,8 @@ # fastify-traps | ||
If you are using fastify 3, use the version `1` of the plugin: | ||
```bash | ||
$ npm i @dnlup/fastify-traps@1 | ||
``` | ||
## Usage | ||
@@ -34,0 +40,0 @@ |
Sorry, the diff of this file is not supported yet
8948
140