docfast/dist
DocFast Agent a0d4ba964c
All checks were successful
Deploy to Production / Deploy to Server (push) Successful in 1m4s
fix: audit #18 rate limit cleanup (.unref), audit #25 consistent error shapes
Audit #18 - Rate limit store memory growth:
- rateLimitStore already had cleanup via cleanupExpiredEntries() per-request + 60s interval
- Added .unref() to the setInterval timer for clean graceful shutdown behaviour

Audit #25 - Consistent error response shapes:
- billing.ts: Fixed 409 plain-text response -> JSON { error: "..." }
- index.ts: Simplified 404 from 4-field object to { error: "Not Found: METHOD path" }
- signup.ts: Removed extra retryAfter field from rate-limit message object
- pdfRateLimit.ts: Merged limit/tier/retryAfter into single error message string
- usage.ts: Merged limit/used/upgrade fields into single error message string
- convert.ts: Merged detail field into error message (3 occurrences)

All error responses now consistently use {"error": "message"} shape.
2026-02-17 08:10:14 +00:00
..
__tests__ feat: Add built dist files with EU compliance routes 2026-02-16 13:09:25 +00:00
middleware fix: audit #18 rate limit cleanup (.unref), audit #25 consistent error shapes 2026-02-17 08:10:14 +00:00
routes fix: audit #18 rate limit cleanup (.unref), audit #25 consistent error shapes 2026-02-17 08:10:14 +00:00
services Session 45: support email, audit fixes (template validation, content-type, admin auth, waitUntil) 2026-02-16 19:30:21 +00:00
index.js fix: audit #18 rate limit cleanup (.unref), audit #25 consistent error shapes 2026-02-17 08:10:14 +00:00