react-markup 0.0.0-experimental-e4953922-20240919 → 0.0.0-experimental-04bd67a4-20240924
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 (
|
|
6530
|
-
|
|
6531
|
-
if (null ===
|
|
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
|
-
? ((
|
|
6536
|
-
null !==
|
|
6537
|
-
? (logPostpone(request, error.message,
|
|
6538
|
-
trackPostpone(request,
|
|
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,
|
|
6545
|
-
fatalError(request, task,
|
|
6545
|
+
logRecoverableError(request, task, errorInfo, null),
|
|
6546
|
+
fatalError(request, task, errorInfo, null)))
|
|
6546
6547
|
: null !== request.trackedPostpones && null !== segment
|
|
6547
|
-
? ((
|
|
6548
|
-
logRecoverableError(request, error,
|
|
6549
|
-
trackPostpone(request,
|
|
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,
|
|
6552
|
-
fatalError(request, error,
|
|
6552
|
+
: (logRecoverableError(request, error, errorInfo, null),
|
|
6553
|
+
fatalError(request, error, errorInfo, null));
|
|
6553
6554
|
return;
|
|
6554
6555
|
}
|
|
6555
|
-
|
|
6556
|
-
0 ===
|
|
6557
|
-
0 <
|
|
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,
|
|
6562
|
+
? (logPostpone(request, error.message, errorInfo, null),
|
|
6562
6563
|
(task = "POSTPONE"))
|
|
6563
|
-
: (task = logRecoverableError(request, error,
|
|
6564
|
+
: (task = logRecoverableError(request, error, errorInfo, null)),
|
|
6564
6565
|
abortRemainingReplayNodes(
|
|
6565
6566
|
request,
|
|
6566
6567
|
null,
|
|
6567
|
-
|
|
6568
|
-
|
|
6568
|
+
boundary.nodes,
|
|
6569
|
+
boundary.slots,
|
|
6569
6570
|
error,
|
|
6570
6571
|
task,
|
|
6571
|
-
|
|
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,
|
|
6588
|
-
: logRecoverableError(request, error,
|
|
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,
|
|
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,
|
|
6613
|
+
} else task = logRecoverableError(request, error, errorInfo, null);
|
|
6614
6614
|
boundary.status = 4;
|
|
6615
|
-
encodeErrorForBoundary(boundary, task, error,
|
|
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-
|
|
8628
|
+
exports.version = "19.0.0-experimental-04bd67a4-20240924";
|
|
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 (
|
|
4740
|
-
|
|
4741
|
-
if (null ===
|
|
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
|
-
? ((
|
|
4746
|
-
null !==
|
|
4747
|
-
? (logPostpone(request, error.message,
|
|
4748
|
-
trackPostpone(request,
|
|
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,
|
|
4755
|
+
logRecoverableError(request, task, errorInfo),
|
|
4755
4756
|
fatalError(request, task)))
|
|
4756
4757
|
: null !== request.trackedPostpones && null !== segment
|
|
4757
|
-
? ((
|
|
4758
|
-
logRecoverableError(request, error,
|
|
4759
|
-
trackPostpone(request,
|
|
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,
|
|
4762
|
+
: (logRecoverableError(request, error, errorInfo),
|
|
4762
4763
|
fatalError(request, error));
|
|
4763
4764
|
return;
|
|
4764
4765
|
}
|
|
4765
|
-
|
|
4766
|
-
0 ===
|
|
4767
|
-
0 <
|
|
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,
|
|
4772
|
-
|
|
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
|
-
|
|
4777
|
-
|
|
4778
|
+
boundary.nodes,
|
|
4779
|
+
boundary.slots,
|
|
4778
4780
|
error,
|
|
4779
|
-
|
|
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
|
-
|
|
4787
|
-
var trackedPostpones$49 = request.trackedPostpones;
|
|
4788
|
+
var trackedPostpones$48 = request.trackedPostpones;
|
|
4788
4789
|
if (4 !== boundary.status) {
|
|
4789
|
-
if (null !== trackedPostpones$
|
|
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,
|
|
4795
|
-
: logRecoverableError(request, error,
|
|
4796
|
-
trackPostpone(request, trackedPostpones$
|
|
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,
|
|
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
|
-
|
|
4820
|
-
} else
|
|
4820
|
+
errorInfo = "POSTPONE";
|
|
4821
|
+
} else errorInfo = logRecoverableError(request, error, errorInfo);
|
|
4821
4822
|
boundary.status = 4;
|
|
4822
|
-
boundary.errorDigest =
|
|
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$
|
|
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$
|
|
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$
|
|
5530
|
+
var boundary$55 = partialBoundaries[i];
|
|
5530
5531
|
a: {
|
|
5531
5532
|
clientRenderedBoundaries = request;
|
|
5532
5533
|
boundary = destination;
|
|
5533
|
-
var completedSegments = boundary$
|
|
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$
|
|
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$
|
|
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$
|
|
5628
|
-
logRecoverableError(request, error$
|
|
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-
|
|
5706
|
+
exports.version = "19.0.0-experimental-04bd67a4-20240924";
|
|
@@ -1863,6 +1863,9 @@
|
|
|
1863
1863
|
break;
|
|
1864
1864
|
case "3":
|
|
1865
1865
|
_existingReference = "props";
|
|
1866
|
+
break;
|
|
1867
|
+
case "4":
|
|
1868
|
+
_existingReference = "_owner";
|
|
1866
1869
|
}
|
|
1867
1870
|
elementReference.set(
|
|
1868
1871
|
value,
|
|
@@ -3627,17 +3630,22 @@
|
|
|
3627
3630
|
}
|
|
3628
3631
|
value = value[path[i]];
|
|
3629
3632
|
}
|
|
3630
|
-
|
|
3631
|
-
|
|
3632
|
-
|
|
3633
|
-
|
|
3634
|
-
|
|
3635
|
-
"3" === key &&
|
|
3633
|
+
i = map(response, value);
|
|
3634
|
+
parentObject[key] = i;
|
|
3635
|
+
"" === key && null === handler.value && (handler.value = i);
|
|
3636
|
+
if (
|
|
3637
|
+
parentObject[0] === REACT_ELEMENT_TYPE &&
|
|
3636
3638
|
"object" === typeof handler.value &&
|
|
3637
3639
|
null !== handler.value &&
|
|
3638
|
-
handler.value.$$typeof === REACT_ELEMENT_TYPE
|
|
3639
|
-
|
|
3640
|
-
(handler.value
|
|
3640
|
+
handler.value.$$typeof === REACT_ELEMENT_TYPE
|
|
3641
|
+
)
|
|
3642
|
+
switch (((value = handler.value), key)) {
|
|
3643
|
+
case "3":
|
|
3644
|
+
value.props = i;
|
|
3645
|
+
break;
|
|
3646
|
+
case "4":
|
|
3647
|
+
value._owner = i;
|
|
3648
|
+
}
|
|
3641
3649
|
handler.deps--;
|
|
3642
3650
|
0 === handler.deps &&
|
|
3643
3651
|
((i = handler.chunk),
|
|
@@ -10349,50 +10357,51 @@
|
|
|
10349
10357
|
if (6 === segment.status) return;
|
|
10350
10358
|
segment.status = 3;
|
|
10351
10359
|
}
|
|
10360
|
+
var errorInfo = getThrownInfo(task.componentStack);
|
|
10352
10361
|
if (null === boundary) {
|
|
10353
|
-
if (
|
|
10354
|
-
|
|
10355
|
-
if (null ===
|
|
10362
|
+
if (2 !== request.status && 3 !== request.status) {
|
|
10363
|
+
boundary = task.replay;
|
|
10364
|
+
if (null === boundary) {
|
|
10356
10365
|
"object" === typeof error &&
|
|
10357
10366
|
null !== error &&
|
|
10358
10367
|
error.$$typeof === REACT_POSTPONE_TYPE
|
|
10359
|
-
? ((
|
|
10360
|
-
null !==
|
|
10361
|
-
? (logPostpone(request, error.message,
|
|
10362
|
-
trackPostpone(request,
|
|
10368
|
+
? ((boundary = request.trackedPostpones),
|
|
10369
|
+
null !== boundary && null !== segment
|
|
10370
|
+
? (logPostpone(request, error.message, errorInfo, null),
|
|
10371
|
+
trackPostpone(request, boundary, task, segment),
|
|
10363
10372
|
finishedTask(request, null, segment))
|
|
10364
10373
|
: ((task = Error(
|
|
10365
10374
|
"The render was aborted with postpone when the shell is incomplete. Reason: " +
|
|
10366
10375
|
error.message
|
|
10367
10376
|
)),
|
|
10368
|
-
logRecoverableError(request, task,
|
|
10369
|
-
fatalError(request, task,
|
|
10377
|
+
logRecoverableError(request, task, errorInfo, null),
|
|
10378
|
+
fatalError(request, task, errorInfo, null)))
|
|
10370
10379
|
: null !== request.trackedPostpones && null !== segment
|
|
10371
|
-
? ((
|
|
10372
|
-
logRecoverableError(request, error,
|
|
10373
|
-
trackPostpone(request,
|
|
10380
|
+
? ((boundary = request.trackedPostpones),
|
|
10381
|
+
logRecoverableError(request, error, errorInfo, null),
|
|
10382
|
+
trackPostpone(request, boundary, task, segment),
|
|
10374
10383
|
finishedTask(request, null, segment))
|
|
10375
|
-
: (logRecoverableError(request, error,
|
|
10376
|
-
fatalError(request, error,
|
|
10384
|
+
: (logRecoverableError(request, error, errorInfo, null),
|
|
10385
|
+
fatalError(request, error, errorInfo, null));
|
|
10377
10386
|
return;
|
|
10378
10387
|
}
|
|
10379
|
-
|
|
10380
|
-
0 ===
|
|
10381
|
-
0 <
|
|
10388
|
+
boundary.pendingTasks--;
|
|
10389
|
+
0 === boundary.pendingTasks &&
|
|
10390
|
+
0 < boundary.nodes.length &&
|
|
10382
10391
|
("object" === typeof error &&
|
|
10383
10392
|
null !== error &&
|
|
10384
10393
|
error.$$typeof === REACT_POSTPONE_TYPE
|
|
10385
|
-
? (logPostpone(request, error.message,
|
|
10394
|
+
? (logPostpone(request, error.message, errorInfo, null),
|
|
10386
10395
|
(task = "POSTPONE"))
|
|
10387
|
-
: (task = logRecoverableError(request, error,
|
|
10396
|
+
: (task = logRecoverableError(request, error, errorInfo, null)),
|
|
10388
10397
|
abortRemainingReplayNodes(
|
|
10389
10398
|
request,
|
|
10390
10399
|
null,
|
|
10391
|
-
|
|
10392
|
-
|
|
10400
|
+
boundary.nodes,
|
|
10401
|
+
boundary.slots,
|
|
10393
10402
|
error,
|
|
10394
10403
|
task,
|
|
10395
|
-
|
|
10404
|
+
errorInfo,
|
|
10396
10405
|
!0
|
|
10397
10406
|
));
|
|
10398
10407
|
request.pendingRootTasks--;
|
|
@@ -10400,7 +10409,6 @@
|
|
|
10400
10409
|
}
|
|
10401
10410
|
} else {
|
|
10402
10411
|
boundary.pendingTasks--;
|
|
10403
|
-
replay = getThrownInfo(task.componentStack);
|
|
10404
10412
|
var _trackedPostpones2 = request.trackedPostpones;
|
|
10405
10413
|
if (4 !== boundary.status) {
|
|
10406
10414
|
if (null !== _trackedPostpones2 && null !== segment)
|
|
@@ -10408,8 +10416,8 @@
|
|
|
10408
10416
|
"object" === typeof error &&
|
|
10409
10417
|
null !== error &&
|
|
10410
10418
|
error.$$typeof === REACT_POSTPONE_TYPE
|
|
10411
|
-
? logPostpone(request, error.message,
|
|
10412
|
-
: logRecoverableError(request, error,
|
|
10419
|
+
? logPostpone(request, error.message, errorInfo, null)
|
|
10420
|
+
: logRecoverableError(request, error, errorInfo, null),
|
|
10413
10421
|
trackPostpone(request, _trackedPostpones2, task, segment),
|
|
10414
10422
|
boundary.fallbackAbortableTasks.forEach(function (fallbackTask) {
|
|
10415
10423
|
return abortTask(fallbackTask, request, error);
|
|
@@ -10423,7 +10431,7 @@
|
|
|
10423
10431
|
null !== error &&
|
|
10424
10432
|
error.$$typeof === REACT_POSTPONE_TYPE
|
|
10425
10433
|
) {
|
|
10426
|
-
logPostpone(request, error.message,
|
|
10434
|
+
logPostpone(request, error.message, errorInfo, null);
|
|
10427
10435
|
if (null !== request.trackedPostpones && null !== segment) {
|
|
10428
10436
|
trackPostpone(request, request.trackedPostpones, task, segment);
|
|
10429
10437
|
finishedTask(request, task.blockedBoundary, segment);
|
|
@@ -10434,9 +10442,9 @@
|
|
|
10434
10442
|
return;
|
|
10435
10443
|
}
|
|
10436
10444
|
task = "POSTPONE";
|
|
10437
|
-
} else task = logRecoverableError(request, error,
|
|
10445
|
+
} else task = logRecoverableError(request, error, errorInfo, null);
|
|
10438
10446
|
boundary.status = 4;
|
|
10439
|
-
encodeErrorForBoundary(boundary, task, error,
|
|
10447
|
+
encodeErrorForBoundary(boundary, task, error, errorInfo, !0);
|
|
10440
10448
|
untrackBoundary(request, boundary);
|
|
10441
10449
|
boundary.parentFlushed &&
|
|
10442
10450
|
request.clientRenderedBoundaries.push(boundary);
|
|
@@ -13021,5 +13029,5 @@
|
|
|
13021
13029
|
});
|
|
13022
13030
|
});
|
|
13023
13031
|
};
|
|
13024
|
-
exports.version = "19.0.0-experimental-
|
|
13032
|
+
exports.version = "19.0.0-experimental-04bd67a4-20240924";
|
|
13025
13033
|
})();
|
|
@@ -1287,6 +1287,9 @@ function renderModelDestructive(
|
|
|
1287
1287
|
break;
|
|
1288
1288
|
case "3":
|
|
1289
1289
|
existingReference = "props";
|
|
1290
|
+
break;
|
|
1291
|
+
case "4":
|
|
1292
|
+
existingReference = "_owner";
|
|
1290
1293
|
}
|
|
1291
1294
|
elementReference.set(value, writtenObjects + ":" + existingReference);
|
|
1292
1295
|
}
|
|
@@ -2566,15 +2569,19 @@ function waitForReference(
|
|
|
2566
2569
|
}
|
|
2567
2570
|
value = value[path[i]];
|
|
2568
2571
|
}
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2572
|
+
i = map(response, value);
|
|
2573
|
+
parentObject[key] = i;
|
|
2574
|
+
"" === key && null === handler.value && (handler.value = i);
|
|
2575
|
+
if (
|
|
2576
|
+
parentObject[0] === REACT_ELEMENT_TYPE &&
|
|
2573
2577
|
"object" === typeof handler.value &&
|
|
2574
2578
|
null !== handler.value &&
|
|
2575
|
-
handler.value.$$typeof === REACT_ELEMENT_TYPE
|
|
2576
|
-
|
|
2577
|
-
(handler.value
|
|
2579
|
+
handler.value.$$typeof === REACT_ELEMENT_TYPE
|
|
2580
|
+
)
|
|
2581
|
+
switch (((value = handler.value), key)) {
|
|
2582
|
+
case "3":
|
|
2583
|
+
value.props = i;
|
|
2584
|
+
}
|
|
2578
2585
|
handler.deps--;
|
|
2579
2586
|
0 === handler.deps &&
|
|
2580
2587
|
((i = handler.chunk),
|
|
@@ -7448,65 +7455,66 @@ function abortTask(task, request, error) {
|
|
|
7448
7455
|
if (6 === segment.status) return;
|
|
7449
7456
|
segment.status = 3;
|
|
7450
7457
|
}
|
|
7458
|
+
var errorInfo = getThrownInfo(task.componentStack);
|
|
7451
7459
|
if (null === boundary) {
|
|
7452
|
-
if (
|
|
7453
|
-
|
|
7454
|
-
if (null ===
|
|
7460
|
+
if (2 !== request.status && 3 !== request.status) {
|
|
7461
|
+
boundary = task.replay;
|
|
7462
|
+
if (null === boundary) {
|
|
7455
7463
|
"object" === typeof error &&
|
|
7456
7464
|
null !== error &&
|
|
7457
7465
|
error.$$typeof === REACT_POSTPONE_TYPE
|
|
7458
|
-
? ((
|
|
7459
|
-
null !==
|
|
7460
|
-
? (logPostpone(request, error.message,
|
|
7461
|
-
trackPostpone(request,
|
|
7466
|
+
? ((boundary = request.trackedPostpones),
|
|
7467
|
+
null !== boundary && null !== segment
|
|
7468
|
+
? (logPostpone(request, error.message, errorInfo),
|
|
7469
|
+
trackPostpone(request, boundary, task, segment),
|
|
7462
7470
|
finishedTask(request, null, segment))
|
|
7463
7471
|
: ((task = Error(
|
|
7464
7472
|
"The render was aborted with postpone when the shell is incomplete. Reason: " +
|
|
7465
7473
|
error.message
|
|
7466
7474
|
)),
|
|
7467
|
-
logRecoverableError(request, task,
|
|
7475
|
+
logRecoverableError(request, task, errorInfo),
|
|
7468
7476
|
fatalError(request, task)))
|
|
7469
7477
|
: null !== request.trackedPostpones && null !== segment
|
|
7470
|
-
? ((
|
|
7471
|
-
logRecoverableError(request, error,
|
|
7472
|
-
trackPostpone(request,
|
|
7478
|
+
? ((boundary = request.trackedPostpones),
|
|
7479
|
+
logRecoverableError(request, error, errorInfo),
|
|
7480
|
+
trackPostpone(request, boundary, task, segment),
|
|
7473
7481
|
finishedTask(request, null, segment))
|
|
7474
|
-
: (logRecoverableError(request, error,
|
|
7482
|
+
: (logRecoverableError(request, error, errorInfo),
|
|
7475
7483
|
fatalError(request, error));
|
|
7476
7484
|
return;
|
|
7477
7485
|
}
|
|
7478
|
-
|
|
7479
|
-
0 ===
|
|
7480
|
-
0 <
|
|
7486
|
+
boundary.pendingTasks--;
|
|
7487
|
+
0 === boundary.pendingTasks &&
|
|
7488
|
+
0 < boundary.nodes.length &&
|
|
7481
7489
|
("object" === typeof error &&
|
|
7482
7490
|
null !== error &&
|
|
7483
7491
|
error.$$typeof === REACT_POSTPONE_TYPE
|
|
7484
|
-
? (logPostpone(request, error.message,
|
|
7485
|
-
|
|
7492
|
+
? (logPostpone(request, error.message, errorInfo),
|
|
7493
|
+
(errorInfo = "POSTPONE"))
|
|
7494
|
+
: (errorInfo = logRecoverableError(request, error, errorInfo)),
|
|
7486
7495
|
abortRemainingReplayNodes(
|
|
7487
7496
|
request,
|
|
7488
7497
|
null,
|
|
7489
|
-
|
|
7490
|
-
|
|
7498
|
+
boundary.nodes,
|
|
7499
|
+
boundary.slots,
|
|
7491
7500
|
error,
|
|
7492
|
-
|
|
7501
|
+
errorInfo
|
|
7493
7502
|
));
|
|
7494
7503
|
request.pendingRootTasks--;
|
|
7495
7504
|
0 === request.pendingRootTasks && completeShell(request);
|
|
7496
7505
|
}
|
|
7497
7506
|
} else {
|
|
7498
7507
|
boundary.pendingTasks--;
|
|
7499
|
-
|
|
7500
|
-
var trackedPostpones$113 = request.trackedPostpones;
|
|
7508
|
+
var trackedPostpones$112 = request.trackedPostpones;
|
|
7501
7509
|
if (4 !== boundary.status) {
|
|
7502
|
-
if (null !== trackedPostpones$
|
|
7510
|
+
if (null !== trackedPostpones$112 && null !== segment)
|
|
7503
7511
|
return (
|
|
7504
7512
|
"object" === typeof error &&
|
|
7505
7513
|
null !== error &&
|
|
7506
7514
|
error.$$typeof === REACT_POSTPONE_TYPE
|
|
7507
|
-
? logPostpone(request, error.message,
|
|
7508
|
-
: logRecoverableError(request, error,
|
|
7509
|
-
trackPostpone(request, trackedPostpones$
|
|
7515
|
+
? logPostpone(request, error.message, errorInfo)
|
|
7516
|
+
: logRecoverableError(request, error, errorInfo),
|
|
7517
|
+
trackPostpone(request, trackedPostpones$112, task, segment),
|
|
7510
7518
|
boundary.fallbackAbortableTasks.forEach(function (fallbackTask) {
|
|
7511
7519
|
return abortTask(fallbackTask, request, error);
|
|
7512
7520
|
}),
|
|
@@ -7519,7 +7527,7 @@ function abortTask(task, request, error) {
|
|
|
7519
7527
|
null !== error &&
|
|
7520
7528
|
error.$$typeof === REACT_POSTPONE_TYPE
|
|
7521
7529
|
) {
|
|
7522
|
-
logPostpone(request, error.message,
|
|
7530
|
+
logPostpone(request, error.message, errorInfo);
|
|
7523
7531
|
if (null !== request.trackedPostpones && null !== segment) {
|
|
7524
7532
|
trackPostpone(request, request.trackedPostpones, task, segment);
|
|
7525
7533
|
finishedTask(request, task.blockedBoundary, segment);
|
|
@@ -7529,10 +7537,10 @@ function abortTask(task, request, error) {
|
|
|
7529
7537
|
boundary.fallbackAbortableTasks.clear();
|
|
7530
7538
|
return;
|
|
7531
7539
|
}
|
|
7532
|
-
|
|
7533
|
-
} else
|
|
7540
|
+
errorInfo = "POSTPONE";
|
|
7541
|
+
} else errorInfo = logRecoverableError(request, error, errorInfo);
|
|
7534
7542
|
boundary.status = 4;
|
|
7535
|
-
boundary.errorDigest =
|
|
7543
|
+
boundary.errorDigest = errorInfo;
|
|
7536
7544
|
untrackBoundary(request, boundary);
|
|
7537
7545
|
boundary.parentFlushed && request.clientRenderedBoundaries.push(boundary);
|
|
7538
7546
|
}
|
|
@@ -7801,13 +7809,13 @@ function performWork(request$jscomp$1) {
|
|
|
7801
7809
|
null !== request.trackedPostpones &&
|
|
7802
7810
|
x$jscomp$0.$$typeof === REACT_POSTPONE_TYPE
|
|
7803
7811
|
) {
|
|
7804
|
-
var trackedPostpones$
|
|
7812
|
+
var trackedPostpones$116 = request.trackedPostpones;
|
|
7805
7813
|
task.abortSet.delete(task);
|
|
7806
7814
|
var postponeInfo = getThrownInfo(task.componentStack);
|
|
7807
7815
|
logPostpone(request, x$jscomp$0.message, postponeInfo);
|
|
7808
7816
|
trackPostpone(
|
|
7809
7817
|
request,
|
|
7810
|
-
trackedPostpones$
|
|
7818
|
+
trackedPostpones$116,
|
|
7811
7819
|
task,
|
|
7812
7820
|
segment$jscomp$0
|
|
7813
7821
|
);
|
|
@@ -8239,11 +8247,11 @@ function flushCompletedQueues(request, destination) {
|
|
|
8239
8247
|
completedBoundaries.splice(0, i);
|
|
8240
8248
|
var partialBoundaries = request.partialBoundaries;
|
|
8241
8249
|
for (i = 0; i < partialBoundaries.length; i++) {
|
|
8242
|
-
var boundary$
|
|
8250
|
+
var boundary$119 = partialBoundaries[i];
|
|
8243
8251
|
a: {
|
|
8244
8252
|
clientRenderedBoundaries = request;
|
|
8245
8253
|
boundary = destination;
|
|
8246
|
-
var completedSegments = boundary$
|
|
8254
|
+
var completedSegments = boundary$119.completedSegments;
|
|
8247
8255
|
for (
|
|
8248
8256
|
JSCompiler_inline_result = 0;
|
|
8249
8257
|
JSCompiler_inline_result < completedSegments.length;
|
|
@@ -8253,7 +8261,7 @@ function flushCompletedQueues(request, destination) {
|
|
|
8253
8261
|
!flushPartiallyCompletedSegment(
|
|
8254
8262
|
clientRenderedBoundaries,
|
|
8255
8263
|
boundary,
|
|
8256
|
-
boundary$
|
|
8264
|
+
boundary$119,
|
|
8257
8265
|
completedSegments[JSCompiler_inline_result]
|
|
8258
8266
|
)
|
|
8259
8267
|
) {
|
|
@@ -8265,7 +8273,7 @@ function flushCompletedQueues(request, destination) {
|
|
|
8265
8273
|
completedSegments.splice(0, JSCompiler_inline_result);
|
|
8266
8274
|
JSCompiler_inline_result$jscomp$0 = writeHoistablesForBoundary(
|
|
8267
8275
|
boundary,
|
|
8268
|
-
boundary$
|
|
8276
|
+
boundary$119.contentState,
|
|
8269
8277
|
clientRenderedBoundaries.renderState
|
|
8270
8278
|
);
|
|
8271
8279
|
}
|
|
@@ -8337,8 +8345,8 @@ function abort(request, reason) {
|
|
|
8337
8345
|
}
|
|
8338
8346
|
null !== request.destination &&
|
|
8339
8347
|
flushCompletedQueues(request, request.destination);
|
|
8340
|
-
} catch (error$
|
|
8341
|
-
logRecoverableError(request, error$
|
|
8348
|
+
} catch (error$121) {
|
|
8349
|
+
logRecoverableError(request, error$121, {}), fatalError(request, error$121);
|
|
8342
8350
|
}
|
|
8343
8351
|
}
|
|
8344
8352
|
function addToReplayParent(node, parentKeyPath, trackedPostpones) {
|
|
@@ -8659,4 +8667,4 @@ exports.experimental_renderToHTML = function (children, options) {
|
|
|
8659
8667
|
});
|
|
8660
8668
|
});
|
|
8661
8669
|
};
|
|
8662
|
-
exports.version = "19.0.0-experimental-
|
|
8670
|
+
exports.version = "19.0.0-experimental-04bd67a4-20240924";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-markup",
|
|
3
|
-
"version": "0.0.0-experimental-
|
|
3
|
+
"version": "0.0.0-experimental-04bd67a4-20240924",
|
|
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-
|
|
20
|
+
"react": "0.0.0-experimental-04bd67a4-20240924"
|
|
21
21
|
},
|
|
22
22
|
"files": [
|
|
23
23
|
"LICENSE",
|