Skip to content
Discussion options

You must be logged in to vote

This is a common issue with Dependabot alerts. Merging the PR doesn't always auto-dismiss the alert. A few things to check:

  1. Lock file might not be updated - If you're using npm/yarn, merging a Dependabot PR updates package.json but sometimes the lock file still references the old version. Run npm install or yarn install locally, commit the updated lock file, and push.

  2. Transitive dependency - The vulnerable package might be a sub-dependency. Dependabot updates the direct dep, but the transitive dep might still pull in the old version. Check with:

    npm ls <vulnerable-package>

    If it shows the old version under another package, you need that parent package updated too.

  3. Force re-evaluation

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@pachewise
Comment options

Answer selected by pachewise
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug GitHub or a GitHub feature is not working as intended Code Security Build security into your GitHub workflow with features to keep your codebase secure Welcome 🎉 Used to greet and highlight first-time discussion participants. Welcome to the community! source:ui Discussions created via Community GitHub templates
2 participants