File tree Expand file tree Collapse file tree 3 files changed +54
-67
lines changed Expand file tree Collapse file tree 3 files changed +54
-67
lines changed Original file line number Diff line number Diff line change @@ -37,12 +37,12 @@ Here are the library used in this comparison :
37
37
38
38
| Date | Score | Library | Deps | Size | Light | Input A | Input B | Throw | Safe | Script exec | Lib exec | Fast | Readability |
39
39
| ---------- | :---: | :-------: | :---: | :----: | :---: | :-----: | :-----: | :---: | :---: | :----------: | :----------: | :---: | :---------: |
40
- | 2025-04-27 | 2 | ArkType | 2 | 148 KB | _ 0_ | ** 1** | ** 1** | _ 0_ | ** 1** | 878 ms _ -1_ | 715 ms _ -1_ | _ 0_ | ** 1** |
41
- | 2025-04-27 | 1 | Suretype | 3 | 195 KB | _ 0_ | _ 0_ | _ 0_ | ** 1** | ** 1** | 2477 ms _ -1_ | 2312 ms _ -1_ | _ 0_ | ** 1** |
42
- | 2025-04-27 | 8 | Valibot | ** 0** | 6 KB | ** 1** | ** 1** | ** 1** | ** 1** | ** 1** | 69 ms ** 1** | 8 ms ** 1** | ** 1** | _ 0_ |
43
- | 2025-04-27 | 4 | @zod/mini | 1 | 22 KB | ** 1** | ** 1** | _ 0_ | ** 1** | ** 1** | 211 ms _ 0_ | 135 ms _ 0_ | _ 0_ | _ 0_ |
44
- | 2025-04-27 | 8 | Zod v3 | ** 0** | 60 KB | _ 0_ | ** 1** | ** 1** | ** 1** | ** 1** | 100 ms ** 1** | 32 ms ** 1** | ** 1** | ** 1** |
45
- | 2025-04-27 | 5 | Zod v4 | 1 | 49 KB | _ 0_ | ** 1** | ** 1** | ** 1** | ** 1** | 224 ms _ 0_ | 146 ms _ 0_ | _ 0_ | ** 1** |
40
+ | 2025-04-27 | 2 | ArkType | 2 | 151 KB | _ 0_ | ** 1** | ** 1** | _ 0_ | ** 1** | 866 ms _ -1_ | 722 ms _ -1_ | _ 0_ | ** 1** |
41
+ | 2025-04-27 | 1 | Suretype | 3 | 195 KB | _ 0_ | _ 0_ | _ 0_ | ** 1** | ** 1** | 2444 ms _ -1_ | 2326 ms _ -1_ | _ 0_ | ** 1** |
42
+ | 2025-04-27 | 8 | Valibot | ** 0** | 6 KB | ** 1** | ** 1** | ** 1** | ** 1** | ** 1** | 68 ms ** 1** | 10 ms ** 1** | ** 1** | _ 0_ |
43
+ | 2025-04-27 | 4 | @zod/mini | 1 | 21 KB | ** 1** | ** 1** | _ 0_ | ** 1** | ** 1** | 211 ms _ 0_ | 133 ms _ 0_ | _ 0_ | _ 0_ |
44
+ | 2025-04-27 | 8 | Zod v3 | ** 0** | 60 KB | _ 0_ | ** 1** | ** 1** | ** 1** | ** 1** | 97 ms ** 1** | 32 ms ** 1** | ** 1** | ** 1** |
45
+ | 2025-04-27 | 5 | Zod v4 | 1 | 50 KB | _ 0_ | ** 1** | ** 1** | ** 1** | ** 1** | 221 ms _ 0_ | 148 ms _ 0_ | _ 0_ | ** 1** |
46
46
47
47
Legend :
48
48
Original file line number Diff line number Diff line change 12
12
}
13
13
],
14
14
"dependencies" : {
15
- "@zod/mini" : " 4.0.0-beta.20250412T085909 " ,
15
+ "@zod/mini" : " 4.0.0-beta.20250424T163858 " ,
16
16
"arktype" : " ^2.1" ,
17
17
"suretype" : " ^3.3" ,
18
18
"valibot" : " latest" ,
19
- "zod3" : " npm:zod@^3.24.2 " ,
20
- "zod4" :
" npm:[email protected] .20250411T005215 "
19
+ "zod3" : " npm:zod@^3.24.3 " ,
20
+ "zod4" :
" npm:[email protected] .20250424T163858 "
21
21
},
22
22
"description" : " Comparison of different TypeScript validation libraries" ,
23
23
"devDependencies" : {
You can’t perform that action at this time.
0 commit comments