Skip to content

Commit fbaf2d9

Browse files
committed
fix: use version publish date instead of modified date for 'updated' column
1 parent 57ca4ac commit fbaf2d9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/composables/useNpmRegistry.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ function packumentToSearchResult(pkg: MinimalPackument, weeklyDownloads?: number
369369
score: { final: 0, detail: { quality: 0, popularity: 0, maintenance: 0 } },
370370
searchScore: 0,
371371
downloads: weeklyDownloads !== undefined ? { weekly: weeklyDownloads } : undefined,
372-
updated: modified,
372+
updated: pkg.time[latestVersion] || modified,
373373
}
374374
}
375375

0 commit comments

Comments
 (0)