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 10.1.0 to 10.1.1

4

CHANGES.md
CHANGELOG
=========
## 10.1.1 (2024-9-12)
@matteosb Handle synchronous socket.send error in sendUsingDnsCache
## 10.1.0 (2024-9-6)

@@ -5,0 +9,0 @@

@@ -66,6 +66,14 @@ const assert = require('assert');

dnsResolutionData.timestamp = now;
socket.send(buf, 0, buf.length, args.port, dnsResolutionData.resolvedAddress, callback);
try {
socket.send(buf, 0, buf.length, args.port, dnsResolutionData.resolvedAddress, callback);
} catch (socketError) {
callback(socketError);
}
});
} else {
socket.send(buf, 0, buf.length, args.port, dnsResolutionData.resolvedAddress, callback);
try {
socket.send(buf, 0, buf.length, args.port, dnsResolutionData.resolvedAddress, callback);
} catch (socketError) {
callback(socketError);
}
}

@@ -82,3 +90,7 @@ };

} else {
socket.send(buf, 0, buf.length, args.port, args.host, callback);
try {
socket.send(buf, 0, buf.length, args.port, args.host, callback);
} catch (socketError) {
callback(socketError);
}
}

@@ -85,0 +97,0 @@ },

2

package.json
{
"name": "hot-shots",
"description": "Node.js client for StatsD, DogStatsD, and Telegraf",
"version": "10.1.0",
"version": "10.1.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