Skip to content

Upgrade to Express 5 and Node 22+#16

Merged
palhamel merged 1 commit intomainfrom
upgrade/express-5
Feb 10, 2026
Merged

Upgrade to Express 5 and Node 22+#16
palhamel merged 1 commit intomainfrom
upgrade/express-5

Conversation

@palhamel
Copy link
Owner

Summary

  • Upgrade Express from 4.18 to 5.2.1 (modern async error handling, security patches)
  • Bump Node engine from >=20 to >=22 (current LTS, older versions have known CVEs)
  • Update @eslint/js 9.37 → 10.0.1 and globals 16.4 → 17.3
  • Fix 404 catch-all handler for Express 5 named wildcard requirement

Changes

  • package.json - Version bumps for express, @eslint/js, globals, engines.node
  • src/app.ts - Remove '*' path from 404 handler (app.use('*', ...)app.use(...))
  • README.md - Update Node badge from 20+ to 22+

Test plan

  • All 164 tests passing
  • TypeScript typecheck clean
  • ESLint clean
  • npm audit reports 0 vulnerabilities
  • npm outdated reports 0 outdated packages

- Express 4.18 → 5.2.1 (modern async error handling, security patches)
- Node engine >=20 → >=22 (current LTS, older versions have known CVEs)
- @eslint/js 9.37 → 10.0.1, globals 16.4 → 17.3
- Fix 404 catch-all handler for Express 5 wildcard changes
- All 164 tests passing, typecheck clean, lint clean, 0 vulnerabilities
@palhamel palhamel merged commit ed8d17d into main Feb 10, 2026
4 checks passed
@palhamel palhamel deleted the upgrade/express-5 branch February 10, 2026 12:02
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