@mintlify/validation
Advanced tools
Comparing version
@@ -475,4 +475,6 @@ import lcm from 'lcm'; | ||
let convertedSchema; | ||
const hasRequired = !!required && Array.isArray(required); | ||
const isRequired = hasRequired && required.includes(name); | ||
try { | ||
convertedSchema = this.convertSchemaRecursive(propPath, schema, (required === null || required === void 0 ? void 0 : required.includes(name)) ? true : undefined); | ||
convertedSchema = this.convertSchemaRecursive(propPath, schema, isRequired ? isRequired : undefined); | ||
} | ||
@@ -479,0 +481,0 @@ catch (error) { |
{ | ||
"name": "@mintlify/validation", | ||
"version": "0.1.361", | ||
"version": "0.1.362", | ||
"description": "Validates mint.json files", | ||
@@ -63,3 +63,3 @@ "author": "Mintlify, Inc.", | ||
}, | ||
"gitHead": "4e657c2dd28d752e1470a01c8559893740b51e1f" | ||
"gitHead": "ac5006c64de5ace7b7516691d1366462056e6ea3" | ||
} |
Sorry, the diff of this file is not supported yet
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
1584559
0.01%37152
0.01%