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
19
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.27 to 0.11.28

6

CHANGELOG.md

@@ -10,2 +10,8 @@ # Changelog

## [0.11.28] - 2020-10-23
### Fixed
- Export `StringMapper` interface [#1655](https://github.com/Shopify/quilt/pull/1655)
## [0.11.27] - 2020-10-20

@@ -12,0 +18,0 @@

3

dist/src/types.d.ts

@@ -25,2 +25,5 @@ export interface FieldState<Value> {

};
export interface StringMapper {
(input: string): any;
}
//# sourceMappingURL=types.d.ts.map

4

dist/src/validators.d.ts

@@ -0,7 +1,5 @@

import { StringMapper } from './types';
interface Matcher<Input, Fields = any> {
(input: Input, fields: Fields): boolean;
}
interface StringMapper {
(input: string): any;
}
declare type ErrorContent = string | StringMapper;

@@ -8,0 +6,0 @@ export declare function validateNested<Input extends object, Fields>(validatorDictionary: any): (input: Input, fields: Fields) => any;

{
"name": "@shopify/react-form-state",
"version": "0.11.27",
"version": "0.11.28",
"license": "MIT",

@@ -5,0 +5,0 @@ "description": "Manage React forms tersely and type-safely with no magic",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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