bump deps

This commit is contained in:
undefined committed 2025-03-05 12:34:02 +08:00
1 parent 9d64824cd3
commit f6bb3b6e57
10 files changed
+54 -42

No files matched your search

+5 -5
View File
@@ -19,13 +19,13 @@
"@cordisjs/core": "4.0.0-alpha.1",
"@cordisjs/logger": "1.0.0-alpha.1",
"@cordisjs/plugin-timer": "1.0.0-alpha.0",
"@graphql-tools/schema": "^10.0.18",
"@graphql-tools/schema": "^10.0.21",
"@hydrooj/common": "workspace:^",
"@hydrooj/framework": "workspace:^",
"@hydrooj/utils": "workspace:^",
"@simplewebauthn/server": "13.1.1",
"@undefined-moe/require-resolve-hook": "^1.1.0",
"@yarnpkg/libzip": "^3.1.0",
"@yarnpkg/libzip": "^3.1.1",
"adm-zip": "0.5.14",
"cac": "^6.7.14",
"csv-stringify": "^6.5.2",
@@ -43,13 +43,13 @@
"moment-timezone": "^0.5.47",
"mongodb": "^5.9.2",
"mongodb-uri": "^0.9.7",
"nanoid": "^5.1.0",
"nanoid": "^5.1.2",
"nodemailer": "^6.10.0",
"notp": "^2.0.3",
"p-queue": "^8.1.0",
"sanitize-filename": "^1.6.3",
"saslprep": "^1.0.3",
"schemastery": "^3.16.0",
"schemastery": "^3.16.1",
"semver": "^7.7.1",
"shorty.js": "^1.0.1",
"superagent": "^10.1.1",
@@ -64,7 +64,7 @@
"@types/fs-extra": "^11.0.4",
"@types/js-yaml": "^4.0.9",
"@types/koa-static-cache": "^5.1.4",
"@types/lodash": "^4.17.15",
"@types/lodash": "^4.17.16",
"@types/mime-types": "^2.1.4",
"@types/mongodb-uri": "^0.9.4",
"@types/nodemailer": "^6.4.17",
+1 -1
View File
@@ -39,7 +39,7 @@ export async function apply(ctx: Context) {
await modelSystem.runConfig();
const storage = require('../service/storage');
await storage.loadStorageService();
ctx.plugin(require('../service/hmr').default, { watch: argv.options.watch });
await ctx.plugin(require('../service/hmr').default, { watch: argv.options.watch });
await require('../service/worker').apply(ctx);
await require('../service/server').apply(ctx);
ctx = await new Promise((resolve) => {
+3 -3
View File
@@ -59,12 +59,12 @@ export class Loader extends Service {
public cache: Record<string, string> = Object.create(null);
// public warnings: Record<string, string> = Object.create(null);
constructor(private app: Context) {
super(app, 'loader');
constructor(ctx: Context) {
super(ctx, 'loader');
}
[Service.setup]() {
this.app.on('app/started', () => {
this.ctx.on('app/started', () => {
this.ctx.setInterval(async () => {
const pending = Object.entries(this.state).filter((v) => v[1].status === ScopeStatus.PENDING);
if (pending.length) {