@pake/close-with-grace
Advanced tools
Comparing version 1.3.1 to 1.3.2
'use strict' | ||
const { promisify } = require('util') | ||
const sleep = promisify(setTimeout) | ||
closeWithGrace.closing = false | ||
@@ -96,3 +93,3 @@ | ||
// might block the event loop | ||
sleep(delay, sleeped), | ||
new Promise((resolve) => setTimeout(resolve, delay, sleeped)), | ||
exec(out) | ||
@@ -99,0 +96,0 @@ ]) |
{ | ||
"name": "@pake/close-with-grace", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"description": "Exit your process, gracefully (if possible)", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
169734
528