@madgex/datadog-monitoring
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -38,7 +38,7 @@ #!/usr/bin/env node | ||
function handle(signal) { | ||
serverProcess.kill(signal); | ||
process.kill(serverProcess.pid, signal); | ||
} | ||
process.on('SIGINT', handle); | ||
process.on('SIGTERM', handle); | ||
process.on('SIGINT', () => process.exit()); | ||
process.on('SIGTERM', () => process.exit()); | ||
process.on('exit', handle); | ||
@@ -45,0 +45,0 @@ } |
{ | ||
"name": "@madgex/datadog-monitoring", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "", | ||
@@ -13,2 +13,3 @@ "main": "index.js", | ||
"test": "jest", | ||
"test:integration": "node test/integration/index.js", | ||
"lint": "eslint ." | ||
@@ -15,0 +16,0 @@ }, |
@@ -39,8 +39,8 @@ const dgram = require('dgram'); | ||
result = JSON.stringify(entry); | ||
} catch (e) { | ||
// Always output *something*, regardless of error | ||
} finally { | ||
if (echo) { | ||
console.log(result); | ||
} | ||
} catch (e) { | ||
// Always output *something*, regardless of error | ||
} finally { | ||
cb(null, result); | ||
@@ -47,0 +47,0 @@ } |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
20461
21
518
6