@snyk/code-client
Advanced tools
Comparing version 4.16.3 to 4.16.4
@@ -24,2 +24,10 @@ import { FileInfo, SupportedFiles } from './interfaces/files.interface'; | ||
export declare function remoteBundleFactory(options: RemoteBundleFactoryOptions): Promise<RemoteBundle | null>; | ||
/** | ||
* Get supported filters and test baseURL for correctness and availability | ||
* | ||
* @param baseURL | ||
* @param source | ||
* @returns | ||
*/ | ||
export declare function getSupportedFiles(baseURL: string, source: string, requestId?: string, languages?: string[]): Promise<SupportedFiles>; | ||
export interface FileBundle extends RemoteBundle { | ||
@@ -26,0 +34,0 @@ baseDir: string; |
@@ -6,3 +6,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.createBundleWithCustomFiles = exports.createBundleFromFolders = exports.remoteBundleFactory = exports.uploadRemoteBundle = void 0; | ||
exports.createBundleWithCustomFiles = exports.createBundleFromFolders = exports.getSupportedFiles = exports.remoteBundleFactory = exports.uploadRemoteBundle = void 0; | ||
/* eslint-disable no-await-in-loop */ | ||
@@ -148,2 +148,3 @@ const lodash_pick_1 = __importDefault(require("lodash.pick")); | ||
} | ||
exports.getSupportedFiles = getSupportedFiles; | ||
/** | ||
@@ -150,0 +151,0 @@ * Creates a remote bundle and returns response from the bundle API |
import { analyzeFolders, extendAnalysis } from './analysis'; | ||
import { createBundleFromFolders, createBundleWithCustomFiles } from './bundles'; | ||
import { getSupportedFiles, createBundleFromFolders, createBundleWithCustomFiles } from './bundles'; | ||
import { emitter } from './emitter'; | ||
@@ -11,2 +11,2 @@ import { startSession, checkSession, getAnalysis, getIpFamily, IpFamily } from './http'; | ||
import { AnalysisResult, AnalysisResultSarif, AnalysisResultLegacy, FilePath, FileSuggestion, Suggestion, Marker, ReportResult } from './interfaces/analysis-result.interface'; | ||
export { getGlobPatterns, analyzeFolders, createBundleFromFolders, createBundleWithCustomFiles, extendAnalysis, emitter, MAX_FILE_SIZE, constants, AnalysisSeverity, AnalysisResult, AnalysisResultSarif, AnalysisResultLegacy, SupportedFiles, FileAnalysis, FilePath, FileSuggestion, Suggestion, Marker, getAnalysis, startSession, checkSession, getIpFamily, IpFamily, AnalysisContext, ReportResult, }; | ||
export { getGlobPatterns, analyzeFolders, getSupportedFiles, createBundleFromFolders, createBundleWithCustomFiles, extendAnalysis, emitter, MAX_FILE_SIZE, constants, AnalysisSeverity, AnalysisResult, AnalysisResultSarif, AnalysisResultLegacy, SupportedFiles, FileAnalysis, FilePath, FileSuggestion, Suggestion, Marker, getAnalysis, startSession, checkSession, getIpFamily, IpFamily, AnalysisContext, ReportResult, }; |
@@ -26,3 +26,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getIpFamily = exports.checkSession = exports.startSession = exports.getAnalysis = exports.AnalysisSeverity = exports.constants = exports.MAX_FILE_SIZE = exports.emitter = exports.extendAnalysis = exports.createBundleWithCustomFiles = exports.createBundleFromFolders = exports.analyzeFolders = exports.getGlobPatterns = void 0; | ||
exports.getIpFamily = exports.checkSession = exports.startSession = exports.getAnalysis = exports.AnalysisSeverity = exports.constants = exports.MAX_FILE_SIZE = exports.emitter = exports.extendAnalysis = exports.createBundleWithCustomFiles = exports.createBundleFromFolders = exports.getSupportedFiles = exports.analyzeFolders = exports.getGlobPatterns = void 0; | ||
const analysis_1 = require("./analysis"); | ||
@@ -32,2 +32,3 @@ Object.defineProperty(exports, "analyzeFolders", { enumerable: true, get: function () { return analysis_1.analyzeFolders; } }); | ||
const bundles_1 = require("./bundles"); | ||
Object.defineProperty(exports, "getSupportedFiles", { enumerable: true, get: function () { return bundles_1.getSupportedFiles; } }); | ||
Object.defineProperty(exports, "createBundleFromFolders", { enumerable: true, get: function () { return bundles_1.createBundleFromFolders; } }); | ||
@@ -34,0 +35,0 @@ Object.defineProperty(exports, "createBundleWithCustomFiles", { enumerable: true, get: function () { return bundles_1.createBundleWithCustomFiles; } }); |
@@ -90,3 +90,3 @@ { | ||
}, | ||
"version": "4.16.3" | ||
"version": "4.16.4" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
147551
2079