@volar/language-server
Advanced tools
Comparing version 2.3.0-alpha.4 to 2.3.0-alpha.5
@@ -76,5 +76,4 @@ "use strict"; | ||
const mappings = {}; | ||
for (const map of languageService.context.documents.getMaps(virtualCode)) { | ||
mappings[map.sourceDocument.uri] = map.map.mappings; | ||
} | ||
const map = languageService.context.documents.getSourceMap(virtualCode); | ||
mappings[map.sourceDocument.uri] = map.map.mappings; | ||
return { | ||
@@ -81,0 +80,0 @@ content: virtualCode.snapshot.getText(0, virtualCode.snapshot.getLength()), |
{ | ||
"name": "@volar/language-server", | ||
"version": "2.3.0-alpha.4", | ||
"version": "2.3.0-alpha.5", | ||
"license": "MIT", | ||
@@ -15,6 +15,6 @@ "files": [ | ||
"dependencies": { | ||
"@volar/language-core": "2.3.0-alpha.4", | ||
"@volar/language-service": "2.3.0-alpha.4", | ||
"@volar/snapshot-document": "2.3.0-alpha.4", | ||
"@volar/typescript": "2.3.0-alpha.4", | ||
"@volar/language-core": "2.3.0-alpha.5", | ||
"@volar/language-service": "2.3.0-alpha.5", | ||
"@volar/snapshot-document": "2.3.0-alpha.5", | ||
"@volar/typescript": "2.3.0-alpha.5", | ||
"path-browserify": "^1.0.1", | ||
@@ -30,3 +30,3 @@ "request-light": "^0.7.0", | ||
}, | ||
"gitHead": "8ab3ce02b06a410e9321eea3e9f23d36f97fedda" | ||
"gitHead": "c3f6867de39095913ceaa2256ad35a9ca1a90487" | ||
} |
103373
2166
+ Added@volar/language-core@2.3.0-alpha.5(transitive)
+ Added@volar/language-service@2.3.0-alpha.5(transitive)
+ Added@volar/snapshot-document@2.3.0-alpha.5(transitive)
+ Added@volar/source-map@2.3.0-alpha.5(transitive)
+ Added@volar/typescript@2.3.0-alpha.5(transitive)
- Removed@volar/language-core@2.3.0-alpha.4(transitive)
- Removed@volar/language-service@2.3.0-alpha.4(transitive)
- Removed@volar/snapshot-document@2.3.0-alpha.4(transitive)
- Removed@volar/source-map@2.3.0-alpha.4(transitive)
- Removed@volar/typescript@2.3.0-alpha.4(transitive)