fabric8-analytics-lsp-server
Advanced tools
Comparing version 0.4.0 to 0.4.1
{ | ||
"name": "fabric8-analytics-lsp-server", | ||
"description": "LSP Server for Dependency Analytics", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"author": "Pavel Odvody", | ||
@@ -6,0 +6,0 @@ "contributors": [ |
@@ -110,2 +110,3 @@ /* -------------------------------------------------------------------------------------------- | ||
this.three_scale_user_token = process.env.THREE_SCALE_USER_TOKEN || ""; | ||
this.provide_fullstack_action = (process.env.PROVIDE_FULLSTACK_ACTION || "") === "true"; | ||
this.forbidden_licenses = []; | ||
@@ -128,2 +129,10 @@ this.no_crypto = false; | ||
} | ||
const fullStackReportAction = { | ||
title: "Detailed Vulnerability Report", | ||
kind: vscode_languageserver_1.CodeActionKind.QuickFix, | ||
command: { | ||
command: "extension.fabric8AnalyticsWidgetFullStack", | ||
title: "Analytics Report", | ||
} | ||
}; | ||
let DiagnosticsEngines = [consumers_1.SecurityEngine]; | ||
@@ -289,2 +298,5 @@ /* Generate summarized notification message for vulnerability analysis */ | ||
codeActions.push(codeAction); | ||
if (config.provide_fullstack_action) { | ||
codeActions.push(fullStackReportAction); | ||
} | ||
} | ||
@@ -291,0 +303,0 @@ } |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
86432
910
7