clarity-pattern-parser 11.3.0 → 11.3.2

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/index.js CHANGED
@@ -910,7 +910,7 @@ class Reference {
910
910
  for (let pattern of this._recursiveAncestors) {
911
911
  if (pattern.startedOnIndex === this.startedOnIndex) {
912
912
  depth++;
913
- if (depth > 0) {
913
+ if (depth > 1) {
914
914
  return true;
915
915
  }
916
916
  }