Comparing version 2.2.10 to 2.2.11
@@ -136,2 +136,5 @@ // Generated by CoffeeScript 1.6.3 | ||
if (opts.output) { | ||
if (opts.outputPrefix) { | ||
data = opts.outputPrefix + data.toString().trim().replace(/\n/g, '\n' + opts.outputPrefix) + '\n'; | ||
} | ||
process.stdout.write(data); | ||
@@ -145,2 +148,5 @@ } | ||
if (opts.output) { | ||
if (opts.outputPrefix) { | ||
data = opts.outputPrefix + data.toString().trim().replace(/\n/g, '\n' + opts.outputPrefix) + '\n'; | ||
} | ||
process.stderr.write(data); | ||
@@ -147,0 +153,0 @@ } |
{ | ||
"title": "Safe PS", | ||
"name": "safeps", | ||
"version": "2.2.10", | ||
"version": "2.2.11", | ||
"description": "Work with processes safely and easily with Node.js", | ||
@@ -13,5 +13,8 @@ "homepage": "https://github.com/bevry/safeps", | ||
"npm": true, | ||
"david": true, | ||
"daviddev": true, | ||
"gittip": "bevry", | ||
"flattr": "344188/balupton-on-Flattr", | ||
"paypal": "QB8GQPZAH84N6" | ||
"paypal": "QB8GQPZAH84N6", | ||
"bitcoin": "https://coinbase.com/checkouts/9ef59f5479eec1d97d63382c9ebcb93a" | ||
}, | ||
@@ -49,3 +52,3 @@ "keywords": [ | ||
"safefs": "~3.1.0", | ||
"taskgroup": "~3.3.1", | ||
"taskgroup": "~3.3.6", | ||
"extract-opts": "~2.2.0" | ||
@@ -58,3 +61,3 @@ }, | ||
"chai": "~1.8.1", | ||
"projectz": "~0.3.2" | ||
"projectz": "~0.3.5" | ||
}, | ||
@@ -61,0 +64,0 @@ "directories": { |
@@ -13,5 +13,8 @@ | ||
[![NPM version](http://badge.fury.io/js/safeps.png)](https://npmjs.org/package/safeps "View this project on NPM") | ||
[![Dependency Status](https://david-dm.org/bevry/safeps.png?theme=shields.io)](https://david-dm.org/bevry/safeps) | ||
[![Development Dependency Status](https://david-dm.org/bevry/safeps/dev-status.png?theme=shields.io)](https://david-dm.org/bevry/safeps#info=devDependencies)<br/> | ||
[![Gittip donate button](http://img.shields.io/gittip/bevry.png)](https://www.gittip.com/bevry/ "Donate weekly to this project using Gittip") | ||
[![Flattr donate button](http://img.shields.io/flattr/donate.png?color=yellow)](http://flattr.com/thing/344188/balupton-on-Flattr "Donate monthly to this project using Flattr") | ||
[![PayPayl donate button](http://img.shields.io/paypal/donate.png?color=yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QB8GQPZAH84N6 "Donate once-off to this project using Paypal") | ||
[![BitCoin donate button](http://img.shields.io/bitcoin/donate.png?color=yellow)](https://coinbase.com/checkouts/9ef59f5479eec1d97d63382c9ebcb93a "Donate once-off to this project using BitCoin") | ||
@@ -54,3 +57,4 @@ <!-- /BADGES --> | ||
- `read` whether or not we should listen to the child process's stdout and stderr streams for use in the completion callback | ||
- `output` if set to `true` will output the child process's stdout to our process's stdout | ||
- `output` if set to `true` will output the child process's stdout to our process's stdout, and provide those values in the completion callback | ||
- `outputPrefix` if set to a string, this string will be outputted before each line of the output | ||
- `stdin` if set will be written to the child process's stdin | ||
@@ -169,2 +173,3 @@ - `next(err, stdout, stderr, code, signal)` | ||
[![PayPayl donate button](http://img.shields.io/paypal/donate.png?color=yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QB8GQPZAH84N6 "Donate once-off to this project using Paypal") | ||
[![BitCoin donate button](http://img.shields.io/bitcoin/donate.png?color=yellow)](https://coinbase.com/checkouts/9ef59f5479eec1d97d63382c9ebcb93a "Donate once-off to this project using BitCoin") | ||
@@ -171,0 +176,0 @@ ### Contributors |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
34013
599
198
Updatedtaskgroup@~3.3.6