prom-client
Advanced tools
Comparing version 11.5.1 to 11.5.2
@@ -16,2 +16,14 @@ # Changelog | ||
## [11.5.2] - 2019-06-20 | ||
### Changed | ||
- fix: avoid mutation bug in registry | ||
## [11.5.1] - 2019-06-13 | ||
### Changed | ||
- fix: guard against missing constructor | ||
## [11.5.0] - 2019-06-04 | ||
@@ -18,0 +30,0 @@ |
@@ -39,2 +39,8 @@ 'use strict'; | ||
val.labels = val.labels || {}; | ||
if (defaultLabelNames.length > 0) { | ||
// Make a copy before mutating | ||
val.labels = Object.assign({}, val.labels); | ||
} | ||
for (const labelName of defaultLabelNames) { | ||
@@ -41,0 +47,0 @@ val.labels[labelName] = |
{ | ||
"name": "prom-client", | ||
"version": "11.5.1", | ||
"version": "11.5.2", | ||
"description": "Client for prometheus", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
112794
2791