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

@shopify/react-form-state

Package Overview
Dependencies
Maintainers
13
Versions
146
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shopify/react-form-state - npm Package Compare versions

Comparing version 0.11.2 to 0.11.3

2

dist/FormState.d.ts

@@ -11,3 +11,3 @@ import * as React from 'react';

interface SubmitHandler<Fields> {
(formDetails: FormData<Fields>): MaybePromise<RemoteError[]> | MaybePromise<void>;
(formDetails: FormData<Fields>): MaybePromise<RemoteError[]> | MaybePromise<void> | MaybePromise<RemoteError[] | void>;
}

@@ -14,0 +14,0 @@ export declare type Validator<T, F> = MaybeArray<ValidationFunction<T, F>>;

{
"name": "@shopify/react-form-state",
"version": "0.11.2",
"version": "0.11.3",
"license": "MIT",

@@ -5,0 +5,0 @@ "description": "Manage react forms tersely and type-safe with no magic.",

@@ -25,3 +25,4 @@ /* eslint-disable no-case-declarations */

| MaybePromise<RemoteError[]>
| MaybePromise<void>;
| MaybePromise<void>
| MaybePromise<RemoteError[] | void>;
}

@@ -28,0 +29,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