@volar/language-server 1.6.0 → 1.6.2

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.
@@ -104,7 +104,6 @@ function register(connection, workspaces, env) {
104
104
  });
105
105
  connection.onRequest(protocol_1.GetVirtualFilesRequest.type, async (document) => {
106
106
  const project = await workspaces.getProject(document.uri);
107
- console.log(document.uri, typeof project);
108
107
  if (project) {
109
108
  const file = project.project?.getLanguageService().context.core.virtualFiles.getSource(env.uriToFileName(document.uri))?.root;
110
109
  return file ? prune(file) : undefined;
package/package.json CHANGED
@@ -1,15 +1,13 @@
1
1
  {
2
2
  "name": "@volar/language-server",
3
- "version": "1.6.0",
3
+ "version": "1.6.2",
4
4
  "main": "out/index.js",
5
5
  "license": "MIT",
6
6
  "files": [
7
7
  "out/**/*.js",
8
8
  "out/**/*.d.ts",
9
- "browser.js",
10
- "browser.d.ts",
11
- "node.js",
12
- "node.d.ts"
9
+ "*.js",
10
+ "*.d.ts"
13
11
  ],
14
12
  "repository": {
15
13
  "type": "git",
@@ -17,8 +15,8 @@
17
15
  "directory": "packages/language-server"
18
16
  },
19
17
  "dependencies": {
20
- "@volar/language-core": "1.6.0",
21
- "@volar/language-service": "1.6.0",
18
+ "@volar/language-core": "1.6.2",
19
+ "@volar/language-service": "1.6.2",
22
20
  "@vscode/l10n": "^0.0.11",
23
21
  "request-light": "^0.7.0",
24
22
  "typesafe-path": "^0.2.2",
@@ -28,5 +26,5 @@
28
26
  "vscode-languageserver-textdocument": "^1.0.8",
29
27
  "vscode-uri": "^3.0.7"
30
28
  },
31
- "gitHead": "3ef1b023cb1f77662fd7bdb0f1099ab726f772d6"
29
+ "gitHead": "1a044d2d633de5beb7e1a14689141037854ea441"
32
30
  }
package/protocol.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from './out/protocol';
package/protocol.js ADDED
@@ -0,0 +1 @@
1
+ module.exports = require('./out/protocol');