New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

formular

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

formular - npm Package Compare versions

Comparing version 2.1.4 to 2.1.5

lib/FieldState.d.ts

4

lib/Field.d.ts

@@ -14,4 +14,4 @@ import { CancelablePromise } from './util/index';

};
declare type State<ValueType> = {
value: ValueType;
export declare type State<Value> = {
value: Value;
error: any;

@@ -18,0 +18,0 @@ isChanged: boolean;

@@ -10,5 +10,5 @@ import Field, { FieldOpts, Validator } from './Field';

};
initialValues?: {
initialValues?: Partial<{
[K in keyof T]: T[K];
};
}>;
};

@@ -15,0 +15,0 @@ declare type FormFields<T extends {}> = {

import Form from './Form';
import Field from './Field';
import FormGroup from './FormGroup';
import FieldState from './FieldState';
import useForm from './useForm';

@@ -8,2 +9,2 @@ import useFormState from './useFormState';

import useFieldState from './useFieldState';
export { Form, Field, FormGroup, useForm, useFormState, useField, useFieldState, };
export { Form, Field, FormGroup, FieldState, useForm, useFormState, useField, useFieldState, };
import Form from './Form';
import Field from './Field';
import FormGroup from './FormGroup';
import FieldState from './FieldState';
import useForm from './useForm';

@@ -8,3 +9,3 @@ import useFormState from './useFormState';

import useFieldState from './useFieldState';
export { Form, Field, FormGroup, useForm, useFormState, useField, useFieldState, };
export { Form, Field, FormGroup, FieldState, useForm, useFormState, useField, useFieldState, };
//# sourceMappingURL=index.js.map
import Field from './Field';
declare const useFieldState: <T extends any>(field: Field<T>) => {
value: T;
error: any;
isChanged: boolean;
isValidating: boolean;
isValidated: boolean;
isValid: boolean;
};
declare const useFieldState: <T extends any>(field: Field<T>) => import("./Field").State<T>;
export default useFieldState;
{
"name": "formular",
"version": "2.1.4",
"version": "2.1.5",
"author": "Pavel Ivanov",

@@ -5,0 +5,0 @@ "description": "Build forms in React. Easy-Peasy!",

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