Socket
Socket
Sign inDemoInstall

@godaddy/terminus

Package Overview
Dependencies
Maintainers
5
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@godaddy/terminus - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

LICENSE

1

index.js

@@ -0,1 +1,2 @@

'use strict';
module.exports = require('./lib/terminus');

@@ -0,1 +1,2 @@

'use strict';
const http = require('http');

@@ -2,0 +3,0 @@ const server = http.createServer((req, res) => res.end('hello'));

@@ -0,1 +1,2 @@

'use strict';
const http = require('http');

@@ -2,0 +3,0 @@ const server = http.createServer((req, res) => res.end('hello'));

@@ -0,1 +1,2 @@

'use strict';
const stoppable = require('stoppable');

@@ -2,0 +3,0 @@ const promisify = require('es6-promisify');

@@ -0,1 +1,2 @@

'use strict';
const http = require('http');

@@ -2,0 +3,0 @@ const { execFileSync } = require('child_process');

2

package.json

@@ -1,1 +0,1 @@

{"name":"@godaddy/terminus","version":"2.0.0","description":"","main":"index.js","scripts":{"test":"mocha lib/**/*.spec.js","eslint":"eslint-godaddy -c .eslintrc lib example index.js","coverage":"nyc mocha lib/**/*.spec.js","publish":"npm run eslint && npm test","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"repository":{"type":"git","url":"https://github.com/godaddy/terminus.git"},"keywords":[],"author":"","license":"ISC","dependencies":{"es6-promisify":"^5.0.0","stoppable":"^1.0.4"},"devDependencies":{"chai":"^4.1.2","eslint":"^4.4.1","eslint-config-godaddy":"^2.0.0","eslint-plugin-json":"^1.2.0","eslint-plugin-mocha":"^4.11.0","express":"^4.16.2","mocha":"^4.0.1","node-fetch":"^1.7.3","nyc":"^11.3.0","supertest":"^3.0.0","semantic-release":"^8.2.0"}}
{"name":"@godaddy/terminus","version":"2.0.1","description":"","main":"index.js","scripts":{"test":"mocha lib/**/*.spec.js","eslint":"eslint-godaddy -c .eslintrc lib example index.js","coverage":"nyc mocha lib/**/*.spec.js","publish":"npm run eslint && npm test","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"repository":{"type":"git","url":"https://github.com/godaddy/terminus.git"},"keywords":[],"author":"","license":"MIT","dependencies":{"es6-promisify":"^5.0.0","stoppable":"^1.0.5"},"devDependencies":{"chai":"^4.1.2","eslint":"^4.4.1","eslint-config-godaddy":"^2.0.0","eslint-plugin-json":"^1.2.0","eslint-plugin-mocha":"^4.11.0","express":"^4.16.2","mocha":"^4.0.1","node-fetch":"^1.7.3","nyc":"^11.3.0","supertest":"^3.0.0","semantic-release":"^8.2.0"}}

@@ -31,3 +31,3 @@ [![Build Status](https://travis-ci.org/godaddy/terminus.svg?branch=master)](https://travis-ci.org/godaddy/terminus)

healthChecks: {
'/healthcheck': check // a promise indicating service health
'/healthcheck': check // a promise returning function indicating service health
},

@@ -37,3 +37,3 @@

timeout: 1000, // [optional = 5000] number of milliseconds before forcefull exiting
onSigterm, // [optional] clenaup function, returning a promise
onSigterm, // [optional] cleanup function, returning a promise
onShutdown, // [optional] called right before exiting

@@ -61,3 +61,3 @@

terminus(server, {
//opts
// opts
});

@@ -64,0 +64,0 @@

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