Comparing version 7.4.2 to 7.5.0
@@ -230,3 +230,2 @@ module.exports = { | ||
"prefer-numeric-literals": "error", | ||
"prefer-object-spread": "error", | ||
"prefer-promise-reject-errors": "error", | ||
@@ -233,0 +232,0 @@ "prefer-reflect": "off", |
CHANGELOG | ||
========= | ||
## 7.5.0 (2020-6-5) | ||
* @benblack86 Unreference underlying socket/interval to prevent process hangs | ||
## 7.4.2 (2020-5-5) | ||
@@ -5,0 +8,0 @@ * @kazk Fix types for set/unique |
@@ -80,2 +80,4 @@ const util = require('util'), | ||
this.intervalHandle = setInterval(this.onBufferFlushInterval.bind(this), this.bufferFlushInterval); | ||
// do not block node from shutting down | ||
this.intervalHandle.unref(); | ||
} | ||
@@ -82,0 +84,0 @@ |
@@ -31,2 +31,4 @@ const assert = require('assert'); | ||
socket.setKeepAlive(true); | ||
// do not block node from shutting down | ||
socket.unref(); | ||
return { | ||
@@ -47,2 +49,5 @@ emit: socket.emit.bind(socket), | ||
const socket = dgram.createSocket('udp4'); | ||
// do not block node from shutting down | ||
socket.unref(); | ||
const dnsResolutionData = { | ||
@@ -49,0 +54,0 @@ timestamp: new Date(0), |
{ | ||
"name": "hot-shots", | ||
"description": "Node.js client for StatsD, DogStatsD, and Telegraf", | ||
"version": "7.4.2", | ||
"version": "7.5.0", | ||
"author": "Steve Ivy", | ||
@@ -33,3 +33,3 @@ "types": "./types.d.ts", | ||
"coverage": "nyc --reporter=lcov --reporter=text npm test", | ||
"test": "mocha --exit -R spec --timeout 5000 test/*.js", | ||
"test": "mocha -R spec --timeout 5000 test/*.js", | ||
"lint": "eslint lib/**/*.js test/**/*.js", | ||
@@ -36,0 +36,0 @@ "pretest": "npm run lint" |
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
76512
1436