CI / UI screenshots (before/after) (push) Skipped
CI / Lint (eslint) (push) Successful in 23s
CI / Test (jest) (push) Successful in 22s
CI / Security (npm audit) (push) Successful in 14s
CI / Scan (secrets, workflows, shell) (push) Failing after 18s
CI / Integration (api) (push) Successful in 2m43s
CI / Lint (eslint) (pull_request) Successful in 17s
CI / Test (jest) (pull_request) Successful in 18s
CI / Security (npm audit) (pull_request) Successful in 13s
CI / UI (playwright) (push) Successful in 3m0s
CI / Deploy (push) Skipped
CI / Deploy worker (push) Skipped
CI / Notify (push) Skipped
CI / Scan (secrets, workflows, shell) (pull_request) Failing after 14s
CI / Integration (api) (pull_request) Successful in 2m24s
CI / UI (playwright) (pull_request) Successful in 2m16s
CI / Deploy (pull_request) Skipped
CI / Deploy worker (pull_request) Skipped
CI / Notify (pull_request) Skipped
CI / UI screenshots (before/after) (pull_request) Successful in 2m18s
- eslint-plugin-security 4.2.1 (recommended-legacy) with detect-object-injection off (it flags every obj[key]) and file/regex rules off for CI scripts and tests. The remaining hits were false positives with a one-line reason each (fixed page names, the worker's own directory, a null check), plus one real tidy-up: the condition tokenizer's number regex is now two flat patterns with no backtracking, and malformed numbers like 1.2.3 are refused. - zizmor 1.32.0 in the Scan job. Its findings are fixed: persist-credentials: false on every checkout (no job pushes), container images pinned by digest (tag kept in the reference), and the deploy tag step takes github.* values through env instead of template expansion. Left as is: secrets-outside-env (auditor persona; Gitea has no deployment environments). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
58 lines
1.2 KiB
JSON
58 lines
1.2 KiB
JSON
{
|
|
"name": "pulse-server",
|
|
"version": "1.0.0",
|
|
"main": "server.js",
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"scripts": {
|
|
"start": "node server.js",
|
|
"test": "jest --coverage",
|
|
"lint": "eslint --ext .js --max-warnings 0 .",
|
|
"test:ui": "playwright test",
|
|
"test:integration": "jest --config tests/integration/jest.config.js"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"description": "",
|
|
"dependencies": {
|
|
"axios": "^1.20.0",
|
|
"cron-parser": "^5.5.0",
|
|
"dotenv": "^17.2.3",
|
|
"ejs": "3.1.10",
|
|
"express": "^5.1.0",
|
|
"express-rate-limit": "^8.3.1",
|
|
"helmet": "8.1.0",
|
|
"mysql2": "^3.15.3",
|
|
"ws": "^8.18.3"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "1.64.1",
|
|
"eslint": "^8.57.1",
|
|
"eslint-plugin-security": "4.2.1",
|
|
"jest": "^30.5.2"
|
|
},
|
|
"jest": {
|
|
"testPathIgnorePatterns": [
|
|
"/node_modules/",
|
|
"/tests/ui/",
|
|
"/tests/integration/"
|
|
],
|
|
"coverageThreshold": {
|
|
"./lib/": {
|
|
"statements": 90,
|
|
"branches": 80,
|
|
"functions": 80,
|
|
"lines": 90
|
|
},
|
|
"./worker/": {
|
|
"statements": 40,
|
|
"branches": 70,
|
|
"functions": 25,
|
|
"lines": 40
|
|
}
|
|
}
|
|
}
|
|
}
|