@volar/language-service 1.0.7 → 1.0.9

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.
@@ -20,12 +20,9 @@ export declare function createLanguageService(context: LanguageServiceRuntimeCon
20
20
  prepareRename: (uri: string, position: _.Position) => Promise<NonNullable<_.Range | _.ResponseError<void> | null | undefined> | undefined>;
21
21
  doRename: (uri: string, position: _.Position, newName: string) => Promise<_.WorkspaceEdit | undefined>;
22
22
  getEditsForFileRename: (oldUri: string, newUri: string) => Promise<_.WorkspaceEdit | undefined>;
23
- getSemanticTokens: (uri: string, range: _.Range | undefined, cancleToken: _.CancellationToken, reportProgress?: ((tokens: import("./types").SemanticToken[]) => void) | undefined) => Promise<import("./types").SemanticToken[] | undefined> | undefined;
23
+ getSemanticTokens: (uri: string, range: _.Range | undefined, legend: _.SemanticTokensLegend, cancelToken: _.CancellationToken, reportProgress?: ((tokens: import("./types").SemanticToken[]) => void) | undefined) => Promise<import("./types").SemanticToken[] | undefined> | undefined;
24
24
  doHover: (uri: string, position: _.Position) => Promise<_.Hover | undefined>;
25
- doComplete: (uri: string, position: _.Position, completionContext?: _.CompletionContext | undefined) => Promise<{
26
- isIncomplete: boolean;
27
- items: _.CompletionItem[];
28
- }>;
25
+ doComplete: (uri: string, position: _.Position, completionContext?: _.CompletionContext | undefined) => Promise<_.CompletionList>;
29
26
  doCodeActions: (uri: string, range: _.Range, codeActionContext: _.CodeActionContext) => Promise<_.CodeAction[] | undefined>;
30
27
  doCodeActionResolve: (item: _.CodeAction) => Promise<_.CodeAction>;
31
28
  doCompletionResolve: (item: _.CompletionItem) => Promise<_.CompletionItem>;
@@ -167,20 +167,23 @@ function register(context) {
167
167
  continue;
168
168
  if (!edits.length)
169
169
  return edits;
170
- let newText = vscode_languageserver_textdocument_1.TextDocument.applyEdits(formatDocument, edits);
171
170
  if (initialIndentBracket) {
171
+ let newText = vscode_languageserver_textdocument_1.TextDocument.applyEdits(formatDocument, edits);
172
172
  newText = newText.substring(newText.indexOf(initialIndentBracket[0]) + initialIndentBracket[0].length, newText.lastIndexOf(initialIndentBracket[1]));
173
+ if (newText === document.getText()) {
174
+ edits = [];
175
+ }
176
+ else {
177
+ edits = [{
178
+ newText,
179
+ range: {
180
+ start: document.positionAt(0),
181
+ end: document.positionAt(document.getText().length),
182
+ },
183
+ }];
184
+ }
173
185
  }
174
- if (newText === document.getText()) {
175
- return [];
176
- }
177
- return [{
178
- range: {
179
- start: document.positionAt(0),
180
- end: document.positionAt(document.getText().length),
181
- },
182
- newText,
183
- }];
186
+ return edits;
184
187
  }
185
188
  });
186
189
  }
@@ -5,9 +5,31 @@ const transforms_1 = require("@volar/transforms");
5
5
  const shared = require("@volar/shared");
6
6
  function register(context) {
7
7
  return (document, positions) => {
8
- return (0, featureWorkers_1.documentArgFeatureWorker)(context, document, positions, sourceMap => !!sourceMap.embeddedFile.capabilities.foldingRange, (positions, sourceMap) => [positions
8
+ return (0, featureWorkers_1.documentArgFeatureWorker)(context, document, positions, sourceMap => !!sourceMap.embeddedFile.capabilities.documentFormatting, (positions, sourceMap) => {
9
+ const result = positions
9
10
  .map(position => sourceMap.toGeneratedPosition(position))
10
- .filter(shared.notEmpty)], (plugin, document, positions) => { var _a; return positions.length ? (_a = plugin.getSelectionRanges) === null || _a === void 0 ? void 0 : _a.call(plugin, document, positions) : undefined; }, (item, sourceMap) => (0, transforms_1.transformSelectionRanges)(item, range => sourceMap.toSourceRange(range)));
11
+ .filter(shared.notEmpty);
12
+ if (result.length) {
13
+ return [result];
14
+ }
15
+ return [];
16
+ }, (plugin, document, positions) => { var _a; return (_a = plugin.getSelectionRanges) === null || _a === void 0 ? void 0 : _a.call(plugin, document, positions); }, (item, sourceMap) => (0, transforms_1.transformSelectionRanges)(item, range => sourceMap.toSourceRange(range)), results => {
17
+ for (let i = 0; i < results[0].length; i++) {
18
+ const first = results[0][i];
19
+ let lastParent = first;
20
+ while (lastParent.parent) {
21
+ lastParent = lastParent.parent;
22
+ }
23
+ for (let j = 1; j < results.length; j++) {
24
+ const other = results[j][i];
25
+ lastParent.parent = other;
26
+ while (lastParent.parent) {
27
+ lastParent = lastParent.parent;
28
+ }
29
+ }
30
+ }
31
+ return results[0];
32
+ });
11
33
  };
12
34
  }
