UNPKG

pastoralist

Version:

A tool to watch over node module resolutions and overrides

28 lines (27 loc) 755 B
import { SecurityAlert } from "../../../types"; export declare class SocketCLIProvider { readonly providerType: "socket"; private log; private installer; private token?; private strict; constructor(options?: { debug?: boolean; token?: string; strict?: boolean; }); ensureInstalled(): Promise<boolean>; isAuthenticated(): Promise<boolean>; private validatePrerequisites; private runSocketScan; fetchAlerts(_packages?: Array<{ name: string; version: string; }>, _options?: { root?: string; }): Promise<SecurityAlert[]>; private convertSocketAlerts; private convertPackageIssues; private convertIssueToAlert; private mapSocketSeverity; }