@marko/runtime-tags 6.3.12 → 6.3.13

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.
package/dist/debug/dom.js CHANGED
@@ -802,7 +802,8 @@ function init(runtimeId = "M") {
802
802
  i--;
803
803
  setParentBranch(orphanBranches.pop(), branch);
804
804
  }
805
- while (j && deferredOwners[--j]["#Id"] > branchId) {
805
+ while (j && deferredOwners[j - 1]["#Id"] > branchId) {
806
+ j--;
806
807
  const owner = deferredOwners.pop();
807
808
  if (owner["#ClosestBranch"] !== owner) owner["#ClosestBranch"] = branch;
808
809
  }
@@ -800,7 +800,8 @@ function init(runtimeId = "M") {
800
800
  i--;
801
801
  setParentBranch(orphanBranches.pop(), branch);
802
802
  }
803
- while (j && deferredOwners[--j]["#Id"] > branchId) {
803
+ while (j && deferredOwners[j - 1]["#Id"] > branchId) {
804
+ j--;
804
805
  const owner = deferredOwners.pop();
805
806
  if (owner["#ClosestBranch"] !== owner) owner["#ClosestBranch"] = branch;
806
807
  }
package/dist/dom.js CHANGED
@@ -509,7 +509,8 @@ function init(runtimeId = "M") {
509
509
  branch._ ??= visitScope, branch.K = branch.S = startVisit, visitType === "'" && (branch.a = startVisit);
510
510
  } else curBranchScopes = push(curBranchScopes, branch), accessor && (visitScope[accessor] = curBranchScopes, forEach(curBranchScopes, (scope) => scope._ ??= visitScope), curBranchScopes = branchScopesStack.pop()), startVisit = branchStarts.pop(), parent !== startVisit.parentNode && parent.prepend(startVisit), branch.S = startVisit, branch.K = visit.previousSibling === startVisit ? startVisit : parent.insertBefore(new Text(), visit);
511
511
  for (; i && orphanBranches[i - 1].L > branchId;) i--, setParentBranch(orphanBranches.pop(), branch);
512
- for (; j && deferredOwners[--j].L > branchId;) {
512
+ for (; j && deferredOwners[j - 1].L > branchId;) {
513
+ j--;
513
514
  let owner = deferredOwners.pop();
514
515
  owner.F !== owner && (owner.F = branch);
515
516
  }
package/dist/dom.mjs CHANGED
@@ -508,7 +508,8 @@ function init(runtimeId = "M") {
508
508
  branch._ ??= visitScope, branch.K = branch.S = startVisit, visitType === "'" && (branch.a = startVisit);
509
509
  } else curBranchScopes = push(curBranchScopes, branch), accessor && (visitScope[accessor] = curBranchScopes, forEach(curBranchScopes, (scope) => scope._ ??= visitScope), curBranchScopes = branchScopesStack.pop()), startVisit = branchStarts.pop(), parent !== startVisit.parentNode && parent.prepend(startVisit), branch.S = startVisit, branch.K = visit.previousSibling === startVisit ? startVisit : parent.insertBefore(new Text(), visit);
510
510
  for (; i && orphanBranches[i - 1].L > branchId;) i--, setParentBranch(orphanBranches.pop(), branch);
511
- for (; j && deferredOwners[--j].L > branchId;) {
511
+ for (; j && deferredOwners[j - 1].L > branchId;) {
512
+ j--;
512
513
  let owner = deferredOwners.pop();
513
514
  owner.F !== owner && (owner.F = branch);
514
515
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marko/runtime-tags",
3
- "version": "6.3.12",
3
+ "version": "6.3.13",
4
4
  "description": "Optimized runtime for Marko templates.",
5
5
  "keywords": [
6
6
  "api",