mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
bump version
This commit is contained in:
8 files changed
+22
-14
No files matched your search
@@ -20,7 +20,7 @@ import { compilerText, md5 } from './utils';
|
||||
const logger = new Logger('judge');
|
||||
|
||||
export class JudgeTask {
|
||||
stat: Record<string, Date>;
|
||||
stat: Record<string, Date> = Object.create(null);
|
||||
source: string;
|
||||
rid: string;
|
||||
lang: string;
|
||||
@@ -38,7 +38,6 @@ export class JudgeTask {
|
||||
callbackCache?: TestCase[];
|
||||
|
||||
constructor(public session: Session, public request: JudgeRequest) {
|
||||
this.stat = {};
|
||||
this.stat.receive = new Date();
|
||||
logger.debug('%o', request);
|
||||
}
|
||||
@@ -112,7 +111,7 @@ export class JudgeTask {
|
||||
next: this.next,
|
||||
isSelfSubmission: this.meta.problemOwner === this.request.uid,
|
||||
key: md5(`${this.source}/${getConfig('secret')}`),
|
||||
trusted: this.request.trusted,
|
||||
trusted: this.request.trusted && this.session.config.trusted,
|
||||
lang: this.lang,
|
||||
langConfig: (this.request.type === 'generate' || ['objective', 'submit_answer'].includes(this.request.config.type))
|
||||
? null : this.session.getLang(this.lang),
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "hydrooj",
|
||||
"version": "4.17.3",
|
||||
"version": "4.17.4",
|
||||
"bin": "bin/hydrooj.js",
|
||||
"main": "src/plugin-api",
|
||||
"module": "src/plugin-api",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hydrooj/ui-default",
|
||||
"version": "4.55.2",
|
||||
"version": "4.55.3",
|
||||
"author": "undefined <i@undefined.moe>",
|
||||
"license": "AGPL-3.0",
|
||||
"main": "index.ts",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hydrooj/utils",
|
||||
"version": "1.4.29",
|
||||
"version": "1.4.30",
|
||||
"description": "hydrooj utils",
|
||||
"main": "lib/utils.ts",
|
||||
"repository": "https://github.com/hydro-dev/Hydro.git",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hydrooj/vjudge",
|
||||
"version": "1.9.13",
|
||||
"version": "1.9.14",
|
||||
"description": "Submit problems to remote oj",
|
||||
"main": "./src/index.ts",
|
||||
"repository": "https://github.com/hydro-dev/Hydro.git",
|
||||
|
||||
Reference in new issue
Block a user