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

@tanstack/form-core

Package Overview
Dependencies
Maintainers
2
Versions
106
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tanstack/form-core - npm Package Compare versions

Comparing version 0.13.3 to 0.13.4

6

dist/esm/FieldApi.d.ts
import { Store } from '@tanstack/store';
import type { FormApi } from './FormApi';
import type { ValidationCause, ValidationError, ValidationErrorMap, Validator } from './types';
import type { DeepKeys, DeepValue, Updater } from './utils';
import type { FormApi } from './FormApi.js';
import type { ValidationCause, ValidationError, ValidationErrorMap, Validator } from './types.js';
import type { DeepKeys, DeepValue, Updater } from './utils.js';
export type FieldValidateFn<TParentData, TName extends DeepKeys<TParentData>, TFieldValidator extends Validator<DeepValue<TParentData, TName>, unknown> | undefined = undefined, TFormValidator extends Validator<TParentData, unknown> | undefined = undefined, TData extends DeepValue<TParentData, TName> = DeepValue<TParentData, TName>> = (props: {

@@ -6,0 +6,0 @@ value: TData;

import { Store } from '@tanstack/store';
import type { DeepKeys, DeepValue, Updater } from './utils';
import type { FieldApi, FieldMeta } from './FieldApi';
import type { ValidationError, ValidationErrorMap, Validator, ValidationCause, ValidationErrorMapKeys } from './types';
import type { DeepKeys, DeepValue, Updater } from './utils.js';
import type { FieldApi, FieldMeta } from './FieldApi.js';
import type { ValidationError, ValidationErrorMap, Validator, ValidationCause, ValidationErrorMapKeys } from './types.js';
export type FormValidateFn<TFormData, TFormValidator extends Validator<TFormData, unknown> | undefined = undefined> = (props: {

@@ -6,0 +6,0 @@ value: TFormData;

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

export * from './FormApi';
export * from './FieldApi';
export * from './utils';
export * from './types';
export * from './mergeForm';
export * from './FormApi.js';
export * from './FieldApi.js';
export * from './utils.js';
export * from './types.js';
export * from './mergeForm.js';

@@ -1,4 +0,4 @@

import type { FormApi } from './FormApi';
import type { Validator } from './types';
import type { FormApi } from './FormApi.js';
import type { Validator } from './types.js';
export declare function mutateMergeDeep(target: object, source: object): object;
export declare function mergeForm<TFormData, TFormValidator extends Validator<TFormData, unknown> | undefined = undefined>(baseForm: FormApi<TFormData, TFormValidator>, state: Partial<FormApi<TFormData, TFormValidator>['state']>): FormApi<TFormData, TFormValidator>;

@@ -1,4 +0,4 @@

import type { ValidationCause } from './types';
import type { FormValidators } from './FormApi';
import type { FieldValidators } from './FieldApi';
import type { ValidationCause } from './types.js';
import type { FormValidators } from './FormApi.js';
import type { FieldValidators } from './FieldApi.js';
export type UpdaterFn<TInput, TOutput = TInput> = (input: TInput) => TOutput;

@@ -5,0 +5,0 @@ export type Updater<TInput, TOutput = TInput> = TOutput | UpdaterFn<TInput, TOutput>;

{
"name": "@tanstack/form-core",
"version": "0.13.3",
"version": "0.13.4",
"description": "Powerful, type-safe, framework agnostic forms.",

@@ -5,0 +5,0 @@ "author": "tannerlinsley",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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