From e89cea489cad97011029eba2e315bc7da421a5ab Mon Sep 17 00:00:00 2001 From: undefined Date: Wed, 15 Nov 2023 13:21:13 +0800 Subject: [PATCH] workspace: upgrade to typescript@5 --- package.json | 2 +- packages/hydrooj/package.json | 8 ++++---- .../ui-default/components/discussion/reaction.page.tsx | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index d577eabc..8ad1454a 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/packages/hydrooj/package.json b/packages/hydrooj/package.json index 34dc084d..4f2498e8 100644 --- a/packages/hydrooj/package.json +++ b/packages/hydrooj/package.json @@ -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", diff --git a/packages/ui-default/components/discussion/reaction.page.tsx b/packages/ui-default/components/discussion/reaction.page.tsx index 03cabe4d..e2f9cc06 100644 --- a/packages/ui-default/components/discussion/reaction.page.tsx +++ b/packages/ui-default/components/discussion/reaction.page.tsx @@ -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);