@vue/shared 3.6.0-beta.15 → 3.6.0-beta.17

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/shared v3.6.0-beta.15
2
+ * @vue/shared v3.6.0-beta.17
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -686,8 +686,8 @@ const VaporBlockShape = {
686
686
  * - bits 0-1: true branch VaporBlockShape
687
687
  * - bits 2-3: false branch VaporBlockShape
688
688
  * - bit 4: v-once
689
- * - bit 5: true branch does not need EffectScope
690
- * - bit 6: false branch does not need EffectScope
689
+ * - bit 5: true branch is static and can skip branch-owned EffectScope
690
+ * - bit 6: false branch is static and can skip branch-owned EffectScope
691
691
  * - bit 7: v-if sits on a slot content/fallback root chain
692
692
  * - bits 8+: branch index + 1 for keyed dynamic fragments
693
693
  *
@@ -729,7 +729,9 @@ const VaporSlotFlags = {
729
729
  "ONCE": 2,
730
730
  "2": "ONCE",
731
731
  "SLOT_ROOT": 4,
732
- "4": "SLOT_ROOT"
732
+ "4": "SLOT_ROOT",
733
+ "NON_STABLE": 8,
734
+ "8": "NON_STABLE"
733
735
  };
734
736
  const VaporDynamicComponentFlags = {
735
737
  "SINGLE_ROOT": 1,
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/shared v3.6.0-beta.15
2
+ * @vue/shared v3.6.0-beta.17
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -686,8 +686,8 @@ const VaporBlockShape = {
686
686
  * - bits 0-1: true branch VaporBlockShape
687
687
  * - bits 2-3: false branch VaporBlockShape
688
688
  * - bit 4: v-once
689
- * - bit 5: true branch does not need EffectScope
690
- * - bit 6: false branch does not need EffectScope
689
+ * - bit 5: true branch is static and can skip branch-owned EffectScope
690
+ * - bit 6: false branch is static and can skip branch-owned EffectScope
691
691
  * - bit 7: v-if sits on a slot content/fallback root chain
692
692
  * - bits 8+: branch index + 1 for keyed dynamic fragments
693
693
  *
@@ -729,7 +729,9 @@ const VaporSlotFlags = {
729
729
  "ONCE": 2,
730
730
  "2": "ONCE",
731
731
  "SLOT_ROOT": 4,
732
- "4": "SLOT_ROOT"
732
+ "4": "SLOT_ROOT",
733
+ "NON_STABLE": 8,
734
+ "8": "NON_STABLE"
733
735
  };
734
736
  const VaporDynamicComponentFlags = {
735
737
  "SINGLE_ROOT": 1,
package/dist/shared.d.ts CHANGED
@@ -436,8 +436,8 @@ export declare enum VaporBlockShape {
436
436
  * - bits 0-1: true branch VaporBlockShape
437
437
  * - bits 2-3: false branch VaporBlockShape
438
438
  * - bit 4: v-once
439
- * - bit 5: true branch does not need EffectScope
440
- * - bit 6: false branch does not need EffectScope
439
+ * - bit 5: true branch is static and can skip branch-owned EffectScope
440
+ * - bit 6: false branch is static and can skip branch-owned EffectScope
441
441
  * - bit 7: v-if sits on a slot content/fallback root chain
442
442
  * - bits 8+: branch index + 1 for keyed dynamic fragments
443
443
  *
@@ -456,13 +456,13 @@ export declare enum VaporIfFlags {
456
456
  */
457
457
  ONCE = 16,
458
458
  /**
459
- * The compiler proved that the true branch does not create branch-owned
460
- * effects or disposers.
459
+ * The compiler proved that the true branch only returns static template nodes,
460
+ * so runtime can skip creating a branch-owned EffectScope.
461
461
  */
462
462
  TRUE_NO_SCOPE = 32,
463
463
  /**
464
- * The compiler proved that the false branch does not create branch-owned
465
- * effects or disposers.
464
+ * The compiler proved that the false branch only returns static template
465
+ * nodes, so runtime can skip creating a branch-owned EffectScope.
466
466
  */
467
467
  FALSE_NO_SCOPE = 64,
468
468
  /**
@@ -491,7 +491,8 @@ export declare enum TemplateFlags {
491
491
  export declare enum VaporSlotFlags {
492
492
  NO_SLOTTED = 1,
493
493
  ONCE = 2,
494
- SLOT_ROOT = 4
494
+ SLOT_ROOT = 4,
495
+ NON_STABLE = 8
495
496
  }
496
497
  export declare enum VaporDynamicComponentFlags {
497
498
  SINGLE_ROOT = 1,
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/shared v3.6.0-beta.15
2
+ * @vue/shared v3.6.0-beta.17
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -684,8 +684,8 @@ const VaporBlockShape = {
684
684
  * - bits 0-1: true branch VaporBlockShape
685
685
  * - bits 2-3: false branch VaporBlockShape
686
686
  * - bit 4: v-once
687
- * - bit 5: true branch does not need EffectScope
688
- * - bit 6: false branch does not need EffectScope
687
+ * - bit 5: true branch is static and can skip branch-owned EffectScope
688
+ * - bit 6: false branch is static and can skip branch-owned EffectScope
689
689
  * - bit 7: v-if sits on a slot content/fallback root chain
690
690
  * - bits 8+: branch index + 1 for keyed dynamic fragments
691
691
  *
@@ -727,7 +727,9 @@ const VaporSlotFlags = {
727
727
  "ONCE": 2,
728
728
  "2": "ONCE",
729
729
  "SLOT_ROOT": 4,
730
- "4": "SLOT_ROOT"
730
+ "4": "SLOT_ROOT",
731
+ "NON_STABLE": 8,
732
+ "8": "NON_STABLE"
731
733
  };
732
734
  const VaporDynamicComponentFlags = {
733
735
  "SINGLE_ROOT": 1,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue/shared",
3
- "version": "3.6.0-beta.15",
3
+ "version": "3.6.0-beta.17",
4
4
  "description": "internal utils shared across @vue packages",
5
5
  "main": "index.js",
6
6
  "module": "dist/shared.esm-bundler.js",