You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Need this for a case where we programmatically generate a list of all
the versions subject to a security vulnerability by virtue of depending
exclusively on vulnerable versions of a given dependency.
While it's not a perfect heuristic, with this method on semver, instead
of printing out something long and confusing like this:
8.0.1 || 8.0.2 || 9.0.0 || 9.0.1 || 10.0.0-alpha.0 || 10.0.0-alpha.1
|| 10.0.0-alpha.2 || 10.0.0-alpha.3 || 10.0.0-alpha.4 || 10.0.0 ||
10.0.1 || 10.0.2 || 10.0.3 || 10.1.0 || 10.1.1 || 10.1.2 || 11.0.0
|| 11.1.0 || 12.0.0-candidate.0 || 12.0.0 || 12.0.1
we can show this:
8.0.1 - 11.1.0 || 12.0.0-candidate.0 - 12.0.1
0 commit comments