Vulnerability remediation using Yarn resolutions #22050
Replies: 4 comments
-
Hi! I can say "yes" to both :) |
Beta Was this translation helpful? Give feedback.
-
Thanks. I guess then the downside of this approach is that potentially this new version (i.e. |
Beta Was this translation helpful? Give feedback.
-
Woops - didn't see that before 🤔 Yes, although there is a potential problem because it'll also force packages that are, for example, |
Beta Was this translation helpful? Give feedback.
-
Assume that:
thepackage
withinyarn.lock
1.8.5
)Can we "resolve" this vulnerability in all cases by simply adding it as a
resolutions
entry?And should it be written just like this?
Would the above achieve the following dual aims?
< 1.8.5
versions even if some dependencies/sub-dependencies depend on versions in that range@arcanis could you clarify if this is a good approach to vulnerability remediation of transitive Yarn.lock dependencies?
Beta Was this translation helpful? Give feedback.
All reactions