fastify-graceful-shutdown
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -9,3 +9,3 @@ 'use strict' | ||
fastify.register(require('./')).after((err) => { | ||
fastify.register(require('./')).after(err => { | ||
fastify.log.error(err) | ||
@@ -12,0 +12,0 @@ // Register custom clean up handler |
@@ -76,4 +76,4 @@ 'use strict' | ||
module.exports = fp(fastifyGracefulShutdown, { | ||
fastify: '^1.0.0', | ||
fastify: '^1.0.0 || ^2.0.0', | ||
name: 'fastify-graceful-shutdown' | ||
}) |
{ | ||
"name": "fastify-graceful-shutdown", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Gracefully shutdown fastify", | ||
@@ -32,8 +32,8 @@ "main": "index.js", | ||
"devDependencies": { | ||
"fastify": "^1.0.0", | ||
"np": "^2.20.1", | ||
"fastify": "^2.1.0", | ||
"np": "^4.0.2", | ||
"pre-commit": "^1.2.2", | ||
"prettier": "^1.11.1", | ||
"tap": "^11.1.1", | ||
"tap-spec": "^4.1.1" | ||
"tap": "^12.6.1", | ||
"tap-spec": "^5.0.0" | ||
}, | ||
@@ -45,5 +45,5 @@ "prettier": { | ||
"dependencies": { | ||
"fastify-plugin": "^0.2.2", | ||
"fastify-plugin": "^1.5.0", | ||
"fastparallel": "^2.3.0" | ||
} | ||
} |
@@ -0,0 +0,0 @@ # 🏹 fastify-graceful-shutdown |
@@ -0,0 +0,0 @@ 'use strict' |
Sorry, the diff of this file is not supported yet
6091
+ Addedfastify-plugin@1.6.1(transitive)
+ Addedsemver@6.3.1(transitive)
- Removedfastify-plugin@0.2.2(transitive)
- Removedsemver@5.7.2(transitive)
Updatedfastify-plugin@^1.5.0