13
35
  exports.register = register;
@@ -8,7 +8,4 @@ export interface PluginCompletionData {
8
8
  embeddedDocumentUri: string;
9
9
  } | undefined;
10
10
  }
11
- export declare function register(context: LanguageServiceRuntimeContext): (uri: string, position: vscode.Position, completionContext?: vscode.CompletionContext) => Promise<{
12
- isIncomplete: boolean;
13
- items: vscode.CompletionItem[];
14
- }>;
11
+ export declare function register(context: LanguageServiceRuntimeContext): (uri: string, position: vscode.Position, completionContext?: vscode.CompletionContext) => Promise<vscode.CompletionList>;
@@ -34,16 +34,14 @@ function register(context) {
34
34
  cacheData.list.isIncomplete = false;
35
35
  continue;
36
36
  }
37
- cacheData.list = Object.assign(Object.assign({}, embeddedCompletionList), { items: embeddedCompletionList.items.map(item => {
38
- return Object.assign(Object.assign({}, (0, transforms_1.transformCompletionItem)(item, embeddedRange => sourceMap.toSourceRange(embeddedRange))), { data: {
39
- uri,
40
- originalItem: item,
41
- pluginId: context.plugins.indexOf(cacheData.plugin),
42
- sourceMap: {
43
- embeddedDocumentUri: sourceMap.mappedDocument.uri,
44
- },
45
- } });
46
- }) });
37
+ cacheData.list = (0, transforms_1.transformCompletionList)(embeddedCompletionList, range => sourceMap.toSourceRange(range), (newItem, oldItem) => newItem.data = {
38
+ uri,
39
+ originalItem: oldItem,
40
+ pluginId: context.plugins.indexOf(cacheData.plugin),
41
+ sourceMap: {
42
+ embeddedDocumentUri: sourceMap.mappedDocument.uri,
43
+ },
44
+ });
47
45
  }
48
46
  }
49
47
  else if (document = context.getTextDocument(uri)) {
@@ -54,14 +52,12 @@ function register(context) {
54
52
  cacheData.list.isIncomplete = false;
55
53
  continue;
56
54
  }
57
- cacheData.list = Object.assign(Object.assign({}, completionList), { items: completionList.items.map(item => {
58
- return Object.assign(Object.assign({}, item), { data: {
59
- uri,
60
- originalItem: item,
61
- pluginId: context.plugins.indexOf(cacheData.plugin),
62
- sourceMap: undefined,
63
- } });
64
- }) });
55
+ cacheData.list = Object.assign(Object.assign({}, completionList), { items: completionList.items.map(item => (Object.assign(Object.assign({}, item), { data: {
56
+ uri,
57
+ originalItem: item,
58
+ pluginId: context.plugins.indexOf(cacheData.plugin),
59
+ sourceMap: undefined,
60
+ } }))) });
65
61
  }
66
62
  }
67
63
  }
