mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 09:46:28 +08:00
workspace: upgrade deps & sort imports
This commit is contained in:
1 parent
336432cc4f
commit
8b30a9218b
115 files changed
+1534
-628
No files matched your search
@@ -1,17 +1,17 @@
|
||||
/* eslint-disable no-await-in-loop */
|
||||
import AdmZip from 'adm-zip';
|
||||
import xml2js from 'xml2js';
|
||||
import decodeHTML from 'decode-html';
|
||||
import fs from 'fs-extra';
|
||||
import { filter } from 'lodash';
|
||||
import decodeHTML from 'decode-html';
|
||||
import { Route, Handler } from 'hydrooj/src/service/server';
|
||||
import xml2js from 'xml2js';
|
||||
import type { ContentNode, ProblemConfigFile } from 'hydrooj';
|
||||
import { FileTooLargeError, ValidationError } from 'hydrooj/src/error';
|
||||
import { buildContent } from 'hydrooj/src/lib/content';
|
||||
import { ProblemAdd } from 'hydrooj/src/lib/ui';
|
||||
import solution from 'hydrooj/src/model/solution';
|
||||
import problem from 'hydrooj/src/model/problem';
|
||||
import { PERM } from 'hydrooj/src/model/builtin';
|
||||
import { FileTooLargeError, ValidationError } from 'hydrooj/src/error';
|
||||
import type { ContentNode, ProblemConfigFile } from 'hydrooj';
|
||||
import problem from 'hydrooj/src/model/problem';
|
||||
import solution from 'hydrooj/src/model/solution';
|
||||
import { Handler, Route } from 'hydrooj/src/service/server';
|
||||
|
||||
class FpsProblemImportHandler extends Handler {
|
||||
async get() {
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
"adm-zip": "^0.5.5",
|
||||
"decode-html": "^2.0.0",
|
||||
"fs-extra": "^10.0.0",
|
||||
"mongodb": "^3.6.12",
|
||||
"mongodb": "^3.7.0",
|
||||
"xml2js": "^0.4.23"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
Reference in new issue
Block a user