You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@tanstack/form-core

Package Overview
Dependencies
Maintainers
2
Versions
163
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

to
0.40.4

7

dist/esm/FormApi.js

@@ -104,5 +104,2 @@ import { Store } from "@tanstack/store";

}
if (!field.instance.state.meta.isBlurred) {
field.instance.setMeta((prev) => ({ ...prev, isBlurred: true }));
}
});

@@ -141,5 +138,2 @@ });

}
if (!fieldInstance.state.meta.isBlurred) {
fieldInstance.setMeta((prev) => ({ ...prev, isBlurred: true }));
}
return fieldInstance.validate(cause);

@@ -414,3 +408,2 @@ };

isTouched: true,
isBlurred: true,
isDirty: true,

@@ -417,0 +410,0 @@ errorMap: {

2

package.json
{
"name": "@tanstack/form-core",
"version": "0.40.3",
"version": "0.40.4",
"description": "Powerful, type-safe, framework agnostic forms.",

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

@@ -630,8 +630,2 @@ import { Store } from '@tanstack/store'

}
// If any fields are not blurred
if (!field.instance.state.meta.isBlurred) {
// Mark them as blurred
field.instance.setMeta((prev) => ({ ...prev, isBlurred: true }))
}
})

@@ -700,8 +694,2 @@ })

// If the field is not blurred (same logic as in validateAllFields)
if (!fieldInstance.state.meta.isBlurred) {
// Mark it as blurred
fieldInstance.setMeta((prev) => ({ ...prev, isBlurred: true }))
}
return fieldInstance.validate(cause)

@@ -1105,3 +1093,2 @@ }

isTouched: true,
isBlurred: true,
isDirty: true,

@@ -1108,0 +1095,0 @@ errorMap: {

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