Comparing version 7.4.0 to 7.4.1
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 |
@@ -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", |
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
76137