hadron-type-checker
Advanced tools
Comparing version 4.0.1 to 4.0.2
@@ -175,2 +175,5 @@ 'use strict'; | ||
} | ||
if (isString(object) && object.endsWith('.')) { | ||
throw new Error('Please enter at least one digit after the decimal'); | ||
} | ||
const number = toNumber(object); | ||
@@ -177,0 +180,0 @@ return new Double(number); |
@@ -7,3 +7,3 @@ { | ||
"homepage": "https://github.com/mongodb-js/hadron-type-checker", | ||
"version": "4.0.1", | ||
"version": "4.0.2", | ||
"repository": { | ||
@@ -10,0 +10,0 @@ "type": "git", |
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
19908
320