@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/index.js CHANGED
@@ -30250,7 +30250,7 @@ function parseCaddyAccessLog(line2) {
30250
30250
  } catch {
30251
30251
  return null;
30252
30252
  }
30253
- if (entry.logger !== "http.log.access") return null;
30253
+ if (typeof entry.logger !== "string" || !/^http\.log\.access(?:\.log\d+)?$/.test(entry.logger)) return null;
30254
30254
  const request = entry.request;
30255
30255
  if (!request || typeof request !== "object" || Array.isArray(request)) return null;
30256
30256
  const req = request;