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

remix-forms

Package Overview
Dependencies
Maintainers
4
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remix-forms - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

3

dist/index.d.ts

@@ -188,2 +188,3 @@ import * as React$1 from 'react';

options?: Options<z.infer<Schema>>;
emptyOptionLabel?: string;
hiddenFields?: Array<keyof z.infer<Schema>>;

@@ -204,4 +205,4 @@ multiline?: Array<keyof z.infer<Schema>>;

useActionData: () => unknown;
}): <Schema extends FormSchema<SomeZodObject | z.ZodEffects<any, any, any>>>({ component, fetcher, mode, reValidateMode, renderField, fieldComponent, globalErrorsComponent: Errors, errorComponent: Error, fieldErrorsComponent, labelComponent, inputComponent, multilineComponent, selectComponent, checkboxComponent, radioComponent, checkboxWrapperComponent, radioGroupComponent, radioWrapperComponent, buttonComponent: Button, buttonLabel: rawButtonLabel, pendingButtonLabel, method, schema, beforeChildren, onTransition, parseActionData, children: childrenFn, labels, placeholders, options, hiddenFields, multiline, radio, autoFocus: autoFocusProp, errors: errorsProp, values: valuesProp, ...props }: FormProps<Schema>) => JSX.Element;
}): <Schema extends FormSchema<SomeZodObject | z.ZodEffects<any, any, any>>>({ component, fetcher, mode, reValidateMode, renderField, fieldComponent, globalErrorsComponent: Errors, errorComponent: Error, fieldErrorsComponent, labelComponent, inputComponent, multilineComponent, selectComponent, checkboxComponent, radioComponent, checkboxWrapperComponent, radioGroupComponent, radioWrapperComponent, buttonComponent: Button, buttonLabel: rawButtonLabel, pendingButtonLabel, method, schema, beforeChildren, onTransition, parseActionData, children: childrenFn, labels, placeholders, options, emptyOptionLabel, hiddenFields, multiline, radio, autoFocus: autoFocusProp, errors: errorsProp, values: valuesProp, ...props }: FormProps<Schema>) => JSX.Element;
export { Callback, FormActionProps, FormProps, FormSchema, PerformMutation, RenderField, RenderFieldProps, createForm, createFormAction, performMutation, useField };

@@ -663,2 +663,3 @@ "use strict";

options,
emptyOptionLabel = "",
hiddenFields,

@@ -779,3 +780,6 @@ multiline,

})));
const fieldOptionsPlusEmpty = () => fieldOptions && [{ name: "", value: "" }, ...fieldOptions != null ? fieldOptions : []];
const fieldOptionsPlusEmpty = () => fieldOptions && [
{ name: emptyOptionLabel, value: "" },
...fieldOptions != null ? fieldOptions : []
];
return {

@@ -782,0 +786,0 @@ shape,

{
"name": "remix-forms",
"version": "2.0.0",
"version": "2.1.0",
"description": "The full-stack form library for Remix and React Router",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

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