mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Add package name again
This commit is contained in:
parent
dc1bbea56b
commit
24127792d4
1 changed files with 2 additions and 0 deletions
|
|
@ -68,6 +68,8 @@ export function modifyNpmInfoResponse(body, headers) {
|
||||||
return body;
|
return body;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const packageName = bodyJson.name;
|
||||||
|
|
||||||
const cutOff = new Date(
|
const cutOff = new Date(
|
||||||
new Date().getTime() - getMinimumPackageAgeHours() * 3600 * 1000,
|
new Date().getTime() - getMinimumPackageAgeHours() * 3600 * 1000,
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue