first
This commit is contained in:
31
safekiso-server/node_modules/snyk/wrapper_dist/common.d.ts
generated
vendored
Normal file
31
safekiso-server/node_modules/snyk/wrapper_dist/common.d.ts
generated
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
import 'global-agent/bootstrap';
|
||||
export declare const versionFile: string;
|
||||
export declare const shasumFile: string;
|
||||
export declare const integrationName = "TS_BINARY_WRAPPER";
|
||||
export declare class WrapperConfiguration {
|
||||
private version;
|
||||
private binaryName;
|
||||
private expectedSha256sum;
|
||||
constructor(version: string, binaryName: string, expectedSha256sum: string);
|
||||
getVersion(): string;
|
||||
getBinaryName(): string;
|
||||
getDownloadLocations(): {
|
||||
downloadUrl: string;
|
||||
backupUrl: string;
|
||||
};
|
||||
getLocalLocation(): string;
|
||||
getShasumFile(): string;
|
||||
}
|
||||
export declare function determineBinaryName(platform: string, arch: string): string;
|
||||
export declare function getCurrentVersion(filename: string): string;
|
||||
export declare function getCurrentSha256sum(binaryName: string, filename: string): string;
|
||||
export declare function getCurrentConfiguration(): WrapperConfiguration;
|
||||
export declare function getCliArguments(inputArgv: string[]): string[];
|
||||
export declare function debugEnabled(cliArguments: string[]): boolean;
|
||||
export declare function runWrapper(executable: string, cliArguments: string[]): number;
|
||||
export declare function getWarningMessage(message: string): string;
|
||||
export declare function formatErrorMessage(message: string): boolean;
|
||||
export declare function downloadExecutable(downloadUrl: string, filename: string, filenameShasum: string): Promise<Error | undefined>;
|
||||
export declare function downloadWithBackup(downloadUrl: string, backupUrl: string, filename: string, filenameShasum: string): Promise<Error | undefined>;
|
||||
export declare function logError(context: string, err: Error, printToConsole?: boolean): Promise<void>;
|
||||
export declare function isAnalyticsEnabled(): boolean;
|
||||
Reference in New Issue
Block a user