Skip to content

Commit

Permalink
chore: zod validation
Browse files Browse the repository at this point in the history
  • Loading branch information
hywax committed Jan 5, 2024
1 parent 371b778 commit 0089cf9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
"@vueuse/nuxt": "^10.7.0",
"consola": "^3.2.3",
"defu": "^6.1.3",
"yaml": "^2.3.4"
"h3-zod": "^0.5.2",
"yaml": "^2.3.4",
"zod": "^3.22.4"
},
"devDependencies": {
"@antfu/eslint-config": "^2.6.1",
Expand Down Expand Up @@ -49,4 +51,4 @@
"lint-staged": {
"*.ts": "yarn run lint"
}
}
}
10 changes: 10 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5312,6 +5312,11 @@ gzip-size@^7.0.0:
dependencies:
duplexer "^0.1.2"

h3-zod@^0.5.2:
version "0.5.2"
resolved "https://registry.yarnpkg.com/h3-zod/-/h3-zod-0.5.2.tgz#8c107271f40ff23a2a0602833e05c4da98f8241b"
integrity sha512-yBfMqF04n+WgSjgR0gxi/Z7/NUPIet/3mJ56aOTB9xEKAx0r3tJcJW74qMuqr4t+uxlIaCfzwr4XPLRHES55iw==

h3@^1.8.1, h3@^1.8.2, h3@^1.9.0:
version "1.9.0"
resolved "https://registry.yarnpkg.com/h3/-/h3-1.9.0.tgz#c5f512a93026df9837db6f30c9ef51135dd46752"
Expand Down Expand Up @@ -10014,3 +10019,8 @@ zip-stream@^5.0.1:
archiver-utils "^4.0.1"
compress-commons "^5.0.1"
readable-stream "^3.6.0"

zod@^3.22.4:
version "3.22.4"
resolved "https://registry.yarnpkg.com/zod/-/zod-3.22.4.tgz#f31c3a9386f61b1f228af56faa9255e845cf3fff"
integrity sha512-iC+8Io04lddc+mVqQ9AZ7OQ2MrUKGN+oIQyq1vemgt46jwCwLfhq7/pwnBnNXXXZb8VTVLKwp9EDkx+ryxIWmg==

0 comments on commit 0089cf9

Please sign in to comment.