fix: override vulnerable axios version #493
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What this does
Overrides vulnerable Axios version from
snyk-request-manager
.Motivation for overriding
axios
instead of using later versions of the direct dependency is a breaking change introduced insnyk-request-manager
1.8.5 which enforcesapi[.env].snyk.io
URLs, potentially causing customer configurations to stop working. Any existing users that supplySNYK_API
env vars with the old[env.][app.]snyk.io/api
format would start seeing errors and failures.As the Axios vuln needs addressing ASAP and a complete API URL handling fix would take significant time, an override is called for.
Notes for the reviewer
Instructions on how to run this locally, background context, what to review, questions…
More information
Screenshots
Visuals that may help the reviewer