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.
@@ -5152,7 +5152,7 @@ function createAppAPI(render, hydrate) {
5152
5152
  }
5153
5153
  });
5154
5154
  }
5155
- const installedPlugins = /* @__PURE__ */ new Set();
5155
+ const installedPlugins = /* @__PURE__ */ new WeakSet();
5156
5156
  let isMounted = false;
5157
5157
  const app = context.app = {
5158
5158
  _uid: uid$1++,
@@ -5816,7 +5816,7 @@ const updateSlots = (instance, children, optimized) => {
5816
5816
  }
5817
5817
  if (needDeletionCheck) {
5818
5818
  for (const key in slots) {
5819
- if (!isInternalKey(key) && !(key in deletionComparisonTarget)) {
5819
+ if (!isInternalKey(key) && deletionComparisonTarget[key] == null) {
5820
5820
  delete slots[key];
5821
5821
  }
5822
5822
  }
@@ -7979,19 +7979,18 @@ const TeleportImpl = {
7979
7979
  if (target) {
7980
7980
  hostRemove(targetAnchor);
7981
7981
  }
7982
- if (doRemove || !isTeleportDisabled(props)) {
7983
- hostRemove(anchor);
7984
- if (shapeFlag & 16) {
7985
- for (let i = 0; i < children.length; i++) {
7986
- const child = children[i];
7987
- unmount(
7988
- child,
7989
- parentComponent,
7990
- parentSuspense,
7991
- true,
7992
- !!child.dynamicChildren
7993
- );
7994
- }
7982
+ doRemove && hostRemove(anchor);
7983
+ if (shapeFlag & 16) {
7984
+ const shouldRemove = doRemove || !isTeleportDisabled(props);
7985
+ for (let i = 0; i < children.length; i++) {
7986
+ const child = children[i];
7987
+ unmount(
7988
+ child,
7989
+ parentComponent,
7990
+ parentSuspense,
7991
+ shouldRemove,
7992
+ !!child.dynamicChildren
7993
+ );
7995
7994
  }
7996
7995
  }
7997
7996
  },
@@ -8075,7 +8074,7 @@ function updateCssVars(vnode) {
8075
8074
  const ctx = vnode.ctx;
8076
8075
  if (ctx && ctx.ut) {
8077
8076
  let node = vnode.children[0].el;
8078
- while (node !== vnode.targetAnchor) {
8077
+ while (node && node !== vnode.targetAnchor) {
8079
8078
  if (node.nodeType === 1)
8080
8079
  node.setAttribute("data-v-owner", ctx.uid);
8081
8080
  node = node.nextSibling;
@@ -9090,7 +9089,7 @@ function isMemoSame(cached, memo) {
9090
9089
  return true;
9091
9090
  }
9092
9091
 
9093
- const version = "3.3.5";
9092
+ const version = "3.3.6";
9094
9093
  const ssrUtils = null;
9095
9094
  const resolveFilter = null;
9096
9095
  const compatUtils = null;
@@ -12298,7 +12297,7 @@ function createTransformContext(root, {
12298
12297
  directives: /* @__PURE__ */ new Set(),
12299
12298
  hoists: [],
12300
12299
  imports: [],
12301
- constantCache: /* @__PURE__ */ new Map(),
12300
+ constantCache: /* @__PURE__ */ new WeakMap(),
12302
12301
  temps: 0,
12303
12302
  cached: 0,
12304
12303
  identifiers: /* @__PURE__ */ Object.create(null),