DC-084/085/089/090: Quick wins batch
CI / Test & Lint (push) Canceled after 0s
CI / Security audit (push) Canceled after 0s

DC-084: Add .dockerignore (excludes __tests__/, .git/, node_modules/, coverage/)
DC-085: Replace Math.random() with crypto.randomUUID()/crypto.randomBytes() for IDs
DC-089: Add dedicated rate limiter on POST /license/activate (10 attempts/15min)
DC-090: Pin Node.js to 20.11.1-alpine3.19 + add engines field to package.json

All 1539 tests pass. ESLint: 0 errors.
This commit is contained in:
Hermes
2026-08-12 02:24:28 -07:00
parent bb20f02cbf
commit 5c02bfba1d
6 changed files with 33 additions and 11 deletions
+3
View File
@@ -3,6 +3,9 @@
"version": "1.15.0",
"description": "DashCaddy API server - Dashboard backend for Docker, Caddy & DNS management",
"main": "server.js",
"engines": {
"node": ">=20.0.0"
},
"scripts": {
"start": "node server.js",
"test": "jest",