fabric8-analytics-lsp-server
Advanced tools
Comparing version 0.1.33 to 0.1.34
@@ -18,3 +18,3 @@ /* -------------------------------------------------------------------------------------------- | ||
/* By default the collector is going to process these dependency keys */ | ||
const DefaultClasses = ["dependencies", "devDependencies", "optionalDependencies"]; | ||
const DefaultClasses = ["dependencies"]; | ||
/* Dependency class that can be created from `IKeyValueEntry` */ | ||
@@ -21,0 +21,0 @@ class Dependency { |
@@ -1,1 +0,1 @@ | ||
{"name":"fabric8-analytics-lsp-server","description":"LSP Server for Component Analysis","version":"0.1.33","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":"^2.2.0","winston":"2.3.1","xml2object":"0.1.2"},"devDependencies":{"@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 Component Analysis","version":"0.1.34","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":"^2.2.0","winston":"2.3.1","xml2object":"0.1.2"},"devDependencies":{"@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"}}} |
@@ -203,9 +203,15 @@ /* -------------------------------------------------------------------------------------------- | ||
for (let dependency of deps) { | ||
get_metadata('npm', dependency.name.value, dependency.version.value, (response) => { | ||
if (response != null) { | ||
let pipeline = new consumers_1.DiagnosticsPipeline(DiagnosticsEngines, dependency, config, diagnostics); | ||
pipeline.run(response); | ||
} | ||
var regexVersion = new RegExp(/^[0-9]*[.][0-9]*[.][0-9]*[^.]$/); | ||
if (dependency.name.value && regexVersion.test(dependency.version.value)) { | ||
get_metadata('npm', dependency.name.value, dependency.version.value, (response) => { | ||
if (response != null) { | ||
let pipeline = new consumers_1.DiagnosticsPipeline(DiagnosticsEngines, dependency, config, diagnostics); | ||
pipeline.run(response); | ||
} | ||
aggregator.aggregate(dependency); | ||
}); | ||
} | ||
else { | ||
aggregator.aggregate(dependency); | ||
}); | ||
} | ||
} | ||
@@ -212,0 +218,0 @@ }); |
Sorry, the diff of this file is not supported yet
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
68251
796