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

@marfle/winston-transport-datadog

Package Overview
Dependencies
Maintainers
3
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@marfle/winston-transport-datadog - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

8

datadog-transport.js

@@ -10,11 +10,11 @@ const tls = require('tls');

bufferSize: 10000,
reconnectInterval: 10000, // used when transport is idle and there are messages in buffer
reconnectInterval: 10000 // used when transport is idle and there are messages in buffer
};
const defaultSocketOptions = {
timeout: 10000,
timeout: 10000
};
const defaultMetadata = {
ddsource: 'winston',
ddsource: 'winston'
};

@@ -29,3 +29,3 @@

metadata: { ...defaultMetadata, ...metadata },
...restOpts,
...restOpts
};

@@ -32,0 +32,0 @@ super(config);

@@ -1,2 +0,2 @@

const DatadogTransport = require("./datadog-transport");
const DatadogTransport = require('./datadog-transport');

@@ -3,0 +3,0 @@ module.exports = {

{
"name": "@marfle/winston-transport-datadog",
"version": "0.1.0",
"version": "0.2.0",
"description": "Datadog logging transport for winston",

@@ -34,3 +34,3 @@ "main": "index.js",

"engines": {
"node": ">=10"
"node": ">=12"
},

@@ -41,10 +41,10 @@ "peerDependencies": {

"devDependencies": {
"eslint": "^6.4.0",
"jest": "^24.9.0",
"eslint": "^6.8.0",
"jest": "^25.1.0",
"winston": "^3.2.1"
},
"dependencies": {
"async": "^3.1.0",
"async": "^3.1.1",
"fast-safe-stringify": "^2.0.7"
}
}
# winston-transport-datadog
[![npm (scoped)](https://img.shields.io/npm/v/@marfle/winston-transport-datadog.svg)](https://www.npmjs.com/package/@marfle/winston-transport-datadog)
[![npm (scoped)](https://img.shields.io/npm/v/@marfle/winston-transport-datadog.svg)](https://www.npmjs.com/package/@marfle/winston-transport-datadog) ![node (scoped)](https://img.shields.io/node/v/@marfle/winston-transport-datadog)

@@ -30,6 +30,6 @@ [`winston`](https://github.com/winstonjs/winston) transport for Datadog logging.

environment: process.env.NODE_ENV,
service: 'myService',
},
}),
],
service: 'myService'
}
})
]
});

@@ -36,0 +36,0 @@ ```

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