@metrics/metric
Advanced tools
Comparing version 2.0.0 to 2.1.0
@@ -67,3 +67,3 @@ 'use strict'; | ||
const validValue = (value) => { | ||
return Number.isSafeInteger(value) || value === null || value === undefined; | ||
return Number.isFinite(value) || value === null || value === undefined; | ||
}; | ||
@@ -70,0 +70,0 @@ module.exports.validValue = validValue; |
{ | ||
"name": "@metrics/metric", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "The metric class definition which metric objects in the @metrics library is instansiated from", | ||
@@ -5,0 +5,0 @@ "main": "lib/metric.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
12142