Files
nelson-baptista 836d967aeb
CI / Test ingest-api (pull_request) Successful in 33s
CI / Test api (pull_request) Successful in 34s
CI / Lint and typecheck admin-ui (pull_request) Successful in 1m19s
CI / Validate Docker build (pull_request) Successful in 3m54s
chore(runtime): BIT-31723 upgrade Node 20 → Node 24 LTS + audit PHP/TS code
- Dockerfiles (admin-ui, collector-worker, ingest-api): node:20-bookworm-slim → node:24-bookworm-slim
- CI (.gitea/workflows/ci.yml): node-version '20' → '24' in all 3 jobs
- package.json engines.node: '>=20' → '>=24.22.1' (admin-ui, api, collector-worker, ingest-api, web)
- @types/node: ^20/^22 → ^24 in all packages
- api: bcrypt ^5.1.1 → ^6.0.0 (Node 24 prebuilt binary compat)
- clients/php/ErrorReporter.php: PHP 8.4+ compat audit (no deprecated patterns)
- clients/node/errorReporter.mjs: Node 24+ doc update

All tests verified locally:
- api: 51/51 passed (vitest)
- ingest-api: 40 passed + 14 skipped (vitest)
- collector-worker: 12/12 passed (vitest)
- admin-ui: lint + typecheck clean
- web: lint + typecheck + build clean

Paperclip-Agent: Nelson Baptista (urlKey nelson-baptista; id e34f1b0f-62db-487c-8584-f6a47203f7b5)
Paperclip-Issue: BIT-31723
Paperclip-Run: 76d06689-1879-421f-ad2c-04f5fe85d21d
2026-10-23 17:30:13 +01:00

28 lines
624 B
JSON

{
"name": "@bitreport/error-reporting-collector-worker",
"version": "0.1.0",
"private": true,
"type": "module",
"description": "Active polling collectors for BitReport error reporting (BIT-180)",
"scripts": {
"dev": "tsx watch src/main.ts",
"build": "tsc",
"start": "node dist/main.js",
"typecheck": "tsc --noEmit",
"test": "vitest run"
},
"dependencies": {
"dotenv": "^16.4.5",
"mysql2": "^3.11.5"
},
"devDependencies": {
"@types/node": "^24.0.0",
"tsx": "^4.19.2",
"typescript": "^5.6.3",
"vitest": "^2.1.0"
},
"engines": {
"node": ">=24.22.1"
}
}