bump beta.10

This commit is contained in:
undefined committed 2025-10-19 20:13:27 +08:00
1 parent e33575343c
commit a8246eacd6
27 files changed
+143 -112

No files matched your search

+14
View File
@@ -111,6 +111,20 @@ Hydro 用户群:1085853538
<details>
<summary><h2>更新日志(点击展开)</h2></summary>
## Hydro 5.0.0-beta.10 / UI 4.58.0-beta.10
- core&ui: 优化新设置页面
- core: 修复乐多榜单尝试数为负
- ui: 修复内置 qface 表情包链接
- core: 修复编辑题号冲突提示
- ui: 修复题目配置页语言选择
- vjudge: 功能优化
- judge: 稳定性修复
- ui: 修复 css 动态加载
- core: 支持比赛材料上传
- core: 性能和内存占用优化
- core: 重命名 PERM_VIEW_DISPLAYNAME 为 PERM_VIEW_USER_PRIVATE_INFO
## Hydro 5.0.0-beta.9 / UI 4.58.0-beta.9
- core: 修复 OI/IOI 赛制一血计算
+8 -8
View File
@@ -1,18 +1,18 @@
{
"name": "@hydrooj/eslint-config",
"version": "3.0.1",
"version": "3.0.2",
"license": "MIT",
"main": "base.mjs",
"repository": "https://github.com/hydro-dev/Hydro",
"dependencies": {
"@antfu/eslint-config": "^5.3.0",
"@eslint-react/eslint-plugin": "^1.53.1",
"@typescript-eslint/eslint-plugin": "^8.43.0",
"@typescript-eslint/parser": "^8.43.0",
"eslint-plugin-de-morgan": "^1.3.1",
"@antfu/eslint-config": "^6.0.0",
"@eslint-react/eslint-plugin": "^2.2.2",
"@typescript-eslint/eslint-plugin": "^8.46.1",
"@typescript-eslint/parser": "^8.46.1",
"eslint-plugin-de-morgan": "^2.0.0",
"eslint-plugin-github": "^6.0.0",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-refresh": "^0.4.20",
"eslint-plugin-react-hooks": "^7.0.0",
"eslint-plugin-react-refresh": "^0.4.24",
"eslint-plugin-simple-import-sort": "^12.1.1",
"globals": "^16.4.0"
},
+13 -2
View File
@@ -130,6 +130,17 @@ export class ApiService extends Service {
});
}
serialize() {
const result = {};
for (const key in APIS) {
result[key] = {
type: APIS[key].type,
input: APIS[key].input.toJSON(),
};
}
return result;
}
async execute(
context: ApiExecutionContext, callOrName: ApiCall<ApiType, any, any> | string,
rawArgs: any, emitHook?: any, project?: any, sendPayload?: (payload: any) => void,
@@ -255,9 +266,9 @@ export class ApiConnectionHandler<C extends Context> extends ConnectionHandler<C
}
}
export function applyApiHandler(ctx: Context, name: string, path: string) {
export async function applyApiHandler(ctx: Context, name: string, path: string) {
ctx.plugin(ApiService);
ctx.inject(['server', 'api'], ({ Route, Connection }) => {
await ctx.inject(['server', 'api'], ({ Route, Connection }) => {
Route(name, path, ApiHandler);
Connection(`${name}_conn`, `${path}/conn`, ApiConnectionHandler);
});
+5 -5
View File
@@ -1,6 +1,6 @@
{
"name": "@hydrooj/framework",
"version": "0.2.3",
"version": "0.2.4",
"main": "index.ts",
"license": "MIT",
"repository": "https://github.com/hydro-dev/Hydro",
@@ -10,15 +10,15 @@
"dependencies": {
"@hydrooj/utils": "workspace:^",
"@koa/router": "^14.0.0",
"emoji-regex": "^10.5.0",
"fs-extra": "^11.3.1",
"koa": "^3.0.1",
"emoji-regex": "^10.6.0",
"fs-extra": "^11.3.2",
"koa": "^3.0.3",
"koa-body": "^6.0.1",
"koa-compress": "^5.1.1",
"path-to-regexp": "^8.3.0",
"sanitize-filename": "^1.6.3",
"saslprep": "^1.0.3",
"schemastery": "^3.17.0",
"schemastery": "^3.17.1",
"shorty.js": "^1.0.1",
"ws": "^8.18.3"
},
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@hydrooj/utils",
"version": "1.4.36",
"version": "1.4.37",
"description": "hydrooj utils",
"main": "lib/utils.ts",
"repository": "https://github.com/hydro-dev/Hydro.git",
@@ -14,11 +14,11 @@
"dependencies": {
"@hydrooj/register": "workspace:^",
"cac": "^6.7.14",
"fs-extra": "^11.3.1",
"fs-extra": "^11.3.2",
"js-yaml": "^4.1.0",
"reggol": "^2.1.0",
"search-query-parser": "^1.6.0",
"systeminformation": "^5.27.8"
"systeminformation": "^5.27.11"
},
"devDependencies": {
"@types/fs-extra": "^11.0.4"
+11 -11
View File
@@ -35,32 +35,32 @@
"@types/autocannon": "^7.12.7",
"@types/chai": "^5.2.2",
"@types/cross-spawn": "^6.0.6",
"@types/node": "24.3.1",
"@types/node": "24.7.0",
"@types/semver": "^7.7.1",
"autocannon": "^8.0.0",
"cac": "^6.7.14",
"chai": "^5.3.3",
"cross-env": "^10.0.0",
"chai": "^6.2.0",
"cross-env": "^10.1.0",
"cross-spawn": "^7.0.6",
"esbuild": "0.25.2",
"eslint": "^9.35.0",
"eslint": "^9.38.0",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-import-resolver-webpack": "^0.13.10",
"fs-extra": "^11.3.1",
"fs-extra": "^11.3.2",
"globals": "^16.4.0",
"globby": "~14.0.2",
"inspectpack": "^4.7.1",
"mongodb-memory-server": "10.2.0",
"mongodb-memory-server": "10.2.3",
"nyc": "^17.1.0",
"ora": "^8.2.0",
"oxlint": "^1.15.0",
"ora": "^9.0.0",
"oxlint": "^1.23.0",
"package-json": "^10.0.1",
"semver": "^7.7.2",
"semver": "^7.7.3",
"simple-git": "^3.28.0",
"supertest": "^7.1.4",
"supports-hyperlinks": "^4.1.2",
"supports-hyperlinks": "^4.3.0",
"typescript": "5.8.3",
"wtfnode": "^0.10.0"
"wtfnode": "^0.10.1"
},
"packageManager": "yarn@4.10.3"
}
+1 -1
View File
@@ -11,6 +11,6 @@
},
"dependencies": {
"crypto-js": "^4.2.0",
"semver": "^7.7.2"
"semver": "^7.7.3"
}
}
@@ -150,7 +150,7 @@ export default function ConfigEditor({
setTimeout(() => {
updateFromMonaco(stringConfig === '{}' ? 'dummy: 1' : `${stringConfig}\n\ndummy: 1`);
setTimeout(() => {
setStringConfig(stringConfig);
setStringConfig(stringConfig || '\n');
setValue(yaml.load(stringConfig));
}, 300);
}, 300);
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@hydrooj/components",
"version": "1.0.0-beta.6",
"version": "1.0.0-beta.7",
"main": "./frontend/index.ts",
"repository": "https://github.com/hydro-dev/Hydro",
"sideEffects": [
@@ -15,13 +15,13 @@
"react-dnd": "^16.0.1",
"react-dnd-html5-backend": "^16.0.1",
"react-toastify": "^11.0.5",
"schemastery-react": "^0.1.4"
"schemastery-react": "^0.1.5"
},
"devDependencies": {
"@types/diff": "^8.0.0",
"@types/js-yaml": "^4.0.9",
"@types/lodash": "^4.17.20",
"sass": "^1.92.1"
"sass": "^1.93.2"
},
"peerDependencies": {
"react": "*",
+5 -5
View File
@@ -1,18 +1,18 @@
{
"name": "@hydrooj/hydrojudge",
"bin": "bin/hydrojudge.js",
"version": "3.5.0-beta.8",
"version": "3.5.0-beta.9",
"main": "./src/index.ts",
"author": "undefined <i@undefined.moe>",
"repository": "https://github.com/hydro-dev/Hydro.git",
"dependencies": {
"@hydrooj/common": "workspace:^",
"@hydrooj/utils": "workspace:^",
"@zip.js/zip.js": "^2.8.2",
"@zip.js/zip.js": "^2.8.8",
"cac": "^6.7.14",
"p-queue": "^8.1.1",
"schemastery": "^3.17.0",
"semver": "^7.7.2",
"p-queue": "^9.0.0",
"schemastery": "^3.17.1",
"semver": "^7.7.3",
"shell-quote": "^1.8.3",
"superagent": "^10.2.3",
"ws": "^8.18.3"
+2 -1
View File
@@ -196,7 +196,8 @@ export function runQueued(
execute: Parameter[], pipeMapping: Pick<PipeMap, 'in' | 'out' | 'name'>[],
params: Parameter, trace?: string, priority?: number,
): Promise<SandboxAdaptedResult[] & AsyncDisposable>;
export function runQueued(execute: string, params: Parameter, trace?: string, priority?: number
export function runQueued(
execute: string, params: Parameter, trace?: string, priority?: number,
): Promise<SandboxAdaptedResult & AsyncDisposable>;
export function runQueued(
arg0: string | Parameter[], arg1: Pick<PipeMap, 'in' | 'out' | 'name'>[] | Parameter,
+14 -14
View File
@@ -1,6 +1,6 @@
{
"name": "hydrooj",
"version": "5.0.0-beta.9",
"version": "5.0.0-beta.10",
"bin": "bin/hydrooj.js",
"main": "src/plugin-api",
"module": "src/plugin-api",
@@ -8,7 +8,7 @@
"author": "undefined <i@undefined.moe>",
"license": "AGPL-3.0-or-later OR Proprietary",
"engines": {
"node": ">=18"
"node": ">=22"
},
"preferUnplugged": true,
"dependencies": {
@@ -21,33 +21,33 @@
"@hydrooj/common": "workspace:^",
"@hydrooj/framework": "workspace:^",
"@hydrooj/utils": "workspace:^",
"@simplewebauthn/server": "13.1.2",
"@simplewebauthn/server": "13.2.2",
"@undefined-moe/require-resolve-hook": "^1.1.0",
"@zip.js/zip.js": "^2.8.2",
"@zip.js/zip.js": "^2.8.8",
"adm-zip": "0.5.16",
"cac": "^6.7.14",
"cordis": "4.0.0-beta.5",
"csv-stringify": "^6.6.0",
"emoji-regex": "^10.5.0",
"emoji-regex": "^10.6.0",
"emojis-list": "2.1.0",
"fs-extra": "^11.3.1",
"fs-extra": "^11.3.2",
"js-yaml": "^4.1.0",
"koa-proxies": "^0.12.4",
"koa-static-cache": "^5.1.4",
"lodash": "^4.17.21",
"lru-cache": "^11.2.1",
"lru-cache": "^11.2.2",
"mime-types": "^3.0.1",
"moment-timezone": "^0.6.0",
"mongodb": "^6.19.0",
"mongodb": "^6.20.0",
"mongodb-uri": "^0.9.7",
"nanoid": "^5.1.5",
"nodemailer": "^7.0.6",
"nanoid": "^5.1.6",
"nodemailer": "^7.0.9",
"notp": "^2.0.3",
"p-queue": "^8.1.1",
"p-queue": "^9.0.0",
"sanitize-filename": "^1.6.3",
"saslprep": "^1.0.3",
"schemastery": "^3.17.0",
"semver": "^7.7.2",
"schemastery": "^3.17.1",
"semver": "^7.7.3",
"shorty.js": "^1.0.1",
"superagent": "^10.2.3",
"tar": "6.2.1",
@@ -63,7 +63,7 @@
"@types/lodash": "^4.17.20",
"@types/mime-types": "^3.0.1",
"@types/mongodb-uri": "^0.9.4",
"@types/nodemailer": "^7.0.1",
"@types/nodemailer": "^7.0.2",
"@types/notp": "^2.0.5",
"@types/saslprep": "^1.0.3",
"@types/semver": "^7.7.1",
+3 -3
View File
@@ -59,7 +59,9 @@ class ScheduleModel {
}
export async function apply(ctx: Context) {
ctx.inject(['worker'], (c) => {
ctx.on('domain/delete', (domainId) => coll.deleteMany({ domainId }));
await ctx.inject(['worker'], (c) => {
c.worker.addHandler('task.daily', async (task) => {
const pref: Record<string, number> = {};
let start = Date.now();
@@ -88,8 +90,6 @@ export async function apply(ctx: Context) {
});
});
ctx.on('domain/delete', (domainId) => coll.deleteMany({ domainId }));
if (process.env.NODE_APP_INSTANCE !== '0') return;
if (!await ScheduleModel.count({ type: 'schedule', subType: 'task.daily' })) {
await ScheduleModel.add({
+3 -3
View File
@@ -179,9 +179,6 @@ async function cleanFiles() {
}
export async function apply(ctx: Context) {
ctx.inject(['worker'], (c) => {
c.worker.addHandler('storage.prune', cleanFiles);
});
ctx.on('domain/delete', async (domainId) => {
const [problemFiles, contestFiles, trainingFiles] = await Promise.all([
StorageModel.list(`problem/${domainId}`),
@@ -190,6 +187,9 @@ export async function apply(ctx: Context) {
]);
await StorageModel.del(problemFiles.concat(contestFiles).concat(trainingFiles).map((i) => i.path));
});
await ctx.inject(['worker'], (c) => {
c.worker.addHandler('storage.prune', cleanFiles);
});
if (process.env.NODE_APP_INSTANCE !== '0') return;
await db.ensureIndexes(
StorageModel.coll,
+2 -2
View File
@@ -25,7 +25,7 @@ export interface EventMap {
'subscription/init': (h: ConnectionHandler<Context>, privileged: boolean) => VoidReturn;
'subscription/subscribe': (channel: string, user: User, metadata: Record<string, string>) => VoidReturn;
'subscription/enable': (
channel: string, h: ConnectionHandler<Context>, privileged: boolean, onDispose: (disposable: () => void) => void
channel: string, h: ConnectionHandler<Context>, privileged: boolean, onDispose: (disposable: () => void) => void,
) => VoidReturn;
'app/watch/change': (path: string) => VoidReturn;
@@ -61,7 +61,7 @@ export interface EventMap {
'document/add': (doc: any) => VoidReturn;
'document/set': <T extends keyof DocType>(
domainId: string, docType: T, docId: DocType[T],
$set: any, $unset: OnlyFieldsOfType<DocType[T], any, true | '' | 1>
$set: any, $unset: OnlyFieldsOfType<DocType[T], any, true | '' | 1>,
) => VoidReturn;
'discussion/before-add': (payload: Partial<DiscussionDoc>) => VoidReturn;
+4 -1
View File
@@ -1,5 +1,5 @@
import type { KoaContext } from '@hydrooj/framework';
import { PERM } from '../../model/builtin';
import { PERM, PRIV } from '../../model/builtin';
import UserModel from '../../model/user';
export default async (ctx: KoaContext, next) => {
@@ -13,6 +13,9 @@ export default async (ctx: KoaContext, next) => {
user = await UserModel.getById(domainId, ctx.session.uid, ctx.session.scope);
}
if (user._id === 0) delete user.viewLang;
else if (!user._udoc.ip.includes(ctx.request.ip) && user.hasPriv(PRIV.PRIV_USER_PROFILE)) {
await UserModel.setById(user._id, { loginip: ctx.request.ip });
}
ctx.HydroContext.user = await user.private();
await next();
};
+1 -1
View File
@@ -24,7 +24,7 @@ export default class MigrationService extends Service {
}
async registerChannel(name: string, s: MigrationScript[]) {
if (this.called) logger.warn('MigrationService.registerChannel: called after doUpgrade');
if (this.called) logger.warn('MigrationService.registerChannel: called after doUpgrade with name: %s', name);
this.channels[name] = s;
}
+1 -1
View File
@@ -7,7 +7,7 @@
"license": "AGPL-3.0-or-later",
"dependencies": {
"mariadb": "^3.4.5",
"mongodb": "^6.19.0",
"mongodb": "^6.20.0",
"turndown": "^7.2.1",
"xml2js": "^0.6.2"
},
+4 -2
View File
@@ -199,7 +199,7 @@ export function apply(ctx: Context) {
ordinal: idx,
color: (typeof (tdoc.balloon?.[idx]) === 'object' ? tdoc.balloon[idx].name : tdoc.balloon?.[idx]) || 'white',
rgb: (typeof (tdoc.balloon?.[idx]) === 'object' ? tdoc.balloon[idx].color : null) || '#ffffff',
time_limit: (parseTimeMS((pdict[i].config as ProblemConfig).timeMax) / 1000).toFixed(1),
time_limit: Math.floor(parseTimeMS((pdict[i].config as ProblemConfig).timeMax) / 100) / 10,
test_data_count: 20,
})),
];
@@ -260,8 +260,10 @@ export function apply(ctx: Context) {
await zip.add(`teams/${i.team_id}/photo.download.txt`, new Zip.TextReader(i.avatar));
}));
await Promise.all(organizations.map(async (i) => {
const avatarSrc = teams.find((j) => j.organization === i)?.avatar;
if (!avatarSrc) return;
await zip.add(`organizations/${orgId[i]}/`, null, { directory: true });
await zip.add(`organizations/${orgId[i]}/photo.download.txt`, new Zip.TextReader(avatar(teams.find((j) => j.organization === i)?.avatar || 'no photo, find and download it yourself')));
await zip.add(`organizations/${orgId[i]}/photo.download.txt`, new Zip.TextReader(avatar(avatarSrc)));
}));
this.binary(await zip.close(), `contest-${tdoc._id}-cdp.zip`);
},
+2 -2
View File
@@ -1,8 +1,8 @@
{
"name": "@hydrooj/onsite-toolkit",
"version": "0.1.0-beta.2",
"version": "0.1.0-beta.3",
"dependencies": {
"@react-spring/web": "^10.0.2",
"@react-spring/web": "^10.0.3",
"react-use": "^17.6.0"
}
}
+2 -2
View File
@@ -1,13 +1,13 @@
{
"name": "@hydrooj/scoreboard-xcpcio",
"license": "AGPL-3.0-or-later",
"version": "0.0.5-beta.3",
"version": "0.0.5-beta.4",
"main": "index.ts",
"repository": "https://github.com/hydro-dev/Hydro.git",
"scripts": {
"postinstall": "node -r @hydrooj/register install.ts"
},
"dependencies": {
"@xcpcio/board-app": "^0.58.3"
"@xcpcio/board-app": "^0.64.5"
}
}
@@ -169,7 +169,7 @@ export async function prompt<T extends string, R extends Record<T, Field>>(title
<h1>{title}</h1>
</div></div>
{layout.map((i) => <div className="row" key={i[0][0]}>
{i.map(([name, field]: [string, Field]) => <div className={`columns medium-${Math.abs(field.columns || 12)}`}>
{i.map(([name, field]: [string, Field]) => <div key={name} className={`columns medium-${Math.abs(field.columns || 12)}`}>
{['text', 'user', 'userId', 'username', 'domain'].includes(field.type) && <label>
{field.label}
<div className="textbox-container">
@@ -9,7 +9,7 @@ ToasterContainer.style.width = '100%';
ToasterContainer.style.zIndex = '9999';
document.body.append(ToasterContainer);
const AppToaster = OverlayToaster.createAsync(
const AppToaster = OverlayToaster.create(
{ position: Position.BOTTOM_LEFT, usePortal: false },
{ container: ToasterContainer },
);
+31 -31
View File
@@ -1,6 +1,6 @@
{
"name": "@hydrooj/ui-default",
"version": "4.58.0-beta.9",
"version": "4.58.0-beta.10",
"author": "undefined <i@undefined.moe>",
"license": "AGPL-3.0",
"main": "index.ts",
@@ -11,19 +11,19 @@
"cli": false
},
"devDependencies": {
"@blueprintjs/core": "^6.3.1",
"@fontsource/dm-mono": "^5.2.6",
"@fontsource/fira-code": "^5.2.6",
"@fontsource/inconsolata": "^5.2.7",
"@fontsource/jetbrains-mono": "^5.2.6",
"@fontsource/pt-mono": "^5.2.6",
"@fontsource/roboto-mono": "^5.2.6",
"@fontsource/source-code-pro": "^5.2.6",
"@fontsource/ubuntu-mono": "^5.2.7",
"@blueprintjs/core": "^6.3.2",
"@fontsource/dm-mono": "^5.2.7",
"@fontsource/fira-code": "^5.2.7",
"@fontsource/inconsolata": "^5.2.8",
"@fontsource/jetbrains-mono": "^5.2.8",
"@fontsource/pt-mono": "^5.2.8",
"@fontsource/roboto-mono": "^5.2.8",
"@fontsource/source-code-pro": "^5.2.7",
"@fontsource/ubuntu-mono": "^5.2.8",
"@hydrooj/utils": "workspace:^",
"@sentry/browser": "^10.11.0",
"@sentry/webpack-plugin": "^4.3.0",
"@simplewebauthn/browser": "13.1.2",
"@sentry/browser": "^10.20.0",
"@sentry/webpack-plugin": "^4.4.0",
"@simplewebauthn/browser": "13.2.2",
"@svgr/webpack": "^8.1.0",
"@types/html-to-text": "^9.0.4",
"@types/jquery": "^3.5.33",
@@ -34,31 +34,31 @@
"@types/nunjucks": "^3.2.6",
"@types/pickadate": "^3.5.35",
"@types/qrcode": "^1.5.5",
"@types/react": "^18.3.24",
"@types/react": "^18.3.26",
"@types/react-dom": "^18.3.7",
"@types/redux-logger": "^3.0.13",
"@types/uuid": "^10.0.0",
"@types/uuid": "^11.0.0",
"@types/webpack-env": "^1.18.8",
"@vscode/codicons": "^0.0.40",
"@vscode/codicons": "^0.0.41",
"ajv": "^8.17.1",
"allotment": "^1.20.4",
"autoprefixer": "^10.4.21",
"browser-update": "^3.3.60",
"browser-update": "^3.3.63",
"chalk": "^5.6.2",
"classnames": "^2.5.1",
"clean-webpack-plugin": "^4.0.0",
"clipboard": "^2.0.11",
"copy-webpack-plugin": "^13.0.1",
"cordis": "4.0.0-beta.5",
"core-js": "^3.45.1",
"core-js-compat": "^3.45.1",
"core-js": "^3.46.0",
"core-js-compat": "^3.46.0",
"css-loader": "^7.1.2",
"diff": "^8.0.2",
"diff-dom": "^5.2.0",
"diff-dom": "^5.2.1",
"echarts": "^6.0.0",
"emojis-keywords": "2.0.0",
"emojis-list": "2.1.0",
"esbuild-loader": "^4.3.0",
"esbuild-loader": "^4.4.0",
"flatpickr": "^4.6.13",
"idb": "^8.0.3",
"jquery": "^3.7.1",
@@ -66,18 +66,18 @@
"jquery.easing": "^1.4.1",
"jquery.transit": "^0.9.12",
"matchmedia-polyfill": "^0.3.2",
"md-editor-rt": "^5.8.4",
"md-editor-rt": "^6.1.0",
"mini-css-extract-plugin": "^2.9.4",
"moment": "^2.30.1",
"monaco-editor": "0.52.2",
"monaco-editor-nls": "^3.1.0",
"monaco-editor-webpack-plugin": "^7.1.0",
"monaco-editor-webpack-plugin": "^7.1.1",
"monaco-themes": "^0.4.7",
"monaco-yaml": "5.1.1",
"nanoid": "^5.1.5",
"nanoid": "^5.1.6",
"normalize.css": "^8.0.1",
"nprogress": "^0.2.0",
"p-queue": "^8.1.1",
"p-queue": "^9.0.0",
"pickadate": "^3.6.4",
"postcss-loader": "7.3.4",
"prism-themes": "^1.9.0",
@@ -98,9 +98,9 @@
"redux-promise-middleware": "^6.2.0",
"redux-thunk": "^3.1.0",
"rupture": "^0.7.1",
"sass": "^1.92.1",
"sass": "^1.93.2",
"sass-loader": "^16.0.5",
"schemastery": "^3.17.0",
"schemastery": "^3.17.1",
"shorty.js": "^1.0.1",
"slideout": "^1.0.1",
"sticky-kit": "^1.1.3",
@@ -114,7 +114,7 @@
"timeago.js": "^4.0.2",
"ts-loader": "^9.5.4",
"web-streams-polyfill": "^4.2.0",
"webpack": "^5.101.3",
"webpack": "^5.102.1",
"webpack-bundle-analyzer": "^4.10.2",
"webpack-dev-server": "^5.2.2",
"webpack-manifest-plugin": "^5.0.1",
@@ -125,11 +125,11 @@
"ansi_up": "^6.0.6",
"cssfilter": "^0.0.11",
"esbuild": "0.25.2",
"fs-extra": "^11.3.1",
"fs-extra": "^11.3.2",
"html-to-text": "^9.0.5",
"js-yaml": "^4.1.0",
"jsesc": "^3.1.0",
"katex": "^0.16.22",
"katex": "^0.16.25",
"lodash": "^4.17.21",
"markdown-it": "^14.1.0",
"markdown-it-anchor": "^9.2.0",
@@ -138,7 +138,7 @@
"markdown-it-imsize": "^2.0.1",
"markdown-it-mark": "^4.0.0",
"markdown-it-merge-cells": "^2.0.0",
"markdown-it-table-of-contents": "^1.0.0",
"markdown-it-table-of-contents": "^1.1.0",
"nunjucks": "^3.2.4",
"schemastery-jsonschema": "^1.1.1",
"streamsaver": "^2.0.6",
@@ -7,7 +7,7 @@
</div>
<div class="section__body">
{{ noscript_note.render() }}
<p name="messages"></p>
<pre name="messages"></pre>
{{ form.form_textarea({
columns:null,
label:'Users',
+4 -4
View File
@@ -8,14 +8,14 @@
"preview": "vite preview"
},
"dependencies": {
"@vitejs/plugin-react": "^5.0.2",
"@vitejs/plugin-react": "^5.0.4",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@types/react": "^18.3.24",
"@types/react": "^18.3.26",
"@types/react-dom": "^18.3.7",
"@vitejs/plugin-react-swc": "^4.0.1",
"vite": "^7.1.5"
"@vitejs/plugin-react-swc": "^4.1.0",
"vite": "^7.1.10"
}
}
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@hydrooj/vjudge",
"version": "1.10.0-beta.3",
"version": "1.10.0-beta.4",
"description": "Submit problems to remote oj",
"main": "./src/index.ts",
"repository": "https://github.com/hydro-dev/Hydro.git",
@@ -9,12 +9,12 @@
"preferUnplugged": true,
"dependencies": {
"@hydrooj/utils": "workspace:^",
"jsdom": "^26.1.0",
"jsdom": "^27.0.1",
"superagent-charset": "^1.2.0",
"superagent-proxy": "^3.0.0"
},
"devDependencies": {
"@types/jsdom": "^21.1.7",
"@types/jsdom": "^27.0.0",
"@types/superagent-proxy": "^3.0.4"
}
}