Skip to content

Commit

Permalink
[FIX] valibot upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
SamBrishes committed Jun 13, 2024
1 parent d0bcd3b commit f255749
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 16 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
miru.ink / Changelog
====================

## Version 0.0.20 - Experimental
- Fix: Missing `valibot` upgrade and typing issue.

## Version 0.0.19 - Experimental
- Update: package.json dependencies.

Expand Down
24 changes: 12 additions & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "miru.ink",
"version": "0.0.19",
"version": "0.0.20",
"description": "A Open-Source Vue3 / Tailwind CSS component framework and function library.",
"keywords": [
"ui",
Expand Down Expand Up @@ -45,7 +45,7 @@
"dependencies": {
"@floating-ui/vue": "^1.0.6",
"polyfill-crypto-methods": "^0.2.0",
"valibot": "^0.30.0"
"valibot": "^0.31.1"
},
"devDependencies": {
"@histoire/plugin-vue": "^0.17.17",
Expand Down Expand Up @@ -78,4 +78,4 @@
"tailwindcss": "^3.3.0",
"vue": "^3.4.0"
}
}
}
2 changes: 1 addition & 1 deletion src/composables/use-form.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export type ValidationResult<T> = {
};

export type ValidationRules<T> = {
[Property in keyof T]: BaseSchema<any, any>;
[Property in keyof T]: BaseSchema<any, any, any>;
}

export type ValidationCallback<T> = (rules: ValidationRules<T>, values: Nullable<T>) => boolean | SafeParseResult<any>;
Expand Down

0 comments on commit f255749

Please sign in to comment.