Socket
Socket
Sign inDemoInstall

formula-one

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

formula-one - npm Package Compare versions

Comparing version 0.6.3 to 0.6.5

4

CHANGELOG.md
# Changelog
### v0.6.4
- Update Flow types to work with Flow 0.86.0.
### v0.6.3

@@ -4,0 +8,0 @@

3

dist/Form.js

@@ -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

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