Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hot-shots

Package Overview
Dependencies
Maintainers
1
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hot-shots - npm Package Compare versions

Comparing version 5.6.1 to 5.6.2

3

CHANGES.md
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

5

lib/statsFunctions.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc