Skip to content

Commit

Permalink
chore(deps): update vite, esbuild, etc... (#544)
Browse files Browse the repository at this point in the history
  • Loading branch information
hi-ogawa authored Dec 27, 2023
1 parent cad73d1 commit 2090d17
Show file tree
Hide file tree
Showing 3 changed files with 677 additions and 779 deletions.
66 changes: 33 additions & 33 deletions app/trpc/routes/users.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,16 +155,16 @@ describe(rpcRoutes.users_register, () => {
username: "$invalid@format#",
})
).toThrowErrorMatchingInlineSnapshot(`
"[
[Error: [
{
\\"validation\\": \\"regex\\",
\\"code\\": \\"invalid_string\\",
\\"message\\": \\"Invalid\\",
\\"path\\": [
\\"username\\"
"validation": "regex",
"code": "invalid_string",
"message": "Invalid",
"path": [
"username"
]
}
]"
]]
`);
});
});
Expand All @@ -177,15 +177,15 @@ describe(rpcRoutes.users_register, () => {
passwordConfirmation: "wrong",
})
).toThrowErrorMatchingInlineSnapshot(`
"[
[Error: [
{
\\"code\\": \\"custom\\",
\\"message\\": \\"Invalid\\",
\\"path\\": [
\\"passwordConfirmation\\"
"code": "custom",
"message": "Invalid",
"path": [
"passwordConfirmation"
]
}
]"
]]
`);
});
});
Expand All @@ -199,19 +199,19 @@ describe(rpcRoutes.users_register, () => {
passwordConfirmation: "x",
})
).toThrowErrorMatchingInlineSnapshot(`
"[
[Error: [
{
\\"code\\": \\"too_small\\",
\\"minimum\\": 3,
\\"type\\": \\"string\\",
\\"inclusive\\": true,
\\"exact\\": false,
\\"message\\": \\"String must contain at least 3 character(s)\\",
\\"path\\": [
\\"password\\"
"code": "too_small",
"minimum": 3,
"type": "string",
"inclusive": true,
"exact": false,
"message": "String must contain at least 3 character(s)",
"path": [
"password"
]
}
]"
]]
`);
});
});
Expand All @@ -225,19 +225,19 @@ describe(rpcRoutes.users_register, () => {
passwordConfirmation: "x".repeat(200),
})
).toThrowErrorMatchingInlineSnapshot(`
"[
[Error: [
{
\\"code\\": \\"too_big\\",
\\"maximum\\": 128,
\\"type\\": \\"string\\",
\\"inclusive\\": true,
\\"exact\\": false,
\\"message\\": \\"String must contain at most 128 character(s)\\",
\\"path\\": [
\\"password\\"
"code": "too_big",
"maximum": 128,
"type": "string",
"inclusive": true,
"exact": false,
"message": "String must contain at most 128 character(s)",
"path": [
"password"
]
}
]"
]]
`);
});
});
Expand Down
13 changes: 6 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,10 @@
"@types/react": "^18.2.37",
"@types/react-dom": "^18.2.15",
"@types/showdown": "^2.0.4",
"@vitejs/plugin-react": "^4.2.0",
"@vitest/coverage-v8": "^0.34.6",
"@vitest/ui": "^1.0.4",
"@vitejs/plugin-react": "^4.2.1",
"@vitest/coverage-v8": "^1.1.0",
"c8": "^8.0.1",
"esbuild": "^0.17.19",
"esbuild": "^0.19.10",
"gh-pages": "^6.0.0",
"happy-dom": "^9.20.3",
"jscodeshift": "^0.15.1",
Expand All @@ -116,9 +115,9 @@
"showdown": "^2.1.0",
"tsx": "^4.6.1",
"typescript": "^5.2.2",
"unocss": "^0.57.6",
"vite": "^5.0.0",
"vitest": "^0.34.6"
"unocss": "^0.58.0",
"vite": "^5.0.10",
"vitest": "^1.1.0"
},
"packageManager": "[email protected]+sha256.9e5f62ce5f2b7d4ceb3c2848f41cf0b33032c24d683c7088b53f62b1885fb246",
"volta": {
Expand Down
Loading

0 comments on commit 2090d17

Please sign in to comment.