mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
w: dep: lock adm-zip to 0.5.5
This commit is contained in:
1 parent
00972003fe
commit
40c90c0574
6 files changed
+9
-10
No files matched your search
+1
-2
@@ -66,7 +66,6 @@ const mirrors = {
|
||||
official: 'https://repo.mongodb.org/apt/ubuntu',
|
||||
},
|
||||
minio: {
|
||||
china: 'http://dl.minio.org.cn/server/minio/release/linux-amd64/minio',
|
||||
undefined: 'https://s3.undefined.moe/public/minio',
|
||||
official: 'https://dl.min.io/server/minio/release/linux-amd64/minio',
|
||||
},
|
||||
@@ -245,7 +244,7 @@ apt-get -qq update && apt-get -q install -y mongodb-org`, { retry: true }],
|
||||
},
|
||||
{
|
||||
init: 'install.minio',
|
||||
skip: () => fs.exist('/root/.hydro/env'),
|
||||
skip: () => __env.SKIP_MINIO || fs.exist('/root/.hydro/env'),
|
||||
operations: [
|
||||
[`curl -fSL ${getMirror('minio')} -o /usr/bin/minio`, { retry: true }],
|
||||
'chmod +x /usr/bin/minio',
|
||||
|
||||
@@ -123,7 +123,7 @@ class FpsProblemImportHandler extends Handler {
|
||||
} catch { }
|
||||
}
|
||||
}
|
||||
if (!tasks.length) throw new ValidationError('file');
|
||||
if (!tasks.length) throw new ValidationError('file', null, 'No valid fps format file found');
|
||||
for (const task of tasks) await this.run(domainId, task);
|
||||
this.response.redirect = this.url('problem_main');
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hydrooj/fps-importer",
|
||||
"version": "1.3.2",
|
||||
"version": "1.3.3",
|
||||
"description": "Import FPS problems",
|
||||
"main": "package.json",
|
||||
"repository": "https://github.com/hydro-dev/Hydro.git",
|
||||
@@ -8,7 +8,7 @@
|
||||
"license": "SEE LICENSE IN LICENSE",
|
||||
"preferUnplugged": true,
|
||||
"dependencies": {
|
||||
"adm-zip": "0.5.9",
|
||||
"adm-zip": "0.5.5",
|
||||
"decode-html": "^2.0.0",
|
||||
"fs-extra": "^10.0.0",
|
||||
"mongodb": "^3.7.3",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "hydrooj",
|
||||
"version": "3.2.25",
|
||||
"version": "3.2.26",
|
||||
"bin": "bin/hydrooj.js",
|
||||
"main": "src/loader",
|
||||
"module": "src/loader",
|
||||
@@ -14,7 +14,7 @@
|
||||
"dependencies": {
|
||||
"@graphql-tools/schema": "^8.3.1",
|
||||
"@hydrooj/utils": "workspace:*",
|
||||
"adm-zip": "0.5.9",
|
||||
"adm-zip": "0.5.5",
|
||||
"ansi_up": "^5.1.0",
|
||||
"cac": "^6.7.12",
|
||||
"cookies": "^0.8.0",
|
||||
|
||||
@@ -71,7 +71,7 @@ export interface EventMap extends Record<string, any> {
|
||||
'handler/after': (thisArg: Handler) => VoidReturn
|
||||
'handler/finish/UserRegister': (thisArg: UserRegisterHandler) => VoidReturn
|
||||
'handler/finish': (thisArg: Handler) => VoidReturn
|
||||
'handler/error': (thisArg: Handler) => VoidReturn
|
||||
'handler/error': (thisArg: Handler, e: Error) => VoidReturn
|
||||
'handler/solution/get': (thisArg: ProblemSolutionHandler) => VoidReturn
|
||||
|
||||
'discussion/before-add': (payload: Partial<DiscussionDoc>) => VoidReturn
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hydrooj/import-qduoj",
|
||||
"version": "1.3.1",
|
||||
"version": "1.3.2",
|
||||
"description": "Import QDUOJ problem export",
|
||||
"main": "package.json",
|
||||
"repository": "https://github.com/hydro-dev/Hydro.git",
|
||||
@@ -8,7 +8,7 @@
|
||||
"license": "AGPL-3.0-or-later",
|
||||
"preferUnplugged": true,
|
||||
"dependencies": {
|
||||
"adm-zip": "0.5.9",
|
||||
"adm-zip": "0.5.5",
|
||||
"decode-html": "^2.0.0",
|
||||
"fs-extra": "^10.0.0"
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user