@volar/language-server 1.6.3 → 1.6.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.
@@ -69,7 +69,7 @@ function createNodeFileSystemHost(ts, capabilities, env, _initOptions) {
69
69
  });
70
70
  const fileExistsCache = new Map();
71
71
  const directoryExistsCache = new Map();
72
- // don't cache fs result if client did not supports file watcher
72
+ // don't cache fs result if the client did not support file watcher
73
73
  const sys = capabilities.workspace?.didChangeWatchedFiles
74
74
  ? new Proxy({
75
75
  fileExists(path) {
package/out/node/index.js CHANGED
@@ -74,7 +74,7 @@ function startLanguageServer(connection, ...plugins) {
74
74
  https: http_1.default,
75
75
  },
76
76
  onDidChangeConfiguration(settings) {
77
- (0, request_light_1.configure)(settings.http && settings.http.proxy, settings.http && settings.http.proxyStrictSSL);
77
+ (0, request_light_1.configure)(settings.http?.proxy, settings.http?.proxyStrictSSL);
78
78
  },
79
79
  createFileSystemHost: fileSystem_1.createNodeFileSystemHost,
80
80
  fileSystemProvide: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volar/language-server",
3
- "version": "1.6.3",
3
+ "version": "1.6.5",
4
4
  "main": "out/index.js",
5
5
  "license": "MIT",
6
6
  "files": [
@@ -15,8 +15,8 @@
15
15
  "directory": "packages/language-server"
16
16
  },
17
17
  "dependencies": {
18
- "@volar/language-core": "1.6.3",
19
- "@volar/language-service": "1.6.3",
18
+ "@volar/language-core": "1.6.5",
19
+ "@volar/language-service": "1.6.5",
20
20
  "@vscode/l10n": "^0.0.11",
21
21
  "request-light": "^0.7.0",
22
22
  "typesafe-path": "^0.2.2",
@@ -26,5 +26,5 @@
26
26
  "vscode-languageserver-textdocument": "^1.0.8",
27
27
  "vscode-uri": "^3.0.7"
28
28
  },
29
- "gitHead": "79c29a4632028168280819ecd6c0d68e31c08848"
29
+ "gitHead": "7fa98d2d3bf1fde8aabb39f62d8522bea0c23098"
30
30
  }