🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@vue/language-server

Package Overview
Dependencies
Maintainers
2
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vue/language-server - npm Package Compare versions

Comparing version

to
3.0.0-beta.3

25

index.js

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

if (!projectInfoPromise) {
projectInfoPromise = sendTsRequest(ts.server.protocol.CommandTypes.ProjectInfo, {
projectInfoPromise = sendTsRequest('_vue:' + ts.server.protocol.CommandTypes.ProjectInfo, {
file: fileName,

@@ -80,31 +80,30 @@ needFileNameList: false,

collectExtractProps(...args) {
return sendTsRequest('vue:collectExtractProps', args);
return sendTsRequest('_vue:collectExtractProps', args);
},
getComponentDirectives(...args) {
return sendTsRequest('vue:getComponentDirectives', args);
return sendTsRequest('_vue:getComponentDirectives', args);
},
getComponentEvents(...args) {
return sendTsRequest('vue:getComponentEvents', args);
return sendTsRequest('_vue:getComponentEvents', args);
},
getComponentNames(...args) {
return sendTsRequest('vue:getComponentNames', args);
return sendTsRequest('_vue:getComponentNames', args);
},
getComponentProps(...args) {
return sendTsRequest('vue:getComponentProps', args);
return sendTsRequest('_vue:getComponentProps', args);
},
getElementAttrs(...args) {
return sendTsRequest('vue:getElementAttrs', args);
return sendTsRequest('_vue:getElementAttrs', args);
},
getElementNames(...args) {
return sendTsRequest('vue:getElementNames', args);
return sendTsRequest('_vue:getElementNames', args);
},
getImportPathForFile(...args) {
return sendTsRequest('vue:getImportPathForFile', args);
return sendTsRequest('_vue:getImportPathForFile', args);
},
getPropertiesAtLocation(...args) {
return sendTsRequest('vue:getPropertiesAtLocation', args);
return sendTsRequest('_vue:getPropertiesAtLocation', args);
},
getDocumentHighlights(fileName, position) {
return sendTsRequest('documentHighlights-full', // internal command
{
return sendTsRequest('_vue:documentHighlights-full', {
file: fileName,

@@ -116,3 +115,3 @@ ...{ position },

async getQuickInfoAtPosition(fileName, { line, character }) {
const result = await sendTsRequest(ts.server.protocol.CommandTypes.Quickinfo, {
const result = await sendTsRequest('_vue:' + ts.server.protocol.CommandTypes.Quickinfo, {
file: fileName,

@@ -119,0 +118,0 @@ line: line + 1,

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

else if (ts.isParameter(node)) {
if (node.type && node.type && ts.isTypeReferenceNode(node.type)) {
if (node.type && ts.isTypeReferenceNode(node.type)) {
const typeName = node.type.typeName.getText(sourceFile);

@@ -325,3 +325,3 @@ if (typeName.endsWith('Ref')) {

handler: effectCallback.body,
}
},
});

@@ -328,0 +328,0 @@ }

{
"name": "@vue/language-server",
"version": "3.0.0-beta.2",
"version": "3.0.0-beta.3",
"license": "MIT",

@@ -20,5 +20,5 @@ "files": [

"@volar/language-server": "2.4.14",
"@vue/language-core": "3.0.0-beta.2",
"@vue/language-service": "3.0.0-beta.2",
"@vue/typescript-plugin": "3.0.0-beta.2",
"@vue/language-core": "3.0.0-beta.3",
"@vue/language-service": "3.0.0-beta.3",
"@vue/typescript-plugin": "3.0.0-beta.3",
"vscode-uri": "^3.0.8"

@@ -33,3 +33,3 @@ },

},
"gitHead": "ea40288f6fceebb65346732b6de5859c300cf1ee"
"gitHead": "17e3beabc13e9eb59a82fb1a9f0252fd6685e444"
}