Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fabric8-analytics-lsp-server

Package Overview
Dependencies
Maintainers
3
Versions
103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fabric8-analytics-lsp-server - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

18

consumers.js

@@ -57,2 +57,3 @@ /* --------------------------------------------------------------------------------------------

this.advisoryCount = 0;
this.highestSeverity = null;
}

@@ -81,2 +82,5 @@ consume(data) {

}
if (this.highestSeverityBinding != null) {
this.highestSeverity = bind_object(data, this.highestSeverityBinding);
}
return this.item != null;

@@ -124,2 +128,4 @@ }

this.exploitCountBinding = { path: ['exploitable_vulnerabilities_count'] };
/* Highest Severity */
this.highestSeverityBinding = { path: ['highest_severity'] };
}

@@ -136,7 +142,15 @@ produce(ctx) {

}
const recommendedVersion = this.changeTo || "N/A";
const exploitCount = this.exploitCount || "unavailable";
const msg = `${this.context.name.value}: ${this.context.version.value}
Known security vulnerability: ${this.vulnerabilityCount}
Security advisory: ${this.advisoryCount}
Exploits: ${exploitCount}
Highest severity: ${this.highestSeverity}
Recommendation: ${recommendedVersion}`;
let diagnostic = {
severity: diagSeverity,
range: utils_1.get_range(this.context.version),
message: this.message,
source: 'Dependency Analytics Plugin [Powered by Snyk]',
message: msg,
source: '\nDependency Analytics Plugin [Powered by Snyk]',
};

@@ -143,0 +157,0 @@ // TODO: this can be done lazily

2

package.json
{
"name": "fabric8-analytics-lsp-server",
"description": "LSP Server for Dependency Analytics",
"version": "0.3.1",
"version": "0.3.2",
"author": "Pavel Odvody",

@@ -6,0 +6,0 @@ "contributors": [

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc