vue-component-meta 0.40.4 → 0.40.7
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/index.js +2 -2
- package/package.json +3 -3
package/out/index.js
CHANGED
|
@@ -368,7 +368,7 @@ function readVueComponentDefaultProps(core, vueFileScript, printer) {
|
|
|
368
368
|
return result;
|
|
369
369
|
function scriptSetupWorker() {
|
|
370
370
|
var _a;
|
|
371
|
-
const vueSourceFile = vue.createSourceFile('/tmp.vue', vueFileScript,
|
|
371
|
+
const vueSourceFile = vue.createSourceFile('/tmp.vue', vueFileScript, ts, core.plugins);
|
|
372
372
|
const descriptor = vueSourceFile.sfc;
|
|
373
373
|
const scriptSetupRanges = descriptor.scriptSetupAst ? (0, vue_language_core_1.parseScriptSetupRanges)(ts, descriptor.scriptSetupAst) : undefined;
|
|
374
374
|
if (descriptor.scriptSetup && (scriptSetupRanges === null || scriptSetupRanges === void 0 ? void 0 : scriptSetupRanges.withDefaultsArg)) {
|
|
@@ -410,7 +410,7 @@ function readVueComponentDefaultProps(core, vueFileScript, printer) {
|
|
|
410
410
|
}
|
|
411
411
|
}
|
|
412
412
|
function scriptWorker() {
|
|
413
|
-
const vueSourceFile = vue.createSourceFile('/tmp.vue', vueFileScript,
|
|
413
|
+
const vueSourceFile = vue.createSourceFile('/tmp.vue', vueFileScript, ts, core.plugins);
|
|
414
414
|
const descriptor = vueSourceFile.sfc;
|
|
415
415
|
if (descriptor.script) {
|
|
416
416
|
const scriptResult = readTsComponentDefaultProps(descriptor.script.lang, descriptor.script.content, 'default', printer);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vue-component-meta",
|
|
3
|
-
"version": "0.40.
|
|
3
|
+
"version": "0.40.7",
|
|
4
4
|
"main": "out/index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
"directory": "packages/vue-component-meta"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@volar/vue-language-core": "0.40.
|
|
16
|
+
"@volar/vue-language-core": "0.40.7"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
19
|
"typescript": "*"
|
|
20
20
|
},
|
|
21
|
-
"gitHead": "
|
|
21
|
+
"gitHead": "09b517f887c1024a79ea991181e7d06c7f758941"
|
|
22
22
|
}
|