Comparing version 7.2.0 to 7.3.0
CHANGELOG | ||
========= | ||
## 7.1.0 (2020-3-19) | ||
## 7.3.0 (2020-4-1) | ||
* @marciopd Use Date.now() instead of new Date() | ||
* @chotiwat Add UDS graceful error handling options to typescript | ||
* @bdeitte Update packages, most notably getting node-unix-dgram 2.0.4 | ||
## 7.2.0 (2020-3-19) | ||
* @marciopd Add cacheDnsTtl | ||
@@ -6,0 +11,0 @@ * @dependabot Bump acorn from 6.3.0 to 6.4.1 |
@@ -52,3 +52,3 @@ const assert = require('assert'); | ||
const sendUsingDnsCache = (callback, buf) => { | ||
const now = new Date(); | ||
const now = Date.now(); | ||
if (dnsResolutionData.resolvedAddress === undefined || (now - dnsResolutionData.timestamp > args.cacheDnsTtl)) { | ||
@@ -55,0 +55,0 @@ dns.lookup(args.host, (error, address) => { |
{ | ||
"name": "hot-shots", | ||
"description": "Node.js client for StatsD, DogStatsD, and Telegraf", | ||
"version": "7.2.0", | ||
"version": "7.3.0", | ||
"author": "Steve Ivy", | ||
@@ -6,0 +6,0 @@ "types": "./types.d.ts", |
@@ -26,2 +26,4 @@ import dgram = require("dgram"); | ||
useDefaultRoute?: boolean; | ||
udsGracefulErrorHandling?: boolean; | ||
udsGracefulRestartRateLimit?: number; | ||
} | ||
@@ -28,0 +30,0 @@ |
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
75513
1425
3