Add package name again

This commit is contained in:
Sander Declerck 2026-05-05 10:55:22 +02:00
parent dc1bbea56b
commit 24127792d4
No known key found for this signature in database

View file

@ -68,6 +68,8 @@ export function modifyNpmInfoResponse(body, headers) {
return body;
}
const packageName = bodyJson.name;
const cutOff = new Date(
new Date().getTime() - getMinimumPackageAgeHours() * 3600 * 1000,
);