Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-json-schema-ui-editor

Package Overview
Dependencies
Maintainers
0
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-json-schema-ui-editor - npm Package Compare versions

Comparing version 0.4.1 to 0.4.2

2

dist/index.d.ts

@@ -127,3 +127,3 @@ import * as react_jsx_runtime from 'react/jsx-runtime';

declare const jsonSchemaAvailableTypes: readonly ["string", "number", "integer", "boolean", "date", "object", "array"];
declare const jsonSchemaAvailableTypes: readonly ["string", "number", "integer", "boolean", "object", "array"];
declare const jsonSchemaPossibleFields: readonly ["type", "description", "title", "property", "minimum", "maximum", "enum"];

@@ -130,0 +130,0 @@ declare const jsonSchemaPossibleFieldType: readonly ["select", "integer", "float", "string", "bigString", "enum"];

@@ -144,3 +144,3 @@ // src/components/JsonSchemaContext.tsx

// src/jsonSchemaDescriptor.ts
var jsonSchemaAvailableTypes = ["string", "number", "integer", "boolean", "date", "object", "array"];
var jsonSchemaAvailableTypes = ["string", "number", "integer", "boolean", "object", "array"];
var jsonSchemaPossibleFields = ["type", "description", "title", "property", "minimum", "maximum", "enum"];

@@ -155,3 +155,4 @@ var jsonSchemaPossibleFieldType = ["select", "integer", "float", "string", "bigString", "enum"];

renderInput,
path
path,
onClickAddProperty
}) => {

@@ -177,2 +178,3 @@ const {

setPropertyToBeAdded("");
if (onClickAddProperty) onClickAddProperty();
}

@@ -318,3 +320,6 @@ })

renderInput,
path
path,
onClickAddProperty: () => {
if (isRowCollapsed) setRowCollapsed(false);
}
}

@@ -321,0 +326,0 @@ ),

{
"name": "react-json-schema-ui-editor",
"version": "0.4.1",
"version": "0.4.2",
"description": "React component to edit json schema in a UI.",

@@ -5,0 +5,0 @@ "keywords": [

![NPM Version](https://img.shields.io/npm/v/react-json-schema-ui-editor)
![Tests Status](https://github.com/Sangrene/react-json-schema-ui-editor/actions/workflows/tests.yml/badge.svg)
# React Json Schema Editor

@@ -3,0 +4,0 @@ A configurable React component to display and edit a JSON Schema.

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

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc