@vue/compat 3.2.18 → 3.2.19

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
@@ -5423,7 +5423,7 @@ function createCompatVue(createApp, createSingletonApp) {
5423
5423
  return vm;
5424
5424
  }
5425
5425
  }
5426
- Vue.version = "3.2.18";
5426
+ Vue.version = "3.2.19";
5427
5427
  Vue.config = singletonApp.config;
5428
5428
  Vue.use = (p, ...options) => {
5429
5429
  if (p && isFunction(p.install)) {
@@ -11015,7 +11015,7 @@ function isMemoSame(cached, memo) {
11015
11015
  }
11016
11016
 
11017
11017
  // Core API ------------------------------------------------------------------
11018
- const version = "3.2.18";
11018
+ const version = "3.2.19";
11019
11019
  const _ssrUtils = {
11020
11020
  createComponentInstance,
11021
11021
  setupComponent,
@@ -16627,7 +16627,9 @@ const transformFor = createStructuralDirectiveTransform('for', (node, dir, conte
16627
16627
  ? createSimpleExpression(keyProp.value.content, true)
16628
16628
  : keyProp.exp);
16629
16629
  const keyProperty = keyProp ? createObjectProperty(`key`, keyExp) : null;
16630
- if (context.prefixIdentifiers && keyProperty) {
16630
+ if (context.prefixIdentifiers &&
16631
+ keyProperty &&
16632
+ keyProp.type !== 6 /* ATTRIBUTE */) {
16631
16633
  // #2085 process :key expression needs to be processed in order for it
16632
16634
  // to behave consistently for <template v-for> and <div v-for>.
16633
16635
  // In the case of `<template v-for>`, the node is discarded and never
@@ -4259,7 +4259,7 @@ function createCompatVue(createApp, createSingletonApp) {
4259
4259
  return vm;
4260
4260
  }
4261
4261
  }
4262
- Vue.version = "3.2.18";
4262
+ Vue.version = "3.2.19";
4263
4263
  Vue.config = singletonApp.config;
4264
4264
  Vue.use = (p, ...options) => {
4265
4265
  if (p && isFunction(p.install)) {
@@ -8930,7 +8930,7 @@ function isMemoSame(cached, memo) {
8930
8930
  }
8931
8931
 
8932
8932
  // Core API ------------------------------------------------------------------
8933
- const version = "3.2.18";
8933
+ const version = "3.2.19";
8934
8934
  const _ssrUtils = {
8935
8935
  createComponentInstance,
8936
8936
  setupComponent,
@@ -14264,7 +14264,9 @@ const transformFor = createStructuralDirectiveTransform('for', (node, dir, conte
14264
14264
  ? createSimpleExpression(keyProp.value.content, true)
14265
14265
  : keyProp.exp);
14266
14266
  const keyProperty = keyProp ? createObjectProperty(`key`, keyExp) : null;
14267
- if (context.prefixIdentifiers && keyProperty) {
14267
+ if (context.prefixIdentifiers &&
14268
+ keyProperty &&
14269
+ keyProp.type !== 6 /* ATTRIBUTE */) {
14268
14270
  // #2085 process :key expression needs to be processed in order for it
14269
14271
  // to behave consistently for <template v-for> and <div v-for>.
14270
14272
  // In the case of `<template v-for>`, the node is discarded and never
@@ -5275,7 +5275,7 @@ function createCompatVue(createApp, createSingletonApp) {
5275
5275
  return vm;
5276
5276
  }
5277
5277
  }
5278
- Vue.version = "3.2.18";
5278
+ Vue.version = "3.2.19";
5279
5279
  Vue.config = singletonApp.config;
5280
5280
  Vue.use = (p, ...options) => {
5281
5281
  if (p && isFunction(p.install)) {
@@ -10846,7 +10846,7 @@ function isMemoSame(cached, memo) {
10846
10846
  }
10847
10847
 
10848
10848
  // Core API ------------------------------------------------------------------
10849
- const version = "3.2.18";
10849
+ const version = "3.2.19";
10850
10850
  /**
10851
10851
  * SSR utils for \@vue/server-renderer. Only exposed in cjs builds.
10852
10852
  * @internal