hadron-type-checker
Advanced tools
Comparing version 0.15.0 to 0.16.0
@@ -86,3 +86,9 @@ 'use strict'; | ||
function toBoolean(object) { | ||
if (object.toLowerCase() === 'true') { | ||
if (isString(object)) { | ||
if (object.toLowerCase() === 'true') { | ||
return true; | ||
} | ||
return false; | ||
} | ||
if (object) { | ||
return true; | ||
@@ -89,0 +95,0 @@ } |
@@ -7,3 +7,3 @@ { | ||
"homepage": "https://github.com/mongodb-js/hadron-type-checker", | ||
"version": "0.15.0", | ||
"version": "0.16.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
21416
338