Skip to content

fix(deps): resolve npm audit vulnerabilities#71

Merged
marcusolsson merged 1 commit into
mainfrom
fix/security-audit-2025-06
Jun 3, 2026
Merged

fix(deps): resolve npm audit vulnerabilities#71
marcusolsson merged 1 commit into
mainfrom
fix/security-audit-2025-06

Conversation

@marcusolsson

Copy link
Copy Markdown
Contributor

Summary

Resolves all 8 npm audit vulnerabilities (4 moderate, 3 high, 1 critical).

Changes

Package Before After Fixes
vitest ^1.0.0 ^4.1.8 esbuild CVE
eslint-plugin-sonarjs ^3.0.2 ^4.0.3 minimatch ReDoS
openapi-typescript ^6.7.4 ^7.13.0 undici injection + memory issues

Also excludes dist/ from vitest test discovery (v4 default behavior change).

Verification

  • npm audit0 vulnerabilities
  • npm run typecheck → ✅
  • npm run lint → ✅
  • npm run test:run223 tests passed

Breaking changes reviewed:

  • vitest v1→v4: test API unchanged; only internal deps updated
  • eslint-plugin-sonarjs v3→v4: compatible with eslint ^10
  • openapi-typescript v6→v7: CLI usage unchanged, only used in generate-types script

- vitest ^1.0.0 → ^4.1.8 (fixes esbuild CVE)
- eslint-plugin-sonarjs ^3.0.2 → ^4.0.3 (fixes minimatch ReDoS)
- openapi-typescript ^6.7.4 → ^7.13.0 (fixes undici injection/memory issues)
- vitest.config.ts: exclude dist/ from test discovery (v4 default behavior change)

All 223 tests passing, 0 audit vulnerabilities remaining.
@marcusolsson marcusolsson merged commit 39bccaa into main Jun 3, 2026
@marcusolsson marcusolsson deleted the fix/security-audit-2025-06 branch June 3, 2026 00:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant