@augment-vir/node-js
Advanced tools
Comparing version 9.3.0 to 9.3.1
@@ -120,2 +120,8 @@ "use strict"; | ||
}); | ||
// handle killing the process | ||
cliInterface.on('SIGINT', () => { | ||
cliInterface.close(); | ||
process.stdout.write('\n'); | ||
process.kill(process.pid, 'SIGINT'); | ||
}); | ||
return new Promise((resolve, reject) => { | ||
@@ -125,3 +131,3 @@ const timeoutId = timeoutMs | ||
cliInterface.close(); | ||
reject(`Took too long to response (over "${timeoutMs / 1000}" seconds)`); | ||
reject(`Took too long to respond (over "${timeoutMs / 1000}" seconds)`); | ||
}, timeoutMs) | ||
@@ -128,0 +134,0 @@ : undefined; |
{ | ||
"name": "@augment-vir/node-js", | ||
"version": "9.3.0", | ||
"version": "9.3.1", | ||
"homepage": "https://github.com/electrovir/augment-vir/tree/main/packages/node-js", | ||
@@ -5,0 +5,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
37532
903