mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-21 01:46:28 +08:00
workspace: upgrade to mantine@9 and cordis@4-rc
This commit is contained in:
23 files changed
+93
-90
No files matched your search
@@ -9,12 +9,12 @@
|
||||
"preferUnplugged": true,
|
||||
"dependencies": {
|
||||
"@hydrooj/utils": "workspace:^",
|
||||
"jsdom": "^28.1.0",
|
||||
"jsdom": "^29.0.1",
|
||||
"superagent-charset": "^1.2.0",
|
||||
"superagent-proxy": "^3.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/jsdom": "^27.0.0",
|
||||
"@types/jsdom": "^28.0.1",
|
||||
"@types/superagent-proxy": "^3.0.4"
|
||||
}
|
||||
}
|
||||
@@ -191,7 +191,7 @@ class VJudgeService extends Service {
|
||||
accounts: RemoteAccount[] = [];
|
||||
private providers: Record<string, any> = {};
|
||||
private pool: Record<string, AccountService> = {};
|
||||
async [Context.init]() {
|
||||
async [Service.init]() {
|
||||
if (process.env.NODE_APP_INSTANCE !== '0') return;
|
||||
if (process.env.HYDRO_CLI) return;
|
||||
this.accounts = await coll.find().toArray();
|
||||
|
||||
Reference in new issue
Block a user