Skip to content

Commit

Permalink
chore: upgrade package & remove useless code
Browse files Browse the repository at this point in the history
  • Loading branch information
hanshino committed Oct 8, 2023
1 parent 3ea97e3 commit 10a114a
Show file tree
Hide file tree
Showing 5 changed files with 116 additions and 183 deletions.
8 changes: 4 additions & 4 deletions app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,18 @@
"knex": "knex"
},
"dependencies": {
"@sentry/node": "^7.70.0",
"@sentry/node": "^7.73.0",
"ajv": "^8.12.0",
"ajv-formats": "^2.1.1",
"axios": "0.27.2",
"bottender": "1.5.5",
"brotli": "^1.3.3",
"cheerio": "^1.0.0-rc.12",
"config": "^3.3.9",
"cron": "^2.4.3",
"cron": "^2.4.4",
"date-format": "^4.0.14",
"express": "^4.18.2",
"express-rate-limit": "^6.11.2",
"express-rate-limit": "^7.1.0",
"human-number": "^2.0.3",
"i18n": "^0.15.1",
"imgur": "^2.3.0",
Expand All @@ -46,7 +46,7 @@
"devDependencies": {
"@types/express": "^4.17.18",
"cors": "^2.8.5",
"eslint": "^8.50.0",
"eslint": "^8.51.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"jest": "^29.7.0",
Expand Down
94 changes: 47 additions & 47 deletions app/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -450,10 +450,10 @@
minimatch "^3.1.2"
strip-json-comments "^3.1.1"

"@eslint/js@8.50.0":
version "8.50.0"
resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.50.0.tgz#9e93b850f0f3fa35f5fa59adfd03adae8488e484"
integrity sha512-NCC3zz2+nvYd+Ckfh87rA47zfu2QsQpvc6k1yzTk+b9KzRj0wkGa8LSoGOXN6Zv4lRf/EIoZ80biDh9HOI+RNQ==
"@eslint/js@8.51.0":
version "8.51.0"
resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.51.0.tgz#6d419c240cfb2b66da37df230f7e7eef801c32fa"
integrity sha512-HxjQ8Qn+4SI3/AFv6sOrDB+g6PpUTDwSJiQqOrnneEk8L71161srI9gjzzZvYVbzHiVg/BvcH95+cK/zfIt4pg==

"@gar/promisify@^1.0.1":
version "1.1.3"
Expand Down Expand Up @@ -910,50 +910,50 @@
resolved "https://registry.yarnpkg.com/@redis/time-series/-/time-series-1.0.5.tgz#a6d70ef7a0e71e083ea09b967df0a0ed742bc6ad"
integrity sha512-IFjIgTusQym2B5IZJG3XKr5llka7ey84fw/NOYqESP5WUfQs9zz1ww/9+qoz4ka/S6KcGBodzlCeZ5UImKbscg==

"@sentry-internal/tracing@7.70.0":
version "7.70.0"
resolved "https://registry.yarnpkg.com/@sentry-internal/tracing/-/tracing-7.70.0.tgz#00fd30426a6d4737385004434a39cf60736beafc"
integrity sha512-SpbE6wZhs6QwG2ORWCt8r28o1T949qkWx/KeRTCdK4Ub95PQ3Y3DgnqD8Wz//3q50Wt6EZDEibmz4t067g6PPg==
"@sentry-internal/tracing@7.73.0":
version "7.73.0"
resolved "https://registry.yarnpkg.com/@sentry-internal/tracing/-/tracing-7.73.0.tgz#4838f31e41d23a6041ef4520519b80f788bf1cac"
integrity sha512-ig3WL/Nqp8nRQ52P205NaypGKNfIl/G+cIqge9xPW6zfRb5kJdM1YParw9GSJ1SPjEZBkBORGAML0on5H2FILw==
dependencies:
"@sentry/core" "7.70.0"
"@sentry/types" "7.70.0"
"@sentry/utils" "7.70.0"
"@sentry/core" "7.73.0"
"@sentry/types" "7.73.0"
"@sentry/utils" "7.73.0"
tslib "^2.4.1 || ^1.9.3"

"@sentry/core@7.70.0":
version "7.70.0"
resolved "https://registry.yarnpkg.com/@sentry/core/-/core-7.70.0.tgz#c481ef27cf05293fb681ee4ff4d4b0b1e8664bb5"
integrity sha512-voUsGVM+jwRp99AQYFnRvr7sVd2tUhIMj1L6F42LtD3vp7t5ZnKp3NpXagtFW2vWzXESfyJUBhM0qI/bFvn7ZA==
"@sentry/core@7.73.0":
version "7.73.0"
resolved "https://registry.yarnpkg.com/@sentry/core/-/core-7.73.0.tgz#1caeeec44f42c4d58c06cc05dec39e5497b65aa3"
integrity sha512-9FEz4Gq848LOgVN2OxJGYuQqxv7cIVw69VlAzWHEm3njt8mjvlTq+7UiFsGRo84+59V2FQuHxzA7vVjl90WfSg==
dependencies:
"@sentry/types" "7.70.0"
"@sentry/utils" "7.70.0"
"@sentry/types" "7.73.0"
"@sentry/utils" "7.73.0"
tslib "^2.4.1 || ^1.9.3"

"@sentry/node@^7.70.0":
version "7.70.0"
resolved "https://registry.yarnpkg.com/@sentry/node/-/node-7.70.0.tgz#3d62ee1d7c762a3d15ab1967ab8e6acc805a241a"
integrity sha512-GeGlnu3QnJX0GN2FvZ3E31e48ZhRzEpREyC0Wa4BRvYHnyiGvsQjo/0RKeq6vvlggRhVnuoMg/jESyUmdntrAA==
"@sentry/node@^7.73.0":
version "7.73.0"
resolved "https://registry.yarnpkg.com/@sentry/node/-/node-7.73.0.tgz#7eecf06689cd8f9d21587ca5cbfdc74543cc8c09"
integrity sha512-i50bRfmgkRRx0XXUbg9jGD/RuznDJxJXc4rBILhoJuhl+BjRIaoXA3ayplfJn8JLZxsNh75uJaCq4IUK70SORw==
dependencies:
"@sentry-internal/tracing" "7.70.0"
"@sentry/core" "7.70.0"
"@sentry/types" "7.70.0"
"@sentry/utils" "7.70.0"
"@sentry-internal/tracing" "7.73.0"
"@sentry/core" "7.73.0"
"@sentry/types" "7.73.0"
"@sentry/utils" "7.73.0"
cookie "^0.5.0"
https-proxy-agent "^5.0.0"
lru_map "^0.3.3"
tslib "^2.4.1 || ^1.9.3"

"@sentry/types@7.70.0":
version "7.70.0"
resolved "https://registry.yarnpkg.com/@sentry/types/-/types-7.70.0.tgz#c7b533bb18144e3b020550b38cf4812c32d05ffe"
integrity sha512-rY4DqpiDBtXSk4MDNBH3dwWqfPbNBI/9GA7Y5WJSIcObBtfBKp0fzYliHJZD0pgM7d4DPFrDn42K9Iiumgymkw==
"@sentry/types@7.73.0":
version "7.73.0"
resolved "https://registry.yarnpkg.com/@sentry/types/-/types-7.73.0.tgz#6d811bbe413d319df0a592a672d6d72a94a8e716"
integrity sha512-/v8++bly8jW7r4cP2wswYiiVpn7eLLcqwnfPUMeCQze4zj3F3nTRIKc9BGHzU0V+fhHa3RwRC2ksqTGq1oJMDg==

"@sentry/utils@7.70.0":
version "7.70.0"
resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-7.70.0.tgz#825387ceb10cbb1e145357394b697a1a6d60eb74"
integrity sha512-0cChMH0lsGp+5I3D4wOHWwjFN19HVrGUs7iWTLTO5St3EaVbdeLbI1vFXHxMxvopbwgpeZafbreHw/loIdZKpw==
"@sentry/utils@7.73.0":
version "7.73.0"
resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-7.73.0.tgz#530cf023f7c395aa7708cd3824e5a45948449c10"
integrity sha512-h3ZK/qpf4k76FhJV9uiSbvMz3V/0Ovy94C+5/9UgPMVCJXFmVsdw8n/dwANJ7LupVPfYP23xFGgebDMFlK1/2w==
dependencies:
"@sentry/types" "7.70.0"
"@sentry/types" "7.73.0"
tslib "^2.4.1 || ^1.9.3"

"@sinclair/typebox@^0.27.8":
Expand Down Expand Up @@ -2399,10 +2399,10 @@ create-jest@^29.7.0:
jest-util "^29.7.0"
prompts "^2.0.1"

cron@^2.4.3:
version "2.4.3"
resolved "https://registry.yarnpkg.com/cron/-/cron-2.4.3.tgz#4e43d8d9a6373b8f28d876c4e9a47c14422d8652"
integrity sha512-YBvExkQYF7w0PxyeFLRyr817YVDhGxaCi5/uRRMqa4aWD3IFKRd+uNbpW1VWMdqQy8PZ7CElc+accXJcauPKzQ==
cron@^2.4.4:
version "2.4.4"
resolved "https://registry.yarnpkg.com/cron/-/cron-2.4.4.tgz#988c1757b3f288d1dfcc360ee6d80087448916dc"
integrity sha512-MHlPImXJj3K7x7lyUHjtKEOl69CSlTOWxS89jiFgNkzXfvhVjhMz/nc7/EIfN9vgooZp8XTtXJ1FREdmbyXOiQ==
dependencies:
"@types/luxon" "~3.3.0"
luxon "~3.3.0"
Expand Down Expand Up @@ -2885,15 +2885,15 @@ eslint-visitor-keys@^3.4.3:
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz#0cd72fe8550e3c2eae156a96a4dddcd1c8ac5800"
integrity sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==

eslint@^8.50.0:
version "8.50.0"
resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.50.0.tgz#2ae6015fee0240fcd3f83e1e25df0287f487d6b2"
integrity sha512-FOnOGSuFuFLv/Sa+FDVRZl4GGVAAFFi8LecRsI5a1tMO5HIE8nCm4ivAlzt4dT3ol/PaaGC0rJEEXQmHJBGoOg==
eslint@^8.51.0:
version "8.51.0"
resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.51.0.tgz#4a82dae60d209ac89a5cff1604fea978ba4950f3"
integrity sha512-2WuxRZBrlwnXi+/vFSJyjMqrNjtJqiasMzehF0shoLaW7DzS3/9Yvrmq5JiT66+pNjiX4UBnLDiKHcWAr/OInA==
dependencies:
"@eslint-community/eslint-utils" "^4.2.0"
"@eslint-community/regexpp" "^4.6.1"
"@eslint/eslintrc" "^2.1.2"
"@eslint/js" "8.50.0"
"@eslint/js" "8.51.0"
"@humanwhocodes/config-array" "^0.11.11"
"@humanwhocodes/module-importer" "^1.0.1"
"@nodelib/fs.walk" "^1.2.8"
Expand Down Expand Up @@ -3032,10 +3032,10 @@ expect@^29.7.0:
jest-message-util "^29.7.0"
jest-util "^29.7.0"

express-rate-limit@^6.11.2:
version "6.11.2"
resolved "https://registry.yarnpkg.com/express-rate-limit/-/express-rate-limit-6.11.2.tgz#6c42035603d3b52e4e2fb59f6ebaa89e628ef980"
integrity sha512-a7uwwfNTh1U60ssiIkuLFWHt4hAC5yxlLGU2VP0X4YNlyEDZAqF4tK3GD3NSitVBrCQmQ0++0uOyFOgC2y4DDw==
express-rate-limit@^7.1.0:
version "7.1.0"
resolved "https://registry.yarnpkg.com/express-rate-limit/-/express-rate-limit-7.1.0.tgz#0942f76e78a5089fd3e24ef0a1a81c7e4ad2a92b"
integrity sha512-pwKOMedrpJJeINON/9jhAa18udV2qwxPZSoklPZK8pmXxUyE5uXaptiwjGw8bZILbxqfUZ/p8pQA99ODjSgA5Q==

express@^4.17.1:
version "4.17.3"
Expand Down
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@material-ui/core": "^4.12.4",
"@material-ui/icons": "^4.11.3",
"@material-ui/lab": "^4.0.0-alpha.60",
"@mui/material": "^5.14.6",
"@mui/material": "^5.14.12",
"@mui/x-data-grid": "^5.17.26",
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^12.1.5",
Expand Down
65 changes: 0 additions & 65 deletions frontend/src/components/Panel/Manual.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,40 +85,6 @@ const TabDatas = [
},
],
},
{
key: "Princess",
enableScreen: ["utou", "room", "group", "external"],
title: "公主連結指令",
description: "與公主連結相關的所有指令",
buttons: [
{ title: "Rank表", description: "由無羽製作的表格,提供所有角色詳細推薦表", text: "rank" },
{ title: "模擬抽蛋", description: "自製模擬抽獎系統,每天都有一次的特別抽哦!", text: "#抽" },
{ title: "抽蛋包包", description: "可以查看模擬抽蛋的蒐集進度!", text: "/mybag" },
{
title: "模擬抽蛋(加倍)",
description: "透過模擬抽蛋蒐集的女神石,可以把每日一抽的機率加倍!",
text: "#消耗抽",
},
{
title: "轉蛋兌換",
description: "透過模擬抽蛋蒐集的女神石,可以兌換成抽不到的角色!",
text: "#轉蛋商店",
},
{
title: "好友小卡",
description: "透過綁定遊戲ID,可發送好友小卡,請人加你好友!",
text: "#好友小卡",
},
{ title: "官方公告", description: "即時獲取官方公告", text: "#官方公告" },
{ title: "官方活動", description: "顯示目前正在舉辦的遊戲活動", text: "#公主行事曆" },
{ title: "前作劇情", description: "觀看巴友們翻譯的前作劇情", text: "#前作劇情" },
{ title: "角色資訊", description: "查看角色資訊", text: "#角色資訊 布丁" },
{ title: "角色技能", description: "查看角色技能", text: "#角色技能 布丁" },
{ title: "角色行動", description: "查看角色行動", text: "#角色行動 布丁" },
{ title: "角色裝備", description: "查看角色裝備", text: "#角色裝備 布丁" },
{ title: "角色", description: "查看角色", text: "#角色 布丁" },
],
},
{
key: "ChatLevel",
enableScreen: ["utou", "room", "group", "external"],
Expand Down Expand Up @@ -157,37 +123,6 @@ const TabDatas = [
{ title: "刪除指令", description: "刪除特定指令", text: "#刪除指令" },
],
},
{
key: "ArenaOrder",
enableScreen: ["utou", "external"],
title: "競技場指令",
description: "有關競技場的所有指令,可進行上傳戰報、查詢解陣配置",
buttons: [
{
title: "上傳戰報",
description: "將競技場的戰鬥結果上傳,提供其他玩家查詢",
text: ".arenaupload",
},
{
title: "解陣查詢",
description: "上傳競技場敵方配置,為您查詢最符合的結果",
text: ".arenasearch",
},
],
},
{
key: "GuildBattleOrder",
enableScreen: ["utou", "external"],
title: "戰隊指令",
description: "此只收錄1對1聊天可使用指令,詳細戰隊指令可透過報名表查看",
buttons: [
{
title: "回報傷害",
description: "將戰鬥結果上傳,完成戰隊系統的回報",
text: ".formreport",
},
],
},
];

const ManualBar = () => {
Expand Down
Loading

0 comments on commit 10a114a

Please sign in to comment.