pino-datadog
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -16,6 +16,16 @@ # Changelog | ||
## [Unreleased](https://github.com/ovhemert/pino-datadog/compare/v2.0.1...HEAD) | ||
## [Unreleased](https://github.com/ovhemert/pino-datadog/compare/v2.0.2...HEAD) | ||
- ... | ||
## [2.0.2](https://github.com/ovhemert/pino-datadog/compare/v2.0.1...v2.0.2) - 2021-02-25 | ||
### Fixed | ||
- Add missing batch size CLI option by [@abalhier](https://github.com/abalhier) | ||
### Security | ||
- Fixed external vulnerabilities by upgrading dependencies by [@ovhemert](https://github.com/ovhemert) | ||
## [2.0.1](https://github.com/ovhemert/pino-datadog/compare/v2.0.0...v2.0.1) - 2020-09-09 | ||
@@ -22,0 +32,0 @@ |
{ | ||
"name": "pino-datadog", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"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": "^5.1.1", | ||
"sinon": "^9.0.2", | ||
"pino-multi-stream": "^5.2.0", | ||
"sinon": "^9.2.4", | ||
"standard": "^14.3.4", | ||
"tap": "^14.10.8" | ||
"tap": "^14.11.0" | ||
}, | ||
"dependencies": { | ||
"axios": "^0.20.0", | ||
"axios": "^0.21.1", | ||
"batch2": "^1.0.6", | ||
"commander": "^6.1.0", | ||
"commander": "^6.2.1", | ||
"fast-json-parse": "^1.0.3", | ||
@@ -48,0 +48,0 @@ "pumpify": "^2.0.1", |
@@ -18,2 +18,3 @@ #!/usr/bin/env node | ||
.option('-e, --eu', 'Use Datadog EU site') | ||
.option('-b, --batch <size>', 'The number of log messages to send as a single batch (defaults to 1)') | ||
.option('--no-stdout', 'Disable output to stdout') | ||
@@ -28,3 +29,4 @@ .action(async options => { | ||
hostname: options.hostname || process.env.DD_HOSTNAME, | ||
eu: options.eu || !!process.env.DD_EU | ||
eu: options.eu || !!process.env.DD_EU, | ||
size: options.batch || 1 | ||
} | ||
@@ -31,0 +33,0 @@ const writeStream = await pinoDataDog.createWriteStream(config) |
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
38382
412
+ Addedaxios@0.21.4(transitive)
- Removedaxios@0.20.0(transitive)
Updatedaxios@^0.21.1
Updatedcommander@^6.2.1