vue 3.2.28 → 3.2.29

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.
@@ -869,7 +869,7 @@ var Vue = (function (exports) {
869
869
  function createSetter(shallow = false) {
870
870
  return function set(target, key, value, receiver) {
871
871
  let oldValue = target[key];
872
- if (isReadonly(oldValue) && isRef(oldValue)) {
872
+ if (isReadonly(oldValue) && isRef(oldValue) && !isRef(value)) {
873
873
  return false;
874
874
  }
875
875
  if (!shallow && !isReadonly(value)) {
@@ -9107,7 +9107,7 @@ var Vue = (function (exports) {
9107
9107
  }
9108
9108
 
9109
9109
  // Core API ------------------------------------------------------------------
9110
- const version = "3.2.28";
9110
+ const version = "3.2.29";
9111
9111
  /**
9112
9112
  * SSR utils for \@vue/server-renderer. Only exposed in cjs builds.
9113
9113
  * @internal
@@ -9181,7 +9181,10 @@ var Vue = (function (exports) {
9181
9181
  insertStaticContent(content, parent, anchor, isSVG, start, end) {
9182
9182
  // <parent> before | first ... last | anchor </parent>
9183
9183
  const before = anchor ? anchor.previousSibling : parent.lastChild;
9184
- if (start && end) {
9184
+ // #5308 can only take cached path if:
9185
+ // - has a single root node
9186
+ // - nextSibling info is still available
9187
+ if (start && (start === end || start.nextSibling)) {
9185
9188
  // cached
9186
9189
  while (true) {
9187
9190
  parent.insertBefore(start.cloneNode(true), anchor);