diff --git a/README.md b/README.md index 0a9d7444..b65cd6c8 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Component Analysis LSP Server +# Dependency Analytics LSP Server LSP Server that can analyze your dependencies specified in `package.json`. diff --git a/package.json b/package.json index d0198d09..34150d08 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,10 @@ { "name": "fabric8-analytics-lsp-server", - "description": "LSP Server for Component Analysis", + "description": "LSP Server for Dependency Analytics", "version": "0.0.0-development", "author": "Pavel Odvody", - "contributors": [{ + "contributors": [ + { "name": "Michal Srb", "email": "michal@redhat.com" }, diff --git a/src/consumers.ts b/src/consumers.ts index 0b74ed9d..0b9fb8fe 100644 --- a/src/consumers.ts +++ b/src/consumers.ts @@ -113,8 +113,8 @@ class EmptyResultEngine extends AnalysisConsumer implements DiagnosticProducer return [{ severity: DiagnosticSeverity.Information, range: get_range(this.context.version), - message: `Package ${this.context.name.value}-${this.context.version.value} - analysis is pending`, - source: 'Component Analysis' + message: `Application dependency ${this.context.name.value}-${this.context.version.value} - analysis is pending`, + source: 'Dependency Analytics' }] } else { return []; @@ -143,8 +143,8 @@ class SecurityEngine extends AnalysisConsumer implements DiagnosticProducer let diagnostic = { severity: DiagnosticSeverity.Error, range: get_range(this.context.version), - message: `Package ${this.context.name.value}-${this.context.version.value} is vulnerable: ${cves}`, - source: 'Component Analysis' + message: `Application dependency ${this.context.name.value}-${this.context.version.value} is vulnerable: ${cves}`, + source: 'Dependency Analytics' }; // TODO: this can be done lazily