Add tests

This commit is contained in:
Reinier Criel 2025-10-22 14:51:44 -07:00
parent 1f707c1e13
commit fbb7e0f95f
10 changed files with 1934 additions and 22 deletions

View file

@ -7,6 +7,7 @@ export async function auditChanges(changes) {
const allowedChanges = [];
const disallowedChanges = [];
console.log("**audit/index.js** Auditing changes:", changes);
var malwarePackages = await getPackagesWithMalware(
changes.filter(
(change) => change.type === "add" || change.type === "change"