@vue/compiler-core 3.5.30 → 3.5.31

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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/compiler-core v3.5.30
2
+ * @vue/compiler-core v3.5.31
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -5018,7 +5018,7 @@ const transformFor = createStructuralDirectiveTransform(
5018
5018
  loop.body = createBlockStatement([
5019
5019
  createCompoundExpression([`const _memo = (`, memo.exp, `)`]),
5020
5020
  createCompoundExpression([
5021
- `if (_cached`,
5021
+ `if (_cached && _cached.el`,
5022
5022
  ...keyExp ? [` && _cached.key === `, keyExp] : [],
5023
5023
  ` && ${context.helperString(
5024
5024
  IS_MEMO_SAME
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/compiler-core v3.5.30
2
+ * @vue/compiler-core v3.5.31
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -4931,7 +4931,7 @@ const transformFor = createStructuralDirectiveTransform(
4931
4931
  loop.body = createBlockStatement([
4932
4932
  createCompoundExpression([`const _memo = (`, memo.exp, `)`]),
4933
4933
  createCompoundExpression([
4934
- `if (_cached`,
4934
+ `if (_cached && _cached.el`,
4935
4935
  ...keyExp ? [` && _cached.key === `, keyExp] : [],
4936
4936
  ` && ${context.helperString(
4937
4937
  IS_MEMO_SAME
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/compiler-core v3.5.30
2
+ * @vue/compiler-core v3.5.31
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -4266,7 +4266,7 @@ const transformFor = createStructuralDirectiveTransform(
4266
4266
  loop.body = createBlockStatement([
4267
4267
  createCompoundExpression([`const _memo = (`, memo.exp, `)`]),
4268
4268
  createCompoundExpression([
4269
- `if (_cached`,
4269
+ `if (_cached && _cached.el`,
4270
4270
  ...keyExp ? [` && _cached.key === `, keyExp] : [],
4271
4271
  ` && ${context.helperString(
4272
4272
  IS_MEMO_SAME
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue/compiler-core",
3
- "version": "3.5.30",
3
+ "version": "3.5.31",
4
4
  "description": "@vue/compiler-core",
5
5
  "main": "index.js",
6
6
  "module": "dist/compiler-core.esm-bundler.js",
@@ -46,11 +46,11 @@
46
46
  },
47
47
  "homepage": "https://github.com/vuejs/core/tree/main/packages/compiler-core#readme",
48
48
  "dependencies": {
49
- "@babel/parser": "^7.29.0",
49
+ "@babel/parser": "^7.29.2",
50
50
  "entities": "^7.0.1",
51
51
  "estree-walker": "^2.0.2",
52
52
  "source-map-js": "^1.2.1",
53
- "@vue/shared": "3.5.30"
53
+ "@vue/shared": "3.5.31"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@babel/types": "^7.29.0"