@contrail/types
Advanced tools
Comparing version 3.0.52 to 3.0.53
@@ -9,3 +9,3 @@ "use strict"; | ||
}) => { | ||
if (!value) { | ||
if (!value && value !== 0) { | ||
return value; | ||
@@ -12,0 +12,0 @@ } |
@@ -28,3 +28,3 @@ "use strict"; | ||
formatValueForProperty(value, property) { | ||
if (!value || !property) { | ||
if ((!value && value !== 0) || !property) { | ||
if (property?.propertyType === 'boolean') { | ||
@@ -31,0 +31,0 @@ return this.formatBoolean(value); |
{ | ||
"name": "@contrail/types", | ||
"version": "3.0.52", | ||
"version": "3.0.53", | ||
"description": "Types Utility module", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
71036