Comparing version 5.6.1 to 5.6.2
CHANGELOG | ||
========= | ||
## 5.6.2 (2018-6-15) | ||
* @mjesuele Fix time in timer | ||
## 5.6.1 (2018-6-4) | ||
@@ -5,0 +8,0 @@ * @MattySheikh Typescript: add socket type for StatsD class |
@@ -35,3 +35,6 @@ "use strict"; | ||
// get duration in milliseconds | ||
var duration = process.hrtime(start)[1] / 1000000; | ||
var durationComponents = process.hrtime(start); | ||
var seconds = durationComponents[0]; | ||
var nanoseconds = durationComponents[1]; | ||
var duration = seconds * 1000 + nanoseconds / 10E6; | ||
@@ -38,0 +41,0 @@ _this.timing( |
{ | ||
"name": "hot-shots", | ||
"description": "Node.js client for StatsD, DogStatsD, and Telegraf", | ||
"version": "5.6.1", | ||
"version": "5.6.2", | ||
"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
51153
799