@snyk/cli-interface
Advanced tools
Comparing version 2.8.0 to 2.8.1
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.legacyCommon = exports.legacyMonitor = exports.legacyPlugin = void 0; | ||
const legacy_1 = require("./legacy"); | ||
exports.legacyPlugin = legacy_1.plugin; | ||
exports.legacyMonitor = legacy_1.monitor; | ||
exports.legacyCommon = legacy_1.common; | ||
Object.defineProperty(exports, "legacyPlugin", { enumerable: true, get: function () { return legacy_1.plugin; } }); | ||
Object.defineProperty(exports, "legacyMonitor", { enumerable: true, get: function () { return legacy_1.monitor; } }); | ||
Object.defineProperty(exports, "legacyCommon", { enumerable: true, get: function () { return legacy_1.common; } }); | ||
//# sourceMappingURL=index.js.map |
@@ -31,3 +31,3 @@ import * as graphlib from '@snyk/graphlib'; | ||
meta?: any; | ||
callGraph?: CallGraph; | ||
callGraph?: CallGraphResult; | ||
} | ||
@@ -42,2 +42,7 @@ export declare type SupportedPackageManagers = 'rubygems' | // Ruby | ||
'rpm' | 'apk' | 'deb' | 'dockerfile'; | ||
export interface CallGraphError { | ||
message: string; | ||
innerError: Error; | ||
} | ||
export declare type CallGraph = graphlib.Graph; | ||
export declare type CallGraphResult = CallGraph | CallGraphError; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.common = exports.monitor = exports.plugin = void 0; | ||
const plugin = require("./plugin"); | ||
@@ -4,0 +5,0 @@ exports.plugin = plugin; |
@@ -1,2 +0,2 @@ | ||
import { CallGraph, DepGraph, DepTree, ScannedProject, SupportedPackageManagers } from './common'; | ||
import { CallGraphResult, DepGraph, DepTree, ScannedProject, SupportedPackageManagers } from './common'; | ||
export interface SingleSubprojectPlugin { | ||
@@ -50,3 +50,3 @@ inspect(root: string, targetFile?: string, options?: SingleSubprojectInspectOptions): Promise<SinglePackageResult>; | ||
dependencyGraph?: DepGraph; | ||
callGraph?: CallGraph; | ||
callGraph?: CallGraphResult; | ||
meta?: { | ||
@@ -53,0 +53,0 @@ gradleProjectName?: string; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.isMultiResult = exports.isMultiSubProject = exports.adaptSingleProjectPlugin = void 0; | ||
function adaptSingleProjectPlugin(plugin) { | ||
@@ -4,0 +5,0 @@ return { inspect: (root, targetFile, options) => { |
@@ -32,3 +32,3 @@ { | ||
}, | ||
"version": "2.8.0" | ||
"version": "2.8.1" | ||
} |
Sorry, the diff of this file is not supported yet
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
42493
719