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",