@ladjs/graceful
Advanced tools
Comparing version 1.1.2 to 1.1.3
@@ -50,3 +50,5 @@ const process = require('process'); | ||
// handle uncaught promises | ||
process.on('unhandledRejection', this.logger.error.bind(this.logger)); | ||
process.on('unhandledRejection', (err) => { | ||
this.logger.error(err); | ||
}); | ||
@@ -53,0 +55,0 @@ // handle uncaught exceptions |
{ | ||
"name": "@ladjs/graceful", | ||
"description": "Gracefully exit server (Koa), database (Mongo/Mongoose), Bree job schedulers, Bull job schedulers, and custom handlers.", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"author": "Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com/)", | ||
@@ -6,0 +6,0 @@ "bugs": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
12530
208
0