🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@shopify/react-form

Package Overview
Dependencies
Maintainers
13
Versions
161
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shopify/react-form - npm Package Compare versions

Comparing version

to
0.3.8

10

dist/types.d.ts

@@ -72,5 +72,9 @@ import { ChangeEvent } from 'react';

} : T;
export declare type FormMapping<Bag extends {
[key: string]: FieldOutput<any>;
}, FieldKey extends keyof Field<any>> = {
/**
Represents all of the values for a given key mapped out of a mixed dictionary of Field objects,
nested Field objects, and arrays of nested Field objects.
This is generally only useful if you're mapping over and transforming a nested tree of fields.
*/
export declare type FormMapping<Bag, FieldKey extends keyof Field<any>> = {
[Key in keyof Bag]: Bag[Key] extends any[] ? {

@@ -77,0 +81,0 @@ [Index in keyof Bag[Key]]: FieldProp<Bag[Key][Index], FieldKey>;

{
"name": "@shopify/react-form",
"version": "0.3.7",
"version": "0.3.8",
"license": "MIT",

@@ -5,0 +5,0 @@ "description": "Manage react forms tersely and safely-typed with no magic using React hooks.",