hadron-type-checker
Advanced tools
Comparing version 0.8.0 to 0.9.0
@@ -287,2 +287,6 @@ 'use strict'; | ||
return this._stringTypes(object); | ||
} else if (isNumber(object)) { | ||
return this._stringTypes(String(object)); | ||
} else if (has(object, BSON_TYPE) && object._bsontype === 'Long') { | ||
return this._stringTypes(String(object.toNumber())); | ||
} | ||
@@ -289,0 +293,0 @@ return [ this.type(object), 'String', 'Object', 'Array' ]; |
@@ -7,3 +7,3 @@ { | ||
"homepage": "https://github.com/mongodb-js/hadron-type-checker", | ||
"version": "0.8.0", | ||
"version": "0.9.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
18698
271