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 8.3.0 to 8.3.1

4

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

2

lib/helpers.js

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

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