@vue/compat 3.3.0-alpha.10 → 3.3.0-alpha.12

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/dist/vue.cjs.js CHANGED
@@ -6343,7 +6343,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
6343
6343
  return vm;
6344
6344
  }
6345
6345
  }
6346
- Vue.version = `2.6.14-compat:${"3.3.0-alpha.10"}`;
6346
+ Vue.version = `2.6.14-compat:${"3.3.0-alpha.12"}`;
6347
6347
  Vue.config = singletonApp.config;
6348
6348
  Vue.use = (p, ...options) => {
6349
6349
  if (p && isFunction(p.install)) {
@@ -10869,7 +10869,7 @@ function isMemoSame(cached, memo) {
10869
10869
  return true;
10870
10870
  }
10871
10871
 
10872
- const version = "3.3.0-alpha.10";
10872
+ const version = "3.3.0-alpha.12";
10873
10873
  const _ssrUtils = {
10874
10874
  createComponentInstance,
10875
10875
  setupComponent,
@@ -15689,12 +15689,10 @@ function processExpression(node, context, asParams = false, asRawStatements = fa
15689
15689
  return genPropsAccessExp(bindingMetadata.__propsAliases[raw]);
15690
15690
  }
15691
15691
  } else {
15692
- if (type && type.startsWith("setup")) {
15692
+ if (type && type.startsWith("setup") || type === "literal-const") {
15693
15693
  return `$setup.${raw}`;
15694
15694
  } else if (type === "props-aliased") {
15695
15695
  return `$props['${bindingMetadata.__propsAliases[raw]}']`;
15696
- } else if (type === "literal-const") {
15697
- return raw;
15698
15696
  } else if (type) {
15699
15697
  return `$${type}.${raw}`;
15700
15698
  }
@@ -5058,7 +5058,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
5058
5058
  return vm;
5059
5059
  }
5060
5060
  }
5061
- Vue.version = `2.6.14-compat:${"3.3.0-alpha.10"}`;
5061
+ Vue.version = `2.6.14-compat:${"3.3.0-alpha.12"}`;
5062
5062
  Vue.config = singletonApp.config;
5063
5063
  Vue.use = (p, ...options) => {
5064
5064
  if (p && isFunction(p.install)) {
@@ -8735,7 +8735,7 @@ function isMemoSame(cached, memo) {
8735
8735
  return true;
8736
8736
  }
8737
8737
 
8738
- const version = "3.3.0-alpha.10";
8738
+ const version = "3.3.0-alpha.12";
8739
8739
  const _ssrUtils = {
8740
8740
  createComponentInstance,
8741
8741
  setupComponent,
@@ -13308,12 +13308,10 @@ function processExpression(node, context, asParams = false, asRawStatements = fa
13308
13308
  return genPropsAccessExp(bindingMetadata.__propsAliases[raw]);
13309
13309
  }
13310
13310
  } else {
13311
- if (type && type.startsWith("setup")) {
13311
+ if (type && type.startsWith("setup") || type === "literal-const") {
13312
13312
  return `$setup.${raw}`;
13313
13313
  } else if (type === "props-aliased") {
13314
13314
  return `$props['${bindingMetadata.__propsAliases[raw]}']`;
13315
- } else if (type === "literal-const") {
13316
- return raw;
13317
13315
  } else if (type) {
13318
13316
  return `$${type}.${raw}`;
13319
13317
  }
@@ -6243,7 +6243,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
6243
6243
  return vm;
6244
6244
  }
6245
6245
  }
6246
- Vue.version = `2.6.14-compat:${"3.3.0-alpha.10"}`;
6246
+ Vue.version = `2.6.14-compat:${"3.3.0-alpha.12"}`;
6247
6247
  Vue.config = singletonApp.config;
6248
6248
  Vue.use = (p, ...options) => {
6249
6249
  if (p && isFunction(p.install)) {
@@ -10757,7 +10757,7 @@ function isMemoSame(cached, memo) {
10757
10757
  return true;
10758
10758
  }
10759
10759
 
10760
- const version = "3.3.0-alpha.10";
10760
+ const version = "3.3.0-alpha.12";
10761
10761
  const ssrUtils = null;
10762
10762
  const resolveFilter = resolveFilter$1 ;
10763
10763
  const _compatUtils = {