clarity-pattern-parser 11.0.15 → 11.0.16

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.
@@ -885,7 +885,7 @@
885
885
  for (let pattern of this._recursiveAncestors) {
886
886
  if (pattern._firstIndex === this._firstIndex) {
887
887
  depth++;
888
- if (depth > 2) {
888
+ if (depth > 1) {
889
889
  return true;
890
890
  }
891
891
  }
package/dist/index.esm.js CHANGED
@@ -879,7 +879,7 @@ class Reference {
879
879
  for (let pattern of this._recursiveAncestors) {
880
880
  if (pattern._firstIndex === this._firstIndex) {
881
881
  depth++;
882
- if (depth > 2) {
882
+ if (depth > 1) {
883
883
  return true;
884
884
  }
885
885
  }
package/dist/index.js CHANGED
@@ -883,7 +883,7 @@ class Reference {
883
883
  for (let pattern of this._recursiveAncestors) {
884
884
  if (pattern._firstIndex === this._firstIndex) {
885
885
  depth++;
886
- if (depth > 2) {
886
+ if (depth > 1) {
887
887
  return true;
888
888
  }
889
889
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clarity-pattern-parser",
3
- "version": "11.0.15",
3
+ "version": "11.0.16",
4
4
  "description": "Parsing Library for Typescript and Javascript.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.esm.js",
@@ -104,7 +104,7 @@ export class Reference implements Pattern {
104
104
  if (pattern._firstIndex === this._firstIndex) {
105
105
  depth++;
106
106
 
107
- if (depth > 2) {
107
+ if (depth > 1) {
108
108
  return true;
109
109
  }
110
110
  }