diff --git a/packages/fount/src/versions.ts b/packages/fount/src/versions.ts index 0ce7477..7106775 100644 --- a/packages/fount/src/versions.ts +++ b/packages/fount/src/versions.ts @@ -77,7 +77,7 @@ export const getSemanticVersionsByRelativeVersions = ( ReadonlyArray.map(([_x, y, z]) => Tuple.make(y as SemanticVersion, z)), // If there are spillover versions somehow between the pages, get rid of them - ReadonlyArray.dedupeAdjacent, + ReadonlyArray.dedupeWith((x, y) => x[0] === y[0] && x[1] === y[1]), // Regex / array index could have returned undefined, so let's convert // to options and then zip the while object to an options as long as both