fabric8-analytics-lsp-server
Advanced tools
Comparing version 0.1.43 to 0.1.44
@@ -1,1 +0,1 @@ | ||
{"name":"fabric8-analytics-lsp-server","description":"LSP Server for Dependency Analytics","version":"0.1.43","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.44","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"}}} |
@@ -16,3 +16,3 @@ # Dependency Analytics LSP Server | ||
``` | ||
export RECOMMENDER_API_URL= the-url | ||
export RECOMMENDER_API_URL= the-url + '/api/v1' | ||
``` | ||
@@ -19,0 +19,0 @@ |
@@ -48,3 +48,3 @@ /* -------------------------------------------------------------------------------------------- | ||
textDocumentSync: documents.syncKind, | ||
codeActionProvider: false | ||
codeActionProvider: true | ||
} | ||
@@ -203,6 +203,6 @@ }; | ||
if (diagnostics.length > 0) { | ||
connection.sendNotification('caNotification', { 'data': `Scanned ${deps.length} runtime dependencies. Found ${diagnostics.length} potential security vulnerability`, 'isEditAction': isEditAction }); | ||
connection.sendNotification('caNotification', { 'data': `Scanned ${deps.length} runtime dependencies. Found ${diagnostics.length} potential security vulnerabilities`, 'isEditAction': isEditAction }); | ||
} | ||
else { | ||
connection.sendNotification('caNotification', { 'data': `Scanned ${deps.length} runtime dependencies. No potential security vulnerability found`, 'isEditAction': isEditAction }); | ||
connection.sendNotification('caNotification', { 'data': `Scanned ${deps.length} runtime dependencies. No potential security vulnerabilities found`, 'isEditAction': isEditAction }); | ||
} | ||
@@ -239,6 +239,6 @@ isEditAction = false; | ||
if (diagnostics.length > 0) { | ||
connection.sendNotification('caNotification', { 'data': `Scanned ${deps.length} runtime dependencies. Found ${diagnostics.length} potential security vulnerability`, 'isEditAction': isEditAction }); | ||
connection.sendNotification('caNotification', { 'data': `Scanned ${deps.length} runtime dependencies. Found ${diagnostics.length} potential security vulnerabilities`, 'isEditAction': isEditAction }); | ||
} | ||
else { | ||
connection.sendNotification('caNotification', { 'data': `Scanned ${deps.length} runtime dependencies. No potential security vulnerability found`, 'isEditAction': isEditAction }); | ||
connection.sendNotification('caNotification', { 'data': `Scanned ${deps.length} runtime dependencies. No potential security vulnerabilities found`, 'isEditAction': isEditAction }); | ||
} | ||
@@ -245,0 +245,0 @@ isEditAction = false; |
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
73335