vue-component-meta 3.2.7 → 3.2.8
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/lib/componentMeta.js +2 -2
- package/package.json +3 -3
package/lib/componentMeta.js
CHANGED
|
@@ -154,11 +154,11 @@ function getComponentMeta(ts, typeChecker, printer, language, getSourceScript, c
|
|
|
154
154
|
let decl = componentNode;
|
|
155
155
|
// const __VLS_export = ...
|
|
156
156
|
const text = componentFile.text.slice(decl.pos, decl.end);
|
|
157
|
-
if (text.includes(core.names.
|
|
157
|
+
if (text.includes(core.names.export)) {
|
|
158
158
|
ts.forEachChild(componentFile, child2 => {
|
|
159
159
|
if (ts.isVariableStatement(child2)) {
|
|
160
160
|
for (const { name, initializer } of child2.declarationList.declarations) {
|
|
161
|
-
if (name.getText() === core.names.
|
|
161
|
+
if (name.getText() === core.names.export && initializer) {
|
|
162
162
|
decl = initializer;
|
|
163
163
|
}
|
|
164
164
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vue-component-meta",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.8",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"files": [
|
|
6
6
|
"**/*.js",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@volar/typescript": "2.4.28",
|
|
17
|
-
"@vue/language-core": "3.2.
|
|
17
|
+
"@vue/language-core": "3.2.8",
|
|
18
18
|
"path-browserify": "^1.0.1"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
"optional": true
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "618bd6bfb19729726787df7b52fccda72c888c95"
|
|
33
33
|
}
|