@vue/language-server
Advanced tools
Comparing version 2.0.10 to 2.0.11
10
node.js
@@ -7,6 +7,6 @@ "use strict"; | ||
const language_service_1 = require("@vue/language-service"); | ||
const protocol_1 = require("./lib/protocol"); | ||
const tsPluginClient = require("@vue/typescript-plugin/lib/client"); | ||
const utils_1 = require("@vue/typescript-plugin/lib/utils"); | ||
const protocol_2 = require("./lib/protocol"); | ||
const hybridModeProject_1 = require("./lib/hybridModeProject"); | ||
const protocol_1 = require("./lib/protocol"); | ||
exports.connection = (0, node_1.createConnection)(); | ||
@@ -35,3 +35,3 @@ exports.server = (0, node_1.createServer)(exports.connection); | ||
const result = await exports.server.initialize(params, hybridMode | ||
? (0, node_1.createSimpleProjectProviderFactory)() | ||
? (0, hybridModeProject_1.createHybridModeProjectProviderFactory)(tsdk.typescript.sys) | ||
: (0, node_1.createTypeScriptProjectProviderFactory)(tsdk.typescript, tsdk.diagnosticMessages), { | ||
@@ -118,4 +118,4 @@ watchFileExtensions: ['js', 'cjs', 'mjs', 'ts', 'cts', 'mts', 'jsx', 'tsx', 'json', ...vueFileExtensions], | ||
}); | ||
exports.connection.onRequest(protocol_2.GetConnectedNamedPipeServerRequest.type, async (fileName) => { | ||
const server = await (0, utils_1.searchNamedPipeServerForFile)(fileName); | ||
exports.connection.onRequest(protocol_1.GetConnectedNamedPipeServerRequest.type, async (fileName) => { | ||
const server = (await (0, utils_1.searchNamedPipeServerForFile)(fileName))?.server; | ||
if (server) { | ||
@@ -122,0 +122,0 @@ return server; |
{ | ||
"name": "@vue/language-server", | ||
"version": "2.0.10", | ||
"version": "2.0.11", | ||
"license": "MIT", | ||
@@ -18,10 +18,10 @@ "files": [ | ||
"dependencies": { | ||
"@volar/language-core": "~2.2.0-alpha.5", | ||
"@volar/language-server": "~2.2.0-alpha.5", | ||
"@vue/language-core": "2.0.10", | ||
"@vue/language-service": "2.0.10", | ||
"@vue/typescript-plugin": "2.0.10", | ||
"@volar/language-core": "~2.2.0-alpha.6", | ||
"@volar/language-server": "~2.2.0-alpha.6", | ||
"@vue/language-core": "2.0.11", | ||
"@vue/language-service": "2.0.11", | ||
"@vue/typescript-plugin": "2.0.11", | ||
"vscode-languageserver-protocol": "^3.17.5" | ||
}, | ||
"gitHead": "a20a2ee950b63a949660b7e8faf0faed0e5bad33" | ||
"gitHead": "c89f25ffc32c760130adeeac796b9a5d20585bf7" | ||
} |
19982
13
373
+ Added@vue/language-core@2.0.11(transitive)
+ Added@vue/language-service@2.0.11(transitive)
+ Added@vue/typescript-plugin@2.0.11(transitive)
- Removed@vue/language-core@2.0.10(transitive)
- Removed@vue/language-service@2.0.10(transitive)
- Removed@vue/typescript-plugin@2.0.10(transitive)
Updated@vue/language-core@2.0.11
Updated@vue/language-service@2.0.11