@profullstack/threatcrush 0.13.65 → 0.13.66

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/daemon.js CHANGED
@@ -9571,7 +9571,7 @@ function parseCaddyAccessLog(line) {
9571
9571
  } catch {
9572
9572
  return null;
9573
9573
  }
9574
- if (entry.logger !== "http.log.access") return null;
9574
+ if (typeof entry.logger !== "string" || !/^http\.log\.access(?:\.log\d+)?$/.test(entry.logger)) return null;
9575
9575
  const request = entry.request;
9576
9576
  if (!request || typeof request !== "object" || Array.isArray(request)) return null;
9577
9577
  const req = request;