clarity-pattern-parser 10.1.3 → 10.1.4

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.
@@ -2568,7 +2568,7 @@
2568
2568
  return this._pattern.test(text, record);
2569
2569
  }
2570
2570
  clone(name = this._name) {
2571
- const clone = new Context(name, this._pattern, this._children.slice(0, -1));
2571
+ const clone = new Context(name, this._pattern, Object.values(this._patterns));
2572
2572
  return clone;
2573
2573
  }
2574
2574
  getTokens() {