tods-competition-factory 1.6.30 → 1.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/forge/generate.mjs +6 -2
- package/dist/forge/generate.mjs.map +1 -1
- package/dist/forge/query.mjs +6 -2
- package/dist/forge/query.mjs.map +1 -1
- package/dist/forge/transform.mjs +6 -2
- package/dist/forge/transform.mjs.map +1 -1
- package/dist/index.mjs +8 -4
- package/dist/index.mjs.map +1 -1
- package/dist/tods-competition-factory.development.cjs.js +3 -3
- package/dist/tods-competition-factory.development.cjs.js.map +1 -1
- package/dist/tods-competition-factory.production.cjs.min.js +1 -1
- package/dist/tods-competition-factory.production.cjs.min.js.map +1 -1
- package/package.json +12 -11
package/dist/forge/generate.mjs
CHANGED
|
@@ -16225,11 +16225,15 @@ function isValid(matchUpFormat) {
|
|
|
16225
16225
|
if (typeof matchUpFormat !== "string")
|
|
16226
16226
|
return false;
|
|
16227
16227
|
const parsedFormat = parse(matchUpFormat);
|
|
16228
|
-
const setParts = matchUpFormat.match(
|
|
16228
|
+
const setParts = matchUpFormat.match(
|
|
16229
|
+
/-S:([1-9])+\/TB([0-9]{1,2})@?([1-9]?)*/
|
|
16230
|
+
);
|
|
16229
16231
|
const setsTo = setParts?.[1];
|
|
16230
16232
|
const tiebreakTo = setParts?.[2];
|
|
16231
16233
|
const tiebreakAt = setParts?.[3];
|
|
16232
|
-
const finalSetParts = matchUpFormat.match(
|
|
16234
|
+
const finalSetParts = matchUpFormat.match(
|
|
16235
|
+
/-F:([1-9])+\/TB([0-9]{1,2})@?([1-9]?)*/
|
|
16236
|
+
);
|
|
16233
16237
|
const finalSetTo = finalSetParts?.[1];
|
|
16234
16238
|
const finalSetTiebreakTo = finalSetParts?.[2];
|
|
16235
16239
|
const finalTiebreakAt = finalSetParts?.[3];
|