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

@ladjs/graceful

Package Overview
Dependencies
Maintainers
3
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ladjs/graceful - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

2

index.js

@@ -95,3 +95,3 @@ const debug = require('debug')('@ladjs/graceful');

try {
await client.quit();
await client.disconnect();
} catch (err) {

@@ -98,0 +98,0 @@ this.config.logger.error(err);

{
"name": "@ladjs/graceful",
"description": "Gracefully exit server (Koa), database (Mongo/Mongoose), Bree job schedulers, Bull job schedulers, and custom handlers.",
"version": "1.0.4",
"version": "1.0.5",
"author": "Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com/)",

@@ -20,19 +20,19 @@ "bugs": {

"dependencies": {
"debug": "^4.1.1"
"debug": "^4.2.0"
},
"devDependencies": {
"@commitlint/cli": "^9.0.1",
"@commitlint/config-conventional": "^9.0.1",
"ava": "^3.10.1",
"codecov": "^3.7.0",
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"ava": "^3.13.0",
"codecov": "^3.8.0",
"cross-env": "^7.0.2",
"eslint": "7.4.0",
"eslint-config-xo-lass": "^1.0.3",
"eslint": "7.12.0",
"eslint-config-xo-lass": "^1.0.4",
"fixpack": "^3.0.6",
"husky": "^4.2.5",
"lint-staged": "^10.2.11",
"husky": "^4.3.0",
"lint-staged": "^10.4.2",
"nyc": "^15.1.0",
"remark-cli": "^8.0.0",
"remark-preset-github": "^2.0.2",
"xo": "^0.32.1"
"remark-cli": "^9.0.0",
"remark-preset-github": "^3.0.4",
"xo": "^0.34.1"
},

@@ -39,0 +39,0 @@ "engines": {

@@ -8,3 +8,3 @@ # [**@ladjs/graceful**](https://github.com/ladjs/graceful)

[![made with lass](https://img.shields.io/badge/made_with-lass-95CC28.svg)](https://lass.js.org)
[![license](https://img.shields.io/github/license/ladjs/graceful.svg)](<>)
[![license](https://img.shields.io/github/license/ladjs/graceful.svg)]()

@@ -43,3 +43,3 @@ > Gracefully exit server (Koa), database (Mongo/Mongoose), Redis clients, Bree job schedulers, Bull job schedulers, and custom handlers.

* `process.on('unhandledRejection')` - will output via `config.logger.error`
* `process.once('uncaughtException')` - will output via `config.logger.error` and `process.exit(1)` (_does not exit gracefully_)
* `process.once('uncaughtException')` - will output via `config.logger.error` and `process.exit(1)` (*does not exit gracefully*)
* `process.on('message')` - support Windows (e.g. signals not available) and listen for message of `shutdown` and then exit gracefully

@@ -76,3 +76,3 @@ * `process.once('SIGTERM')` - will exit gracefully

##
##

@@ -79,0 +79,0 @@ [npm]: https://www.npmjs.com/

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