mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +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,5 +1,5 @@
|
||||
import superagent, { SuperAgentRequest } from 'superagent';
|
||||
import fs from 'fs';
|
||||
import superagent, { SuperAgentRequest } from 'superagent';
|
||||
|
||||
async function _download(url: string, path: string, retry: number) {
|
||||
const w = fs.createWriteStream(path);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import AnsiUp from 'ansi_up';
|
||||
import { ObjectID } from 'mongodb';
|
||||
import { size, formatSeconds } from '@hydrooj/utils/lib/utils';
|
||||
import { formatSeconds, size } from '@hydrooj/utils/lib/utils';
|
||||
|
||||
export { size, formatSeconds } from '@hydrooj/utils/lib/utils';
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import readYamlCases from '@hydrooj/utils/lib/cases';
|
||||
import { load } from 'js-yaml';
|
||||
import readYamlCases from '@hydrooj/utils/lib/cases';
|
||||
import type { ProblemConfig, ProblemConfigFile } from '../interface';
|
||||
|
||||
export async function parseConfig(config: string | ProblemConfigFile = {}) {
|
||||
|
||||
Reference in new issue
Block a user