@volar/language-server 1.0.0-alpha.4 → 1.0.0-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -25,8 +25,9 @@ function createConfigurationHost(params, connection) {
|
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
getConfiguration(section, scopeUri) {
|
|
28
|
+
var _a;
|
|
28
29
|
return __awaiter(this, void 0, void 0, function* () {
|
|
29
|
-
return yield connection.workspace.getConfiguration({ scopeUri, section })
|
|
30
|
+
return (_a = (yield connection.workspace.getConfiguration({ scopeUri, section }))) !== null && _a !== void 0 ? _a : undefined /* replace null to undefined */;
|
|
30
31
|
});
|
|
31
32
|
},
|
|
32
33
|
onDidChangeConfiguration(cb) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volar/language-server",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.5",
|
|
4
4
|
"main": "out/index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
"directory": "packages/language-server"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@volar/language-core": "1.0.0-alpha.
|
|
21
|
-
"@volar/language-service": "1.0.0-alpha.
|
|
22
|
-
"@volar/shared": "1.0.0-alpha.
|
|
20
|
+
"@volar/language-core": "1.0.0-alpha.5",
|
|
21
|
+
"@volar/language-service": "1.0.0-alpha.5",
|
|
22
|
+
"@volar/shared": "1.0.0-alpha.5",
|
|
23
23
|
"request-light": "^0.5.8",
|
|
24
24
|
"upath": "^2.0.1",
|
|
25
25
|
"vscode-html-languageservice": "^5.0.1",
|
|
@@ -28,5 +28,5 @@
|
|
|
28
28
|
"vscode-languageserver-textdocument": "^1.0.7",
|
|
29
29
|
"vscode-uri": "^3.0.3"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "dd3efd3f7458aca9ba5dcdf549ce80999cb7affd"
|
|
32
32
|
}
|