hadron-type-checker
Advanced tools
Comparing version 2.0.0 to 2.1.0
@@ -42,2 +42,7 @@ 'use strict'; | ||
/** | ||
* False constant. | ||
*/ | ||
const FALSE = 'false'; | ||
/** | ||
* Long constant. | ||
@@ -116,4 +121,6 @@ */ | ||
return true; | ||
} else if (object.toLowerCase() === FALSE) { | ||
return false; | ||
} | ||
return false; | ||
throw new Error(`'${object}' is not a valid boolean string`); | ||
} | ||
@@ -120,0 +127,0 @@ if (object) { |
@@ -7,3 +7,3 @@ { | ||
"homepage": "https://github.com/mongodb-js/hadron-type-checker", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"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
19324
304
8