Socket
Socket
Sign inDemoInstall

@conform-to/react

Package Overview
Dependencies
4
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.3 to 1.0.4

2

hooks.d.ts

@@ -11,3 +11,3 @@ import { type FormId, type FieldName } from '@conform-to/dom';

export declare function useNoValidate(defaultNoValidate?: boolean): boolean;
export declare function useForm<Schema extends Record<string, any>, FormValue = Schema, FormError = string[]>(options: Pretty<Omit<FormOptions<Schema, FormError, FormValue>, 'formId' | 'onSchedule'> & {
export declare function useForm<Schema extends Record<string, any>, FormValue = Schema, FormError = string[]>(options: Pretty<Omit<FormOptions<Schema, FormError, FormValue>, 'formId'> & {
/**

@@ -14,0 +14,0 @@ * The form id. If not provided, a random id will be generated.

@@ -7,3 +7,2 @@ 'use strict';

var react = require('react');
var reactDom = require('react-dom');
var context = require('./context.js');

@@ -42,3 +41,2 @@

var [context$1] = react.useState(() => context.createFormContext(_rollupPluginBabelHelpers.objectSpread2(_rollupPluginBabelHelpers.objectSpread2({}, formConfig), {}, {
onSchedule: callback => reactDom.flushSync(callback),
formId

@@ -45,0 +43,0 @@ })));

@@ -6,3 +6,3 @@ {

"license": "MIT",
"version": "1.0.3",
"version": "1.0.4",
"main": "index.js",

@@ -34,12 +34,10 @@ "module": "index.mjs",

"dependencies": {
"@conform-to/dom": "1.0.3"
"@conform-to/dom": "1.0.4"
},
"devDependencies": {
"@types/react": "^18.2.64",
"@types/react-dom": "^18.2.20",
"@types/react": "^18.2.43",
"react": "^18.2.0"
},
"peerDependencies": {
"react": ">=18",
"react-dom": ">=18"
"react": ">=18"
},

@@ -46,0 +44,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc