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

remix-hook-form

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remix-hook-form - npm Package Compare versions

Comparing version 3.0.4 to 3.1.0

9

dist/index.d.ts
import * as react_hook_form from 'react-hook-form';
import { FieldValues, Resolver, FieldErrors, UseFormProps, SubmitHandler, SubmitErrorHandler, DeepPartial, Path, RegisterOptions, UseFormReturn } from 'react-hook-form';
import { FieldValues, Resolver, FieldErrors, UseFormProps, SubmitHandler, SubmitErrorHandler, DefaultValues, Path, RegisterOptions, UseFormReturn } from 'react-hook-form';
import React from 'react';

@@ -68,3 +68,3 @@ import { SubmitFunction, FetcherWithComponents } from '@remix-run/react';

handleSubmit: (e?: React.BaseSyntheticEvent<object, any, any> | undefined) => Promise<void>;
reset: (values?: T | DeepPartial<T> | undefined) => void;
reset: (values?: T | DefaultValues<T> | undefined) => void;
register: (name: Path<T>, options?: (RegisterOptions<T> & {

@@ -87,3 +87,4 @@ disableProgressiveEnhancement?: boolean | undefined;

formState: {
dirtyFields: Partial<Readonly<react_hook_form.DeepMap<DeepPartial<T>, boolean>>>;
disabled: boolean;
dirtyFields: Partial<Readonly<react_hook_form.DeepMap<react_hook_form.DeepPartial<T>, boolean>>>;
isDirty: boolean;

@@ -95,3 +96,3 @@ isSubmitSuccessful: boolean;

isValidating: boolean;
touchedFields: Partial<Readonly<react_hook_form.DeepMap<DeepPartial<T>, boolean>>>;
touchedFields: Partial<Readonly<react_hook_form.DeepMap<react_hook_form.DeepPartial<T>, boolean>>>;
submitCount: number;

@@ -98,0 +99,0 @@ isLoading: boolean;

@@ -170,3 +170,4 @@ // src/utilities/index.ts

errors,
isLoading
isLoading,
disabled
} = formState;

@@ -198,2 +199,3 @@ const formErrors = mergeErrors(

formState: {
disabled,
dirtyFields,

@@ -200,0 +202,0 @@ isDirty,

{
"name": "remix-hook-form",
"version": "3.0.4",
"version": "3.1.0",
"description": "Utility wrapper around react-hook-form for use with Remix.run",

@@ -71,3 +71,3 @@ "type": "module",

"react-dom": "^18.2.0",
"react-hook-form": "^7.43.9"
"react-hook-form": "^7.48.2"
},

@@ -91,3 +91,3 @@ "readme": "https://github.com/Code-Forge-Net/remix-hook-form#readme",

"react-dom": "^18.2.0",
"react-hook-form": "^7.43.9",
"react-hook-form": "^7.48.2",
"remix-development-tools": "^3.1.1",

@@ -94,0 +94,0 @@ "rollup": "^3.20.2",

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