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

react-jsonschema-form

Package Overview
Dependencies
Maintainers
6
Versions
103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-jsonschema-form - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

10

lib/components/fields/ArrayField.js

@@ -391,3 +391,2 @@ "use strict";

registry = _props3$registry === undefined ? (0, _utils.getDefaultRegistry)() : _props3$registry,
formContext = _props3.formContext,
onBlur = _props3.onBlur,

@@ -400,3 +399,4 @@ onFocus = _props3.onFocus,

definitions = registry.definitions,
fields = registry.fields;
fields = registry.fields,
formContext = registry.formContext;
var TitleField = fields.TitleField,

@@ -562,3 +562,4 @@ DescriptionField = fields.DescriptionField;

definitions = registry.definitions,
fields = registry.fields;
fields = registry.fields,
formContext = registry.formContext;
var TitleField = fields.TitleField;

@@ -613,3 +614,4 @@

title: title,
TitleField: TitleField
TitleField: TitleField,
formContext: formContext
};

@@ -616,0 +618,0 @@

7

lib/validate.js

@@ -196,3 +196,8 @@ "use strict";

function validateFormData(formData, schema, customValidate, transformErrors) {
ajv.validate(schema, formData);
try {
ajv.validate(schema, formData);
} catch (e) {
// swallow errors thrown in ajv due to invalid schemas, these
// still get displayed
}

@@ -199,0 +204,0 @@ var errors = transformAjvErrors(ajv.errors);

{
"name": "react-jsonschema-form",
"version": "1.0.1",
"version": "1.0.2",
"description": "A simple React component capable of building HTML forms out of a JSON schema.",

@@ -84,3 +84,3 @@ "scripts": {

"react-addons-test-utils": "^15.3.2",
"react-codemirror2": "^2.0.2",
"react-codemirror2": "^4.1.0",
"react-dom": "^15.3.2",

@@ -87,0 +87,0 @@ "react-transform-catch-errors": "^1.0.0",

Sorry, the diff of this file is too big to display

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