fabric8-analytics-lsp-server
Advanced tools
Comparing version 0.4.12 to 0.4.13
{ | ||
"name": "fabric8-analytics-lsp-server", | ||
"description": "LSP Server for Dependency Analytics", | ||
"version": "0.4.12", | ||
"version": "0.4.13", | ||
"author": "Pavel Odvody", | ||
@@ -6,0 +6,0 @@ "contributors": [ |
@@ -216,3 +216,3 @@ /* -------------------------------------------------------------------------------------------- | ||
const sendDiagnostics = async (ecosystem, diagnosticFilePath, contents, collector) => { | ||
connection.sendNotification('caNotification', { 'data': caDefaultMsg }); | ||
connection.sendNotification('caNotification', { data: caDefaultMsg, done: false }); | ||
let deps = null; | ||
@@ -249,4 +249,4 @@ try { | ||
const end = new Date().getTime(); | ||
connection.console.log("Time taken to fetch vulnerabilities: " + ((end - start) / 1000).toFixed(1) + " sec."); | ||
connection.sendNotification('caNotification', { 'data': getCAmsg(deps, diagnostics, totalCount), 'diagCount': diagnostics.length > 0 ? diagnostics.length : 0 }); | ||
connection.console.log('Time taken to fetch vulnerabilities: ' + ((end - start) / 1000).toFixed(1) + ' sec.'); | ||
connection.sendNotification('caNotification', { data: getCAmsg(deps, diagnostics, totalCount), diagCount: diagnostics.length || 0, vulnCount: totalCount, depCount: deps.length || 0, done: true }); | ||
}; | ||
@@ -253,0 +253,0 @@ files.on(EventStream.Diagnostics, "^package\\.json$", (uri, name, contents) => { |
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
96791