This commit is contained in:
2026-04-07 14:50:23 +09:00
commit b4e485502b
4778 changed files with 2017091 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
import { TestResult } from '../../../lib/ecosystems/types';
import { TestResult as LegacyTestResult } from '../../../lib/snyk-test/legacy';
export declare function convertLegacyTestResultToNew(testResult: LegacyTestResult): TestResult;

View File

@@ -0,0 +1,3 @@
import { ScanResult } from '../../../lib/ecosystems/types';
import { TestResult } from '../../../lib/snyk-test/legacy';
export declare function convertLegacyTestResultToScanResult(testResult: TestResult): ScanResult;

View File

@@ -0,0 +1,4 @@
import { TestResult } from '../../../lib/snyk-test/legacy';
import { EntityToFix } from '@snyk/fix';
import { Options, TestOptions } from '../../../lib/types';
export declare function convertLegacyTestResultToFixEntities(testResults: (TestResult | TestResult[]) | Error, root: string, options: Partial<Options & TestOptions>): EntityToFix[];

View File

@@ -0,0 +1 @@
export declare function getDisplayPath(path: string): string;

View File

@@ -0,0 +1,2 @@
import { MethodArgs } from '../../args';
export default function fix(...args: MethodArgs): Promise<string>;

View File

@@ -0,0 +1,2 @@
import { Options, TestOptions } from '../../../lib/types';
export declare function validateFixCommandIsSupported(options: Options & TestOptions): Promise<boolean>;