2023-01-22 07:16:21 +00:00
|
|
|
import { Manifest } from '@github/dependency-submission-toolkit';
|
|
|
|
|
export default class ComponentDetection {
|
2023-01-22 20:19:41 +00:00
|
|
|
static componentDetectionPath: string;
|
|
|
|
|
static outputPath: string;
|
2023-01-22 07:16:21 +00:00
|
|
|
static scanAndGetManifests(path: string): Promise<Manifest[] | undefined>;
|
2023-01-22 20:19:41 +00:00
|
|
|
static downloadLatestRelease(): Promise<void>;
|
|
|
|
|
static runComponentDetection(path: string): Promise<void>;
|
2023-01-22 19:46:41 +00:00
|
|
|
private static getComponentDetectionParameters;
|
2023-01-22 20:19:41 +00:00
|
|
|
static getManifestsFromResults(): Promise<Manifest[] | undefined>;
|
2023-01-22 07:16:21 +00:00
|
|
|
private static getDependencyScope;
|
2023-04-11 22:42:21 +00:00
|
|
|
static makePackageUrl(packageUrlJson: any): string;
|
2023-01-22 07:16:21 +00:00
|
|
|
private static getLatestReleaseURL;
|
|
|
|
|
}
|