pastoralist
Version:
A tool to watch over node module resolutions and overrides
20 lines (19 loc) • 502 B
TypeScript
import type { SecurityAlert } from "../../../types";
export declare class SpektionProvider {
readonly providerType: "spektion";
private log;
private token?;
private strict;
constructor(options?: {
debug?: boolean;
token?: string;
strict?: boolean;
});
isAuthenticated(): Promise<boolean>;
fetchAlerts(packages: Array<{
name: string;
version: string;
}>, _options?: {
root?: string;
}): Promise<SecurityAlert[]>;
}