clarity-pattern-parser 9.1.0 → 9.2.0

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.
@@ -1486,6 +1486,12 @@
1486
1486
  get children() {
1487
1487
  return this._children;
1488
1488
  }
1489
+ get min() {
1490
+ return this.children[0].min;
1491
+ }
1492
+ get max() {
1493
+ return this.children[0].max || Infinity;
1494
+ }
1489
1495
  constructor(name, pattern, options = {}) {
1490
1496
  this._id = `repeat-${idIndex$3++}`;
1491
1497
  this._pattern = pattern;