Skip to content

Fix npm audit findings and turn on Renovate - #5

Merged
vadim9999 merged 1 commit into
mainfrom
chore/renovate-audit-fix
Nov 23, 2026
Merged

vadim9999 merged 1 commit into
mainfrom
chore/renovate-audit-fix

Conversation

@vadim9999

Copy link
Copy Markdown
Contributor

What

  • npm audit fix updates the lockfile only: ESLint 10.14 → 10.15, typescript-eslint 8.72 → 8.73, minimatch 10 → 11. npm audit goes from 9 moderate findings to 0. Everything that changed is a dev tool; package.json and the runtime dependencies are untouched.
  • renovate.json, based on the frontend's config:
    • lock file maintenance;
    • groups: Express (+ cors, helmet), pino, Vitest and supertest, ESLint and Prettier, GitHub Actions;
    • dev-tool patch updates automerge once CI is green;
    • typescript held at <7, because typescript-eslint supports <6.1 only (typescript-eslint#10940);
    • @types/node held at <25, matching .nvmrc.
    • ESLint is not held at <10 as it is in the frontend: this repo already uses ESLint 10 and has no eslint-config-next.
  • AGENTS.md: a line explaining why TypeScript 7 is off limits and where that is enforced.

Why

The Renovate onboarding PR (#1) was closed without being merged, so nothing has updated this repo's dependencies since then. The audit findings are one result of that.

How to verify

  • npm ci && npm audit reports 0 vulnerabilities.
  • npx --package renovate renovate-config-validator renovate.json validates the config.
  • After merge, Renovate should open its Dependency Dashboard issue on its next run. If it does not, check that the Renovate app still has access to this repo.

Checklist

  • One concern per PR
  • npm run lint, npm run typecheck, npm run format:check pass
  • npm test passes; new behavior has a test (55 tests; no code changed)
  • Routes or schemas changed → npm run openapi run, openapi.json and the README endpoint table updated (not applicable)
  • Breaking API change → matching PR in email-template-editor-reactjs linked (not applicable)

npm audit fix updates ESLint 10.14 → 10.15, typescript-eslint 8.72 →
8.73 and minimatch 10 → 11 in the lockfile, which clears all 9 moderate
findings. All are dev tools; runtime dependencies and package.json are
unchanged.

The Renovate onboarding PR (#1) was closed unmerged, so nothing has
updated dependencies since. renovate.json follows the frontend's:
lock file maintenance, groups, automerge of dev-tool patches on green
CI, typescript held at <7 (typescript-eslint supports <6.1) and
@types/node at the .nvmrc major. ESLint is not held back: this repo
already uses ESLint 10 without eslint-config-next.
@vadim9999
vadim9999 merged commit a82f809 into main Nov 23, 2026
2 checks passed
@vadim9999
vadim9999 deleted the chore/renovate-audit-fix branch November 23, 2026 11:31
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