Skip to content

chore(deps): upgrade Express ecosystem and resolve types #12

Description

@0dillon

Summary

Our core API framework dependencies, specifically Express and its associated middleware types, are falling significantly behind the upstream releases. Running outdated server frameworks exposes us to potential DoS vulnerabilities and deprives us of performance improvements in request routing.

This chore requires bumping Express to the latest stable version and carefully resolving the resulting TypeScript compiler errors. We have several custom middlewares that rely on extending the generic Request object, which typically breaks during major version upgrades. The entire routing tree must be validated against the new type definitions.

Acceptance Criteria

  • Bump express, @types/express, and related middlewares to latest versions.
  • Fix all TypeScript compiler errors in src/middleware/.
  • Run the full test suite to ensure no behavioral regressions in routing.
  • Update the package-lock.json securely.

Tech Stack

TypeScript (Node.js 24), npm, Express.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions