diff --git a/bun.lockb b/bun.lockb index 70cb028..8a6a274 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 1f4f381..aa7da57 100644 --- a/package.json +++ b/package.json @@ -42,15 +42,15 @@ "rollup": "^4.1.4", "rollup-plugin-svelte": "^7.1.0", "rollup-plugin-typescript2": "^0.35.0", - "svelte": "^4.0.1", - "svelte-preprocess": "^5.0.0", + "svelte": "^4.2.7", + "svelte-preprocess": "^5.1.3", "tslib": "^2.4.1", "typescript": "^5.1.3", - "vitest": "^0.34.4", + "vitest": "^1.3.1", "yup": "^1.1.1" }, "peerDependencies": { - "svelte": "^4.0.1", + "svelte": "^4.x", "yup": "1.x" } } diff --git a/test/__snapshots__/form.test.ts.snap b/test/__snapshots__/form.test.ts.snap index 17c8194..5f2ddd4 100644 --- a/test/__snapshots__/form.test.ts.snap +++ b/test/__snapshots__/form.test.ts.snap @@ -1,5 +1,5 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html -exports[`Form: initialValues > Throws a "TypeError" if no "initialValues" are provided to the configuration. 1`] = `"You must specify \\"initialValues\\" with an object to \\"FormConfig\\"."`; +exports[`Form: initialValues > Throws a "TypeError" if no "initialValues" are provided to the configuration. 1`] = `[TypeError: You must specify "initialValues" with an object to "FormConfig".]`; -exports[`Form: initialValues > Throws a "TypeError" if no configuration is provided. 1`] = `"You must provide a config to \\"newForm\\". Expected \\"config\\" to be an object, received \\"undefined\\" instead."`; +exports[`Form: initialValues > Throws a "TypeError" if no configuration is provided. 1`] = `[TypeError: You must provide a config to "newForm". Expected "config" to be an object, received "undefined" instead.]`;