@volar/language-service 1.0.0-beta.4 → 1.0.0-beta.6

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.
@@ -9,7 +9,8 @@ function register(context) {
9
9
  (plugin, document) => { var _a; return (_a = plugin.findDocumentSymbols) === null || _a === void 0 ? void 0 : _a.call(plugin, document); }, (data, sourceMap) => (0, transforms_1.transformSymbolInformations)(data, location => {
10
10
  const range = sourceMap.toSourceRange(location.range);
11
11
  if (range) {
12
- return vscode.Location.create(sourceMap.sourceDocument.uri, range);
12
+ // use document.uri instead of sourceMap.sourceDocument.uri to fix https://github.com/johnsoncodehk/volar/issues/1925
13
+ return vscode.Location.create(document.uri, range);
13
14
  }
14
15
  }), arr => arr.flat());
15
16
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volar/language-service",
3
- "version": "1.0.0-beta.4",
3
+ "version": "1.0.0-beta.6",
4
4
  "main": "out/index.js",
5
5
  "license": "MIT",
6
6
  "files": [
@@ -16,11 +16,11 @@
16
16
  "typescript": "beta"
17
17
  },
18
18
  "dependencies": {
19
- "@volar/language-core": "1.0.0-beta.4",
20
- "@volar/shared": "1.0.0-beta.4",
21
- "@volar/source-map": "1.0.0-beta.4",
22
- "@volar/transforms": "1.0.0-beta.4",
23
- "@volar/typescript-faster": "1.0.0-beta.4",
19
+ "@volar/language-core": "1.0.0-beta.6",
20
+ "@volar/shared": "1.0.0-beta.6",
21
+ "@volar/source-map": "1.0.0-beta.6",
22
+ "@volar/transforms": "1.0.0-beta.6",
23
+ "@volar/typescript-faster": "1.0.0-beta.6",
24
24
  "@vue/reactivity": "^3.2.38",
25
25
  "vscode-html-languageservice": "^5.0.1",
26
26
  "vscode-json-languageservice": "^5.1.0",
@@ -28,5 +28,5 @@
28
28
  "vscode-languageserver-textdocument": "^1.0.7",
29
29
  "vscode-uri": "^3.0.3"
30
30
  },
31
- "gitHead": "95f02fda8b432ca1d0cc08694ba3911c9e3b9ec6"
31
+ "gitHead": "501696bea5b7d1cc318ea52e0ba1c200e6ac2e01"
32
32
  }