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.
@@ -340,11 +340,11 @@ function isValid(matchUpFormat) {
340
340
  if (typeof matchUpFormat !== 'string')
341
341
  return false;
342
342
  var parsedFormat = parse(matchUpFormat);
343
- var setParts = matchUpFormat.match(/-S:(\d+)+\/TB(\d+)@?(\d*)*/);
343
+ var setParts = matchUpFormat.match(/-S:([1-9])+\/TB([0-9]{1,2})@?([1-9]?)*/);
344
344
  var setsTo = setParts === null || setParts === void 0 ? void 0 : setParts[1];
345
345
  var tiebreakTo = setParts === null || setParts === void 0 ? void 0 : setParts[2];
346
346
  var tiebreakAt = setParts === null || setParts === void 0 ? void 0 : setParts[3];
347
- var finalSetParts = matchUpFormat.match(/-F:(\d+)+\/TB(\d+)@?(\d*)*/);
347
+ var finalSetParts = matchUpFormat.match(/-F:([1-9])+\/TB([0-9]{1,2})@?([1-9]?)*/);
348
348
  var finalSetTo = finalSetParts === null || finalSetParts === void 0 ? void 0 : finalSetParts[1];
349
349
  var finalSetTiebreakTo = finalSetParts === null || finalSetParts === void 0 ? void 0 : finalSetParts[2];
350
350
  var finalTiebreakAt = finalSetParts === null || finalSetParts === void 0 ? void 0 : finalSetParts[3];
@@ -362,7 +362,7 @@ var matchUpFormatCode = {
362
362
  };
363
363
 
364
364
  function factoryVersion() {
365
- return '1.6.30';
365
+ return '1.7.1';
366
366
  }
367
367
 
368
368
  /******************************************************************************