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

@bigfishtv/react-forms

Package Overview
Dependencies
Maintainers
3
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bigfishtv/react-forms - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

8

lib/Component.js

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

get: function get() {
(0, _invariant2.default)(this.props.formValue || this.context.formValue, 'A form component <%s /> should receive form value via props ' + 'or be used as a part of element hierarchy which ' + 'provides form value via context.', this.constructor.displayName || this.constructor.name);
var formValue = this.props.formValue || this.context.formValue;
if (this.props.formValue) {
return this.props.formValue;
}
(0, _invariant2.default)(formValue, 'A form component <%s /> should receive form value via props ' + 'or be used as a part of element hierarchy which ' + 'provides form value via context.', this.constructor.displayName || this.constructor.name);
var formValue = this.context.formValue;
var select = this.props.select || this.props.selectFormValue;

@@ -77,0 +73,0 @@ // We check for select !== true to keep compatability we eariler

{
"name": "@bigfishtv/react-forms",
"version": "2.0.2",
"version": "2.0.3",
"description": "Forms library for React",

@@ -9,3 +9,4 @@ "homepage": "https://github.com/bigfishtv/react-forms",

"test": "make test-cov",
"prepublish": "make clean && make"
"prepublish": "make clean && make",
"postpublish": "git push --follow-tags"
},

@@ -12,0 +13,0 @@ "babel": {

# React Forms (@bigfishtv fork)
**Note: This fork of React Forms will be maintained to suit the internal projects of [bigfishtv](https://github.com/bigfishtv). At the moment
[![npm version](https://badge.fury.io/js/%40bigfishtv%2Freact-forms.svg)](https://badge.fury.io/js/%40bigfishtv%2Freact-forms)
**Note: This fork of [React Forms](https://github.com/prometheusresearch/react-forms) will be maintained to suit the internal projects of [bigfishtv](https://github.com/bigfishtv). At the moment
there is feature parity with react-forms@2.0.0-beta35, with some changes to support React 15.5**
Notable changes
- Use PropTypes from 'prop-types' instead of React.PropTypes
- `<Field />` uses empty string instead of null/undefined for `<input />` components to prevent React 15.4 warning about uncontrolled -> controlled inputs.
- Prevent spreading unnecessary props on child components
---

@@ -7,0 +13,0 @@

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