react-markup 0.0.0-experimental-e740d4b1-20240919 → 0.0.0-experimental-5d19e1c8-20240923

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.
@@ -6525,50 +6525,51 @@
6525
6525
  if (6 === segment.status) return;
6526
6526
  segment.status = 3;
6527
6527
  }
6528
+ var errorInfo = getThrownInfo(task.componentStack);
6528
6529
  if (null === boundary) {
6529
- if (((boundary = {}), 2 !== request.status && 3 !== request.status)) {
6530
- var replay = task.replay;
6531
- if (null === replay) {
6530
+ if (2 !== request.status && 3 !== request.status) {
6531
+ boundary = task.replay;
6532
+ if (null === boundary) {
6532
6533
  "object" === typeof error &&
6533
6534
  null !== error &&
6534
6535
  error.$$typeof === REACT_POSTPONE_TYPE
6535
- ? ((replay = request.trackedPostpones),
6536
- null !== replay && null !== segment
6537
- ? (logPostpone(request, error.message, boundary, null),
6538
- trackPostpone(request, replay, task, segment),
6536
+ ? ((boundary = request.trackedPostpones),
6537
+ null !== boundary && null !== segment
6538
+ ? (logPostpone(request, error.message, errorInfo, null),
6539
+ trackPostpone(request, boundary, task, segment),
6539
6540
  finishedTask(request, null, segment))
6540
6541
  : ((task = Error(
6541
6542
  "The render was aborted with postpone when the shell is incomplete. Reason: " +
6542
6543
  error.message
6543
6544
  )),
6544
- logRecoverableError(request, task, boundary, null),
6545
- fatalError(request, task, boundary, null)))
6545
+ logRecoverableError(request, task, errorInfo, null),
6546
+ fatalError(request, task, errorInfo, null)))
6546
6547
  : null !== request.trackedPostpones && null !== segment
6547
- ? ((replay = request.trackedPostpones),
6548
- logRecoverableError(request, error, boundary, null),
6549
- trackPostpone(request, replay, task, segment),
6548
+ ? ((boundary = request.trackedPostpones),
6549
+ logRecoverableError(request, error, errorInfo, null),
6550
+ trackPostpone(request, boundary, task, segment),
6550
6551
  finishedTask(request, null, segment))
6551
- : (logRecoverableError(request, error, boundary, null),
6552
- fatalError(request, error, boundary, null));
6552
+ : (logRecoverableError(request, error, errorInfo, null),
6553
+ fatalError(request, error, errorInfo, null));
6553
6554
  return;
6554
6555
  }
6555
- replay.pendingTasks--;
6556
- 0 === replay.pendingTasks &&
6557
- 0 < replay.nodes.length &&
6556
+ boundary.pendingTasks--;
6557
+ 0 === boundary.pendingTasks &&
6558
+ 0 < boundary.nodes.length &&
6558
6559
  ("object" === typeof error &&
6559
6560
  null !== error &&
6560
6561
  error.$$typeof === REACT_POSTPONE_TYPE
6561
- ? (logPostpone(request, error.message, boundary, null),
6562
+ ? (logPostpone(request, error.message, errorInfo, null),
6562
6563
  (task = "POSTPONE"))
6563
- : (task = logRecoverableError(request, error, boundary, null)),
6564
+ : (task = logRecoverableError(request, error, errorInfo, null)),
6564
6565
  abortRemainingReplayNodes(
6565
6566
  request,
6566
6567
  null,
6567
- replay.nodes,
6568
- replay.slots,
6568
+ boundary.nodes,
6569
+ boundary.slots,
6569
6570
  error,
6570
6571
  task,
6571
- boundary,
6572
+ errorInfo,
6572
6573
  !0
6573
6574
  ));
6574
6575
  request.pendingRootTasks--;
@@ -6576,7 +6577,6 @@
6576
6577
  }
6577
6578
  } else {
6578
6579
  boundary.pendingTasks--;
6579
- replay = getThrownInfo(task.componentStack);
6580
6580
  var _trackedPostpones2 = request.trackedPostpones;
6581
6581
  if (4 !== boundary.status) {
6582
6582
  if (null !== _trackedPostpones2 && null !== segment)
@@ -6584,8 +6584,8 @@
6584
6584
  "object" === typeof error &&
6585
6585
  null !== error &&
6586
6586
  error.$$typeof === REACT_POSTPONE_TYPE
6587
- ? logPostpone(request, error.message, replay, null)
6588
- : logRecoverableError(request, error, replay, null),
6587
+ ? logPostpone(request, error.message, errorInfo, null)
6588
+ : logRecoverableError(request, error, errorInfo, null),
6589
6589
  trackPostpone(request, _trackedPostpones2, task, segment),
6590
6590
  boundary.fallbackAbortableTasks.forEach(function (fallbackTask) {
6591
6591
  return abortTask(fallbackTask, request, error);
@@ -6599,7 +6599,7 @@
6599
6599
  null !== error &&
6600
6600
  error.$$typeof === REACT_POSTPONE_TYPE
6601
6601
  ) {
6602
- logPostpone(request, error.message, replay, null);
6602
+ logPostpone(request, error.message, errorInfo, null);
6603
6603
  if (null !== request.trackedPostpones && null !== segment) {
6604
6604
  trackPostpone(request, request.trackedPostpones, task, segment);
6605
6605
  finishedTask(request, task.blockedBoundary, segment);
@@ -6610,9 +6610,9 @@
6610
6610
  return;
6611
6611
  }
6612
6612
  task = "POSTPONE";
6613
- } else task = logRecoverableError(request, error, replay, null);
6613
+ } else task = logRecoverableError(request, error, errorInfo, null);
6614
6614
  boundary.status = 4;
6615
- encodeErrorForBoundary(boundary, task, error, replay, !0);
6615
+ encodeErrorForBoundary(boundary, task, error, errorInfo, !0);
6616
6616
  untrackBoundary(request, boundary);
6617
6617
  boundary.parentFlushed &&
6618
6618
  request.clientRenderedBoundaries.push(boundary);
@@ -8625,5 +8625,5 @@
8625
8625
  });
8626
8626
  });
8627
8627
  };
8628
- exports.version = "19.0.0-experimental-e740d4b1-20240919";
8628
+ exports.version = "19.0.0-experimental-5d19e1c8-20240923";
8629
8629
  })();
