vue-component-meta
Advanced tools
Comparing version 1.8.18 to 1.8.19
@@ -545,4 +545,4 @@ "use strict"; | ||
const scriptSetupRanges = descriptor.scriptSetupAst ? vue.parseScriptSetupRanges(ts, descriptor.scriptSetupAst, vueCompilerOptions) : undefined; | ||
if (descriptor.scriptSetup && scriptSetupRanges?.withDefaultsArg) { | ||
const defaultsText = descriptor.scriptSetup.content.substring(scriptSetupRanges.withDefaultsArg.start, scriptSetupRanges.withDefaultsArg.end); | ||
if (descriptor.scriptSetup && scriptSetupRanges?.props.withDefaults?.arg) { | ||
const defaultsText = descriptor.scriptSetup.content.substring(scriptSetupRanges.props.withDefaults.arg.start, scriptSetupRanges.props.withDefaults.arg.end); | ||
const ast = ts.createSourceFile('/tmp.' + descriptor.scriptSetup.lang, '(' + defaultsText + ')', ts.ScriptTarget.Latest); | ||
@@ -563,4 +563,4 @@ const obj = findObjectLiteralExpression(ast); | ||
} | ||
else if (descriptor.scriptSetup && scriptSetupRanges?.propsRuntimeArg) { | ||
const defaultsText = descriptor.scriptSetup.content.substring(scriptSetupRanges.propsRuntimeArg.start, scriptSetupRanges.propsRuntimeArg.end); | ||
else if (descriptor.scriptSetup && scriptSetupRanges?.props.define?.arg) { | ||
const defaultsText = descriptor.scriptSetup.content.substring(scriptSetupRanges.props.define.arg.start, scriptSetupRanges.props.define.arg.end); | ||
const ast = ts.createSourceFile('/tmp.' + descriptor.scriptSetup.lang, '(' + defaultsText + ')', ts.ScriptTarget.Latest); | ||
@@ -567,0 +567,0 @@ const obj = findObjectLiteralExpression(ast); |
{ | ||
"name": "vue-component-meta", | ||
"version": "1.8.18", | ||
"version": "1.8.19", | ||
"main": "out/index.js", | ||
@@ -16,6 +16,6 @@ "license": "MIT", | ||
"dependencies": { | ||
"@volar/typescript": "~1.10.3", | ||
"@vue/language-core": "1.8.18", | ||
"@volar/typescript": "~1.10.4", | ||
"@vue/language-core": "1.8.19", | ||
"typesafe-path": "^0.2.2", | ||
"vue-component-type-helpers": "1.8.18" | ||
"vue-component-type-helpers": "1.8.19" | ||
}, | ||
@@ -30,3 +30,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "46ef0d608f43569a8e370d1105bfcf334fcaec13" | ||
"gitHead": "2e17f3c9cfa827c71e1ed07331730b3ee2596b76" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
39994
+ Added@vue/language-core@1.8.19(transitive)
+ Addedvue-component-type-helpers@1.8.19(transitive)
- Removed@vue/language-core@1.8.18(transitive)
- Removedvue-component-type-helpers@1.8.18(transitive)
Updated@volar/typescript@~1.10.4
Updated@vue/language-core@1.8.19