New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@madgex/datadog-monitoring

Package Overview
Dependencies
Maintainers
19
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@madgex/datadog-monitoring - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

17

cli.js

@@ -42,9 +42,12 @@ #!/usr/bin/env node

function handle(signal) {
process.kill(serverProcess.pid, signal);
}
process.on('SIGINT', () => process.exit());
process.on('SIGTERM', () => process.exit());
process.on('exit', handle);
['SIGINT', 'SIGTERM', 'SIGQUIT', 'SIGHUP', 'exit'].forEach((signal) =>
process.on(signal, () => {
try {
process.kill(serverProcess.pid, signal);
} catch (err) {
console.error(`Error while killing child process:`, err);
}
process.exit();
})
);
}

@@ -51,0 +54,0 @@

{
"name": "@madgex/datadog-monitoring",
"version": "3.0.0",
"version": "3.0.1",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -45,3 +45,11 @@ # Madgex Datadog Logging and Monitoring

options: {
prettyPrint: IS_DEV,
// prettyPrint has been deprecated in pino
// if you want to use it, you can add 'pino-pretty' as a dev dependency to your service
// and implement it as below (see options here: https://github.com/pinojs/pino-pretty)
// (note: pino-pretty should only be used in development)
...(IS_DEV && {
transport: {
target: 'pino-pretty',
},
}),
level: LOG_LEVEL,

@@ -48,0 +56,0 @@ redact: ['req.headers.authorization'],

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