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.10.0 to 0.10.1

6

lib/createForm.js

@@ -42,2 +42,3 @@ 'use strict';

var formPropName = _option$formPropName === undefined ? 'form' : _option$formPropName;
var withRef = option.withRef;

@@ -382,3 +383,3 @@ function decorate(WrappedComponent) {

value: function hasRules(validate) {
return validate.some(function (item) {
return validate && validate.some(function (item) {
return !!item.rules;

@@ -571,2 +572,5 @@ });

}
if (withRef) {
formProps.ref = 'wrappedComponent';
}
return _react2['default'].createElement(WrappedComponent, _extends({}, formProps, this.props));

@@ -573,0 +577,0 @@ }

5

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

@@ -45,2 +45,3 @@ "keywords": [

"antd": "^0.11.2",
"async": "^1.5.2",
"cz-conventional-changelog": "^1.1.5",

@@ -67,2 +68,2 @@ "expect.js": "0.3.x",

}
}
}

@@ -5,4 +5,2 @@ # rc-form

Note: This is unstable, under development now.
[![NPM version][npm-image]][npm-url]

@@ -9,0 +7,0 @@ [![build status][travis-image]][travis-url]

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