🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

svelte-forms-lib

Package Overview
Dependencies
Maintainers
2
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svelte-forms-lib - npm Package Compare versions

Comparing version

to
1.10.3

7

lib/index.d.ts

@@ -1,2 +0,2 @@

/// <reference path="svelte-jsx.d.ts" />
/// <reference lib="svelte2tsx" />
import type {SvelteComponentTyped} from 'svelte';

@@ -7,4 +7,5 @@ import type {Readable, Writable} from 'svelte/store';

export type FormProps<Inf = Record<string, any>> = {
initialValues: Inf;
onSubmit: ((values: Inf) => any) | ((values: Inf) => Promise<any>);
context?: FormState;
initialValues?: Inf;
onSubmit?: ((values: Inf) => any) | ((values: Inf) => Promise<any>);
validate?: (values: Inf) => any | undefined;

@@ -11,0 +12,0 @@ validationSchema?: ObjectSchema<any>;

{
"name": "svelte-forms-lib",
"version": "1.10.2",
"version": "1.10.3",
"description": "Svelte forms lib - A lightweight library for managing forms in Svelte v3",

@@ -81,2 +81,3 @@ "typings": "./lib/index.d.ts",

"svelte-preprocess": "^4.6.9",
"svelte2tsx": "^0.1.189",
"typescript": "^4.2.3",

@@ -83,0 +84,0 @@ "yup": "0.32.8"