@sinclair/typebox
Advanced tools
Comparing version 0.33.13 to 0.33.14
@@ -70,3 +70,3 @@ "use strict"; | ||
const truncateInteger = (value) => value.split('.')[0]; | ||
return IsStringNumeric(value) ? BigInt(truncateInteger(value)) : (0, index_5.IsNumber)(value) ? BigInt(value | 0) : IsValueFalse(value) ? BigInt(0) : IsValueTrue(value) ? BigInt(1) : value; | ||
return IsStringNumeric(value) ? BigInt(truncateInteger(value)) : (0, index_5.IsNumber)(value) ? BigInt(Math.trunc(value)) : IsValueFalse(value) ? BigInt(0) : IsValueTrue(value) ? BigInt(1) : value; | ||
} | ||
@@ -73,0 +73,0 @@ function TryConvertString(value) { |
{ | ||
"name": "@sinclair/typebox", | ||
"version": "0.33.13", | ||
"version": "0.33.14", | ||
"description": "Json Schema Type Builder with Static Type Resolution for TypeScript", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
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
1409382