@tanstack/form-core
Advanced tools
Comparing version 0.24.2 to 0.24.3
@@ -38,3 +38,3 @@ import { Store } from "@tanstack/store"; | ||
...prev, | ||
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition | ||
// eslint-disable-next-line ts/no-unnecessary-condition | ||
errorMap: { ...prev == null ? void 0 : prev.errorMap, onMount: error } | ||
@@ -226,3 +226,3 @@ })); | ||
errorMap: { | ||
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition | ||
// eslint-disable-next-line ts/no-unnecessary-condition | ||
...prev == null ? void 0 : prev.errorMap, | ||
@@ -229,0 +229,0 @@ [getErrorMapKey(cause)]: error |
{ | ||
"name": "@tanstack/form-core", | ||
"version": "0.24.2", | ||
"version": "0.24.3", | ||
"description": "Powerful, type-safe, framework agnostic forms.", | ||
@@ -5,0 +5,0 @@ "author": "tannerlinsley", |
@@ -556,3 +556,3 @@ import { Store } from '@tanstack/store' | ||
...prev, | ||
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition | ||
// eslint-disable-next-line ts/no-unnecessary-condition | ||
errorMap: { ...prev?.errorMap, onMount: error }, | ||
@@ -884,3 +884,3 @@ })) | ||
errorMap: { | ||
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition | ||
// eslint-disable-next-line ts/no-unnecessary-condition | ||
...prev?.errorMap, | ||
@@ -887,0 +887,0 @@ [getErrorMapKey(cause)]: error, |
@@ -589,3 +589,3 @@ import { Store } from '@tanstack/store' | ||
) => { | ||
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition | ||
// eslint-disable-next-line ts/no-unnecessary-condition | ||
const fieldInstance = this.fieldInfo[field]?.instance | ||
@@ -846,3 +846,3 @@ if (!fieldInstance) return [] | ||
): FieldInfo<TFormData, TFormValidator> => { | ||
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition | ||
// eslint-disable-next-line ts/no-unnecessary-condition | ||
return (this.fieldInfo[field] ||= { | ||
@@ -849,0 +849,0 @@ instance: null, |
@@ -27,3 +27,3 @@ import type { FormApi } from './FormApi' | ||
// Prevent assigning undefined to target, only if undefined is not explicitly set on source | ||
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition | ||
// eslint-disable-next-line ts/no-unnecessary-condition | ||
if (!(sourceKey in source) && source[sourceKey] === undefined) { | ||
@@ -30,0 +30,0 @@ continue |
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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
415305