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.35.0 to 0.35.1

11

lib/components/widgets/BaseInput.js

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

function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
function BaseInput(props) {
// Note: since React 15.2.0 we can't forward unknown element attributes, so we
// exclude the "options" and "schema" ones here.
var value = props.value;
var readonly = props.readonly;
var _onChange = props.onChange;
var options = props.options;
var // eslint-disable-line
schema = props.schema;
return _react2.default.createElement("input", _extends({}, props, {
var inputProps = _objectWithoutProperties(props, ["value", "readonly", "onChange", "options", "schema"]);
return _react2.default.createElement("input", _extends({}, inputProps, {
className: "form-control",

@@ -23,0 +32,0 @@ readOnly: readonly,

2

package.json
{
"name": "react-jsonschema-form",
"version": "0.35.0",
"version": "0.35.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