@@ -4735,65 +4735,66 @@ function abortTask(task, request, error) {
4735
4735
  if (6 === segment.status) return;
4736
4736
  segment.status = 3;
4737
4737
  }
4738
+ var errorInfo = getThrownInfo(task.componentStack);
4738
4739
  if (null === boundary) {
4739
- if (((boundary = {}), 2 !== request.status && 3 !== request.status)) {
4740
- var replay = task.replay;
4741
- if (null === replay) {
4740
+ if (2 !== request.status && 3 !== request.status) {
4741
+ boundary = task.replay;
4742
+ if (null === boundary) {
4742
4743
  "object" === typeof error &&
4743
4744
  null !== error &&
4744
4745
  error.$$typeof === REACT_POSTPONE_TYPE
4745
- ? ((replay = request.trackedPostpones),
4746
- null !== replay && null !== segment
4747
- ? (logPostpone(request, error.message, boundary),
4748
- trackPostpone(request, replay, task, segment),
4746
+ ? ((boundary = request.trackedPostpones),
4747
+ null !== boundary && null !== segment
4748
+ ? (logPostpone(request, error.message, errorInfo),
4749
+ trackPostpone(request, boundary, task, segment),
4749
4750
  finishedTask(request, null, segment))
4750
4751
  : ((task = Error(
4751
4752
  "The render was aborted with postpone when the shell is incomplete. Reason: " +
4752
4753
  error.message
4753
4754
  )),
4754
- logRecoverableError(request, task, boundary),
4755
+ logRecoverableError(request, task, errorInfo),
4755
4756
  fatalError(request, task)))
4756
4757
  : null !== request.trackedPostpones && null !== segment
4757
- ? ((replay = request.trackedPostpones),
4758
- logRecoverableError(request, error, boundary),
4759
- trackPostpone(request, replay, task, segment),
4758
+ ? ((boundary = request.trackedPostpones),
4759
+ logRecoverableError(request, error, errorInfo),
4760
+ trackPostpone(request, boundary, task, segment),
4760
4761
  finishedTask(request, null, segment))
4761
- : (logRecoverableError(request, error, boundary),
4762
+ : (logRecoverableError(request, error, errorInfo),
4762
4763
  fatalError(request, error));
4763
4764
  return;
4764
4765
  }
4765
- replay.pendingTasks--;
4766
- 0 === replay.pendingTasks &&
4767
- 0 < replay.nodes.length &&
4766
+ boundary.pendingTasks--;
4767
+ 0 === boundary.pendingTasks &&
4768
+ 0 < boundary.nodes.length &&
4768
4769
  ("object" === typeof error &&
4769
4770
  null !== error &&
4770
4771
  error.$$typeof === REACT_POSTPONE_TYPE
4771
- ? (logPostpone(request, error.message, boundary), (task = "POSTPONE"))
4772
- : (task = logRecoverableError(request, error, boundary)),
4772
+ ? (logPostpone(request, error.message, errorInfo),
4773
+ (errorInfo = "POSTPONE"))
4774
+ : (errorInfo = logRecoverableError(request, error, errorInfo)),
4773
4775
  abortRemainingReplayNodes(
4774
4776
  request,
4775
4777
  null,
4776
- replay.nodes,
4777
- replay.slots,
4778
+ boundary.nodes,
4779
+ boundary.slots,
4778
4780
  error,
4779
- task
4781
+ errorInfo
4780
4782
  ));
4781
4783
  request.pendingRootTasks--;
4782
4784
  0 === request.pendingRootTasks && completeShell(request);
4783
4785
  }
4784
4786
  } else {
4785
4787
  boundary.pendingTasks--;
4786
- replay = getThrownInfo(task.componentStack);
4787
- var trackedPostpones$49 = request.trackedPostpones;
4788
+ var trackedPostpones$48 = request.trackedPostpones;
4788
4789
  if (4 !== boundary.status) {
4789
- if (null !== trackedPostpones$49 && null !== segment)
4790
+ if (null !== trackedPostpones$48 && null !== segment)
4790
4791
  return (
4791
4792
  "object" === typeof error &&
4792
4793
  null !== error &&
4793
4794
  error.$$typeof === REACT_POSTPONE_TYPE
4794
- ? logPostpone(request, error.message, replay)
4795
- : logRecoverableError(request, error, replay),
4796
- trackPostpone(request, trackedPostpones$49, task, segment),
4795
+ ? logPostpone(request, error.message, errorInfo)
4796
+ : logRecoverableError(request, error, errorInfo),
4797
+ trackPostpone(request, trackedPostpones$48, task, segment),
4797
4798
  boundary.fallbackAbortableTasks.forEach(function (fallbackTask) {
4798
4799
  return abortTask(fallbackTask, request, error);
4799
4800
  }),
@@ -4806,7 +4807,7 @@ function abortTask(task, request, error) {
4806
4807
  null !== error &&
4807
4808
  error.$$typeof === REACT_POSTPONE_TYPE
4808
4809
  ) {
4809
- logPostpone(request, error.message, replay);
4810
+ logPostpone(request, error.message, errorInfo);
4810
4811
  if (null !== request.trackedPostpones && null !== segment) {
4811
4812
  trackPostpone(request, request.trackedPostpones, task, segment);
4812
4813
  finishedTask(request, task.blockedBoundary, segment);
@@ -4816,10 +4817,10 @@ function abortTask(task, request, error) {
4816
4817
  boundary.fallbackAbortableTasks.clear();
4817
4818
  return;
4818
4819
  }
4819
- task = "POSTPONE";
4820
- } else task = logRecoverableError(request, error, replay);
4820
+ errorInfo = "POSTPONE";
4821
+ } else errorInfo = logRecoverableError(request, error, errorInfo);
4821
4822
  boundary.status = 4;
4822
- boundary.errorDigest = task;
4823
+ boundary.errorDigest = errorInfo;
4823
4824
  untrackBoundary(request, boundary);
4824
4825
  boundary.parentFlushed && request.clientRenderedBoundaries.push(boundary);
4825
4826
  }
@@ -5088,13 +5089,13 @@ function performWork(request$jscomp$1) {
5088
5089
  null !== request.trackedPostpones &&
5089
5090
  x$jscomp$0.$$typeof === REACT_POSTPONE_TYPE
5090
5091
  ) {
5091
- var trackedPostpones$53 = request.trackedPostpones;
5092
+ var trackedPostpones$52 = request.trackedPostpones;
5092
5093
  task.abortSet.delete(task);
5093
5094
  var postponeInfo = getThrownInfo(task.componentStack);
5094
5095
  logPostpone(request, x$jscomp$0.message, postponeInfo);
5095
5096
  trackPostpone(
5096
5097
  request,
5097
- trackedPostpones$53,
5098
+ trackedPostpones$52,
5098
5099
  task,
5099
5100
  segment$jscomp$0
5100
5101
  );
@@ -5526,11 +5527,11 @@ function flushCompletedQueues(request, destination) {
5526
5527
  completedBoundaries.splice(0, i);
5527
5528
  var partialBoundaries = request.partialBoundaries;
5528
5529
  for (i = 0; i < partialBoundaries.length; i++) {
5529
- var boundary$56 = partialBoundaries[i];
5530
+ var boundary$55 = partialBoundaries[i];
5530
5531
  a: {
5531
5532
  clientRenderedBoundaries = request;
5532
5533
  boundary = destination;
5533
- var completedSegments = boundary$56.completedSegments;
5534
+ var completedSegments = boundary$55.completedSegments;
5534
5535
  for (
5535
5536
  JSCompiler_inline_result = 0;
5536
5537
  JSCompiler_inline_result < completedSegments.length;
@@ -5540,7 +5541,7 @@ function flushCompletedQueues(request, destination) {
5540
5541
  !flushPartiallyCompletedSegment(
5541
5542
  clientRenderedBoundaries,
5542
5543
  boundary,
5543
- boundary$56,
5544
+ boundary$55,
5544
5545
  completedSegments[JSCompiler_inline_result]
5545
5546
  )
5546
5547
  ) {
@@ -5552,7 +5553,7 @@ function flushCompletedQueues(request, destination) {
5552
5553
  completedSegments.splice(0, JSCompiler_inline_result);
5553
5554
  JSCompiler_inline_result$jscomp$0 = writeHoistablesForBoundary(
5554
5555
  boundary,
5555
- boundary$56.contentState,
5556
+ boundary$55.contentState,
5556
5557
  clientRenderedBoundaries.renderState
5557
5558
  );
5558
5559
  }
@@ -5624,8 +5625,8 @@ function abort(request, reason) {
5624
5625
  }
5625
5626
  null !== request.destination &&
5626
5627
  flushCompletedQueues(request, request.destination);
5627
- } catch (error$58) {
5628
- logRecoverableError(request, error$58, {}), fatalError(request, error$58);
5628
+ } catch (error$57) {
5629
+ logRecoverableError(request, error$57, {}), fatalError(request, error$57);
5629
5630
  }
5630
5631
  }
5631
5632
  function addToReplayParent(node, parentKeyPath, trackedPostpones) {
@@ -5702,4 +5703,4 @@ exports.experimental_renderToHTML = function (children, options) {
5702
5703
  });
5703
5704
  });
5704
5705
  };
5705
- exports.version = "19.0.0-experimental-e740d4b1-20240919";
5706
+ exports.version = "19.0.0-experimental-5d19e1c8-20240923";
@@ -10349,50 +10349,51 @@
10349
10349
  if (6 === segment.status) return;
10350
10350
  segment.status = 3;
10351
10351
  }
10352
+ var errorInfo = getThrownInfo(task.componentStack);
10352
10353
  if (null === boundary) {
10353
- if (((boundary = {}), 2 !== request.status && 3 !== request.status)) {
10354
- var replay = task.replay;
10355
- if (null === replay) {
10354
+ if (2 !== request.status && 3 !== request.status) {
10355
+ boundary = task.replay;
10356
+ if (null === boundary) {
10356
10357
  "object" === typeof error &&
10357
10358
  null !== error &&
10358
10359
  error.$$typeof === REACT_POSTPONE_TYPE
10359
- ? ((replay = request.trackedPostpones),
10360
- null !== replay && null !== segment
10361
- ? (logPostpone(request, error.message, boundary, null),
10362
- trackPostpone(request, replay, task, segment),
10360
+ ? ((boundary = request.trackedPostpones),
10361
+ null !== boundary && null !== segment
10362
+ ? (logPostpone(request, error.message, errorInfo, null),
10363
+ trackPostpone(request, boundary, task, segment),
10363
10364
  finishedTask(request, null, segment))
10364
10365
  : ((task = Error(
10365
10366
  "The render was aborted with postpone when the shell is incomplete. Reason: " +
10366
10367
  error.message
10367
10368
  )),
10368
- logRecoverableError(request, task, boundary, null),
10369
- fatalError(request, task, boundary, null)))
10369
+ logRecoverableError(request, task, errorInfo, null),
10370
+ fatalError(request, task, errorInfo, null)))
10370
10371
  : null !== request.trackedPostpones && null !== segment
10371
- ? ((replay = request.trackedPostpones),
10372
- logRecoverableError(request, error, boundary, null),
10373
- trackPostpone(request, replay, task, segment),
10372
+ ? ((boundary = request.trackedPostpones),
10373
+ logRecoverableError(request, error, errorInfo, null),
10374
+ trackPostpone(request, boundary, task, segment),
10374
10375
  finishedTask(request, null, segment))
10375
- : (logRecoverableError(request, error, boundary, null),
10376
- fatalError(request, error, boundary, null));
10376
+ : (logRecoverableError(request, error, errorInfo, null),
10377
+ fatalError(request, error, errorInfo, null));
10377
10378
  return;
10378
10379
  }
10379
- replay.pendingTasks--;
10380
- 0 === replay.pendingTasks &&
10381
- 0 < replay.nodes.length &&
10380
+ boundary.pendingTasks--;
10381
+ 0 === boundary.pendingTasks &&
10382
+ 0 < boundary.nodes.length &&
10382
10383
  ("object" === typeof error &&
10383
10384
  null !== error &&
10384
10385
  error.$$typeof === REACT_POSTPONE_TYPE
10385
- ? (logPostpone(request, error.message, boundary, null),
10386
+ ? (logPostpone(request, error.message, errorInfo, null),
10386
10387
  (task = "POSTPONE"))
10387
- : (task = logRecoverableError(request, error, boundary, null)),
10388
+ : (task = logRecoverableError(request, error, errorInfo, null)),
10388
10389
  abortRemainingReplayNodes(
10389
10390
  request,
10390
10391
  null,
10391
- replay.nodes,
10392
- replay.slots,
10392
+ boundary.nodes,
10393
+ boundary.slots,
10393
10394
  error,
10394
10395
  task,
10395
- boundary,
10396
+ errorInfo,
10396
10397
  !0
10397
10398
  ));
10398
10399
  request.pendingRootTasks--;
@@ -10400,7 +10401,6 @@
10400
10401
  }
10401
10402
  } else {
10402
10403
  boundary.pendingTasks--;
10403
- replay = getThrownInfo(task.componentStack);
10404
10404
  var _trackedPostpones2 = request.trackedPostpones;
10405
10405
  if (4 !== boundary.status) {
10406
10406
  if (null !== _trackedPostpones2 && null !== segment)
@@ -10408,8 +10408,8 @@
10408
10408
  "object" === typeof error &&
10409
10409
  null !== error &&
10410
10410
  error.$$typeof === REACT_POSTPONE_TYPE
10411
- ? logPostpone(request, error.message, replay, null)
10412
- : logRecoverableError(request, error, replay, null),
10411
+ ? logPostpone(request, error.message, errorInfo, null)
10412
+ : logRecoverableError(request, error, errorInfo, null),
10413
10413
  trackPostpone(request, _trackedPostpones2, task, segment),
10414
10414
  boundary.fallbackAbortableTasks.forEach(function (fallbackTask) {
10415
10415
  return abortTask(fallbackTask, request, error);
@@ -10423,7 +10423,7 @@
10423
10423
  null !== error &&
10424
10424
  error.$$typeof === REACT_POSTPONE_TYPE
10425
10425
  ) {
10426
- logPostpone(request, error.message, replay, null);
10426
+ logPostpone(request, error.message, errorInfo, null);
10427
10427
  if (null !== request.trackedPostpones && null !== segment) {
10428
10428
  trackPostpone(request, request.trackedPostpones, task, segment);
10429
10429
  finishedTask(request, task.blockedBoundary, segment);
@@ -10434,9 +10434,9 @@
10434
10434
  return;
10435
10435
  }
10436
10436
  task = "POSTPONE";
10437
- } else task = logRecoverableError(request, error, replay, null);
10437
+ } else task = logRecoverableError(request, error, errorInfo, null);
10438
10438
  boundary.status = 4;
10439
- encodeErrorForBoundary(boundary, task, error, replay, !0);
10439
+ encodeErrorForBoundary(boundary, task, error, errorInfo, !0);
10440
10440
  untrackBoundary(request, boundary);
10441
10441
  boundary.parentFlushed &&
10442
10442
  request.clientRenderedBoundaries.push(boundary);
@@ -13021,5 +13021,5 @@
13021
13021
  });
13022
13022
  });
13023
13023
  };
13024
- exports.version = "19.0.0-experimental-e740d4b1-20240919";
13024
+ exports.version = "19.0.0-experimental-5d19e1c8-20240923";
13025
13025
  })();
@@ -7448,65 +7448,66 @@ function abortTask(task, request, error) {
7448
7448
  if (6 === segment.status) return;
7449
7449
  segment.status = 3;
7450
7450
  }
7451
+ var errorInfo = getThrownInfo(task.componentStack);
7451
7452
  if (null === boundary) {
7452
- if (((boundary = {}), 2 !== request.status && 3 !== request.status)) {
7453
- var replay = task.replay;
7454
- if (null === replay) {
7453
+ if (2 !== request.status && 3 !== request.status) {
7454
+ boundary = task.replay;
7455
+ if (null === boundary) {
7455
7456
  "object" === typeof error &&
7456
7457
  null !== error &&
7457
7458
  error.$$typeof === REACT_POSTPONE_TYPE
7458
- ? ((replay = request.trackedPostpones),
7459
- null !== replay && null !== segment
7460
- ? (logPostpone(request, error.message, boundary),
7461
- trackPostpone(request, replay, task, segment),
7459
+ ? ((boundary = request.trackedPostpones),
7460
+ null !== boundary && null !== segment
7461
+ ? (logPostpone(request, error.message, errorInfo),
7462
+ trackPostpone(request, boundary, task, segment),
7462
7463
  finishedTask(request, null, segment))
7463
7464
  : ((task = Error(
7464
7465
  "The render was aborted with postpone when the shell is incomplete. Reason: " +
7465
7466
  error.message
7466
7467
  )),
7467
- logRecoverableError(request, task, boundary),
7468
+ logRecoverableError(request, task, errorInfo),
7468
7469
  fatalError(request, task)))
7469
7470
  : null !== request.trackedPostpones && null !== segment
7470
- ? ((replay = request.trackedPostpones),
7471
- logRecoverableError(request, error, boundary),
7472
- trackPostpone(request, replay, task, segment),
7471
+ ? ((boundary = request.trackedPostpones),
7472
+ logRecoverableError(request, error, errorInfo),
7473
+ trackPostpone(request, boundary, task, segment),
7473
7474
  finishedTask(request, null, segment))
7474
- : (logRecoverableError(request, error, boundary),
7475
+ : (logRecoverableError(request, error, errorInfo),
7475
7476
  fatalError(request, error));
7476
7477
  return;
7477
7478
  }
7478
- replay.pendingTasks--;
7479
- 0 === replay.pendingTasks &&
7480
- 0 < replay.nodes.length &&
7479
+ boundary.pendingTasks--;
7480
+ 0 === boundary.pendingTasks &&
7481
+ 0 < boundary.nodes.length &&
7481
7482
  ("object" === typeof error &&
7482
7483
  null !== error &&
7483
7484
  error.$$typeof === REACT_POSTPONE_TYPE
7484
- ? (logPostpone(request, error.message, boundary), (task = "POSTPONE"))
7485
- : (task = logRecoverableError(request, error, boundary)),
7485
+ ? (logPostpone(request, error.message, errorInfo),
7486
+ (errorInfo = "POSTPONE"))
7487
+ : (errorInfo = logRecoverableError(request, error, errorInfo)),
7486
7488
  abortRemainingReplayNodes(
7487
7489
  request,
7488
7490
  null,
7489
- replay.nodes,
7490
- replay.slots,
7491
+ boundary.nodes,
7492
+ boundary.slots,
7491
7493
  error,
7492
- task
7494
+ errorInfo
7493
7495
  ));
7494
7496
  request.pendingRootTasks--;
7495
7497
  0 === request.pendingRootTasks && completeShell(request);
7496
7498
  }
7497
7499
  } else {
7498
7500
  boundary.pendingTasks--;
7499
- replay = getThrownInfo(task.componentStack);
7500
- var trackedPostpones$113 = request.trackedPostpones;
7501
+ var trackedPostpones$112 = request.trackedPostpones;
7501
7502
  if (4 !== boundary.status) {
7502
- if (null !== trackedPostpones$113 && null !== segment)
7503
+ if (null !== trackedPostpones$112 && null !== segment)
7503
7504
  return (
7504
7505
  "object" === typeof error &&
7505
7506
  null !== error &&
7506
7507
  error.$$typeof === REACT_POSTPONE_TYPE
7507
- ? logPostpone(request, error.message, replay)
7508
- : logRecoverableError(request, error, replay),
7509
- trackPostpone(request, trackedPostpones$113, task, segment),
7508
+ ? logPostpone(request, error.message, errorInfo)
7509
+ : logRecoverableError(request, error, errorInfo),
7510
+ trackPostpone(request, trackedPostpones$112, task, segment),
7510
7511
  boundary.fallbackAbortableTasks.forEach(function (fallbackTask) {
7511
7512
  return abortTask(fallbackTask, request, error);
7512
7513
  }),
@@ -7519,7 +7520,7 @@ function abortTask(task, request, error) {
7519
7520
  null !== error &&
7520
7521
  error.$$typeof === REACT_POSTPONE_TYPE
7521
7522
  ) {
7522
- logPostpone(request, error.message, replay);
7523
+ logPostpone(request, error.message, errorInfo);
7523
7524
  if (null !== request.trackedPostpones && null !== segment) {
7524
7525
  trackPostpone(request, request.trackedPostpones, task, segment);
7525
7526
  finishedTask(request, task.blockedBoundary, segment);
@@ -7529,10 +7530,10 @@ function abortTask(task, request, error) {
7529
7530
  boundary.fallbackAbortableTasks.clear();
7530
7531
  return;
7531
7532
  }
7532
- task = "POSTPONE";
7533
- } else task = logRecoverableError(request, error, replay);
7533
+ errorInfo = "POSTPONE";
7534
+ } else errorInfo = logRecoverableError(request, error, errorInfo);
7534
7535
  boundary.status = 4;
7535
- boundary.errorDigest = task;
7536
+ boundary.errorDigest = errorInfo;
7536
7537
  untrackBoundary(request, boundary);
7537
7538
  boundary.parentFlushed && request.clientRenderedBoundaries.push(boundary);
7538
7539
  }
@@ -7801,13 +7802,13 @@ function performWork(request$jscomp$1) {
7801
7802
  null !== request.trackedPostpones &&
7802
7803
  x$jscomp$0.$$typeof === REACT_POSTPONE_TYPE
7803
7804
  ) {
7804
- var trackedPostpones$117 = request.trackedPostpones;
7805
+ var trackedPostpones$116 = request.trackedPostpones;
7805
7806
  task.abortSet.delete(task);
7806
7807
  var postponeInfo = getThrownInfo(task.componentStack);
7807
7808
  logPostpone(request, x$jscomp$0.message, postponeInfo);
7808
7809
  trackPostpone(
7809
7810
  request,
7810
- trackedPostpones$117,
7811
+ trackedPostpones$116,
7811
7812
  task,
7812
7813
  segment$jscomp$0
7813
7814
  );
@@ -8239,11 +8240,11 @@ function flushCompletedQueues(request, destination) {
8239
8240
  completedBoundaries.splice(0, i);
8240
8241
  var partialBoundaries = request.partialBoundaries;
8241
8242
  for (i = 0; i < partialBoundaries.length; i++) {
8242
- var boundary$120 = partialBoundaries[i];
8243
+ var boundary$119 = partialBoundaries[i];
8243
8244
  a: {
8244
8245
  clientRenderedBoundaries = request;
8245
8246
  boundary = destination;
8246
- var completedSegments = boundary$120.completedSegments;
8247
+ var completedSegments = boundary$119.completedSegments;
8247
8248
  for (
8248
8249
  JSCompiler_inline_result = 0;
8249
8250
  JSCompiler_inline_result < completedSegments.length;
@@ -8253,7 +8254,7 @@ function flushCompletedQueues(request, destination) {
8253
8254
  !flushPartiallyCompletedSegment(
8254
8255
  clientRenderedBoundaries,
8255
8256
  boundary,
8256
- boundary$120,
8257
+ boundary$119,
8257
8258
  completedSegments[JSCompiler_inline_result]
8258
8259
  )
8259
8260
  ) {
@@ -8265,7 +8266,7 @@ function flushCompletedQueues(request, destination) {
8265
8266
  completedSegments.splice(0, JSCompiler_inline_result);
8266
8267
  JSCompiler_inline_result$jscomp$0 = writeHoistablesForBoundary(
8267
8268
  boundary,
8268
- boundary$120.contentState,
8269
+ boundary$119.contentState,
8269
8270
  clientRenderedBoundaries.renderState
8270
8271
  );
8271
8272
  }
@@ -8337,8 +8338,8 @@ function abort(request, reason) {
8337
8338
  }
8338
8339
  null !== request.destination &&
8339
8340
  flushCompletedQueues(request, request.destination);
8340
- } catch (error$122) {
8341
- logRecoverableError(request, error$122, {}), fatalError(request, error$122);
8341
+ } catch (error$121) {
8342
+ logRecoverableError(request, error$121, {}), fatalError(request, error$121);
8342
8343
  }
8343
8344
  }
8344
8345
  function addToReplayParent(node, parentKeyPath, trackedPostpones) {
@@ -8659,4 +8660,4 @@ exports.experimental_renderToHTML = function (children, options) {
8659
8660
  });
8660
8661
  });
8661
8662
  };
8662
- exports.version = "19.0.0-experimental-e740d4b1-20240919";
8663
+ exports.version = "19.0.0-experimental-5d19e1c8-20240923";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-markup",
3
- "version": "0.0.0-experimental-e740d4b1-20240919",
3
+ "version": "0.0.0-experimental-5d19e1c8-20240923",
4
4
  "description": "React package generating embedded markup such as e-mails with support for Server Components.",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -17,7 +17,7 @@
17
17
  },
18
18
  "homepage": "https://react.dev/",
19
19
  "peerDependencies": {
20
- "react": "0.0.0-experimental-e740d4b1-20240919"
20
+ "react": "0.0.0-experimental-5d19e1c8-20240923"
21
21
  },
22
22
  "files": [
23
23
  "LICENSE",