fabric8-analytics-lsp-server
Advanced tools
Comparing version 0.4.28 to 0.4.29
@@ -253,3 +253,7 @@ /* -------------------------------------------------------------------------------------------- | ||
connection.sendDiagnostics({ uri: diagnosticFilePath, diagnostics: [] }); | ||
connection.sendNotification('caNotification', { data: caDefaultMsg, done: false, uri: diagnosticFilePath }); | ||
connection.sendNotification('caNotification', { | ||
data: caDefaultMsg, | ||
done: false, | ||
uri: diagnosticFilePath, | ||
}); | ||
let deps = null; | ||
@@ -264,3 +268,6 @@ try { | ||
connection.console.warn(`Error: ${error}`); | ||
connection.sendNotification('caError', { data: error, uri: diagnosticFilePath }); | ||
connection.sendNotification('caError', { | ||
data: error, | ||
uri: diagnosticFilePath, | ||
}); | ||
return; | ||
@@ -305,3 +312,12 @@ } | ||
connection.console.log(`fetch vulns took ${end - start} ms`); | ||
connection.sendNotification('caNotification', { data: getCAmsg(deps, diagnostics, totalCount), diagCount: diagnostics.length || 0, vulnCount: totalCount, depCount: deps.length || 0, done: true, uri: diagnosticFilePath }); | ||
connection.sendNotification('caNotification', { | ||
data: getCAmsg(deps, diagnostics, totalCount), | ||
diagCount: diagnostics.length || 0, | ||
vulnCount: totalCount, | ||
depCount: deps.length || 0, | ||
done: true, | ||
uri: diagnosticFilePath, | ||
cacheHitCount: cachedValues.length, | ||
cacheMissCount: missedItems.length, | ||
}); | ||
}); | ||
@@ -308,0 +324,0 @@ files.on(EventStream.Diagnostics, "^package\\.json$", (uri, name, contents) => { |
{ | ||
"name": "fabric8-analytics-lsp-server", | ||
"description": "LSP Server for Dependency Analytics", | ||
"version": "0.4.28", | ||
"version": "0.4.29", | ||
"author": "Pavel Odvody", | ||
@@ -6,0 +6,0 @@ "contributors": [ |
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
112554
1178