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
fix(model): Stop throwing accidentally from an invariant check
The previous implementation of `Identifier.isVersionRange()` returned
true if and only if the version string contained characters hard-coded
to be a version range indicator, see the constant
`IVY_VERSION_RANGE_INDICATORS`. This heuristic returns false positives
for versions which are not a version range, but contain version range
indicators, such as for the package `Crate::wasi:0.13.3+wasi-0.2.2`.
Such false positives in turn make the recently introduced invariant
check in the constructor of `PackageConfiguration` fail accidentally.
Improve the heuristic of `Identifier.isVersionRange()` to fix that.
Signed-off-by: Frank Viernau <[email protected]>
0 commit comments