@@ -99,19 +95,20 @@ function register(context) {
99
95
  const embeddedCompletionList = yield plugin.complete.on(sourceMap.mappedDocument, mapped, completionContext);
100
96
  if (!embeddedCompletionList || !embeddedCompletionList.items.length)
101
97
  continue;
98
+ if (typeof (_data === null || _data === void 0 ? void 0 : _data.completion) === 'object' && _data.completion.autoImportOnly) {
99
+ embeddedCompletionList.items = embeddedCompletionList.items.filter(item => !!item.labelDetails);
100
+ }
102
101
  if (!isAdditional) {
103
102
  cache.mainCompletion = { documentUri: sourceMap.mappedDocument.uri };
104
103
  }
105
- const completionList = Object.assign(Object.assign({}, embeddedCompletionList), { items: embeddedCompletionList.items.map(item => {
106
- return Object.assign(Object.assign({}, (0, transforms_1.transformCompletionItem)(item, embeddedRange => sourceMap.toSourceRange(embeddedRange))), { data: {
107
- uri,
108
- originalItem: item,
109
- pluginId: context.plugins.indexOf(plugin),
110
- sourceMap: {
111
- embeddedDocumentUri: sourceMap.mappedDocument.uri,
112
- }
113
- } });
114
- }) });
104
+ const completionList = (0, transforms_1.transformCompletionList)(embeddedCompletionList, range => sourceMap.toSourceRange(range), (newItem, oldItem) => newItem.data = {
105
+ uri,
106
+ originalItem: oldItem,
107
+ pluginId: context.plugins.indexOf(plugin),
108
+ sourceMap: {
109
+ embeddedDocumentUri: sourceMap.mappedDocument.uri,
110
+ }
111
+ });
115
112
  cache.data.push({
116
113
  sourceMap: {
117
114
  embeddedDocumentUri: sourceMap.mappedDocument.uri,
@@ -166,8 +163,10 @@ function register(context) {
166
163
  return (((_a = b.complete) === null || _a === void 0 ? void 0 : _a.isAdditional) ? -1 : 1) - (((_b = a.complete) === null || _b === void 0 ? void 0 : _b.isAdditional) ? -1 : 1);
167
164
  }
168
165
  function combineCompletionList(lists) {
166
+ var _a;
169
167
  return {
170
168
  isIncomplete: lists.some(list => list.isIncomplete),
169
+ itemDefaults: (_a = lists.find(list => list.itemDefaults)) === null || _a === void 0 ? void 0 : _a.itemDefaults,
171
170
  items: lists.map(list => list.items).flat().filter((result) => {
172
171
  var _a;
173
172
  return result.label.indexOf('__VLS_') === -1
@@ -14,7 +14,9 @@ const featureWorkers_1 = require("../utils/featureWorkers");
14
14
  const dedupe = require("../utils/dedupe");
15
15
  function register(context) {
16
16
  return (uri, position) => {
17
- return (0, featureWorkers_1.languageFeatureWorker)(context, uri, position, (position, sourceMap) => sourceMap.toGeneratedPositions(position, data => !!data.references), (plugin, document, position, sourceMap, vueDocument) => __awaiter(this, void 0, void 0, function* () {
17
+ return (0, featureWorkers_1.languageFeatureWorker)(context, uri, position, (position, sourceMap) => sourceMap.toGeneratedPositions(position,
18
+ // note https://github.com/johnsoncodehk/volar/issues/2009
19
+ data => typeof data.rename === 'object' ? !!data.rename.normalize : !!data.rename), (plugin, document, position, sourceMap, vueDocument) => __awaiter(this, void 0, void 0, function* () {
18
20
  const recursiveChecker = dedupe.createLocationSet();
19
21
  const result = [];
20
22
  yield withTeleports(document, position);
@@ -1,4 +1,4 @@
1
1
  import * as vscode from 'vscode-languageserver-protocol';
2
2
  import { SemanticToken } from '@volar/language-service';
3
3
  import type { LanguageServiceRuntimeContext } from '../types';
4
- export declare function register(context: LanguageServiceRuntimeContext): (uri: string, range: vscode.Range | undefined, cancleToken: vscode.CancellationToken, reportProgress?: ((tokens: SemanticToken[]) => void) | undefined) => Promise<SemanticToken[] | undefined> | undefined;
4
+ export declare function register(context: LanguageServiceRuntimeContext): (uri: string, range: vscode.Range | undefined, legend: vscode.SemanticTokensLegend, cancelToken: vscode.CancellationToken, reportProgress?: ((tokens: SemanticToken[]) => void) | undefined) => Promise<SemanticToken[] | undefined> | undefined;
@@ -4,7 +4,7 @@ const shared = require("@volar/shared");
4
4
  const vscode = require("vscode-languageserver-protocol");
5
5
  const featureWorkers_1 = require("../utils/featureWorkers");
6
6
  function register(context) {
7
- return (uri, range, cancleToken, reportProgress) => {
7
+ return (uri, range, legend, cancelToken, reportProgress) => {
8
8
  const document = context.getTextDocument(uri);
9
9
  if (!document)
10
10
  return;
@@ -16,7 +16,7 @@ function register(context) {
16
16
  document.getText().length,
17
17
  ];
18
18
  return (0, featureWorkers_1.languageFeatureWorker)(context, uri, offsetRange, function* (offsetRange, sourceMap) {
19
- if (cancleToken === null || cancleToken === void 0 ? void 0 : cancleToken.isCancellationRequested)
19
+ if (cancelToken === null || cancelToken === void 0 ? void 0 : cancelToken.isCancellationRequested)
20
20
  return;
21
21
  let range;
22
22
  for (const mapping of sourceMap.mappings) {
@@ -37,7 +37,7 @@ function register(context) {
37
37
  }
38
38
  }, (plugin, document, offsetRange) => {
39
39
  var _a;
40
- return (_a = plugin.findDocumentSemanticTokens) === null || _a === void 0 ? void 0 : _a.call(plugin, document, vscode.Range.create(document.positionAt(offsetRange[0]), document.positionAt(offsetRange[1])));
40
+ return (_a = plugin.findDocumentSemanticTokens) === null || _a === void 0 ? void 0 : _a.call(plugin, document, vscode.Range.create(document.positionAt(offsetRange[0]), document.positionAt(offsetRange[1])), legend);
41
41
  }, (tokens, sourceMap) => tokens.map(_token => {
42
42
  if (!sourceMap)
43
43
  return _token;
@@ -3,5 +3,5 @@ import type { LanguageServiceRuntimeContext } from '../types';
3
3
  export declare function updateRange(range: vscode.Range, change: {
4
4
  range: vscode.Range;
5
5
  newEnd: vscode.Position;
6
- }): vscode.Range;
6
+ }): vscode.Range | undefined;
7
7
  export declare function register(context: LanguageServiceRuntimeContext): (uri: string, token?: vscode.CancellationToken, response?: ((result: vscode.Diagnostic[]) => void) | undefined) => Promise<vscode.Diagnostic[]>;
@@ -14,8 +14,12 @@ const vscode_languageserver_textdocument_1 = require("vscode-languageserver-text
14
14
  const dedupe = require("../utils/dedupe");
15
15
  const featureWorkers_1 = require("../utils/featureWorkers");
16
16
  function updateRange(range, change) {
17
- updatePosition(range.start, change, false);
18
- updatePosition(range.end, change, true);
17
+ if (!updatePosition(range.start, change, false)) {
18
+ return;
19
+ }
20
+ if (!updatePosition(range.end, change, true)) {
21
+ return;
22
+ }
19
23
  if (range.end.line === range.start.line && range.end.character <= range.start.character) {
20
24
  range.end.character++;
21
25
  }
@@ -26,13 +30,16 @@ function updatePosition(position, change, isEnd) {
26
30
  if (change.range.end.line > position.line) {
27
31
  if (change.newEnd.line > position.line) {
28
32
  // No change
33
+ return true;
29
34
  }
30
35
  else if (change.newEnd.line === position.line) {
31
36
  position.character = Math.min(position.character, change.newEnd.character);
37
+ return true;
32
38
  }
33
39
  else if (change.newEnd.line < position.line) {
34
40
  position.line = change.newEnd.line;
35
41
  position.character = change.newEnd.character;
42
+ return true;
36
43
  }
37
44
  }
38
45
  else if (change.range.end.line === position.line) {
@@ -53,25 +60,30 @@ function updatePosition(position, change, isEnd) {
53
60
  }
54
61
  }
55
62
  }
63
+ return true;
56
64
  }
57
65
  else {
58
- if (change.newEnd.line !== change.range.end.line) {
59
- if (change.newEnd.line < change.range.end.line) {
60
- position.line = change.newEnd.line;
61
- position.character = change.newEnd.character;
62
- }
63
- }
64
- else {
66
+ if (change.newEnd.line === change.range.end.line) {
65
67
  const offset = change.range.end.character - position.character;
66
68
  if (-characterDiff > offset) {
67
69
  position.character += characterDiff + offset;
68
70
  }
69
71
  }
72
+ else if (change.newEnd.line < change.range.end.line) {
73
+ position.line = change.newEnd.line;
74
+ position.character = change.newEnd.character;
75
+ }
76
+ else {
77
+ // No change
78
+ }
79
+ return true;
70
80
  }
71
81
  }
72
82
  else if (change.range.end.line < position.line) {
73
83
  position.line += change.newEnd.line - change.range.end.line;
84
+ return true;
74
85
  }
86
+ return false;
75
87
  }
76
88
  function register(context) {
77
89
  const responseCache = new Map();
@@ -91,11 +103,14 @@ function register(context) {
91
103
  }).get(uri);
92
104
  const newSnapshot = context.host.getScriptSnapshot(shared.getPathOfUri(uri));
93
105
  const newDocument = newSnapshot ? vscode_languageserver_textdocument_1.TextDocument.create('file://a.txt', 'txt', 0, newSnapshot.getText(0, newSnapshot.getLength())) : undefined;
106
+ let failedToUpdateRange = false;
107
+ let errorsUpdated = false;
108
+ let lastCheckCancelAt = 0;
94
109
  for (const _cache of Object.values(cache)) {
95
110
  const oldSnapshot = _cache.snapshot;
96
111
  const change = oldSnapshot ? newSnapshot === null || newSnapshot === void 0 ? void 0 : newSnapshot.getChangeRange(oldSnapshot) : undefined;
97
112
  _cache.snapshot = newSnapshot;
98
- if (newDocument && oldSnapshot && newSnapshot && change) {
113
+ if (!failedToUpdateRange && newDocument && oldSnapshot && newSnapshot && change) {
99
114
  const oldDocument = vscode_languageserver_textdocument_1.TextDocument.create('file://a.txt', 'txt', 0, oldSnapshot.getText(0, oldSnapshot.getLength()));
100
115
  const changeRange = {
101
116
  range: {
@@ -105,12 +120,13 @@ function register(context) {
105
120
  newEnd: newDocument.positionAt(change.span.start + change.newLength),
106
121
  };
107
122
  for (const error of _cache.errors) {
108
- updateRange(error.range, changeRange);
123
+ if (!updateRange(error.range, changeRange)) {
124
+ failedToUpdateRange = true;
125
+ break;
126
+ }
109
127
  }
110
128
  }
111
129
  }
112
- let shouldSend = false;
113
- let lastCheckCancelAt = 0;
114
130
  yield worker('onSyntactic', scriptTsCache_syntactic, cache.tsSyntactic);
115
131
  doResponse();
116
132
  yield worker('onSuggestion', scriptTsCache_suggestion, cache.tsSuggestion);
@@ -120,9 +136,9 @@ function register(context) {
120
136
  yield worker('onDeclaration', scriptTsCache_declaration, cache.tsDeclaration);
121
137
  return getErrors();
122
138
  function doResponse() {
123
- if (shouldSend) {
139
+ if (errorsUpdated && !failedToUpdateRange) {
124
140
  response === null || response === void 0 ? void 0 : response(getErrors());
125
- shouldSend = false;
141
+ errorsUpdated = false;
126
142
  }
127
143
  }
128
144
  function getErrors() {
@@ -159,7 +175,7 @@ function register(context) {
159
175
  }
160
176
  }
161
177
  const errors = yield ((_e = (_d = plugin.validation) === null || _d === void 0 ? void 0 : _d[mode]) === null || _e === void 0 ? void 0 : _e.call(_d, document));
162
- shouldSend = true;
178
+ errorsUpdated = true;
163
179
  pluginCache.set(document.uri, {
164
180
  documentVersion: document.version,
165
181
  errors,
package/out/types.d.ts CHANGED
@@ -78,7 +78,7 @@ export interface LanguageServicePlugin {
78
78
  findDocumentHighlights?(document: TextDocument, position: vscode.Position): NullableResult<vscode.DocumentHighlight[]>;
79
79
  findDocumentLinks?(document: TextDocument): NullableResult<vscode.DocumentLink[]>;
80
80
  findDocumentSymbols?(document: TextDocument): NullableResult<vscode.SymbolInformation[]>;
81
- findDocumentSemanticTokens?(document: TextDocument, range: vscode.Range): NullableResult<SemanticToken[]>;
81
+ findDocumentSemanticTokens?(document: TextDocument, range: vscode.Range, legend: vscode.SemanticTokensLegend): NullableResult<SemanticToken[]>;
82
82
  findWorkspaceSymbols?(query: string): NullableResult<vscode.SymbolInformation[]>;
83
83
  doExecuteCommand?(command: string, args: any[], context: ExecuteCommandContext): NotNullableResult<void>;
84
84
  findDocumentColors?(document: TextDocument): NullableResult<vscode.ColorInformation[]>;
@@ -3,5 +3,5 @@ import type { DocumentServiceRuntimeContext, LanguageServiceRuntimeContext } fro
3
3
  import { LanguageServicePlugin } from '@volar/language-service';
4
4
  import { EmbeddedDocumentSourceMap, SourceFileDocument } from '../documents';
5
5
  export declare function documentFeatureWorker<T>(context: DocumentServiceRuntimeContext, document: TextDocument, isValidSourceMap: (sourceMap: EmbeddedDocumentSourceMap) => boolean, worker: (plugin: LanguageServicePlugin, document: TextDocument) => T, transform: (result: NonNullable<Awaited<T>>, sourceMap: EmbeddedDocumentSourceMap) => T | undefined, combineResult?: (results: NonNullable<Awaited<T>>[]) => NonNullable<Awaited<T>>): Promise<NonNullable<Awaited<T>> | undefined>;
6
- export declare function documentArgFeatureWorker<T, K>(context: DocumentServiceRuntimeContext, document: TextDocument, arg: K, isValidSourceMap: (sourceMap: EmbeddedDocumentSourceMap) => boolean, transformArg: (arg: K, sourceMap: EmbeddedDocumentSourceMap) => Generator<K> | [K], worker: (plugin: LanguageServicePlugin, document: TextDocument, arg: K) => T, transform: (result: NonNullable<Awaited<T>>, sourceMap: EmbeddedDocumentSourceMap) => T | undefined, combineResult?: (results: NonNullable<Awaited<T>>[]) => NonNullable<Awaited<T>>): Promise<NonNullable<Awaited<T>> | undefined>;
6
+ export declare function documentArgFeatureWorker<T, K>(context: DocumentServiceRuntimeContext, document: TextDocument, arg: K, isValidSourceMap: (sourceMap: EmbeddedDocumentSourceMap) => boolean, transformArg: (arg: K, sourceMap: EmbeddedDocumentSourceMap) => Generator<K> | K[], worker: (plugin: LanguageServicePlugin, document: TextDocument, arg: K) => T, transform: (result: NonNullable<Awaited<T>>, sourceMap: EmbeddedDocumentSourceMap) => T | undefined, combineResult?: (results: NonNullable<Awaited<T>>[]) => NonNullable<Awaited<T>>): Promise<NonNullable<Awaited<T>> | undefined>;
7
7
  export declare function languageFeatureWorker<T, K>(context: LanguageServiceRuntimeContext, uri: string, arg: K, transformArg: (arg: K, sourceMap: EmbeddedDocumentSourceMap) => Generator<K> | K[], worker: (plugin: LanguageServicePlugin, document: TextDocument, arg: K, sourceMap: EmbeddedDocumentSourceMap | undefined, vueDocument: SourceFileDocument | undefined) => T, transform: (result: NonNullable<Awaited<T>>, sourceMap: EmbeddedDocumentSourceMap | undefined) => Awaited<T> | undefined, combineResult?: (results: NonNullable<Awaited<T>>[]) => NonNullable<Awaited<T>>, reportProgress?: (result: NonNullable<Awaited<T>>) => void): Promise<NonNullable<Awaited<T>> | undefined>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volar/language-service",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "main": "out/index.js",
5
5
  "license": "MIT",
6
6
  "files": [
@@ -13,11 +13,11 @@
13
13
  "directory": "packages/language-service"
14
14
  },
15
15
  "dependencies": {
16
- "@volar/language-core": "1.0.7",
17
- "@volar/shared": "1.0.7",
18
- "@volar/source-map": "1.0.7",
19
- "@volar/transforms": "1.0.7",
20
- "@volar/typescript-faster": "1.0.7",
16
+ "@volar/language-core": "1.0.9",
17
+ "@volar/shared": "1.0.9",
18
+ "@volar/source-map": "1.0.9",
19
+ "@volar/transforms": "1.0.9",
20
+ "@volar/typescript-faster": "1.0.9",
21
21
  "@vue/reactivity": "^3.2.40",
22
22
  "vscode-html-languageservice": "^5.0.2",
23
23
  "vscode-json-languageservice": "^5.1.1",
@@ -25,5 +25,5 @@
25
25
  "vscode-languageserver-textdocument": "^1.0.7",
26
26
  "vscode-uri": "^3.0.6"
27
27
  },
28
- "gitHead": "96cc1acd9c16ad9cb46638a54f088199f7dddfad"
28
+ "gitHead": "be2081f56ce4608324795b8a0ae83c288a3a784d"
29
29
  }