Skip to content

Conversation

jibrang
Copy link
Contributor

@jibrang jibrang commented Jul 30, 2025

What approach did you choose and why?

We are implementing an override to use version 2.16.2 of the koa npm package to address the following security vulnerability: https://github.com/github/browser-support/security/dependabot/38.

This approach is recommended because koa is a transitive dependency, and some dependencies continue to use the vulnerable version. Overriding ensures our project uses a secure version until upstream dependencies are updated.

Verified that we are using the correct koa version after the update:

 npm ls koa
@github/browser-support@1.2.2 /workspaces/browser-support
└─┬ @web/dev-server-esbuild@1.0.4
  └─┬ @web/dev-server-core@0.7.5
    └── koa@2.16.2 overridden

@Copilot Copilot AI review requested due to automatic review settings July 30, 2025 18:38
@jibrang jibrang requested a review from a team as a code owner July 30, 2025 18:38
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a security fix by overriding the koa npm package version to 2.16.2 to address a security vulnerability in transitive dependencies that continue to use vulnerable versions of koa.

@jibrang jibrang merged commit a29bf69 into main Jul 30, 2025
5 checks passed
@jibrang jibrang deleted the jibrang/override-koa-version branch July 30, 2025 19:38
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.

3 participants