bump version

This commit is contained in:
undefined committed 2022-07-31 19:52:36 +08:00
1 parent 614eefcb31
commit 931b7b391e
4 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@hydrooj/hydrojudge",
"bin": "bin/hydrojudge.js",
"version": "2.22.1",
"version": "2.22.2",
"main": "package.json",
"author": "undefined <i@undefined.moe>",
"repository": "https://github.com/hydro-dev/Hydro.git",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "hydrooj",
"version": "3.14.21",
"version": "3.14.22",
"bin": "bin/hydrooj.js",
"main": "src/loader",
"module": "src/loader",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@hydrooj/ui-default",
"version": "4.38.26",
"version": "4.38.27",
"author": "undefined <i@undefined.moe>",
"license": "AGPL-3.0",
"main": "hydro.js",
+4 -4
View File
@@ -173,7 +173,7 @@ interface MatchRule {
const SubtaskMatcher: MatchRule[] = [
{
regex: /^([^\d]*(?:\d+[a-zA-Z]+)*)(\d+).(in|txt)$/,
regex: /^([^\d]*(?:\d+[a-zA-Z]+)*)(\d+)\.(in|txt)$/,
output: [
(a) => `${a[1] + a[2]}.out`,
(a) => `${a[1] + a[2]}.ans`,
@@ -195,10 +195,10 @@ const SubtaskMatcher: MatchRule[] = [
preferredScorerType: 'sum',
},
{
regex: /^([^\d]*)([0-9]+)([-_])([0-9]+).in$/,
regex: /^([^\d]*)([0-9]+)([-_])([0-9]+)\.in$/,
output: [
(a) => `${a[1] + a[2]}${a[3]}${a[4]}.out`,
(a) => `${a[1] + a[2]}${a[3]}${a[4]}.ans`,
(a) => `${a[1]}${a[2]}${a[3]}${a[4]}.out`,
(a) => `${a[1]}${a[2]}${a[3]}${a[4]}.ans`,
],
id: (a) => +a[4],
subtask: (a) => +a[2],