From e8b250b87aabbf038bfc09b5a02ca46b9a6baf35 Mon Sep 17 00:00:00 2001 From: nelsonic Date: Tue, 14 Apr 2015 23:29:04 +0100 Subject: [PATCH] updates dependency on ps-tree (which now has 100% test coverage). https://github.com/indexzero/ps-tree/pull/12#issuecomment-91785753 --- README.md | 6 ++++-- package.json | 16 ++++++++-------- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index cb1bed6..4f51f9a 100644 --- a/README.md +++ b/README.md @@ -66,6 +66,8 @@ which you would have to either *manually* kill or restart the machine/VM to clea Instead you need to *find* all the Process IDs for the child processes that your app created and **terminate** those *before* you can re-start your app. +Using ***terminate*** you no longer have this problem. +
## Dependencies [![Dependency Status](https://david-dm.org/nelsonic/terminate.svg)](https://david-dm.org/nelsonic/terminate) [![devDependency Status](https://david-dm.org/nelsonic/terminate/dev-status.svg)](https://david-dm.org/nelsonic/terminate#info=devDependencies) [![Retire Status](https://img.shields.io/badge/security-no%20known%20vulnerabilities-brightgreen.svg)](http://retire.insecurity.today/api/image?uri=https://raw.githubusercontent.com/nelsonic/terminate/master/package.json) @@ -77,8 +79,8 @@ it was *un-maintained* and had *no tests* offering to update the module *with tests*. [*Charlie*](https://github.com/indexzero/terminate/issues/10#issuecomment-86795133) replied welcoming an update so we submitted - a [***Pull Request***](https://github.com/indexzero/terminate/pull/12) - with ***100% test coverage***. + a [***Pull Request***](https://github.com/indexzero/ps-tree/pull/12) + with ***100% test coverage*** [***Merged by *Charlie* on ] ps-tree in turn uses [**event-stream**](https://github.com/dominictarr/event-stream) (by [Dominc Tarr](https://github.com/dominictarr)) for streaming the result of its process lookups. diff --git a/package.json b/package.json index 76cc6be..efed9ff 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,8 @@ "description": "Terminate a Node.js Process based on the Process ID", "main": "terminate.js", "scripts": { - "test": "./node_modules/.bin/istanbul cover ./node_modules/tape/bin/tape ./test/*.js", - "coverage": "./node_modules/.bin/istanbul cover ./node_modules/tape/bin/tape ./test/*.js && ./node_modules/.bin/istanbul check-coverage --statements 100 --functions 100 --lines 100 --branches 100", + "test": "istanbul cover ./node_modules/tape/bin/tape ./test/*.js", + "coverage": "istanbul cover ./node_modules/tape/bin/tape ./test/*.js && istanbul check-coverage --statements 100 --functions 100 --lines 100 --branches 100", "jshint": "./node_modules/jshint/bin/jshint -c .jshintrc --exclude-path .gitignore .", "codeclimate": "CODECLIMATE_REPO_TOKEN=cb9cb09b16b317fb2d65ebf34df7039bb62976fe3cb3eadc71b4fd7991033c47 ./node_modules/codeclimate-test-reporter/bin/codeclimate.js < ./coverage/lcov.info" }, @@ -26,13 +26,16 @@ "url": "https://github.com/nelsonic/terminate/issues" }, "homepage": "https://github.com/nelsonic/terminate", + "dependencies": { + "ps-tree": "1.0.0" + }, "devDependencies": { "chalk": "^1.0.0", "codeclimate-test-reporter": "0.0.4", - "istanbul": "^0.3.11", - "jshint": "^2.6.3", + "istanbul": "^0.3.13", + "jshint": "^2.7.0", "pre-commit": "1.0.6", - "tape": "^3.5.0" + "tape": "^4.0.0" }, "pre-commit": [ "jshint", @@ -41,8 +44,5 @@ ], "engines": { "node": ">=0.10" - }, - "dependencies": { - "ps-tree": "0.0.3" } }