@vue/compiler-sfc 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.
@@ -22139,7 +22139,9 @@ const transformFor = createStructuralDirectiveTransform('for', (node, dir, conte
22139
22139
  ? createSimpleExpression(keyProp.value.content, true)
22140
22140
  : keyProp.exp);
22141
22141
  const keyProperty = keyProp ? createObjectProperty(`key`, keyExp) : null;
22142
- if (context.prefixIdentifiers && keyProperty) {
22142
+ if (context.prefixIdentifiers &&
22143
+ keyProperty &&
22144
+ keyProp.type !== 6 /* ATTRIBUTE */) {
22143
22145
  // #2085 process :key expression needs to be processed in order for it
22144
22146
  // to behave consistently for <template v-for> and <div v-for>.
22145
22147
  // In the case of `<template v-for>`, the node is discarded and never
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue/compiler-sfc",
3
- "version": "3.2.18",
3
+ "version": "3.2.19",
4
4
  "description": "@vue/compiler-sfc",
5
5
  "main": "dist/compiler-sfc.cjs.js",
6
6
  "module": "dist/compiler-sfc.esm-browser.js",
@@ -33,11 +33,11 @@
33
33
  "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/compiler-sfc#readme",
34
34
  "dependencies": {
35
35
  "@babel/parser": "^7.15.0",
36
- "@vue/compiler-core": "3.2.18",
37
- "@vue/compiler-dom": "3.2.18",
38
- "@vue/compiler-ssr": "3.2.18",
39
- "@vue/ref-transform": "3.2.18",
40
- "@vue/shared": "3.2.18",
36
+ "@vue/compiler-core": "3.2.19",
37
+ "@vue/compiler-dom": "3.2.19",
38
+ "@vue/compiler-ssr": "3.2.19",
39
+ "@vue/ref-transform": "3.2.19",
40
+ "@vue/shared": "3.2.19",
41
41
  "estree-walker": "^2.0.2",
42
42
  "magic-string": "^0.25.7",
43
43
  "source-map": "^0.6.1",