mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Add tests
This commit is contained in:
parent
1f707c1e13
commit
fbb7e0f95f
10 changed files with 1934 additions and 22 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue