Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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 0.3.7 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.",

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