fabric8-analytics-lsp-server
Advanced tools
Comparing version 0.1.39 to 0.1.40
@@ -1,1 +0,1 @@ | ||
{"name":"fabric8-analytics-lsp-server","description":"LSP Server for Dependency Analytics","version":"0.1.39","author":"Pavel Odvody","contributors":[{"name":"Michal Srb","email":"michal@redhat.com"},{"name":"Jyasveer Gotta","email":"jgotta@redhat.com"},{"name":"Jaivardhan Kumar","email":"jakumar@redhat.com"}],"license":"Apache-2.0","engines":{"node":"*"},"keywords":["fabric8-analytics","LSP"],"repository":{"type":"git","url":"https://github.com/fabric8-analytics/fabric8-analytics-lsp-server.git"},"dependencies":{"request":"^2.79.0","stream-json":"0.4.2","vscode-languageserver":"^4.1.3","winston":"2.3.1","xml2object":"0.1.2"},"devDependencies":{"@types/node":"^6.0.52","@krux/condition-jenkins":"1.0.1","semantic-release":"8.2.0","typescript":"^2.1.4"},"scripts":{"build":"npm run clean && node node_modules/typescript/bin/tsc -p . && cp LICENSE package.json README.md output && npm run dist","clean":"rm -Rf ca-lsp-server.tar output/","dist":"cp -r node_modules output/ && cp ./package.json output/ && node -p -e \"require('./package.json').version\" > output/VERSION && rm -rf output/node_modules/typescript/ && tar cvjf ca-lsp-server.tar -C output/ .","semantic-release":"semantic-release pre && npm run build && cp -r .git output && npm publish output/ && semantic-release post"},"release":{"branch":"master","debug":false,"verifyConditions":{"path":"./node_modules/@krux/condition-jenkins"}}} | ||
{"name":"fabric8-analytics-lsp-server","description":"LSP Server for Dependency Analytics","version":"0.1.40","author":"Pavel Odvody","contributors":[{"name":"Michal Srb","email":"michal@redhat.com"},{"name":"Jyasveer Gotta","email":"jgotta@redhat.com"},{"name":"Jaivardhan Kumar","email":"jakumar@redhat.com"}],"license":"Apache-2.0","engines":{"node":"*"},"keywords":["fabric8-analytics","LSP"],"repository":{"type":"git","url":"https://github.com/fabric8-analytics/fabric8-analytics-lsp-server.git"},"dependencies":{"request":"^2.79.0","stream-json":"0.4.2","vscode-languageserver":"^4.1.3","winston":"2.3.1","xml2object":"0.1.2"},"devDependencies":{"@types/node":"^6.0.52","@krux/condition-jenkins":"1.0.1","semantic-release":"8.2.0","typescript":"^2.1.4"},"scripts":{"build":"npm run clean && node node_modules/typescript/bin/tsc -p . && cp LICENSE package.json README.md output && npm run dist","clean":"rm -Rf ca-lsp-server.tar output/","dist":"cp -r node_modules output/ && cp ./package.json output/ && node -p -e \"require('./package.json').version\" > output/VERSION && rm -rf output/node_modules/typescript/ && tar cvjf ca-lsp-server.tar -C output/ .","semantic-release":"semantic-release pre && npm run build && cp -r .git output && npm publish output/ && semantic-release post"},"release":{"branch":"master","debug":false,"verifyConditions":{"path":"./node_modules/@krux/condition-jenkins"}}} |
@@ -196,3 +196,3 @@ /* -------------------------------------------------------------------------------------------- | ||
let collector = new collector_1.DependencyCollector(null); | ||
connection.sendNotification('caNotification', 'Analysing dependencies for any security vulnerability'); | ||
connection.sendNotification('caNotification', 'Analyzing runtime dependencies for any security vulnerability'); | ||
collector.collect(stream).then((deps) => { | ||
@@ -203,6 +203,6 @@ let diagnostics = []; | ||
if (diagnostics.length > 0) { | ||
connection.sendNotification('caNotification', `Out of ${deps.length}, ${diagnostics.length} dependencies have vulnerabilities`); | ||
connection.sendNotification('caNotification', `Out of ${deps.length}, ${diagnostics.length} runtime dependencies have vulnerabilities`); | ||
} | ||
else { | ||
connection.sendNotification('caNotification', `Out of ${deps.length}, No dependencies have vulnerabilities`); | ||
connection.sendNotification('caNotification', `Out of ${deps.length}, No runtime dependencies have vulnerabilities`); | ||
} | ||
@@ -232,3 +232,3 @@ connection.sendDiagnostics({ uri: uri, diagnostics: diagnostics }); | ||
let collector = new collector_1.PomXmlDependencyCollector(); | ||
connection.sendNotification('caNotification', 'Analysing dependencies for any security vulnerability'); | ||
connection.sendNotification('caNotification', 'Analyzing runtime dependencies for any security vulnerability'); | ||
collector.collect(stream).then((deps) => { | ||
@@ -239,6 +239,6 @@ let diagnostics = []; | ||
if (diagnostics.length > 0) { | ||
connection.sendNotification('caNotification', `Out of ${deps.length}, ${diagnostics.length} dependencies have vulnerabilities`); | ||
connection.sendNotification('caNotification', `Out of ${deps.length}, ${diagnostics.length} runtime dependencies have vulnerabilities`); | ||
} | ||
else { | ||
connection.sendNotification('caNotification', `Out of ${deps.length}, No dependencies have vulnerabilities`); | ||
connection.sendNotification('caNotification', `Out of ${deps.length}, No runtime dependencies have vulnerabilities`); | ||
} | ||
@@ -245,0 +245,0 @@ connection.sendDiagnostics({ uri: uri, diagnostics: diagnostics }); |
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
72014