Comparing version 9.3.0 to 10.0.0
CHANGELOG | ||
========= | ||
## 10.0 (2023-2-3) | ||
@imyourmanzi In TypeScript, narrow callback parameter types | ||
@bdeitte Remove Node 8 from supported list and add testing of Node 18 | ||
## 9.3.0 (2022-10-23) | ||
@@ -5,0 +9,0 @@ * @albert-mirzoyan add stream property type to ClientOptions |
{ | ||
"name": "hot-shots", | ||
"description": "Node.js client for StatsD, DogStatsD, and Telegraf", | ||
"version": "9.3.0", | ||
"version": "10.0.0", | ||
"author": "Steve Ivy", | ||
@@ -30,3 +30,3 @@ "types": "./types.d.ts", | ||
"engines": { | ||
"node": ">=6.0.0" | ||
"node": ">=10.0.0" | ||
}, | ||
@@ -44,3 +44,3 @@ "scripts": { | ||
"eslint": "5.x", | ||
"mocha": "6.x", | ||
"mocha": "8.x", | ||
"nyc": "15.x" | ||
@@ -47,0 +47,0 @@ }, |
@@ -19,12 +19,6 @@ # hot-shots | ||
hot-shots supports Node 8.x and higher. | ||
hot-shots supports Node 10.x and higher. | ||
![Build Status](https://github.com/brightcove/hot-shots/actions/workflows/node.js.yml/badge.svg) | ||
## Migrating from node-statsd | ||
You should only need to do one thing: change node-statsd to hot-shots in all requires. | ||
You can check the detailed [change log](https://github.com/brightcove/hot-shots/blob/master/CHANGES.md) for what has changed since the last release of node-statsd. | ||
## Usage | ||
@@ -279,5 +273,11 @@ | ||
## Migrating from node-statsd | ||
You should only need to do one thing: change node-statsd to hot-shots in all requires. | ||
You can check the detailed [change log](https://github.com/brightcove/hot-shots/blob/master/CHANGES.md) for what has changed since the last release of node-statsd. | ||
## Submitting changes | ||
Thanks for considering making any updates to this project! Here are the steps to take in your fork: | ||
Thanks for considering making any updates to this project! This project is entirely community-driven, and so your changes are important. Here are the steps to take in your fork: | ||
@@ -284,0 +284,0 @@ 1. Run "npm install" |
@@ -76,3 +76,3 @@ import dgram = require("dgram"); | ||
export type StatsCb = (error: Error | undefined, bytes: any) => void; | ||
export type StatsCb = (error?: Error, bytes?: number) => void; | ||
@@ -79,0 +79,0 @@ export class StatsD { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
91004