openapi-police
Advanced tools
Comparing version 1.0.6 to 1.0.7
@@ -195,3 +195,8 @@ "use strict"; | ||
if (type === 'boolean') { | ||
out = (out === 'true' || out === '1'); | ||
if (out === 'true' || out === '1') { | ||
out = true; | ||
} | ||
else if (out === 'false' || out === '0') { | ||
out = false; | ||
} | ||
} | ||
@@ -198,0 +203,0 @@ else if (type === 'number' || type === 'integer') { |
{ | ||
"name": "openapi-police", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "OpenAPI v3 validators and utilities", | ||
@@ -5,0 +5,0 @@ "main": "dist/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
29066
757