react-markup 0.0.0-experimental-204a551e-20240926 → 0.0.0-experimental-67fee58b-20240926
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.
|
@@ -4248,7 +4248,7 @@
|
|
|
4248
4248
|
this.rootFormatContext = rootFormatContext;
|
|
4249
4249
|
this.progressiveChunkSize =
|
|
4250
4250
|
void 0 === progressiveChunkSize ? 12800 : progressiveChunkSize;
|
|
4251
|
-
this.status =
|
|
4251
|
+
this.status = 10;
|
|
4252
4252
|
this.fatalError = null;
|
|
4253
4253
|
this.pendingRootTasks = this.allPendingTasks = this.nextSegmentId = 0;
|
|
4254
4254
|
this.completedRootSegment = null;
|
|
@@ -4621,8 +4621,8 @@
|
|
|
4621
4621
|
debugTask.run(onFatalError.bind(null, error)))
|
|
4622
4622
|
: (errorInfo(error), onFatalError(error));
|
|
4623
4623
|
null !== request.destination
|
|
4624
|
-
? ((request.status =
|
|
4625
|
-
: ((request.status =
|
|
4624
|
+
? ((request.status = 14), request.destination.destroy(error))
|
|
4625
|
+
: ((request.status = 13), (request.fatalError = error));
|
|
4626
4626
|
}
|
|
4627
4627
|
function renderWithHooks(
|
|
4628
4628
|
request,
|
|
@@ -5055,7 +5055,7 @@
|
|
|
5055
5055
|
} else internalInstance.queue = null;
|
|
5056
5056
|
}
|
|
5057
5057
|
var nextChildren = callRenderInDEV(instance);
|
|
5058
|
-
if (
|
|
5058
|
+
if (12 === request.status) throw null;
|
|
5059
5059
|
instance.props !== resolvedProps &&
|
|
5060
5060
|
(didWarnAboutReassigningProps ||
|
|
5061
5061
|
console.error(
|
|
@@ -5087,7 +5087,7 @@
|
|
|
5087
5087
|
props,
|
|
5088
5088
|
void 0
|
|
5089
5089
|
);
|
|
5090
|
-
if (
|
|
5090
|
+
if (12 === request.status) throw null;
|
|
5091
5091
|
var hasId = 0 !== localIdCounter,
|
|
5092
5092
|
actionStateCount = actionStateCounter,
|
|
5093
5093
|
actionStateMatchingIndex$jscomp$0 = actionStateMatchingIndex;
|
|
@@ -5327,7 +5327,7 @@
|
|
|
5327
5327
|
(boundarySegment.status = 1);
|
|
5328
5328
|
} catch (thrownValue) {
|
|
5329
5329
|
throw (
|
|
5330
|
-
((boundarySegment.status =
|
|
5330
|
+
((boundarySegment.status = 12 === request.status ? 3 : 4),
|
|
5331
5331
|
thrownValue)
|
|
5332
5332
|
);
|
|
5333
5333
|
} finally {
|
|
@@ -5372,7 +5372,7 @@
|
|
|
5372
5372
|
}
|
|
5373
5373
|
} catch (thrownValue$2) {
|
|
5374
5374
|
newBoundary.status = 4;
|
|
5375
|
-
if (
|
|
5375
|
+
if (12 === request.status) {
|
|
5376
5376
|
contentRootSegment.status = 3;
|
|
5377
5377
|
var error = request.fatalError;
|
|
5378
5378
|
} else
|
|
@@ -5533,7 +5533,7 @@
|
|
|
5533
5533
|
return;
|
|
5534
5534
|
case REACT_LAZY_TYPE:
|
|
5535
5535
|
var Component = callLazyInitInDEV(type);
|
|
5536
|
-
if (
|
|
5536
|
+
if (12 === request.status) throw null;
|
|
5537
5537
|
renderElement(request, task, keyPath, Component, props, ref);
|
|
5538
5538
|
return;
|
|
5539
5539
|
}
|
|
@@ -5825,7 +5825,7 @@
|
|
|
5825
5825
|
);
|
|
5826
5826
|
case REACT_LAZY_TYPE:
|
|
5827
5827
|
node = callLazyInitInDEV(node);
|
|
5828
|
-
if (
|
|
5828
|
+
if (12 === request.status) throw null;
|
|
5829
5829
|
renderNodeDestructive(request, task, node, childIndex);
|
|
5830
5830
|
return;
|
|
5831
5831
|
}
|
|
@@ -6527,7 +6527,7 @@
|
|
|
6527
6527
|
}
|
|
6528
6528
|
var errorInfo = getThrownInfo(task.componentStack);
|
|
6529
6529
|
if (null === boundary) {
|
|
6530
|
-
if (
|
|
6530
|
+
if (13 !== request.status && 14 !== request.status) {
|
|
6531
6531
|
boundary = task.replay;
|
|
6532
6532
|
if (null === boundary) {
|
|
6533
6533
|
"object" === typeof error &&
|
|
@@ -6760,7 +6760,7 @@
|
|
|
6760
6760
|
0 === request.allPendingTasks && completeAll(request);
|
|
6761
6761
|
}
|
|
6762
6762
|
function performWork(request$jscomp$1) {
|
|
6763
|
-
if (
|
|
6763
|
+
if (14 !== request$jscomp$1.status && 13 !== request$jscomp$1.status) {
|
|
6764
6764
|
var prevContext = currentActiveSnapshot,
|
|
6765
6765
|
prevDispatcher = ReactSharedInternals.H;
|
|
6766
6766
|
ReactSharedInternals.H = HooksDispatcher;
|
|
@@ -6826,7 +6826,7 @@
|
|
|
6826
6826
|
erroredReplay(
|
|
6827
6827
|
request$jscomp$0,
|
|
6828
6828
|
request.blockedBoundary,
|
|
6829
|
-
|
|
6829
|
+
12 === request$jscomp$0.status
|
|
6830
6830
|
? request$jscomp$0.fatalError
|
|
6831
6831
|
: x,
|
|
6832
6832
|
errorInfo,
|
|
@@ -6873,11 +6873,11 @@
|
|
|
6873
6873
|
var x$jscomp$0 =
|
|
6874
6874
|
thrownValue === SuspenseException
|
|
6875
6875
|
? getSuspendedThenable()
|
|
6876
|
-
:
|
|
6876
|
+
: 12 === request.status
|
|
6877
6877
|
? request.fatalError
|
|
6878
6878
|
: thrownValue;
|
|
6879
6879
|
if (
|
|
6880
|
-
|
|
6880
|
+
12 === request.status &&
|
|
6881
6881
|
null !== request.trackedPostpones
|
|
6882
6882
|
) {
|
|
6883
6883
|
var trackedPostpones = request.trackedPostpones,
|
|
@@ -7545,22 +7545,22 @@
|
|
|
7545
7545
|
console.error(
|
|
7546
7546
|
"There was still abortable task at the root when we closed. This is a bug in React."
|
|
7547
7547
|
),
|
|
7548
|
-
(request.status =
|
|
7548
|
+
(request.status = 14),
|
|
7549
7549
|
destination.push(null),
|
|
7550
7550
|
(request.destination = null));
|
|
7551
7551
|
}
|
|
7552
7552
|
}
|
|
7553
7553
|
function startWork(request) {
|
|
7554
7554
|
request.flushScheduled = null !== request.destination;
|
|
7555
|
-
|
|
7556
|
-
|
|
7557
|
-
|
|
7558
|
-
|
|
7555
|
+
performWork(request);
|
|
7556
|
+
10 === request.status && (request.status = 11);
|
|
7557
|
+
null === request.trackedPostpones &&
|
|
7558
|
+
safelyEmitEarlyPreloads(request, 0 === request.pendingRootTasks);
|
|
7559
7559
|
}
|
|
7560
7560
|
function startFlowing(request, destination) {
|
|
7561
|
-
if (
|
|
7562
|
-
(request.status =
|
|
7563
|
-
else if (
|
|
7561
|
+
if (13 === request.status)
|
|
7562
|
+
(request.status = 14), destination.destroy(request.fatalError);
|
|
7563
|
+
else if (14 !== request.status && null === request.destination) {
|
|
7564
7564
|
request.destination = destination;
|
|
7565
7565
|
try {
|
|
7566
7566
|
flushCompletedQueues(request, destination);
|
|
@@ -7572,7 +7572,7 @@
|
|
|
7572
7572
|
}
|
|
7573
7573
|
}
|
|
7574
7574
|
function abort(request, reason) {
|
|
7575
|
-
|
|
7575
|
+
if (11 === request.status || 10 === request.status) request.status = 12;
|
|
7576
7576
|
try {
|
|
7577
7577
|
var abortableTasks = request.abortableTasks;
|
|
7578
7578
|
if (0 < abortableTasks.size) {
|
|
@@ -8625,5 +8625,5 @@
|
|
|
8625
8625
|
});
|
|
8626
8626
|
});
|
|
8627
8627
|
};
|
|
8628
|
-
exports.version = "19.0.0-experimental-
|
|
8628
|
+
exports.version = "19.0.0-experimental-67fee58b-20240926";
|
|
8629
8629
|
})();
|
|
@@ -3238,7 +3238,7 @@ function RequestInstance(
|
|
|
3238
3238
|
this.rootFormatContext = rootFormatContext;
|
|
3239
3239
|
this.progressiveChunkSize =
|
|
3240
3240
|
void 0 === progressiveChunkSize ? 12800 : progressiveChunkSize;
|
|
3241
|
-
this.status =
|
|
3241
|
+
this.status = 10;
|
|
3242
3242
|
this.fatalError = null;
|
|
3243
3243
|
this.pendingRootTasks = this.allPendingTasks = this.nextSegmentId = 0;
|
|
3244
3244
|
this.completedRootSegment = null;
|
|
@@ -3490,8 +3490,8 @@ function fatalError(request, error) {
|
|
|
3490
3490
|
onShellError(error);
|
|
3491
3491
|
onFatalError(error);
|
|
3492
3492
|
null !== request.destination
|
|
3493
|
-
? ((request.status =
|
|
3494
|
-
: ((request.status =
|
|
3493
|
+
? ((request.status = 14), request.destination.destroy(error))
|
|
3494
|
+
: ((request.status = 13), (request.fatalError = error));
|
|
3495
3495
|
}
|
|
3496
3496
|
function renderWithHooks(request, task, keyPath, Component, props, secondArg) {
|
|
3497
3497
|
var prevThenableState = task.thenableState;
|
|
@@ -3640,14 +3640,14 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
3640
3640
|
}
|
|
3641
3641
|
else defaultProps.queue = null;
|
|
3642
3642
|
type = newProps.render();
|
|
3643
|
-
if (
|
|
3643
|
+
if (12 === request.status) throw null;
|
|
3644
3644
|
props = task.keyPath;
|
|
3645
3645
|
task.keyPath = keyPath;
|
|
3646
3646
|
renderNodeDestructive(request, task, type, -1);
|
|
3647
3647
|
task.keyPath = props;
|
|
3648
3648
|
} else {
|
|
3649
3649
|
type = renderWithHooks(request, task, keyPath, type, props, void 0);
|
|
3650
|
-
if (
|
|
3650
|
+
if (12 === request.status) throw null;
|
|
3651
3651
|
finishFunctionComponent(
|
|
3652
3652
|
request,
|
|
3653
3653
|
task,
|
|
@@ -3827,7 +3827,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
3827
3827
|
renderNode(request, task, ref, -1), (propName.status = 1);
|
|
3828
3828
|
} catch (thrownValue) {
|
|
3829
3829
|
throw (
|
|
3830
|
-
((propName.status =
|
|
3830
|
+
((propName.status = 12 === request.status ? 3 : 4), thrownValue)
|
|
3831
3831
|
);
|
|
3832
3832
|
} finally {
|
|
3833
3833
|
(task.blockedSegment = contextType), (task.keyPath = type);
|
|
@@ -3868,7 +3868,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
3868
3868
|
}
|
|
3869
3869
|
} catch (thrownValue$18) {
|
|
3870
3870
|
(propName$23.status = 4),
|
|
3871
|
-
|
|
3871
|
+
12 === request.status
|
|
3872
3872
|
? ((textEmbedded.status = 3), (newProps = request.fatalError))
|
|
3873
3873
|
: ((textEmbedded.status = 4), (newProps = thrownValue$18)),
|
|
3874
3874
|
(defaultProps = getThrownInfo(task.componentStack)),
|
|
@@ -3980,7 +3980,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
3980
3980
|
case REACT_LAZY_TYPE:
|
|
3981
3981
|
newProps = type._init;
|
|
3982
3982
|
type = newProps(type._payload);
|
|
3983
|
-
if (
|
|
3983
|
+
if (12 === request.status) throw null;
|
|
3984
3984
|
renderElement(request, task, keyPath, type, props, ref);
|
|
3985
3985
|
return;
|
|
3986
3986
|
}
|
|
@@ -4217,7 +4217,7 @@ function retryNode(request, task) {
|
|
|
4217
4217
|
case REACT_LAZY_TYPE:
|
|
4218
4218
|
childNodes = node._init;
|
|
4219
4219
|
node = childNodes(node._payload);
|
|
4220
|
-
if (
|
|
4220
|
+
if (12 === request.status) throw null;
|
|
4221
4221
|
renderNodeDestructive(request, task, node, childIndex);
|
|
4222
4222
|
return;
|
|
4223
4223
|
}
|
|
@@ -4737,7 +4737,7 @@ function abortTask(task, request, error) {
|
|
|
4737
4737
|
}
|
|
4738
4738
|
var errorInfo = getThrownInfo(task.componentStack);
|
|
4739
4739
|
if (null === boundary) {
|
|
4740
|
-
if (
|
|
4740
|
+
if (13 !== request.status && 14 !== request.status) {
|
|
4741
4741
|
boundary = task.replay;
|
|
4742
4742
|
if (null === boundary) {
|
|
4743
4743
|
"object" === typeof error &&
|
|
@@ -4959,7 +4959,7 @@ function finishedTask(request, boundary, segment) {
|
|
|
4959
4959
|
0 === request.allPendingTasks && completeAll(request);
|
|
4960
4960
|
}
|
|
4961
4961
|
function performWork(request$jscomp$1) {
|
|
4962
|
-
if (
|
|
4962
|
+
if (14 !== request$jscomp$1.status && 13 !== request$jscomp$1.status) {
|
|
4963
4963
|
var prevContext = currentActiveSnapshot,
|
|
4964
4964
|
prevDispatcher = ReactSharedInternals.H;
|
|
4965
4965
|
ReactSharedInternals.H = HooksDispatcher;
|
|
@@ -5019,7 +5019,7 @@ function performWork(request$jscomp$1) {
|
|
|
5019
5019
|
erroredReplay(
|
|
5020
5020
|
request$jscomp$0,
|
|
5021
5021
|
task.blockedBoundary,
|
|
5022
|
-
|
|
5022
|
+
12 === request$jscomp$0.status
|
|
5023
5023
|
? request$jscomp$0.fatalError
|
|
5024
5024
|
: x,
|
|
5025
5025
|
errorInfo,
|
|
@@ -5057,10 +5057,13 @@ function performWork(request$jscomp$1) {
|
|
|
5057
5057
|
var x$jscomp$0 =
|
|
5058
5058
|
thrownValue === SuspenseException
|
|
5059
5059
|
? getSuspendedThenable()
|
|
5060
|
-
:
|
|
5060
|
+
: 12 === request.status
|
|
5061
5061
|
? request.fatalError
|
|
5062
5062
|
: thrownValue;
|
|
5063
|
-
if (
|
|
5063
|
+
if (
|
|
5064
|
+
12 === request.status &&
|
|
5065
|
+
null !== request.trackedPostpones
|
|
5066
|
+
) {
|
|
5064
5067
|
var trackedPostpones = request.trackedPostpones,
|
|
5065
5068
|
thrownInfo = getThrownInfo(task.componentStack);
|
|
5066
5069
|
task.abortSet.delete(task);
|
|
@@ -5587,15 +5590,15 @@ function flushCompletedQueues(request, destination) {
|
|
|
5587
5590
|
((partialBoundaries = endChunkForTag("body")),
|
|
5588
5591
|
destination.push(partialBoundaries)),
|
|
5589
5592
|
i.hasHtml && ((i = endChunkForTag("html")), destination.push(i))),
|
|
5590
|
-
(request.status =
|
|
5593
|
+
(request.status = 14),
|
|
5591
5594
|
destination.push(null),
|
|
5592
5595
|
(request.destination = null));
|
|
5593
5596
|
}
|
|
5594
5597
|
}
|
|
5595
5598
|
function startFlowing(request, destination) {
|
|
5596
|
-
if (
|
|
5597
|
-
(request.status =
|
|
5598
|
-
else if (
|
|
5599
|
+
if (13 === request.status)
|
|
5600
|
+
(request.status = 14), destination.destroy(request.fatalError);
|
|
5601
|
+
else if (14 !== request.status && null === request.destination) {
|
|
5599
5602
|
request.destination = destination;
|
|
5600
5603
|
try {
|
|
5601
5604
|
flushCompletedQueues(request, destination);
|
|
@@ -5605,7 +5608,7 @@ function startFlowing(request, destination) {
|
|
|
5605
5608
|
}
|
|
5606
5609
|
}
|
|
5607
5610
|
function abort(request, reason) {
|
|
5608
|
-
|
|
5611
|
+
if (11 === request.status || 10 === request.status) request.status = 12;
|
|
5609
5612
|
try {
|
|
5610
5613
|
var abortableTasks = request.abortableTasks;
|
|
5611
5614
|
if (0 < abortableTasks.size) {
|
|
@@ -5685,13 +5688,10 @@ exports.experimental_renderToHTML = function (children, options) {
|
|
|
5685
5688
|
}
|
|
5686
5689
|
}
|
|
5687
5690
|
fizzRequest.flushScheduled = null !== fizzRequest.destination;
|
|
5688
|
-
|
|
5689
|
-
|
|
5690
|
-
|
|
5691
|
-
|
|
5692
|
-
fizzRequest,
|
|
5693
|
-
0 === fizzRequest.pendingRootTasks
|
|
5694
|
-
));
|
|
5691
|
+
performWork(fizzRequest);
|
|
5692
|
+
10 === fizzRequest.status && (fizzRequest.status = 11);
|
|
5693
|
+
null === fizzRequest.trackedPostpones &&
|
|
5694
|
+
safelyEmitEarlyPreloads(fizzRequest, 0 === fizzRequest.pendingRootTasks);
|
|
5695
5695
|
startFlowing(fizzRequest, {
|
|
5696
5696
|
push: function (chunk) {
|
|
5697
5697
|
null !== chunk ? (buffer += chunk) : resolve(buffer);
|
|
@@ -5703,4 +5703,4 @@ exports.experimental_renderToHTML = function (children, options) {
|
|
|
5703
5703
|
});
|
|
5704
5704
|
});
|
|
5705
5705
|
};
|
|
5706
|
-
exports.version = "19.0.0-experimental-
|
|
5706
|
+
exports.version = "19.0.0-experimental-67fee58b-20240926";
|
|
@@ -786,7 +786,7 @@
|
|
|
786
786
|
cleanupQueue = [];
|
|
787
787
|
TaintRegistryPendingRequests.add(cleanupQueue);
|
|
788
788
|
this.type = type;
|
|
789
|
-
this.status = OPENING;
|
|
789
|
+
this.status = OPENING$1;
|
|
790
790
|
this.flushScheduled = !1;
|
|
791
791
|
this.destination = this.fatalError = null;
|
|
792
792
|
this.bundlerConfig = bundlerConfig;
|
|
@@ -2595,7 +2595,7 @@
|
|
|
2595
2595
|
function startWork$1(request) {
|
|
2596
2596
|
request.flushScheduled = null !== request.destination;
|
|
2597
2597
|
performWork$1(request);
|
|
2598
|
-
request.status === OPENING && (request.status = 11);
|
|
2598
|
+
request.status === OPENING$1 && (request.status = 11);
|
|
2599
2599
|
}
|
|
2600
2600
|
function enqueueFlush(request) {
|
|
2601
2601
|
if (
|
|
@@ -8085,7 +8085,7 @@
|
|
|
8085
8085
|
this.rootFormatContext = rootFormatContext;
|
|
8086
8086
|
this.progressiveChunkSize =
|
|
8087
8087
|
void 0 === progressiveChunkSize ? 12800 : progressiveChunkSize;
|
|
8088
|
-
this.status =
|
|
8088
|
+
this.status = 10;
|
|
8089
8089
|
this.fatalError = null;
|
|
8090
8090
|
this.pendingRootTasks = this.allPendingTasks = this.nextSegmentId = 0;
|
|
8091
8091
|
this.completedRootSegment = null;
|
|
@@ -8458,8 +8458,8 @@
|
|
|
8458
8458
|
debugTask.run(onFatalError.bind(null, error)))
|
|
8459
8459
|
: (errorInfo(error), onFatalError(error));
|
|
8460
8460
|
null !== request.destination
|
|
8461
|
-
? ((request.status =
|
|
8462
|
-
: ((request.status =
|
|
8461
|
+
? ((request.status = 14), request.destination.destroy(error))
|
|
8462
|
+
: ((request.status = 13), (request.fatalError = error));
|
|
8463
8463
|
}
|
|
8464
8464
|
function renderWithHooks(
|
|
8465
8465
|
request,
|
|
@@ -8892,7 +8892,7 @@
|
|
|
8892
8892
|
} else internalInstance.queue = null;
|
|
8893
8893
|
}
|
|
8894
8894
|
var nextChildren = callRenderInDEV(instance);
|
|
8895
|
-
if (
|
|
8895
|
+
if (12 === request.status) throw null;
|
|
8896
8896
|
instance.props !== resolvedProps &&
|
|
8897
8897
|
(didWarnAboutReassigningProps ||
|
|
8898
8898
|
console.error(
|
|
@@ -8924,7 +8924,7 @@
|
|
|
8924
8924
|
props,
|
|
8925
8925
|
void 0
|
|
8926
8926
|
);
|
|
8927
|
-
if (
|
|
8927
|
+
if (12 === request.status) throw null;
|
|
8928
8928
|
var hasId = 0 !== localIdCounter,
|
|
8929
8929
|
actionStateCount = actionStateCounter,
|
|
8930
8930
|
actionStateMatchingIndex$jscomp$0 = actionStateMatchingIndex;
|
|
@@ -9164,7 +9164,7 @@
|
|
|
9164
9164
|
(boundarySegment.status = 1);
|
|
9165
9165
|
} catch (thrownValue) {
|
|
9166
9166
|
throw (
|
|
9167
|
-
((boundarySegment.status =
|
|
9167
|
+
((boundarySegment.status = 12 === request.status ? 3 : 4),
|
|
9168
9168
|
thrownValue)
|
|
9169
9169
|
);
|
|
9170
9170
|
} finally {
|
|
@@ -9209,7 +9209,7 @@
|
|
|
9209
9209
|
}
|
|
9210
9210
|
} catch (thrownValue$6) {
|
|
9211
9211
|
newBoundary.status = 4;
|
|
9212
|
-
if (
|
|
9212
|
+
if (12 === request.status) {
|
|
9213
9213
|
contentRootSegment.status = 3;
|
|
9214
9214
|
var error = request.fatalError;
|
|
9215
9215
|
} else
|
|
@@ -9370,7 +9370,7 @@
|
|
|
9370
9370
|
return;
|
|
9371
9371
|
case REACT_LAZY_TYPE:
|
|
9372
9372
|
var Component = callLazyInitInDEV(type);
|
|
9373
|
-
if (
|
|
9373
|
+
if (12 === request.status) throw null;
|
|
9374
9374
|
renderElement(request, task, keyPath, Component, props, ref);
|
|
9375
9375
|
return;
|
|
9376
9376
|
}
|
|
@@ -9662,7 +9662,7 @@
|
|
|
9662
9662
|
);
|
|
9663
9663
|
case REACT_LAZY_TYPE:
|
|
9664
9664
|
node = callLazyInitInDEV(node);
|
|
9665
|
-
if (
|
|
9665
|
+
if (12 === request.status) throw null;
|
|
9666
9666
|
renderNodeDestructive(request, task, node, childIndex);
|
|
9667
9667
|
return;
|
|
9668
9668
|
}
|
|
@@ -10359,7 +10359,7 @@
|
|
|
10359
10359
|
}
|
|
10360
10360
|
var errorInfo = getThrownInfo(task.componentStack);
|
|
10361
10361
|
if (null === boundary) {
|
|
10362
|
-
if (
|
|
10362
|
+
if (13 !== request.status && 14 !== request.status) {
|
|
10363
10363
|
boundary = task.replay;
|
|
10364
10364
|
if (null === boundary) {
|
|
10365
10365
|
"object" === typeof error &&
|
|
@@ -10592,7 +10592,7 @@
|
|
|
10592
10592
|
0 === request.allPendingTasks && completeAll(request);
|
|
10593
10593
|
}
|
|
10594
10594
|
function performWork(request$jscomp$1) {
|
|
10595
|
-
if (
|
|
10595
|
+
if (14 !== request$jscomp$1.status && 13 !== request$jscomp$1.status) {
|
|
10596
10596
|
var prevContext = currentActiveSnapshot,
|
|
10597
10597
|
prevDispatcher = ReactSharedInternals$1.H;
|
|
10598
10598
|
ReactSharedInternals$1.H = HooksDispatcher;
|
|
@@ -10658,7 +10658,7 @@
|
|
|
10658
10658
|
erroredReplay(
|
|
10659
10659
|
request$jscomp$0,
|
|
10660
10660
|
request.blockedBoundary,
|
|
10661
|
-
|
|
10661
|
+
12 === request$jscomp$0.status
|
|
10662
10662
|
? request$jscomp$0.fatalError
|
|
10663
10663
|
: x,
|
|
10664
10664
|
errorInfo,
|
|
@@ -10705,11 +10705,11 @@
|
|
|
10705
10705
|
var x$jscomp$0 =
|
|
10706
10706
|
thrownValue === SuspenseException
|
|
10707
10707
|
? getSuspendedThenable()
|
|
10708
|
-
:
|
|
10708
|
+
: 12 === request.status
|
|
10709
10709
|
? request.fatalError
|
|
10710
10710
|
: thrownValue;
|
|
10711
10711
|
if (
|
|
10712
|
-
|
|
10712
|
+
12 === request.status &&
|
|
10713
10713
|
null !== request.trackedPostpones
|
|
10714
10714
|
) {
|
|
10715
10715
|
var trackedPostpones = request.trackedPostpones,
|
|
@@ -11377,22 +11377,22 @@
|
|
|
11377
11377
|
console.error(
|
|
11378
11378
|
"There was still abortable task at the root when we closed. This is a bug in React."
|
|
11379
11379
|
),
|
|
11380
|
-
(request.status =
|
|
11380
|
+
(request.status = 14),
|
|
11381
11381
|
destination.push(null),
|
|
11382
11382
|
(request.destination = null));
|
|
11383
11383
|
}
|
|
11384
11384
|
}
|
|
11385
11385
|
function startWork(request) {
|
|
11386
11386
|
request.flushScheduled = null !== request.destination;
|
|
11387
|
-
|
|
11388
|
-
|
|
11389
|
-
|
|
11390
|
-
|
|
11387
|
+
performWork(request);
|
|
11388
|
+
10 === request.status && (request.status = 11);
|
|
11389
|
+
null === request.trackedPostpones &&
|
|
11390
|
+
safelyEmitEarlyPreloads(request, 0 === request.pendingRootTasks);
|
|
11391
11391
|
}
|
|
11392
11392
|
function startFlowing(request, destination) {
|
|
11393
|
-
if (
|
|
11394
|
-
(request.status =
|
|
11395
|
-
else if (
|
|
11393
|
+
if (13 === request.status)
|
|
11394
|
+
(request.status = 14), destination.destroy(request.fatalError);
|
|
11395
|
+
else if (14 !== request.status && null === request.destination) {
|
|
11396
11396
|
request.destination = destination;
|
|
11397
11397
|
try {
|
|
11398
11398
|
flushCompletedQueues(request, destination);
|
|
@@ -11404,7 +11404,7 @@
|
|
|
11404
11404
|
}
|
|
11405
11405
|
}
|
|
11406
11406
|
function abort(request, reason) {
|
|
11407
|
-
|
|
11407
|
+
if (11 === request.status || 10 === request.status) request.status = 12;
|
|
11408
11408
|
try {
|
|
11409
11409
|
var abortableTasks = request.abortableTasks;
|
|
11410
11410
|
if (0 < abortableTasks.size) {
|
|
@@ -11656,7 +11656,7 @@
|
|
|
11656
11656
|
ABORTED$1 = 3,
|
|
11657
11657
|
ERRORED$2 = 4,
|
|
11658
11658
|
RENDERING$1 = 5,
|
|
11659
|
-
OPENING = 10,
|
|
11659
|
+
OPENING$1 = 10,
|
|
11660
11660
|
ABORTING$1 = 12,
|
|
11661
11661
|
CLOSING$1 = 13,
|
|
11662
11662
|
CLOSED$1 = 14,
|
|
@@ -13029,5 +13029,5 @@
|
|
|
13029
13029
|
});
|
|
13030
13030
|
});
|
|
13031
13031
|
};
|
|
13032
|
-
exports.version = "19.0.0-experimental-
|
|
13032
|
+
exports.version = "19.0.0-experimental-67fee58b-20240926";
|
|
13033
13033
|
})();
|
|
@@ -5963,7 +5963,7 @@ function RequestInstance(
|
|
|
5963
5963
|
this.rootFormatContext = rootFormatContext;
|
|
5964
5964
|
this.progressiveChunkSize =
|
|
5965
5965
|
void 0 === progressiveChunkSize ? 12800 : progressiveChunkSize;
|
|
5966
|
-
this.status =
|
|
5966
|
+
this.status = 10;
|
|
5967
5967
|
this.fatalError = null;
|
|
5968
5968
|
this.pendingRootTasks = this.allPendingTasks = this.nextSegmentId = 0;
|
|
5969
5969
|
this.completedRootSegment = null;
|
|
@@ -6215,8 +6215,8 @@ function fatalError(request, error) {
|
|
|
6215
6215
|
onShellError(error);
|
|
6216
6216
|
onFatalError(error);
|
|
6217
6217
|
null !== request.destination
|
|
6218
|
-
? ((request.status =
|
|
6219
|
-
: ((request.status =
|
|
6218
|
+
? ((request.status = 14), request.destination.destroy(error))
|
|
6219
|
+
: ((request.status = 13), (request.fatalError = error));
|
|
6220
6220
|
}
|
|
6221
6221
|
function renderWithHooks(request, task, keyPath, Component, props, secondArg) {
|
|
6222
6222
|
var prevThenableState = task.thenableState;
|
|
@@ -6365,14 +6365,14 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
6365
6365
|
}
|
|
6366
6366
|
else defaultProps.queue = null;
|
|
6367
6367
|
type = newProps.render();
|
|
6368
|
-
if (
|
|
6368
|
+
if (12 === request.status) throw null;
|
|
6369
6369
|
props = task.keyPath;
|
|
6370
6370
|
task.keyPath = keyPath;
|
|
6371
6371
|
renderNodeDestructive(request, task, type, -1);
|
|
6372
6372
|
task.keyPath = props;
|
|
6373
6373
|
} else {
|
|
6374
6374
|
type = renderWithHooks(request, task, keyPath, type, props, void 0);
|
|
6375
|
-
if (
|
|
6375
|
+
if (12 === request.status) throw null;
|
|
6376
6376
|
finishFunctionComponent(
|
|
6377
6377
|
request,
|
|
6378
6378
|
task,
|
|
@@ -6552,7 +6552,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
6552
6552
|
renderNode(request, task, ref, -1), (propName.status = 1);
|
|
6553
6553
|
} catch (thrownValue) {
|
|
6554
6554
|
throw (
|
|
6555
|
-
((propName.status =
|
|
6555
|
+
((propName.status = 12 === request.status ? 3 : 4), thrownValue)
|
|
6556
6556
|
);
|
|
6557
6557
|
} finally {
|
|
6558
6558
|
(task.blockedSegment = contextType), (task.keyPath = type);
|
|
@@ -6593,7 +6593,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
6593
6593
|
}
|
|
6594
6594
|
} catch (thrownValue$82) {
|
|
6595
6595
|
(propName$87.status = 4),
|
|
6596
|
-
|
|
6596
|
+
12 === request.status
|
|
6597
6597
|
? ((textEmbedded.status = 3), (newProps = request.fatalError))
|
|
6598
6598
|
: ((textEmbedded.status = 4), (newProps = thrownValue$82)),
|
|
6599
6599
|
(defaultProps = getThrownInfo(task.componentStack)),
|
|
@@ -6705,7 +6705,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
6705
6705
|
case REACT_LAZY_TYPE:
|
|
6706
6706
|
newProps = type._init;
|
|
6707
6707
|
type = newProps(type._payload);
|
|
6708
|
-
if (
|
|
6708
|
+
if (12 === request.status) throw null;
|
|
6709
6709
|
renderElement(request, task, keyPath, type, props, ref);
|
|
6710
6710
|
return;
|
|
6711
6711
|
}
|
|
@@ -6942,7 +6942,7 @@ function retryNode(request, task) {
|
|
|
6942
6942
|
case REACT_LAZY_TYPE:
|
|
6943
6943
|
childNodes = node._init;
|
|
6944
6944
|
node = childNodes(node._payload);
|
|
6945
|
-
if (
|
|
6945
|
+
if (12 === request.status) throw null;
|
|
6946
6946
|
renderNodeDestructive(request, task, node, childIndex);
|
|
6947
6947
|
return;
|
|
6948
6948
|
}
|
|
@@ -7457,7 +7457,7 @@ function abortTask(task, request, error) {
|
|
|
7457
7457
|
}
|
|
7458
7458
|
var errorInfo = getThrownInfo(task.componentStack);
|
|
7459
7459
|
if (null === boundary) {
|
|
7460
|
-
if (
|
|
7460
|
+
if (13 !== request.status && 14 !== request.status) {
|
|
7461
7461
|
boundary = task.replay;
|
|
7462
7462
|
if (null === boundary) {
|
|
7463
7463
|
"object" === typeof error &&
|
|
@@ -7679,7 +7679,7 @@ function finishedTask(request, boundary, segment) {
|
|
|
7679
7679
|
0 === request.allPendingTasks && completeAll(request);
|
|
7680
7680
|
}
|
|
7681
7681
|
function performWork(request$jscomp$1) {
|
|
7682
|
-
if (
|
|
7682
|
+
if (14 !== request$jscomp$1.status && 13 !== request$jscomp$1.status) {
|
|
7683
7683
|
var prevContext = currentActiveSnapshot,
|
|
7684
7684
|
prevDispatcher = ReactSharedInternals.H;
|
|
7685
7685
|
ReactSharedInternals.H = HooksDispatcher;
|
|
@@ -7739,7 +7739,7 @@ function performWork(request$jscomp$1) {
|
|
|
7739
7739
|
erroredReplay(
|
|
7740
7740
|
request$jscomp$0,
|
|
7741
7741
|
task.blockedBoundary,
|
|
7742
|
-
|
|
7742
|
+
12 === request$jscomp$0.status
|
|
7743
7743
|
? request$jscomp$0.fatalError
|
|
7744
7744
|
: x,
|
|
7745
7745
|
errorInfo,
|
|
@@ -7777,10 +7777,13 @@ function performWork(request$jscomp$1) {
|
|
|
7777
7777
|
var x$jscomp$0 =
|
|
7778
7778
|
thrownValue === SuspenseException
|
|
7779
7779
|
? getSuspendedThenable()
|
|
7780
|
-
:
|
|
7780
|
+
: 12 === request.status
|
|
7781
7781
|
? request.fatalError
|
|
7782
7782
|
: thrownValue;
|
|
7783
|
-
if (
|
|
7783
|
+
if (
|
|
7784
|
+
12 === request.status &&
|
|
7785
|
+
null !== request.trackedPostpones
|
|
7786
|
+
) {
|
|
7784
7787
|
var trackedPostpones = request.trackedPostpones,
|
|
7785
7788
|
thrownInfo = getThrownInfo(task.componentStack);
|
|
7786
7789
|
task.abortSet.delete(task);
|
|
@@ -8307,15 +8310,15 @@ function flushCompletedQueues(request, destination) {
|
|
|
8307
8310
|
((partialBoundaries = endChunkForTag("body")),
|
|
8308
8311
|
destination.push(partialBoundaries)),
|
|
8309
8312
|
i.hasHtml && ((i = endChunkForTag("html")), destination.push(i))),
|
|
8310
|
-
(request.status =
|
|
8313
|
+
(request.status = 14),
|
|
8311
8314
|
destination.push(null),
|
|
8312
8315
|
(request.destination = null));
|
|
8313
8316
|
}
|
|
8314
8317
|
}
|
|
8315
8318
|
function startFlowing(request, destination) {
|
|
8316
|
-
if (
|
|
8317
|
-
(request.status =
|
|
8318
|
-
else if (
|
|
8319
|
+
if (13 === request.status)
|
|
8320
|
+
(request.status = 14), destination.destroy(request.fatalError);
|
|
8321
|
+
else if (14 !== request.status && null === request.destination) {
|
|
8319
8322
|
request.destination = destination;
|
|
8320
8323
|
try {
|
|
8321
8324
|
flushCompletedQueues(request, destination);
|
|
@@ -8325,7 +8328,7 @@ function startFlowing(request, destination) {
|
|
|
8325
8328
|
}
|
|
8326
8329
|
}
|
|
8327
8330
|
function abort(request, reason) {
|
|
8328
|
-
|
|
8331
|
+
if (11 === request.status || 10 === request.status) request.status = 12;
|
|
8329
8332
|
try {
|
|
8330
8333
|
var abortableTasks = request.abortableTasks;
|
|
8331
8334
|
if (0 < abortableTasks.size) {
|
|
@@ -8648,13 +8651,10 @@ exports.experimental_renderToHTML = function (children, options) {
|
|
|
8648
8651
|
}
|
|
8649
8652
|
}
|
|
8650
8653
|
fizzRequest.flushScheduled = null !== fizzRequest.destination;
|
|
8651
|
-
|
|
8652
|
-
|
|
8653
|
-
|
|
8654
|
-
|
|
8655
|
-
fizzRequest,
|
|
8656
|
-
0 === fizzRequest.pendingRootTasks
|
|
8657
|
-
));
|
|
8654
|
+
performWork(fizzRequest);
|
|
8655
|
+
10 === fizzRequest.status && (fizzRequest.status = 11);
|
|
8656
|
+
null === fizzRequest.trackedPostpones &&
|
|
8657
|
+
safelyEmitEarlyPreloads(fizzRequest, 0 === fizzRequest.pendingRootTasks);
|
|
8658
8658
|
startFlowing(fizzRequest, {
|
|
8659
8659
|
push: function (chunk) {
|
|
8660
8660
|
null !== chunk ? (buffer$jscomp$0 += chunk) : resolve(buffer$jscomp$0);
|
|
@@ -8667,4 +8667,4 @@ exports.experimental_renderToHTML = function (children, options) {
|
|
|
8667
8667
|
});
|
|
8668
8668
|
});
|
|
8669
8669
|
};
|
|
8670
|
-
exports.version = "19.0.0-experimental-
|
|
8670
|
+
exports.version = "19.0.0-experimental-67fee58b-20240926";
|
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-67fee58b-20240926",
|
|
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-67fee58b-20240926"
|
|
21
21
|
},
|
|
22
22
|
"files": [
|
|
23
23
|
"LICENSE",
|