express-domaining
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -47,5 +47,3 @@ /** | ||
next(err); | ||
// rethrow to allow cluster code or unhandledException to manage it | ||
// Usually, as this error is unexpected, the process should be terminated and restarted | ||
throw err; | ||
process.kill(process.pid, 'SIGTERM'); | ||
} | ||
@@ -52,0 +50,0 @@ |
{ | ||
"name": "express-domaining", | ||
"description": "Express middleware to create and destroy a node domain", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"license": "Apache-2.0", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -8,3 +8,3 @@ # express-domaining | ||
Allows you to respond to requests that had and unexpected error using your express error handlers and | ||
rethrows the exception to be captured by your own unhandledExcetion/cluster code | ||
signal the process with a 'SIGTERM' to be captured by your own process/cluster code | ||
@@ -11,0 +11,0 @@ [![npm version](https://badge.fury.io/js/express-domaining.svg)](http://badge.fury.io/js/express-domaining) |
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
0
20658
164