Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue-component-meta

Package Overview
Dependencies
Maintainers
1
Versions
192
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-component-meta - npm Package Compare versions

Comparing version 1.8.18 to 1.8.19

8

out/index.js

@@ -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"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc