UNPKG

worm-sign

Version:

A prescient scanner to detect and banish Shai Hulud malware from your dependencies.

10 lines (9 loc) 373 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.report = report; const sarif_1 = require("../formatters/sarif"); // eslint-disable-next-line @typescript-eslint/no-unused-vars function report(matches, warnings, _projectRoot) { const sarif = (0, sarif_1.generateSarif)(matches, warnings); return JSON.stringify(sarif, null, 2); }