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 0.36.0 to 0.36.1

18

lib/components/fields/DescriptionField.js

@@ -17,7 +17,15 @@ "use strict";

return _react2.default.createElement(
"div",
{ id: id, className: "field-description" },
description
);
if (typeof description === "string") {
return _react2.default.createElement(
"p",
{ id: id, className: "field-description" },
description
);
} else {
return _react2.default.createElement(
"div",
{ id: id, className: "field-description" },
description
);
}
}

@@ -24,0 +32,0 @@

@@ -139,3 +139,3 @@ "use strict";

displayLabel && label ? getLabel(label, required, id) : null,
description ? _react2.default.createElement(_DescriptionField2.default, { id: id + "__description", description: description }) : null,
displayLabel && description ? _react2.default.createElement(_DescriptionField2.default, { id: id + "__description", description: description }) : null,
children,

@@ -142,0 +142,0 @@ isError ? _react2.default.createElement(ErrorList, { errors: errors }) : _react2.default.createElement("div", null),

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

@@ -5,0 +5,0 @@ "scripts": {

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