pino-datadog
Advanced tools
Comparing version 1.1.2 to 1.2.0
@@ -32,3 +32,4 @@ # CLI | ||
| -h | --help | | Output usage information | | ||
| | --no-stdout | | Disable output to stdout | | ||
See the [API](./API.md) documentation for details. |
{ | ||
"name": "pino-datadog", | ||
"version": "1.1.2", | ||
"version": "1.2.0", | ||
"description": "A transport for pino that sends messages to DataDog", | ||
@@ -37,11 +37,11 @@ "homepage": "https://github.com/ovhemert/pino-datadog", | ||
"devDependencies": { | ||
"pino-multi-stream": "^4.2.0", | ||
"sinon": "^7.5.0", | ||
"standard": "^14.3.1", | ||
"tap": "^14.10.0" | ||
"pino-multi-stream": "^4.3.0", | ||
"sinon": "^9.0.2", | ||
"standard": "^14.3.3", | ||
"tap": "^14.10.7" | ||
}, | ||
"dependencies": { | ||
"axios": "^0.19.0", | ||
"axios": "^0.19.2", | ||
"batch2": "^1.0.6", | ||
"commander": "^4.0.1", | ||
"commander": "^5.0.0", | ||
"fast-json-parse": "^1.0.3", | ||
@@ -48,0 +48,0 @@ "pumpify": "^2.0.1", |
@@ -7,3 +7,2 @@ # pino-datadog | ||
[![Coverage Status](https://coveralls.io/repos/github/ovhemert/pino-datadog/badge.svg?branch=master)](https://coveralls.io/github/ovhemert/pino-datadog?branch=master) | ||
[![Greenkeeper badge](https://badges.greenkeeper.io/ovhemert/pino-datadog.svg)](https://greenkeeper.io/) | ||
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](http://standardjs.com/) | ||
@@ -10,0 +9,0 @@ |
@@ -18,2 +18,3 @@ #!/usr/bin/env node | ||
.option('-e, --eu', 'Use Datadog EU site') | ||
.option('--no-stdout', 'Disable output to stdout') | ||
.action(async options => { | ||
@@ -31,3 +32,6 @@ try { | ||
process.stdin.pipe(writeStream) | ||
process.stdin.pipe(process.stdout) | ||
if (!options.noStdout) { | ||
process.stdin.pipe(process.stdout) | ||
} | ||
} catch (error) { | ||
@@ -34,0 +38,0 @@ console.log(error.message) |
Sorry, the diff of this file is not supported yet
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
31003
391
53
+ Addedcommander@5.1.0(transitive)
- Removedcommander@4.1.1(transitive)
Updatedaxios@^0.19.2
Updatedcommander@^5.0.0