@vue/compiler-core 3.6.0-beta.8 → 3.6.0-beta.9

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.6.0-beta.8
2
+ * @vue/compiler-core v3.6.0-beta.9
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -4252,7 +4252,7 @@ const transformFor = createStructuralDirectiveTransform("for", (node, dir, conte
4252
4252
  `)`
4253
4253
  ]),
4254
4254
  createCompoundExpression([
4255
- `if (_cached`,
4255
+ `if (_cached && _cached.el`,
4256
4256
  ...keyExp ? [` && _cached.key === `, keyExp] : [],
4257
4257
  ` && ${context.helperString(IS_MEMO_SAME)}(_cached, _memo)) return _cached`
4258
4258
  ]),
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/compiler-core v3.6.0-beta.8
2
+ * @vue/compiler-core v3.6.0-beta.9
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -4210,7 +4210,7 @@ const transformFor = createStructuralDirectiveTransform("for", (node, dir, conte
4210
4210
  `)`
4211
4211
  ]),
4212
4212
  createCompoundExpression([
4213
- `if (_cached`,
4213
+ `if (_cached && _cached.el`,
4214
4214
  ...keyExp ? [` && _cached.key === `, keyExp] : [],
4215
4215
  ` && ${context.helperString(IS_MEMO_SAME)}(_cached, _memo)) return _cached`
4216
4216
  ]),
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/compiler-core v3.6.0-beta.8
2
+ * @vue/compiler-core v3.6.0-beta.9
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -3345,7 +3345,7 @@ const transformFor = createStructuralDirectiveTransform("for", (node, dir, conte
3345
3345
  `)`
3346
3346
  ]),
3347
3347
  createCompoundExpression([
3348
- `if (_cached`,
3348
+ `if (_cached && _cached.el`,
3349
3349
  ...keyExp ? [` && _cached.key === `, keyExp] : [],
3350
3350
  ` && ${context.helperString(IS_MEMO_SAME)}(_cached, _memo)) return _cached`
3351
3351
  ]),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue/compiler-core",
3
- "version": "3.6.0-beta.8",
3
+ "version": "3.6.0-beta.9",
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.6.0-beta.8"
53
+ "@vue/shared": "3.6.0-beta.9"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@babel/types": "^7.29.0"