vue 3.3.5 → 3.3.6

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.
@@ -5155,7 +5155,7 @@ If this is a native custom element, make sure to exclude it from component resol
5155
5155
  }
5156
5156
  });
5157
5157
  }
5158
- const installedPlugins = /* @__PURE__ */ new Set();
5158
+ const installedPlugins = /* @__PURE__ */ new WeakSet();
5159
5159
  let isMounted = false;
5160
5160
  const app = context.app = {
5161
5161
  _uid: uid$1++,
@@ -5819,7 +5819,7 @@ If you want to remount the same app, move your app creation logic into a factory
5819
5819
  }
5820
5820
  if (needDeletionCheck) {
5821
5821
  for (const key in slots) {
5822
- if (!isInternalKey(key) && !(key in deletionComparisonTarget)) {
5822
+ if (!isInternalKey(key) && deletionComparisonTarget[key] == null) {
5823
5823
  delete slots[key];
5824
5824
  }
5825
5825
  }
@@ -7982,19 +7982,18 @@ If you want to remount the same app, move your app creation logic into a factory
7982
7982
  if (target) {
7983
7983
  hostRemove(targetAnchor);
7984
7984
  }
7985
- if (doRemove || !isTeleportDisabled(props)) {
7986
- hostRemove(anchor);
7987
- if (shapeFlag & 16) {
7988
- for (let i = 0; i < children.length; i++) {
7989
- const child = children[i];
7990
- unmount(
7991
- child,
7992
- parentComponent,
7993
- parentSuspense,
7994
- true,
7995
- !!child.dynamicChildren
7996
- );
7997
- }
7985
+ doRemove && hostRemove(anchor);
7986
+ if (shapeFlag & 16) {
7987
+ const shouldRemove = doRemove || !isTeleportDisabled(props);
7988
+ for (let i = 0; i < children.length; i++) {
7989
+ const child = children[i];
7990
+ unmount(
7991
+ child,
7992
+ parentComponent,
7993
+ parentSuspense,
7994
+ shouldRemove,
7995
+ !!child.dynamicChildren
7996
+ );
7998
7997
  }
7999
7998
  }
8000
7999
  },
@@ -8078,7 +8077,7 @@ If you want to remount the same app, move your app creation logic into a factory
8078
8077
  const ctx = vnode.ctx;
8079
8078
  if (ctx && ctx.ut) {
8080
8079
  let node = vnode.children[0].el;
8081
- while (node !== vnode.targetAnchor) {
8080
+ while (node && node !== vnode.targetAnchor) {
8082
8081
  if (node.nodeType === 1)
8083
8082
  node.setAttribute("data-v-owner", ctx.uid);
8084
8083
  node = node.nextSibling;
@@ -9087,7 +9086,7 @@ Component that was made reactive: `,
9087
9086
  return true;
9088
9087
  }
9089
9088
 
9090
- const version = "3.3.5";
9089
+ const version = "3.3.6";
9091
9090
  const ssrUtils = null;
9092
9091
  const resolveFilter = null;
9093
9092
  const compatUtils = null;
@@ -12126,7 +12125,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
12126
12125
  directives: /* @__PURE__ */ new Set(),
12127
12126
  hoists: [],
12128
12127
  imports: [],
12129
- constantCache: /* @__PURE__ */ new Map(),
12128
+ constantCache: /* @__PURE__ */ new WeakMap(),
12130
12129
  temps: 0,
12131
12130
  cached: 0,
12132
12131
  identifiers: /* @__PURE__ */ Object.create(null),