Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pino-datadog

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pino-datadog - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

12

docs/CHANGELOG.md

@@ -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 @@

12

package.json
{
"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

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