Comparing version 8.3.0 to 8.3.1
CHANGELOG | ||
========= | ||
## 8.3.1 (2021-4-1) | ||
* @dvd-z Fix date_happened to allow usage of numbers | ||
* @bdeitte Bump y18n from 4.0.0 to 4.0.1 | ||
## 8.3.0 (2020-12-16) | ||
@@ -5,0 +9,0 @@ * @chotiwat Handle UDS errors occurring when sending metrics |
@@ -71,3 +71,3 @@ const fs = require('fs'); | ||
timestamp = Math.round(date.getTime() / 1000); | ||
} else if (date instanceof Number) { | ||
} else if (date instanceof Number || typeof date === 'number') { | ||
// Make sure it is an integer, not a float. | ||
@@ -74,0 +74,0 @@ timestamp = Math.round(date); |
{ | ||
"name": "hot-shots", | ||
"description": "Node.js client for StatsD, DogStatsD, and Telegraf", | ||
"version": "8.3.0", | ||
"version": "8.3.1", | ||
"author": "Steve Ivy", | ||
@@ -6,0 +6,0 @@ "types": "./types.d.ts", |
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
83989