workspace: upgrade to typescript@5

This commit is contained in:
undefined committed 2023-11-15 13:21:13 +08:00
1 parent ac569417c9
commit e89cea489c
3 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -67,7 +67,7 @@
"stylus": "^0.61.0",
"stylus-loader": "7.1.2",
"supertest": "^6.3.3",
"ts-loader": "^9.5.0",
"ts-loader": "^9.5.1",
"typescript": "^5.2.2",
"webpack": "^5.89.0",
"webpack-bundle-analyzer": "^4.10.0",
+4 -4
View File
@@ -12,11 +12,11 @@
},
"preferUnplugged": true,
"dependencies": {
"@aws-sdk/client-s3": "3.429.0",
"@aws-sdk/lib-storage": "3.429.0",
"@aws-sdk/client-s3": "3.451.0",
"@aws-sdk/lib-storage": "3.451.0",
"@aws-sdk/middleware-endpoint": "3.374.0",
"@aws-sdk/s3-presigned-post": "3.429.0",
"@aws-sdk/s3-request-presigner": "3.429.0",
"@aws-sdk/s3-presigned-post": "3.451.0",
"@aws-sdk/s3-request-presigner": "3.451.0",
"@graphql-tools/schema": "^10.0.0",
"@hydrooj/utils": "workspace:*",
"@simplewebauthn/server": "7.4.0",
@@ -32,7 +32,7 @@ function getRow(count) {
}
function Reaction({ payload, ele }) {
const emojiList: string[] = (UiContext.emojiList || '👍 👎 😄 😕 ❤️ 🤔 🤣 🌿 🍋 🕊️ 👀 🤣').split(' ');
const emojiList: string[] = (UiContext.emojiList || '👍 👎 😄 😕 ❤️ 🤔 🤣 🌿 🍋 🕊️ 👀 🤡').split(' ');
const elesPerRow = getRow(Math.sqrt(emojiList.length));
const [focus, updateFocus] = React.useState(false);
const [finish, updateFinish] = React.useState(false);