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

graceful-terminate

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graceful-terminate - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

6

graceful.js

@@ -26,3 +26,3 @@ 'use strict';

* add adds a new function to be called when an interrupt is received.
* @param f function the function to add. If f returns true, shutdown will be prevented
* @param {f} function the function to add. If f returns true, shutdown will be prevented
* and any other functions remaining in the chain will not be executed.

@@ -34,4 +34,4 @@ */

function handle(){
if (!runFunctions()){
function handle() {
if (!runFunctions()) {
process.exit()

@@ -38,0 +38,0 @@ }

{
"name": "graceful-terminate",
"version": "0.0.6",
"version": "0.0.7",
"description": "Gracefully shutdown your node app.",

@@ -5,0 +5,0 @@ "main": "graceful.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