@sinclair/typebox
Advanced tools
Comparing version 0.16.2 to 0.16.3
{ | ||
"name": "@sinclair/typebox", | ||
"version": "0.16.2", | ||
"version": "0.16.3", | ||
"description": "JSONSchema Type Builder with Static Type Resolution for TypeScript", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -191,3 +191,3 @@ "use strict"; | ||
const required = items.reduce((acc, object) => object['required'] ? [...acc, ...object['required']] : acc, []); | ||
return { ...options, type, kind: exports.ObjectKind, additionalProperties, properties, required }; | ||
return { ...options, type, kind: exports.ObjectKind, additionalProperties, properties, required: [...new Set(required)] }; | ||
} | ||
@@ -194,0 +194,0 @@ /** `STANDARD` Make all properties in schema object required. */ |
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
76299