New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@volar/language-server

Package Overview
Dependencies
Maintainers
1
Versions
238
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@volar/language-server - npm Package Compare versions

Comparing version 2.4.0-alpha.12 to 2.4.0-alpha.13

10

lib/register/registerLanguageFeatures.js

@@ -299,3 +299,3 @@ "use strict";

return await worker(uri, token, async (languageService) => {
return await languageService?.getSemanticTokens(uri, undefined, server.initializeResult.capabilities.semanticTokensProvider.legend, token, tokens => resultProgress?.report(tokens));
return await languageService?.getSemanticTokens(uri, undefined, server.initializeResult.capabilities.semanticTokensProvider.legend, tokens => resultProgress?.report(tokens), token);
}) ?? { data: [] };

@@ -308,3 +308,3 @@ });

return await worker(uri, token, async (languageService) => {
return await languageService?.getSemanticTokens(uri, params.range, server.initializeResult.capabilities.semanticTokensProvider.legend, token, tokens => resultProgress?.report(tokens));
return await languageService?.getSemanticTokens(uri, params.range, server.initializeResult.capabilities.semanticTokensProvider.legend, tokens => resultProgress?.report(tokens), token);
}) ?? { data: [] };

@@ -317,3 +317,3 @@ });

const result = await worker(uri, token, languageService => {
return languageService.getDiagnostics(uri, token, errors => {
return languageService.getDiagnostics(uri, errors => {
// resultProgressReporter is undefined in vscode

@@ -328,3 +328,3 @@ resultProgressReporter?.report({

});
});
}, token);
});

@@ -362,3 +362,3 @@ return {

for (const languageService of await server.project.getExistingLanguageServices()) {
if (languageService.executeCommand && languageService.getCommands().includes(params.command)) {
if (languageService.executeCommand && languageService.commands.includes(params.command)) {
try {

@@ -365,0 +365,0 @@ return await languageService.executeCommand(params.command, params.arguments ?? [], token);

@@ -472,5 +472,5 @@ "use strict";

const languageService = await project.getLanguageService(uri);
const errors = await languageService.getDiagnostics(uri, cancel, result => {
const errors = await languageService.getDiagnostics(uri, result => {
connection.sendDiagnostics({ uri: uriStr, diagnostics: result, version });
});
}, cancel);
connection.sendDiagnostics({ uri: uriStr, diagnostics: errors, version });

@@ -477,0 +477,0 @@ }

{
"name": "@volar/language-server",
"version": "2.4.0-alpha.12",
"version": "2.4.0-alpha.13",
"license": "MIT",

@@ -15,6 +15,6 @@ "files": [

"dependencies": {
"@volar/language-core": "2.4.0-alpha.12",
"@volar/language-service": "2.4.0-alpha.12",
"@volar/snapshot-document": "2.4.0-alpha.12",
"@volar/typescript": "2.4.0-alpha.12",
"@volar/language-core": "2.4.0-alpha.13",
"@volar/language-service": "2.4.0-alpha.13",
"@volar/snapshot-document": "2.4.0-alpha.13",
"@volar/typescript": "2.4.0-alpha.13",
"path-browserify": "^1.0.1",

@@ -30,3 +30,3 @@ "request-light": "^0.7.0",

},
"gitHead": "9418f0c81cef5ca13b21bf43a49bef67c6cb2993"
"gitHead": "5f6d5d8ec51a5dda702d071c283e9133254cae97"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc