w: dep: lock adm-zip to 0.5.5

This commit is contained in:
undefined committed 2021-12-21 20:41:22 +08:00
1 parent 00972003fe
commit 40c90c0574
6 files changed
+9 -10

No files matched your search

+1 -1
View File
@@ -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');
}
+2 -2
View File
@@ -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",
+2 -2
View File
@@ -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",
+1 -1
View File
@@ -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
+2 -2
View File
@@ -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"
}