formula-one
Advanced tools
Comparing version 0.9.0-alpha.5 to 0.9.0-alpha.6
@@ -33,2 +33,3 @@ # Changelog | ||
- Fix flow types for ErrorHelper. | ||
- Bump internal flow version to 0.95.1 | ||
@@ -35,0 +36,0 @@ ### v0.8.2 |
@@ -73,3 +73,7 @@ "use strict"; | ||
} else { | ||
console.error("Warning: couldn't match error with path " + key + " to value " + JSON.stringify(value)); | ||
var valueStr = JSON.stringify(value); | ||
if (valueStr === undefined) { | ||
valueStr = "undefined"; | ||
} | ||
console.error("Warning: couldn't match error with path " + key + " to value " + valueStr); | ||
} | ||
@@ -76,0 +80,0 @@ }); |
@@ -53,5 +53,4 @@ "use strict"; | ||
React.createElement(Component, _extends({}, otherProps, { | ||
formContext: formContext | ||
// $FlowFixMe I don't understand why you are complaining, Flow | ||
, ref: forwardedRef | ||
formContext: formContext, | ||
ref: forwardedRef | ||
})) | ||
@@ -58,0 +57,0 @@ ); |
{ | ||
"name": "formula-one", | ||
"version": "0.9.0-alpha.5", | ||
"version": "0.9.0-alpha.6", | ||
"description": "Strongly-typed React form state management", | ||
@@ -35,3 +35,3 @@ "author": "Zach Gotsch", | ||
"eslint-plugin-react": "7.x", | ||
"flow-bin": "^0.86.0", | ||
"flow-bin": "^0.95.1", | ||
"flow-typed": "^2.5.1", | ||
@@ -38,0 +38,0 @@ "husky": "^0.14.3", |
@@ -77,6 +77,8 @@ // @flow strict | ||
} else { | ||
let valueStr = JSON.stringify(value); | ||
if (valueStr === undefined) { | ||
valueStr = "undefined"; | ||
} | ||
console.error( | ||
`Warning: couldn't match error with path ${key} to value ${JSON.stringify( | ||
value | ||
)}` | ||
`Warning: couldn't match error with path ${key} to value ${valueStr}` | ||
); | ||
@@ -83,0 +85,0 @@ } |
@@ -34,3 +34,2 @@ // @flow strict | ||
formContext={formContext} | ||
// $FlowFixMe I don't understand why you are complaining, Flow | ||
ref={forwardedRef} | ||
@@ -37,0 +36,0 @@ /> |
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
326578
8233