Socket
Socket
Sign inDemoInstall

hot-shots

Package Overview
Dependencies
Maintainers
1
Versions
90
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 2.3.0 to 2.3.1

CHANGES.md~

3

CHANGES.md

@@ -9,2 +9,5 @@ CHANGELOG

## 2.3.1 (2015-1-17)
* @Pchelolo Ensure messages not larger then maxBufferSize
## 2.3.0 (2015-1-17)

@@ -11,0 +14,0 @@ * @bdeitte Fix increment(name, 0) to send a 0 count instead of 1

7

lib/statsd.js

@@ -331,6 +331,9 @@ var dgram = require('dgram'),

Client.prototype.enqueue = function(message){
this.buffer += message + "\n";
if(this.buffer.length >= this.maxBufferSize) {
message += "\n";
if (this.buffer.length + message.length > this.maxBufferSize) {
this.flushQueue();
}
this.buffer += message;
};

@@ -337,0 +340,0 @@

{
"name": "hot-shots",
"description": "Node.js client for StatsD, DogStatsD, and Telegraf",
"version": "2.3.0",
"version": "2.3.1",
"author": "Steve Ivy",

@@ -6,0 +6,0 @@ "contributors": [

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