task/BIT-14769-dependency-updates
main
Addresses BIT-14769 acceptance criteria for dependency management and security.
Security audit (previous commit):
npm audit fix
This PR also adds:
npm audit --audit-level=high
test.yml
docs/dependency-update-policy.md
docs/
Resolves all 7 known vulnerabilities: - fast-xml-parser ^4.5.1 → ^5.7.2 (GHSA-gh4j-gqv2-49f6: XMLBuilder comment/CDATA injection) - node-cron ^3.0.3 → ^4.2.1 (GHSA-w5hq-g745-h8pq: uuid buffer bounds check) - axios, follow-redirects, brace-expansion, picomatch fixed via npm audit fix API compatibility verified: XMLParser options (ignoreAttributes, trimValues, parseTagValue) unchanged in v5; cron.schedule() + task.stop() unchanged in v4. 251 tests pass. Co-Authored-By: Paperclip <[email protected]>
- Add npm audit --audit-level=high step to test.yml CI workflow - Create docs/dependency-update-policy.md with update cadence, security scanning procedure, and documented major-version holdbacks (openai 4→6, eslint 8→10, c8 9→11, dotenv 16→17) Addresses BIT-14769 acceptance criteria: * Dependency scanning integrated into CI pipeline * Update policy documented in docs/ * All packages >2 major versions behind have documented reasons Paperclip-Issue: BIT-14769 Paperclip-Run: f8099c2b-26da-4c95-b001-a8b57a6d9f6f
CI green; dependency PR — approve.
No dependencies set.
The note is not visible to the blocked user.
Summary
Addresses BIT-14769 acceptance criteria for dependency management and security.
Security audit (previous commit):
npm audit fixThis PR also adds:
npm audit --audit-level=highstep in CI (test.yml) — builds fail on high/critical CVEsdocs/dependency-update-policy.md— documents update cadence, major-version holdbacks with reasons, quarterly runbookAcceptance Criteria Status
docs/Test plan
npm audit --audit-level=highreturns 0 vulnerabilitiesdocs/dependency-update-policy.mdfor accuracyCI green; dependency PR — approve.