For the complete documentation index, see llms.txt. This page is also available as Markdown.

Upgrade package versions to fix vulnerabilities

How to upgrade package versions to fix vulnerabilities with Snyk

Snyk will always recommend the smallest upgrade of a dependency to resolve a vulnerability.

To resolve a vulnerability in a transitive dependency, Snyk will calculate the dependency tree for your Project and determine the minimum upgrade to the direct dependency that will result in a vulnerability-free version of the indirect dependency.

Some fixes may require a major upgrade of a dependency. In this situation, if Snyk suspects a major change that would cause breakage, the Fix PR screen indicates this.

See Upgrading dependencies with automatic PRs for more details.

Last updated

Was this helpful?