@vue/language-server
Advanced tools
Comparing version 1.7.11 to 1.7.12
@@ -31,3 +31,3 @@ "use strict"; | ||
if (ctx) { | ||
hostToVueOptions.set(ctx.host, vueOptions); | ||
hostToVueOptions.set(ctx.host, vue.resolveVueCompilerOptions(vueOptions)); | ||
} | ||
@@ -82,3 +82,3 @@ return vue.resolveConfig(config, ctx?.host.getCompilationSettings() ?? {}, vueOptions, ts, vueLanguageServiceSettings, initOptions.codegenStack); | ||
if (languageService) { | ||
return nameCasing.detect(ts, languageService.context, params.textDocument.uri); | ||
return nameCasing.detect(ts, languageService.context, params.textDocument.uri, hostToVueOptions.get(languageService.context.rawHost)); | ||
} | ||
@@ -89,3 +89,3 @@ }); | ||
if (languageService) { | ||
return nameCasing.convertTagName(ts, languageService.context, params.textDocument.uri, params.casing); | ||
return nameCasing.convertTagName(ts, languageService.context, params.textDocument.uri, params.casing, hostToVueOptions.get(languageService.context.rawHost)); | ||
} | ||
@@ -98,3 +98,3 @@ }); | ||
if (vueOptions) { | ||
return nameCasing.convertAttrName(ts, languageService.context, params.textDocument.uri, params.casing); | ||
return nameCasing.convertAttrName(ts, languageService.context, params.textDocument.uri, params.casing, hostToVueOptions.get(languageService.context.rawHost)); | ||
} | ||
@@ -101,0 +101,0 @@ } |
@@ -8,19 +8,19 @@ "use strict"; | ||
GetComponentMeta.type = new vscode.RequestType('vue/componentMeta'); | ||
})(GetComponentMeta = exports.GetComponentMeta || (exports.GetComponentMeta = {})); | ||
})(GetComponentMeta || (exports.GetComponentMeta = GetComponentMeta = {})); | ||
var DetectNameCasingRequest; | ||
(function (DetectNameCasingRequest) { | ||
DetectNameCasingRequest.type = new vscode.RequestType('vue/detectTagCasing'); | ||
})(DetectNameCasingRequest = exports.DetectNameCasingRequest || (exports.DetectNameCasingRequest = {})); | ||
})(DetectNameCasingRequest || (exports.DetectNameCasingRequest = DetectNameCasingRequest = {})); | ||
var GetConvertTagCasingEditsRequest; | ||
(function (GetConvertTagCasingEditsRequest) { | ||
GetConvertTagCasingEditsRequest.type = new vscode.RequestType('vue/convertTagNameCasing'); | ||
})(GetConvertTagCasingEditsRequest = exports.GetConvertTagCasingEditsRequest || (exports.GetConvertTagCasingEditsRequest = {})); | ||
})(GetConvertTagCasingEditsRequest || (exports.GetConvertTagCasingEditsRequest = GetConvertTagCasingEditsRequest = {})); | ||
var GetConvertAttrCasingEditsRequest; | ||
(function (GetConvertAttrCasingEditsRequest) { | ||
GetConvertAttrCasingEditsRequest.type = new vscode.RequestType('vue/convertPropNameCasing'); | ||
})(GetConvertAttrCasingEditsRequest = exports.GetConvertAttrCasingEditsRequest || (exports.GetConvertAttrCasingEditsRequest = {})); | ||
})(GetConvertAttrCasingEditsRequest || (exports.GetConvertAttrCasingEditsRequest = GetConvertAttrCasingEditsRequest = {})); | ||
var ParseSFCRequest; | ||
(function (ParseSFCRequest) { | ||
ParseSFCRequest.type = new vscode.RequestType('vue/parseSfc'); | ||
})(ParseSFCRequest = exports.ParseSFCRequest || (exports.ParseSFCRequest = {})); | ||
})(ParseSFCRequest || (exports.ParseSFCRequest = ParseSFCRequest = {})); | ||
//# sourceMappingURL=protocol.js.map |
{ | ||
"name": "@vue/language-server", | ||
"version": "1.7.11", | ||
"version": "1.7.12", | ||
"main": "out/index.js", | ||
@@ -22,8 +22,8 @@ "license": "MIT", | ||
"@volar/typescript": "1.7.4", | ||
"@vue/language-core": "1.7.11", | ||
"@vue/language-service": "1.7.11", | ||
"@vue/language-core": "1.7.12", | ||
"@vue/language-service": "1.7.12", | ||
"vscode-languageserver-protocol": "^3.17.3", | ||
"vue-component-meta": "1.7.11" | ||
"vue-component-meta": "1.7.12" | ||
}, | ||
"gitHead": "8ed51477115bf67f73eb74653b2770e5d9d586f0" | ||
"gitHead": "9e712c2d603c690cd03502f5ec1a99bd80b800ac" | ||
} |
14713
+ Added@vue/language-core@1.7.12(transitive)
+ Added@vue/language-service@1.7.12(transitive)
+ Addedvue-component-meta@1.7.12(transitive)
+ Addedvue-component-type-helpers@1.7.12(transitive)
- Removed@vue/language-core@1.7.11(transitive)
- Removed@vue/language-service@1.7.11(transitive)
- Removedvue-component-meta@1.7.11(transitive)
- Removedvue-component-type-helpers@1.7.11(transitive)
Updated@vue/language-core@1.7.12
Updated@vue/language-service@1.7.12
Updatedvue-component-meta@1.7.12