DC-084/085/089/090: Quick wins batch
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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user