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 7.4.2 to 7.5.0

1

.eslintrc.js

@@ -230,3 +230,2 @@ module.exports = {

"prefer-numeric-literals": "error",
"prefer-object-spread": "error",
"prefer-promise-reject-errors": "error",

@@ -233,0 +232,0 @@ "prefer-reflect": "off",

3

CHANGES.md
CHANGELOG
=========
## 7.5.0 (2020-6-5)
* @benblack86 Unreference underlying socket/interval to prevent process hangs
## 7.4.2 (2020-5-5)

@@ -5,0 +8,0 @@ * @kazk Fix types for set/unique

@@ -80,2 +80,4 @@ const util = require('util'),

this.intervalHandle = setInterval(this.onBufferFlushInterval.bind(this), this.bufferFlushInterval);
// do not block node from shutting down
this.intervalHandle.unref();
}

@@ -82,0 +84,0 @@

@@ -31,2 +31,4 @@ const assert = require('assert');

socket.setKeepAlive(true);
// do not block node from shutting down
socket.unref();
return {

@@ -47,2 +49,5 @@ emit: socket.emit.bind(socket),

const socket = dgram.createSocket('udp4');
// do not block node from shutting down
socket.unref();
const dnsResolutionData = {

@@ -49,0 +54,0 @@ timestamp: new Date(0),

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

@@ -33,3 +33,3 @@ "types": "./types.d.ts",

"coverage": "nyc --reporter=lcov --reporter=text npm test",
"test": "mocha --exit -R spec --timeout 5000 test/*.js",
"test": "mocha -R spec --timeout 5000 test/*.js",
"lint": "eslint lib/**/*.js test/**/*.js",

@@ -36,0 +36,0 @@ "pretest": "npm run lint"

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