sveltekit-superforms
Advanced tools
Comparing version
@@ -21,3 +21,3 @@ /// <reference types="svelte" /> | ||
* Helper type for making ActionResult data strongly typed in onUpdate. | ||
* @example const data = result.data as FormResult<ActionData>; | ||
* @example const action : FormResult<ActionData> = result.data; | ||
*/ | ||
@@ -170,3 +170,3 @@ export type FormResult<T extends Record<string, unknown> | null | undefined> = FilterType<T, SuperValidated<Record<string, unknown>, any, Record<string, unknown>>>; | ||
enhance: (el: HTMLFormElement, events?: SuperFormEvents<T, M>) => ReturnType<typeof kitEnhance>; | ||
isTainted: (path?: T extends T ? FormPath<T> | TaintedFields<T> | boolean : never) => boolean; | ||
isTainted: (path?: FormPath<T> | Record<string, unknown> | boolean | undefined) => boolean; | ||
reset: (options?: ResetOptions<T>) => void; | ||
@@ -173,0 +173,0 @@ submit: (submitter?: HTMLElement | Event | EventTarget | null) => void; |
{ | ||
"name": "sveltekit-superforms", | ||
"version": "2.12.2", | ||
"version": "2.12.3", | ||
"author": "Andreas Söderlund <ciscoheat@gmail.com> (https://blog.encodeart.dev)", | ||
@@ -11,4 +11,12 @@ "description": "Making SvelteKit forms a pleasure to use!", | ||
"validation", | ||
"zod", | ||
"forms" | ||
"forms", | ||
"schema", | ||
"json-schema", | ||
"arktype", | ||
"joi", | ||
"typebox", | ||
"valibot", | ||
"vinejs", | ||
"yup", | ||
"zod" | ||
], | ||
@@ -125,3 +133,3 @@ "license": "MIT", | ||
"arktype": "1.0.29-alpha", | ||
"joi": "^17.12.2", | ||
"joi": "^17.12.3", | ||
"superstruct": "^1.0.4", | ||
@@ -141,7 +149,7 @@ "valibot": "^0.30.0", | ||
"@sveltejs/adapter-auto": "^3.2.0", | ||
"@sveltejs/kit": "^2.5.4", | ||
"@sveltejs/package": "^2.3.0", | ||
"@sveltejs/kit": "^2.5.5", | ||
"@sveltejs/package": "^2.3.1", | ||
"@sveltejs/vite-plugin-svelte": "^3.0.2", | ||
"@types/json-schema": "^7.0.15", | ||
"@types/node": "^20.11.30", | ||
"@types/node": "^20.12.5", | ||
"@types/throttle-debounce": "^5.0.2", | ||
@@ -160,5 +168,5 @@ "@types/uuid": "^9.0.8", | ||
"publint": "^0.2.7", | ||
"sass": "^1.72.0", | ||
"svelte": "5.0.0-next.85", | ||
"svelte-check": "^3.6.8", | ||
"sass": "^1.74.1", | ||
"svelte": "5.0.0-next.95", | ||
"svelte-check": "^3.6.9", | ||
"svelte-french-toast": "^1.2.0", | ||
@@ -169,5 +177,5 @@ "sveltekit-flash-message": "^2.4.4", | ||
"tslib": "^2.6.2", | ||
"typescript": "^5.4.3", | ||
"typescript": "^5.4.4", | ||
"uuid": "^9.0.1", | ||
"vite": "^5.2.6", | ||
"vite": "^5.2.8", | ||
"vitest": "^1.4.0" | ||
@@ -174,0 +182,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
272889
0.15%5768
0.07%