react-json-schema-ui-editor
Advanced tools
Comparing version 0.4.4 to 0.5.0
@@ -34,2 +34,6 @@ // src/components/JsonSchemaContext.tsx | ||
const setSchemaProperty = (path, property) => { | ||
if (typeof property === "undefined" || typeof property === "string" && property.length === 0 || Array.isArray(property) && property.length === 0) { | ||
removeSchemaProperty(path); | ||
return; | ||
} | ||
setSchema((prev) => { | ||
@@ -36,0 +40,0 @@ const splittedPath = path.split("."); |
{ | ||
"name": "react-json-schema-ui-editor", | ||
"version": "0.4.4", | ||
"version": "0.5.0", | ||
"description": "React component to edit json schema in a UI.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
99027
1054