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.4.17 to 0.4.18

2

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

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

@@ -228,2 +228,4 @@ /* --------------------------------------------------------------------------------------------

const sendDiagnostics = (ecosystem, diagnosticFilePath, contents, collector) => __awaiter(void 0, void 0, void 0, function* () {
// clear all diagnostics
connection.sendDiagnostics({ uri: diagnosticFilePath, diagnostics: [] });
connection.sendNotification('caNotification', { data: caDefaultMsg, done: false, uri: diagnosticFilePath });

@@ -235,12 +237,8 @@ let deps = null;

const end = new Date().getTime();
connection.console.log(`manifest parse took ${end - start} ms`);
connection.console.log(`manifest parse took ${end - start} ms, found ${deps.length} deps`);
}
catch (error) {
// Error can be raised during golang `go list ` command only.
if (ecosystem == "golang") {
connection.console.warn(`Command execution failed with error: ${error}`);
connection.sendNotification('caError', { data: error, uri: diagnosticFilePath });
connection.sendDiagnostics({ uri: diagnosticFilePath, diagnostics: [] });
return;
}
connection.console.warn(`Error: ${error}`);
connection.sendNotification('caError', { data: error, uri: diagnosticFilePath });
return;
}

@@ -247,0 +245,0 @@ let validPackages = deps;

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