Compare commits

...

4 Commits

Author SHA1 Message Date
Ciro Spaciari
2a0881e6dc address IRL feedback 2025-11-12 12:35:33 -08:00
Ciro Spaciari
7ba622c661 fix dont 2025-11-11 23:15:37 -08:00
Ciro Spaciari
1154ed613b comment 2025-11-11 23:08:43 -08:00
Ciro Spaciari
8bb90431ce handle uninitialized 2025-11-11 23:01:11 -08:00

View File

@@ -328,7 +328,7 @@ pub fn ResolutionType(comptime SemverIntType: type) type {
if (lhs.tag != rhs.tag) return false;
return switch (lhs.tag) {
.root => true,
.uninitialized, .root => true,
.npm => lhs.value.npm.eql(rhs.value.npm),
.local_tarball => lhs.value.local_tarball.eql(
rhs.value.local_tarball,
@@ -370,7 +370,7 @@ pub fn ResolutionType(comptime SemverIntType: type) type {
lhs_string_buf,
rhs_string_buf,
),
else => unreachable,
else => true,
};
}