formula-one
Advanced tools
Comparing version 0.6.3 to 0.6.5
# Changelog | ||
### v0.6.4 | ||
- Update Flow types to work with Flow 0.86.0. | ||
### v0.6.3 | ||
@@ -4,0 +8,0 @@ |
@@ -99,3 +99,4 @@ "use strict"; | ||
if (props.serverErrors !== state.oldServerErrors) { | ||
var newFormState = applyServerErrorsToFormState(props.serverErrors, state.formState); | ||
// prettier-ignore | ||
var newFormState = applyServerErrorsToFormState /*::<T>*/(props.serverErrors, state.formState); | ||
return { | ||
@@ -102,0 +103,0 @@ formState: newFormState, |
{ | ||
"name": "formula-one", | ||
"version": "0.6.3", | ||
"version": "0.6.5", | ||
"description": "Strongly-typed React form state management", | ||
@@ -15,3 +15,3 @@ "author": "Zach Gotsch", | ||
"build": "babel -d dist/ src/", | ||
"prepublishOnly": "yarn run flow && yarn run jest && yarn run build", | ||
"prepublishOnly": "yarn eslint ./src && yarn run flow && yarn run jest && yarn run build", | ||
"test": "jest" | ||
@@ -36,3 +36,3 @@ }, | ||
"eslint-plugin-react": "7.x", | ||
"flow-bin": "0.79.1", | ||
"flow-bin": "^0.86.0", | ||
"flow-typed": "^2.5.1", | ||
@@ -39,0 +39,0 @@ "husky": "^0.14.3", |
@@ -7,3 +7,2 @@ // @flow strict | ||
MetaField, | ||
MetaForm, | ||
OnBlur, | ||
@@ -128,3 +127,4 @@ OnValidation, | ||
if (props.serverErrors !== state.oldServerErrors) { | ||
const newFormState = applyServerErrorsToFormState( | ||
// prettier-ignore | ||
const newFormState = applyServerErrorsToFormState/*::<T>*/( | ||
props.serverErrors, | ||
@@ -131,0 +131,0 @@ state.formState |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
258502
6256