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.0 to 7.4.1

3

CHANGES.md
CHANGELOG
=========
## 7.4.1 (2020-4-28)
* @lbeschastny Sanitize ',' tags characters for telegraf
## 7.4.0 (2020-4-3)

@@ -5,0 +8,0 @@ * @MichaelSitter add tagPrefix and tagSeparator options

2

lib/helpers.js

@@ -7,3 +7,3 @@ const fs = require('fs');

function sanitizeTags(value, telegraf) {
const blacklist = telegraf ? /:|\|/g : /:|\||@|,/g;
const blacklist = telegraf ? /:|\||,/g : /:|\||@|,/g;
// Replace reserved chars with underscores.

@@ -10,0 +10,0 @@ return String(value).replace(blacklist, '_');

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