@ztimson/utils 0.25.16 → 0.25.17

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.mjs CHANGED
@@ -1788,7 +1788,7 @@ class PathEvent {
1788
1788
  const parsedTarget = makeArray(target).map((pe) => new PathEvent(pe));
1789
1789
  const parsedRequired = makeArray(has).map((pe) => new PathEvent(pe));
1790
1790
  return !!parsedRequired.find((r) => !!parsedTarget.find(
1791
- (t) => (r.fullPath == "*" || t.fullPath == "*" || r.fullPath.startsWith(t.fullPath) || t.fullPath.startsWith(r.fullPath)) && (r.all || t.all || r.methods.intersection(t.methods).length)
1791
+ (t) => (r.fullPath == "*" || t.fullPath == "*" || r.fullPath.startsWith(t.fullPath)) && (r.all || t.all || r.methods.intersection(t.methods).length)
1792
1792
  ));
1793
1793
  }
1794
1794
  /**