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

rc-field-form

Package Overview
Dependencies
Maintainers
5
Versions
159
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-field-form - npm Package Compare versions

Comparing version 1.32.1 to 1.32.2

7

es/Form.js

@@ -11,2 +11,3 @@ import _extends from "@babel/runtime/helpers/esm/extends";

import { isSimilar } from './utils/valueUtil';
import ListContext from './ListContext';
var Form = function Form(_ref, ref) {

@@ -110,5 +111,7 @@ var name = _ref.name,

}, [formInstance, validateTrigger]);
var wrapperNode = /*#__PURE__*/React.createElement(FieldContext.Provider, {
var wrapperNode = /*#__PURE__*/React.createElement(ListContext.Provider, {
value: null
}, /*#__PURE__*/React.createElement(FieldContext.Provider, {
value: formContextValue
}, childrenNode);
}, childrenNode));
if (Component === false) {

@@ -115,0 +118,0 @@ return wrapperNode;

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

var _valueUtil = require("./utils/valueUtil");
var _ListContext = _interopRequireDefault(require("./ListContext"));
var _excluded = ["name", "initialValues", "fields", "form", "preserve", "children", "component", "validateMessages", "validateTrigger", "onValuesChange", "onFieldsChange", "onFinish", "onFinishFailed"];

@@ -118,5 +119,7 @@ var Form = function Form(_ref, ref) {

}, [formInstance, validateTrigger]);
var wrapperNode = /*#__PURE__*/React.createElement(_FieldContext.default.Provider, {
var wrapperNode = /*#__PURE__*/React.createElement(_ListContext.default.Provider, {
value: null
}, /*#__PURE__*/React.createElement(_FieldContext.default.Provider, {
value: formContextValue
}, childrenNode);
}, childrenNode));
if (Component === false) {

@@ -123,0 +126,0 @@ return wrapperNode;

{
"name": "rc-field-form",
"version": "1.32.1",
"version": "1.32.2",
"description": "React Form Component",

@@ -5,0 +5,0 @@ "typings": "es/index.d.ts",

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