Comparing version 3.1.1 to 3.1.2
@@ -72,3 +72,3 @@ import process from 'node:process'; | ||
// Exit cases that support asynchronous handling | ||
process.once('beforeExit', exit.bind(undefined, true, false, 0)); | ||
process.once('beforeExit', exit.bind(undefined, true, false, -128)); | ||
process.once('SIGINT', exit.bind(undefined, true, false, 2)); | ||
@@ -75,0 +75,0 @@ process.once('SIGTERM', exit.bind(undefined, true, false, 15)); |
{ | ||
"name": "exit-hook", | ||
"version": "3.1.1", | ||
"version": "3.1.2", | ||
"description": "Run some code when the process exits", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
10926