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

rc-form

Package Overview
Dependencies
Maintainers
1
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-form - npm Package Compare versions

Comparing version 0.7.1 to 0.7.2

6

lib/createForm.js

@@ -172,6 +172,10 @@ 'use strict';

var valuePropName = _fieldOption$valuePropName === undefined ? 'value' : _fieldOption$valuePropName;
var initialValue = fieldOption.initialValue;
var _fieldOption$validateTrigger = fieldOption.validateTrigger;
var validateTrigger = _fieldOption$validateTrigger === undefined ? defaultValidateTrigger : _fieldOption$validateTrigger;
var inputProps = _defineProperty({}, valuePropName, fieldOption.initialValue);
var inputProps = {};
if ('initialValue' in fieldOption) {
inputProps[valuePropName] = initialValue;
}
if (rules && validateTrigger) {

@@ -178,0 +182,0 @@ inputProps[validateTrigger] = this.getCacheBind(name, validateTrigger, this.onChangeValidate);

2

package.json
{
"name": "rc-form",
"version": "0.7.1",
"version": "0.7.2",
"description": "React High Order Form Component",

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

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