upgrade deps

This commit is contained in:
undefined committed 2026-08-09 07:28:40 +08:00
1 parent f29971a30d
commit fc67389b49
30 files changed
+70 -70

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@ import { tmpdir } from 'os';
import path from 'path';
import { CAC, cac } from 'cac';
import fs from 'fs-extra';
import yaml from 'js-yaml';
import * as yaml from 'js-yaml';
import superagent from 'superagent';
import { formatSeconds, Logger } from '@hydrooj/utils';
import * as sysinfo from '@hydrooj/utils/lib/sysinfo';
+1 -1
View File
@@ -3,7 +3,7 @@ import '../lib/index';
import path from 'path';
import fs from 'fs-extra';
import yaml from 'js-yaml';
import * as yaml from 'js-yaml';
import { Context } from '../context';
import { Logger } from '../logger';
import { PRIV } from '../model/builtin';
+1 -1
View File
@@ -1,7 +1,7 @@
import path from 'path';
import { generateRegistrationOptions, verifyRegistrationResponse } from '@simplewebauthn/server';
import { isoBase64URL, isoUint8Array } from '@simplewebauthn/server/helpers';
import yaml from 'js-yaml';
import * as yaml from 'js-yaml';
import { pick } from 'lodash';
import { Binary, ObjectId } from 'mongodb';
import { UAParser } from 'ua-parser-js';
+1 -1
View File
@@ -1,4 +1,4 @@
import yaml from 'js-yaml';
import * as yaml from 'js-yaml';
import { escapeRegExp, pick } from 'lodash';
import moment from 'moment-timezone';
import { ObjectId } from 'mongodb';
+1 -1
View File
@@ -1,6 +1,6 @@
import assert from 'assert';
import fs from 'fs-extra';
import yaml from 'js-yaml';
import * as yaml from 'js-yaml';
import { omit } from 'lodash';
import { ObjectId } from 'mongodb';
import sanitize from 'sanitize-filename';
+1 -1
View File
@@ -5,7 +5,7 @@ import path from 'path';
import { Readable } from 'stream';
import { Entry, ZipReader } from '@zip.js/zip.js';
import fs from 'fs-extra';
import yaml from 'js-yaml';
import * as yaml from 'js-yaml';
import { keyBy, pick } from 'lodash';
import { Filter, ObjectId } from 'mongodb';
import { ProblemConfigFile, ProblemType } from '@hydrooj/common';
+1 -1
View File
@@ -2,7 +2,7 @@
/* eslint-disable no-await-in-loop */
import fs from 'fs';
import saslPrep from '@mongodb-js/saslprep';
import yaml from 'js-yaml';
import * as yaml from 'js-yaml';
import { Dictionary } from 'lodash';
import moment from 'moment-timezone';
import Schema from 'schemastery';
+1 -1
View File
@@ -1,4 +1,4 @@
import yaml from 'js-yaml';
import * as yaml from 'js-yaml';
import Schema from 'schemastery';
import { Context, Service } from './context';
import { Logger } from './logger';
+1 -1
View File
@@ -2,7 +2,7 @@
/* eslint-disable ts/no-unused-vars */
/* eslint-disable no-await-in-loop */
/* eslint-disable ts/naming-convention */
import yaml from 'js-yaml';
import * as yaml from 'js-yaml';
import { ObjectId } from 'mongodb';
import { randomstring, sleep } from '@hydrooj/utils';
import { buildContent } from './lib/content';