Skip to content

Commit 0089cf9

Browse files
committed
chore: zod validation
1 parent 371b778 commit 0089cf9

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@
2121
"@vueuse/nuxt": "^10.7.0",
2222
"consola": "^3.2.3",
2323
"defu": "^6.1.3",
24-
"yaml": "^2.3.4"
24+
"h3-zod": "^0.5.2",
25+
"yaml": "^2.3.4",
26+
"zod": "^3.22.4"
2527
},
2628
"devDependencies": {
2729
"@antfu/eslint-config": "^2.6.1",
@@ -49,4 +51,4 @@
4951
"lint-staged": {
5052
"*.ts": "yarn run lint"
5153
}
52-
}
54+
}

yarn.lock

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5312,6 +5312,11 @@ gzip-size@^7.0.0:
53125312
dependencies:
53135313
duplexer "^0.1.2"
53145314

5315+
h3-zod@^0.5.2:
5316+
version "0.5.2"
5317+
resolved "https://registry.yarnpkg.com/h3-zod/-/h3-zod-0.5.2.tgz#8c107271f40ff23a2a0602833e05c4da98f8241b"
5318+
integrity sha512-yBfMqF04n+WgSjgR0gxi/Z7/NUPIet/3mJ56aOTB9xEKAx0r3tJcJW74qMuqr4t+uxlIaCfzwr4XPLRHES55iw==
5319+
53155320
h3@^1.8.1, h3@^1.8.2, h3@^1.9.0:
53165321
version "1.9.0"
53175322
resolved "https://registry.yarnpkg.com/h3/-/h3-1.9.0.tgz#c5f512a93026df9837db6f30c9ef51135dd46752"
@@ -10014,3 +10019,8 @@ zip-stream@^5.0.1:
1001410019
archiver-utils "^4.0.1"
1001510020
compress-commons "^5.0.1"
1001610021
readable-stream "^3.6.0"
10022+
10023+
zod@^3.22.4:
10024+
version "3.22.4"
10025+
resolved "https://registry.yarnpkg.com/zod/-/zod-3.22.4.tgz#f31c3a9386f61b1f228af56faa9255e845cf3fff"
10026+
integrity sha512-iC+8Io04lddc+mVqQ9AZ7OQ2MrUKGN+oIQyq1vemgt46jwCwLfhq7/pwnBnNXXXZb8VTVLKwp9EDkx+ryxIWmg==

0 commit comments

Comments
 (0)