Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@pake/close-with-grace

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pake/close-with-grace - npm Package Compare versions

Comparing version 1.3.1 to 1.3.2

5

index.js
'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 @@ ])

2

package.json
{
"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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc