react-markup 0.0.0-experimental-42687267-20250108 → 0.0.0-experimental-74ea0c73-20250109
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.
|
@@ -81,6 +81,8 @@
|
|
|
81
81
|
return "Suspense";
|
|
82
82
|
case REACT_SUSPENSE_LIST_TYPE:
|
|
83
83
|
return "SuspenseList";
|
|
84
|
+
case REACT_VIEW_TRANSITION_TYPE:
|
|
85
|
+
return "ViewTransition";
|
|
84
86
|
}
|
|
85
87
|
if ("object" === typeof type)
|
|
86
88
|
switch (type.$$typeof) {
|
|
@@ -3524,6 +3526,8 @@
|
|
|
3524
3526
|
return "Suspense";
|
|
3525
3527
|
case REACT_SUSPENSE_LIST_TYPE:
|
|
3526
3528
|
return "SuspenseList";
|
|
3529
|
+
case REACT_VIEW_TRANSITION_TYPE:
|
|
3530
|
+
return "ViewTransition";
|
|
3527
3531
|
}
|
|
3528
3532
|
if ("object" === typeof type)
|
|
3529
3533
|
switch (
|
|
@@ -4211,6 +4215,8 @@
|
|
|
4211
4215
|
return describeBuiltInComponentFrame("SuspenseList");
|
|
4212
4216
|
case REACT_SUSPENSE_TYPE:
|
|
4213
4217
|
return describeBuiltInComponentFrame("Suspense");
|
|
4218
|
+
case REACT_VIEW_TRANSITION_TYPE:
|
|
4219
|
+
return describeBuiltInComponentFrame("ViewTransition");
|
|
4214
4220
|
}
|
|
4215
4221
|
return "";
|
|
4216
4222
|
}
|
|
@@ -5267,6 +5273,12 @@
|
|
|
5267
5273
|
renderNodeDestructive(request, task, props.children, -1);
|
|
5268
5274
|
task.keyPath = _prevKeyPath3;
|
|
5269
5275
|
return;
|
|
5276
|
+
case REACT_VIEW_TRANSITION_TYPE:
|
|
5277
|
+
var _prevKeyPath4 = task.keyPath;
|
|
5278
|
+
task.keyPath = keyPath;
|
|
5279
|
+
renderNodeDestructive(request, task, props.children, -1);
|
|
5280
|
+
task.keyPath = _prevKeyPath4;
|
|
5281
|
+
return;
|
|
5270
5282
|
case REACT_SCOPE_TYPE:
|
|
5271
5283
|
throw Error(
|
|
5272
5284
|
"ReactDOMServer does not yet support scope components."
|
|
@@ -7638,6 +7650,7 @@
|
|
|
7638
7650
|
REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"),
|
|
7639
7651
|
REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"),
|
|
7640
7652
|
REACT_POSTPONE_TYPE = Symbol.for("react.postpone"),
|
|
7653
|
+
REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
|
|
7641
7654
|
MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
|
|
7642
7655
|
ASYNC_ITERATOR = Symbol.asyncIterator,
|
|
7643
7656
|
isArrayImpl = Array.isArray,
|
|
@@ -8398,9 +8411,6 @@
|
|
|
8398
8411
|
var didWarnAboutInvalidateContextType = new Set();
|
|
8399
8412
|
var didWarnOnInvalidCallback = new Set();
|
|
8400
8413
|
var classComponentUpdater = {
|
|
8401
|
-
isMounted: function () {
|
|
8402
|
-
return !1;
|
|
8403
|
-
},
|
|
8404
8414
|
enqueueSetState: function (inst, payload, callback) {
|
|
8405
8415
|
var internals = inst._reactInternals;
|
|
8406
8416
|
null === internals.queue
|
|
@@ -8633,5 +8643,5 @@
|
|
|
8633
8643
|
});
|
|
8634
8644
|
});
|
|
8635
8645
|
};
|
|
8636
|
-
exports.version = "19.1.0-experimental-
|
|
8646
|
+
exports.version = "19.1.0-experimental-74ea0c73-20250109";
|
|
8637
8647
|
})();
|
|
@@ -52,6 +52,7 @@ var React = require("react"),
|
|
|
52
52
|
REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"),
|
|
53
53
|
REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"),
|
|
54
54
|
REACT_POSTPONE_TYPE = Symbol.for("react.postpone"),
|
|
55
|
+
REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
|
|
55
56
|
MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
|
|
56
57
|
ASYNC_ITERATOR = Symbol.asyncIterator,
|
|
57
58
|
isArrayImpl = Array.isArray;
|
|
@@ -2550,6 +2551,8 @@ function getComponentNameFromType(type) {
|
|
|
2550
2551
|
return "Suspense";
|
|
2551
2552
|
case REACT_SUSPENSE_LIST_TYPE:
|
|
2552
2553
|
return "SuspenseList";
|
|
2554
|
+
case REACT_VIEW_TRANSITION_TYPE:
|
|
2555
|
+
return "ViewTransition";
|
|
2553
2556
|
}
|
|
2554
2557
|
if ("object" === typeof type)
|
|
2555
2558
|
switch (type.$$typeof) {
|
|
@@ -2649,9 +2652,6 @@ function switchContext(newSnapshot) {
|
|
|
2649
2652
|
(currentActiveSnapshot = newSnapshot));
|
|
2650
2653
|
}
|
|
2651
2654
|
var classComponentUpdater = {
|
|
2652
|
-
isMounted: function () {
|
|
2653
|
-
return !1;
|
|
2654
|
-
},
|
|
2655
2655
|
enqueueSetState: function (inst, payload) {
|
|
2656
2656
|
inst = inst._reactInternals;
|
|
2657
2657
|
null !== inst.queue && inst.queue.push(payload);
|
|
@@ -3198,6 +3198,8 @@ function describeComponentStackByType(type) {
|
|
|
3198
3198
|
return describeBuiltInComponentFrame("SuspenseList");
|
|
3199
3199
|
case REACT_SUSPENSE_TYPE:
|
|
3200
3200
|
return describeBuiltInComponentFrame("Suspense");
|
|
3201
|
+
case REACT_VIEW_TRANSITION_TYPE:
|
|
3202
|
+
return describeBuiltInComponentFrame("ViewTransition");
|
|
3201
3203
|
}
|
|
3202
3204
|
return "";
|
|
3203
3205
|
}
|
|
@@ -3779,6 +3781,12 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
3779
3781
|
renderNodeDestructive(request, task, props.children, -1);
|
|
3780
3782
|
task.keyPath = type;
|
|
3781
3783
|
return;
|
|
3784
|
+
case REACT_VIEW_TRANSITION_TYPE:
|
|
3785
|
+
type = task.keyPath;
|
|
3786
|
+
task.keyPath = keyPath;
|
|
3787
|
+
renderNodeDestructive(request, task, props.children, -1);
|
|
3788
|
+
task.keyPath = type;
|
|
3789
|
+
return;
|
|
3782
3790
|
case REACT_SCOPE_TYPE:
|
|
3783
3791
|
throw Error("ReactDOMServer does not yet support scope components.");
|
|
3784
3792
|
case REACT_SUSPENSE_TYPE:
|
|
@@ -4418,9 +4426,9 @@ function trackPostpone(request, trackedPostpones, task, segment) {
|
|
|
4418
4426
|
addToReplayParent(segment, boundaryKeyPath[0], trackedPostpones);
|
|
4419
4427
|
return;
|
|
4420
4428
|
}
|
|
4421
|
-
var boundaryNode$
|
|
4422
|
-
void 0 === boundaryNode$
|
|
4423
|
-
? ((boundaryNode$
|
|
4429
|
+
var boundaryNode$34 = trackedPostpones.workingMap.get(boundaryKeyPath);
|
|
4430
|
+
void 0 === boundaryNode$34
|
|
4431
|
+
? ((boundaryNode$34 = [
|
|
4424
4432
|
boundaryKeyPath[1],
|
|
4425
4433
|
boundaryKeyPath[2],
|
|
4426
4434
|
children,
|
|
@@ -4428,13 +4436,13 @@ function trackPostpone(request, trackedPostpones, task, segment) {
|
|
|
4428
4436
|
fallbackReplayNode,
|
|
4429
4437
|
boundary.rootSegmentID
|
|
4430
4438
|
]),
|
|
4431
|
-
trackedPostpones.workingMap.set(boundaryKeyPath, boundaryNode$
|
|
4439
|
+
trackedPostpones.workingMap.set(boundaryKeyPath, boundaryNode$34),
|
|
4432
4440
|
addToReplayParent(
|
|
4433
|
-
boundaryNode$
|
|
4441
|
+
boundaryNode$34,
|
|
4434
4442
|
boundaryKeyPath[0],
|
|
4435
4443
|
trackedPostpones
|
|
4436
4444
|
))
|
|
4437
|
-
: ((boundaryKeyPath = boundaryNode$
|
|
4445
|
+
: ((boundaryKeyPath = boundaryNode$34),
|
|
4438
4446
|
(boundaryKeyPath[4] = fallbackReplayNode),
|
|
4439
4447
|
(boundaryKeyPath[5] = boundary.rootSegmentID));
|
|
4440
4448
|
}
|
|
@@ -4587,15 +4595,15 @@ function renderNode(request, task, node, childIndex) {
|
|
|
4587
4595
|
chunkLength = segment.chunks.length;
|
|
4588
4596
|
try {
|
|
4589
4597
|
return renderNodeDestructive(request, task, node, childIndex);
|
|
4590
|
-
} catch (thrownValue$
|
|
4598
|
+
} catch (thrownValue$46) {
|
|
4591
4599
|
if (
|
|
4592
4600
|
(resetHooksState(),
|
|
4593
4601
|
(segment.children.length = childrenLength),
|
|
4594
4602
|
(segment.chunks.length = chunkLength),
|
|
4595
4603
|
(childIndex =
|
|
4596
|
-
thrownValue$
|
|
4604
|
+
thrownValue$46 === SuspenseException
|
|
4597
4605
|
? getSuspendedThenable()
|
|
4598
|
-
: thrownValue$
|
|
4606
|
+
: thrownValue$46),
|
|
4599
4607
|
"object" === typeof childIndex && null !== childIndex)
|
|
4600
4608
|
) {
|
|
4601
4609
|
if ("function" === typeof childIndex.then) {
|
|
@@ -4791,16 +4799,16 @@ function abortTask(task, request, error) {
|
|
|
4791
4799
|
}
|
|
4792
4800
|
} else {
|
|
4793
4801
|
boundary.pendingTasks--;
|
|
4794
|
-
var trackedPostpones$
|
|
4802
|
+
var trackedPostpones$49 = request.trackedPostpones;
|
|
4795
4803
|
if (4 !== boundary.status) {
|
|
4796
|
-
if (null !== trackedPostpones$
|
|
4804
|
+
if (null !== trackedPostpones$49 && null !== segment)
|
|
4797
4805
|
return (
|
|
4798
4806
|
"object" === typeof error &&
|
|
4799
4807
|
null !== error &&
|
|
4800
4808
|
error.$$typeof === REACT_POSTPONE_TYPE
|
|
4801
4809
|
? logPostpone(request, error.message, errorInfo)
|
|
4802
4810
|
: logRecoverableError(request, error, errorInfo),
|
|
4803
|
-
trackPostpone(request, trackedPostpones$
|
|
4811
|
+
trackPostpone(request, trackedPostpones$49, task, segment),
|
|
4804
4812
|
boundary.fallbackAbortableTasks.forEach(function (fallbackTask) {
|
|
4805
4813
|
return abortTask(fallbackTask, request, error);
|
|
4806
4814
|
}),
|
|
@@ -5098,13 +5106,13 @@ function performWork(request$jscomp$1) {
|
|
|
5098
5106
|
null !== request.trackedPostpones &&
|
|
5099
5107
|
x$jscomp$0.$$typeof === REACT_POSTPONE_TYPE
|
|
5100
5108
|
) {
|
|
5101
|
-
var trackedPostpones$
|
|
5109
|
+
var trackedPostpones$53 = request.trackedPostpones;
|
|
5102
5110
|
task.abortSet.delete(task);
|
|
5103
5111
|
var postponeInfo = getThrownInfo(task.componentStack);
|
|
5104
5112
|
logPostpone(request, x$jscomp$0.message, postponeInfo);
|
|
5105
5113
|
trackPostpone(
|
|
5106
5114
|
request,
|
|
5107
|
-
trackedPostpones$
|
|
5115
|
+
trackedPostpones$53,
|
|
5108
5116
|
task,
|
|
5109
5117
|
segment$jscomp$0
|
|
5110
5118
|
);
|
|
@@ -5536,11 +5544,11 @@ function flushCompletedQueues(request, destination) {
|
|
|
5536
5544
|
completedBoundaries.splice(0, i);
|
|
5537
5545
|
var partialBoundaries = request.partialBoundaries;
|
|
5538
5546
|
for (i = 0; i < partialBoundaries.length; i++) {
|
|
5539
|
-
var boundary$
|
|
5547
|
+
var boundary$56 = partialBoundaries[i];
|
|
5540
5548
|
a: {
|
|
5541
5549
|
clientRenderedBoundaries = request;
|
|
5542
5550
|
boundary = destination;
|
|
5543
|
-
var completedSegments = boundary$
|
|
5551
|
+
var completedSegments = boundary$56.completedSegments;
|
|
5544
5552
|
for (
|
|
5545
5553
|
JSCompiler_inline_result = 0;
|
|
5546
5554
|
JSCompiler_inline_result < completedSegments.length;
|
|
@@ -5550,7 +5558,7 @@ function flushCompletedQueues(request, destination) {
|
|
|
5550
5558
|
!flushPartiallyCompletedSegment(
|
|
5551
5559
|
clientRenderedBoundaries,
|
|
5552
5560
|
boundary,
|
|
5553
|
-
boundary$
|
|
5561
|
+
boundary$56,
|
|
5554
5562
|
completedSegments[JSCompiler_inline_result]
|
|
5555
5563
|
)
|
|
5556
5564
|
) {
|
|
@@ -5562,7 +5570,7 @@ function flushCompletedQueues(request, destination) {
|
|
|
5562
5570
|
completedSegments.splice(0, JSCompiler_inline_result);
|
|
5563
5571
|
JSCompiler_inline_result$jscomp$0 = writeHoistablesForBoundary(
|
|
5564
5572
|
boundary,
|
|
5565
|
-
boundary$
|
|
5573
|
+
boundary$56.contentState,
|
|
5566
5574
|
clientRenderedBoundaries.renderState
|
|
5567
5575
|
);
|
|
5568
5576
|
}
|
|
@@ -5634,8 +5642,8 @@ function abort(request, reason) {
|
|
|
5634
5642
|
}
|
|
5635
5643
|
null !== request.destination &&
|
|
5636
5644
|
flushCompletedQueues(request, request.destination);
|
|
5637
|
-
} catch (error$
|
|
5638
|
-
logRecoverableError(request, error$
|
|
5645
|
+
} catch (error$58) {
|
|
5646
|
+
logRecoverableError(request, error$58, {}), fatalError(request, error$58);
|
|
5639
5647
|
}
|
|
5640
5648
|
}
|
|
5641
5649
|
function addToReplayParent(node, parentKeyPath, trackedPostpones) {
|
|
@@ -5709,4 +5717,4 @@ exports.experimental_renderToHTML = function (children, options) {
|
|
|
5709
5717
|
});
|
|
5710
5718
|
});
|
|
5711
5719
|
};
|
|
5712
|
-
exports.version = "19.1.0-experimental-
|
|
5720
|
+
exports.version = "19.1.0-experimental-74ea0c73-20250109";
|
|
@@ -524,6 +524,8 @@
|
|
|
524
524
|
return "Suspense";
|
|
525
525
|
case REACT_SUSPENSE_LIST_TYPE:
|
|
526
526
|
return "SuspenseList";
|
|
527
|
+
case REACT_VIEW_TRANSITION_TYPE:
|
|
528
|
+
return "ViewTransition";
|
|
527
529
|
}
|
|
528
530
|
if ("object" === typeof type)
|
|
529
531
|
switch (type.$$typeof) {
|
|
@@ -3436,6 +3438,8 @@
|
|
|
3436
3438
|
return "Suspense";
|
|
3437
3439
|
case REACT_SUSPENSE_LIST_TYPE:
|
|
3438
3440
|
return "SuspenseList";
|
|
3441
|
+
case REACT_VIEW_TRANSITION_TYPE:
|
|
3442
|
+
return "ViewTransition";
|
|
3439
3443
|
}
|
|
3440
3444
|
if ("object" === typeof type)
|
|
3441
3445
|
switch (
|
|
@@ -8470,6 +8474,8 @@
|
|
|
8470
8474
|
return describeBuiltInComponentFrame("SuspenseList");
|
|
8471
8475
|
case REACT_SUSPENSE_TYPE:
|
|
8472
8476
|
return describeBuiltInComponentFrame("Suspense");
|
|
8477
|
+
case REACT_VIEW_TRANSITION_TYPE:
|
|
8478
|
+
return describeBuiltInComponentFrame("ViewTransition");
|
|
8473
8479
|
}
|
|
8474
8480
|
return "";
|
|
8475
8481
|
}
|
|
@@ -9512,6 +9518,12 @@
|
|
|
9512
9518
|
renderNodeDestructive(request, task, props.children, -1);
|
|
9513
9519
|
task.keyPath = _prevKeyPath3;
|
|
9514
9520
|
return;
|
|
9521
|
+
case REACT_VIEW_TRANSITION_TYPE:
|
|
9522
|
+
var _prevKeyPath4 = task.keyPath;
|
|
9523
|
+
task.keyPath = keyPath;
|
|
9524
|
+
renderNodeDestructive(request, task, props.children, -1);
|
|
9525
|
+
task.keyPath = _prevKeyPath4;
|
|
9526
|
+
return;
|
|
9515
9527
|
case REACT_SCOPE_TYPE:
|
|
9516
9528
|
throw Error(
|
|
9517
9529
|
"ReactDOMServer does not yet support scope components."
|
|
@@ -11907,6 +11919,7 @@
|
|
|
11907
11919
|
REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"),
|
|
11908
11920
|
REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"),
|
|
11909
11921
|
REACT_POSTPONE_TYPE = Symbol.for("react.postpone"),
|
|
11922
|
+
REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
|
|
11910
11923
|
MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
|
|
11911
11924
|
ASYNC_ITERATOR = Symbol.asyncIterator,
|
|
11912
11925
|
SuspenseException$1 = Error(
|
|
@@ -12968,9 +12981,6 @@
|
|
|
12968
12981
|
var didWarnAboutInvalidateContextType = new Set();
|
|
12969
12982
|
var didWarnOnInvalidCallback = new Set();
|
|
12970
12983
|
var classComponentUpdater = {
|
|
12971
|
-
isMounted: function () {
|
|
12972
|
-
return !1;
|
|
12973
|
-
},
|
|
12974
12984
|
enqueueSetState: function (inst, payload, callback) {
|
|
12975
12985
|
var internals = inst._reactInternals;
|
|
12976
12986
|
null === internals.queue
|
|
@@ -13344,5 +13354,5 @@
|
|
|
13344
13354
|
});
|
|
13345
13355
|
});
|
|
13346
13356
|
};
|
|
13347
|
-
exports.version = "19.1.0-experimental-
|
|
13357
|
+
exports.version = "19.1.0-experimental-74ea0c73-20250109";
|
|
13348
13358
|
})();
|
|
@@ -122,6 +122,7 @@ var CLIENT_REFERENCE_TAG$1 = Symbol.for("react.client.reference"),
|
|
|
122
122
|
REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"),
|
|
123
123
|
REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"),
|
|
124
124
|
REACT_POSTPONE_TYPE = Symbol.for("react.postpone"),
|
|
125
|
+
REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
|
|
125
126
|
MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
|
|
126
127
|
function getIteratorFn(maybeIterable) {
|
|
127
128
|
if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
|
|
@@ -469,6 +470,8 @@ function describeElementType(type) {
|
|
|
469
470
|
return "Suspense";
|
|
470
471
|
case REACT_SUSPENSE_LIST_TYPE:
|
|
471
472
|
return "SuspenseList";
|
|
473
|
+
case REACT_VIEW_TRANSITION_TYPE:
|
|
474
|
+
return "ViewTransition";
|
|
472
475
|
}
|
|
473
476
|
if ("object" === typeof type)
|
|
474
477
|
switch (type.$$typeof) {
|
|
@@ -2291,6 +2294,8 @@ function getComponentNameFromType(type) {
|
|
|
2291
2294
|
return "Suspense";
|
|
2292
2295
|
case REACT_SUSPENSE_LIST_TYPE:
|
|
2293
2296
|
return "SuspenseList";
|
|
2297
|
+
case REACT_VIEW_TRANSITION_TYPE:
|
|
2298
|
+
return "ViewTransition";
|
|
2294
2299
|
}
|
|
2295
2300
|
if ("object" === typeof type)
|
|
2296
2301
|
switch (type.$$typeof) {
|
|
@@ -5493,9 +5498,6 @@ function switchContext(newSnapshot) {
|
|
|
5493
5498
|
(currentActiveSnapshot = newSnapshot));
|
|
5494
5499
|
}
|
|
5495
5500
|
var classComponentUpdater = {
|
|
5496
|
-
isMounted: function () {
|
|
5497
|
-
return !1;
|
|
5498
|
-
},
|
|
5499
5501
|
enqueueSetState: function (inst, payload) {
|
|
5500
5502
|
inst = inst._reactInternals;
|
|
5501
5503
|
null !== inst.queue && inst.queue.push(payload);
|
|
@@ -5885,6 +5887,8 @@ function describeComponentStackByType(type) {
|
|
|
5885
5887
|
return describeBuiltInComponentFrame("SuspenseList");
|
|
5886
5888
|
case REACT_SUSPENSE_TYPE:
|
|
5887
5889
|
return describeBuiltInComponentFrame("Suspense");
|
|
5890
|
+
case REACT_VIEW_TRANSITION_TYPE:
|
|
5891
|
+
return describeBuiltInComponentFrame("ViewTransition");
|
|
5888
5892
|
}
|
|
5889
5893
|
return "";
|
|
5890
5894
|
}
|
|
@@ -6466,6 +6470,12 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
6466
6470
|
renderNodeDestructive(request, task, props.children, -1);
|
|
6467
6471
|
task.keyPath = type;
|
|
6468
6472
|
return;
|
|
6473
|
+
case REACT_VIEW_TRANSITION_TYPE:
|
|
6474
|
+
type = task.keyPath;
|
|
6475
|
+
task.keyPath = keyPath;
|
|
6476
|
+
renderNodeDestructive(request, task, props.children, -1);
|
|
6477
|
+
task.keyPath = type;
|
|
6478
|
+
return;
|
|
6469
6479
|
case REACT_SCOPE_TYPE:
|
|
6470
6480
|
throw Error("ReactDOMServer does not yet support scope components.");
|
|
6471
6481
|
case REACT_SUSPENSE_TYPE:
|
|
@@ -7100,9 +7110,9 @@ function trackPostpone(request, trackedPostpones, task, segment) {
|
|
|
7100
7110
|
addToReplayParent(segment, boundaryKeyPath[0], trackedPostpones);
|
|
7101
7111
|
return;
|
|
7102
7112
|
}
|
|
7103
|
-
var boundaryNode$
|
|
7104
|
-
void 0 === boundaryNode$
|
|
7105
|
-
? ((boundaryNode$
|
|
7113
|
+
var boundaryNode$96 = trackedPostpones.workingMap.get(boundaryKeyPath);
|
|
7114
|
+
void 0 === boundaryNode$96
|
|
7115
|
+
? ((boundaryNode$96 = [
|
|
7106
7116
|
boundaryKeyPath[1],
|
|
7107
7117
|
boundaryKeyPath[2],
|
|
7108
7118
|
children,
|
|
@@ -7110,13 +7120,13 @@ function trackPostpone(request, trackedPostpones, task, segment) {
|
|
|
7110
7120
|
fallbackReplayNode,
|
|
7111
7121
|
boundary.rootSegmentID
|
|
7112
7122
|
]),
|
|
7113
|
-
trackedPostpones.workingMap.set(boundaryKeyPath, boundaryNode$
|
|
7123
|
+
trackedPostpones.workingMap.set(boundaryKeyPath, boundaryNode$96),
|
|
7114
7124
|
addToReplayParent(
|
|
7115
|
-
boundaryNode$
|
|
7125
|
+
boundaryNode$96,
|
|
7116
7126
|
boundaryKeyPath[0],
|
|
7117
7127
|
trackedPostpones
|
|
7118
7128
|
))
|
|
7119
|
-
: ((boundaryKeyPath = boundaryNode$
|
|
7129
|
+
: ((boundaryKeyPath = boundaryNode$96),
|
|
7120
7130
|
(boundaryKeyPath[4] = fallbackReplayNode),
|
|
7121
7131
|
(boundaryKeyPath[5] = boundary.rootSegmentID));
|
|
7122
7132
|
}
|
|
@@ -7269,15 +7279,15 @@ function renderNode(request, task, node, childIndex) {
|
|
|
7269
7279
|
chunkLength = segment.chunks.length;
|
|
7270
7280
|
try {
|
|
7271
7281
|
return renderNodeDestructive(request, task, node, childIndex);
|
|
7272
|
-
} catch (thrownValue$
|
|
7282
|
+
} catch (thrownValue$108) {
|
|
7273
7283
|
if (
|
|
7274
7284
|
(resetHooksState(),
|
|
7275
7285
|
(segment.children.length = childrenLength),
|
|
7276
7286
|
(segment.chunks.length = chunkLength),
|
|
7277
7287
|
(childIndex =
|
|
7278
|
-
thrownValue$
|
|
7288
|
+
thrownValue$108 === SuspenseException
|
|
7279
7289
|
? getSuspendedThenable()
|
|
7280
|
-
: thrownValue$
|
|
7290
|
+
: thrownValue$108),
|
|
7281
7291
|
"object" === typeof childIndex && null !== childIndex)
|
|
7282
7292
|
) {
|
|
7283
7293
|
if ("function" === typeof childIndex.then) {
|
|
@@ -7473,16 +7483,16 @@ function abortTask(task, request, error) {
|
|
|
7473
7483
|
}
|
|
7474
7484
|
} else {
|
|
7475
7485
|
boundary.pendingTasks--;
|
|
7476
|
-
var trackedPostpones$
|
|
7486
|
+
var trackedPostpones$111 = request.trackedPostpones;
|
|
7477
7487
|
if (4 !== boundary.status) {
|
|
7478
|
-
if (null !== trackedPostpones$
|
|
7488
|
+
if (null !== trackedPostpones$111 && null !== segment)
|
|
7479
7489
|
return (
|
|
7480
7490
|
"object" === typeof error &&
|
|
7481
7491
|
null !== error &&
|
|
7482
7492
|
error.$$typeof === REACT_POSTPONE_TYPE
|
|
7483
7493
|
? logPostpone(request, error.message, errorInfo)
|
|
7484
7494
|
: logRecoverableError(request, error, errorInfo),
|
|
7485
|
-
trackPostpone(request, trackedPostpones$
|
|
7495
|
+
trackPostpone(request, trackedPostpones$111, task, segment),
|
|
7486
7496
|
boundary.fallbackAbortableTasks.forEach(function (fallbackTask) {
|
|
7487
7497
|
return abortTask(fallbackTask, request, error);
|
|
7488
7498
|
}),
|
|
@@ -7780,13 +7790,13 @@ function performWork(request$jscomp$1) {
|
|
|
7780
7790
|
null !== request.trackedPostpones &&
|
|
7781
7791
|
x$jscomp$0.$$typeof === REACT_POSTPONE_TYPE
|
|
7782
7792
|
) {
|
|
7783
|
-
var trackedPostpones$
|
|
7793
|
+
var trackedPostpones$115 = request.trackedPostpones;
|
|
7784
7794
|
task.abortSet.delete(task);
|
|
7785
7795
|
var postponeInfo = getThrownInfo(task.componentStack);
|
|
7786
7796
|
logPostpone(request, x$jscomp$0.message, postponeInfo);
|
|
7787
7797
|
trackPostpone(
|
|
7788
7798
|
request,
|
|
7789
|
-
trackedPostpones$
|
|
7799
|
+
trackedPostpones$115,
|
|
7790
7800
|
task,
|
|
7791
7801
|
segment$jscomp$0
|
|
7792
7802
|
);
|
|
@@ -8218,11 +8228,11 @@ function flushCompletedQueues(request, destination) {
|
|
|
8218
8228
|
completedBoundaries.splice(0, i);
|
|
8219
8229
|
var partialBoundaries = request.partialBoundaries;
|
|
8220
8230
|
for (i = 0; i < partialBoundaries.length; i++) {
|
|
8221
|
-
var boundary$
|
|
8231
|
+
var boundary$118 = partialBoundaries[i];
|
|
8222
8232
|
a: {
|
|
8223
8233
|
clientRenderedBoundaries = request;
|
|
8224
8234
|
boundary = destination;
|
|
8225
|
-
var completedSegments = boundary$
|
|
8235
|
+
var completedSegments = boundary$118.completedSegments;
|
|
8226
8236
|
for (
|
|
8227
8237
|
JSCompiler_inline_result = 0;
|
|
8228
8238
|
JSCompiler_inline_result < completedSegments.length;
|
|
@@ -8232,7 +8242,7 @@ function flushCompletedQueues(request, destination) {
|
|
|
8232
8242
|
!flushPartiallyCompletedSegment(
|
|
8233
8243
|
clientRenderedBoundaries,
|
|
8234
8244
|
boundary,
|
|
8235
|
-
boundary$
|
|
8245
|
+
boundary$118,
|
|
8236
8246
|
completedSegments[JSCompiler_inline_result]
|
|
8237
8247
|
)
|
|
8238
8248
|
) {
|
|
@@ -8244,7 +8254,7 @@ function flushCompletedQueues(request, destination) {
|
|
|
8244
8254
|
completedSegments.splice(0, JSCompiler_inline_result);
|
|
8245
8255
|
JSCompiler_inline_result$jscomp$0 = writeHoistablesForBoundary(
|
|
8246
8256
|
boundary,
|
|
8247
|
-
boundary$
|
|
8257
|
+
boundary$118.contentState,
|
|
8248
8258
|
clientRenderedBoundaries.renderState
|
|
8249
8259
|
);
|
|
8250
8260
|
}
|
|
@@ -8316,8 +8326,8 @@ function abort(request, reason) {
|
|
|
8316
8326
|
}
|
|
8317
8327
|
null !== request.destination &&
|
|
8318
8328
|
flushCompletedQueues(request, request.destination);
|
|
8319
|
-
} catch (error$
|
|
8320
|
-
logRecoverableError(request, error$
|
|
8329
|
+
} catch (error$120) {
|
|
8330
|
+
logRecoverableError(request, error$120, {}), fatalError(request, error$120);
|
|
8321
8331
|
}
|
|
8322
8332
|
}
|
|
8323
8333
|
function addToReplayParent(node, parentKeyPath, trackedPostpones) {
|
|
@@ -8628,4 +8638,4 @@ exports.experimental_renderToHTML = function (children, options) {
|
|
|
8628
8638
|
});
|
|
8629
8639
|
});
|
|
8630
8640
|
};
|
|
8631
|
-
exports.version = "19.1.0-experimental-
|
|
8641
|
+
exports.version = "19.1.0-experimental-74ea0c73-20250109";
|
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-74ea0c73-20250109",
|
|
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-74ea0c73-20250109"
|
|
21
21
|
},
|
|
22
22
|
"files": [
|
|
23
23
|
"LICENSE",
|