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

graceful-shutdown

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graceful-shutdown - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

5

History.md
0.0.4 / 2013-12-13
==================
* revert callback on server close event
0.0.3 / 2013-12-12

@@ -3,0 +8,0 @@ ==================

4

index.js

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

*
* @param {Functin} cb
* @param {Function} cb
*/

@@ -58,5 +58,5 @@

debug('_shutdown');
if (this.cb) this.server.on('close', this.cb);
this.server.close();
if (this.cb) this.cb();
};
{
"name": "graceful-shutdown",
"version": "0.0.3",
"version": "0.0.4",
"description": "Gracefully shutdown a server upon receiving the specified signal(s)",

@@ -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