@volar/language-core 1.0.8 → 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.
- package/out/languageContext.js +3 -3
- package/out/types.d.ts +2 -1
- package/package.json +3 -3
package/out/languageContext.js
CHANGED
|
@@ -36,10 +36,10 @@ function createEmbeddedLanguageServiceHost(host, languageModules) {
|
|
|
36
36
|
// create virtual files
|
|
37
37
|
const scriptSnapshot = host.getScriptSnapshot(vueFileName);
|
|
38
38
|
if (scriptSnapshot) {
|
|
39
|
-
for (const
|
|
40
|
-
const sourceFile =
|
|
39
|
+
for (const languageModule of languageModules) {
|
|
40
|
+
const sourceFile = languageModule.createSourceFile(vueFileName, scriptSnapshot);
|
|
41
41
|
if (sourceFile) {
|
|
42
|
-
documentRegistry.set(vueFileName, (0, reactivity_1.shallowReactive)(sourceFile),
|
|
42
|
+
documentRegistry.set(vueFileName, (0, reactivity_1.shallowReactive)(sourceFile), languageModule);
|
|
43
43
|
break;
|
|
44
44
|
}
|
|
45
45
|
}
|
package/out/types.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volar/language-core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.9",
|
|
4
4
|
"main": "out/index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
"directory": "packages/language-core"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@volar/source-map": "1.0.
|
|
16
|
+
"@volar/source-map": "1.0.9",
|
|
17
17
|
"@vue/reactivity": "^3.2.40",
|
|
18
18
|
"muggle-string": "^0.1.0"
|
|
19
19
|
},
|
|
20
|
-
"gitHead": "
|
|
20
|
+
"gitHead": "be2081f56ce4608324795b8a0ae83c288a3a784d"
|
|
21
21
|
}
|