@vue/language-server
Advanced tools
Comparing version 2.0.4 to 2.0.5
15
node.js
@@ -32,3 +32,16 @@ "use strict"; | ||
const resolvedVueOptions = (0, language_core_1.resolveVueCompilerOptions)(vueOptions); | ||
const vueLanguagePlugin = (0, language_core_1.createVueLanguagePlugin)(tsdk.typescript, serviceEnv.typescript.uriToFileName, commandLine?.options ?? {}, resolvedVueOptions, options.codegenStack); | ||
const vueLanguagePlugin = (0, language_core_1.createVueLanguagePlugin)(tsdk.typescript, serviceEnv.typescript.uriToFileName, fileName => { | ||
if (projectContext.typescript?.sys.useCaseSensitiveFileNames ?? false) { | ||
return projectContext.typescript?.host.getScriptFileNames().includes(fileName) ?? false; | ||
} | ||
else { | ||
const lowerFileName = fileName.toLowerCase(); | ||
for (const rootFile of projectContext.typescript?.host.getScriptFileNames() ?? []) { | ||
if (rootFile.toLowerCase() === lowerFileName) { | ||
return true; | ||
} | ||
} | ||
return false; | ||
} | ||
}, commandLine?.options ?? {}, resolvedVueOptions, options.codegenStack); | ||
envToVueOptions.set(serviceEnv, resolvedVueOptions); | ||
@@ -35,0 +48,0 @@ return [vueLanguagePlugin]; |
{ | ||
"name": "@vue/language-server", | ||
"version": "2.0.4", | ||
"version": "2.0.5", | ||
"license": "MIT", | ||
@@ -18,10 +18,10 @@ "files": [ | ||
"dependencies": { | ||
"@volar/language-core": "~2.1.0", | ||
"@volar/language-server": "~2.1.0", | ||
"@vue/language-core": "2.0.4", | ||
"@vue/language-service": "2.0.4", | ||
"@vue/typescript-plugin": "2.0.4", | ||
"@volar/language-core": "~2.1.1", | ||
"@volar/language-server": "~2.1.1", | ||
"@vue/language-core": "2.0.5", | ||
"@vue/language-service": "2.0.5", | ||
"@vue/typescript-plugin": "2.0.5", | ||
"vscode-languageserver-protocol": "^3.17.5" | ||
}, | ||
"gitHead": "241300968fd3084c7c09139d05691a51a7800fdc" | ||
"gitHead": "62b4fcb0d3f7153b5b2f5571af32f519117d8466" | ||
} |
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
13555
245
+ Added@vue/language-core@2.0.5(transitive)
+ Added@vue/language-service@2.0.5(transitive)
+ Added@vue/typescript-plugin@2.0.5(transitive)
- Removed@vue/language-core@2.0.4(transitive)
- Removed@vue/language-service@2.0.4(transitive)
- Removed@vue/typescript-plugin@2.0.4(transitive)
Updated@volar/language-core@~2.1.1
Updated@vue/language-core@2.0.5
Updated@vue/language-service@2.0.5
Updated@vue/typescript-plugin@2.0.5