react-markup 0.0.0-experimental-280ff6fe-20250606 → 0.0.0-experimental-56408a5b-20250610
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.
|
@@ -8273,7 +8273,7 @@
|
|
|
8273
8273
|
Error(
|
|
8274
8274
|
"This rendered a large document (>" +
|
|
8275
8275
|
Math.round(blockingRenderMaxSize / 1e3) +
|
|
8276
|
-
") without any Suspense boundaries around most of it. That can delay initial paint longer than necessary. To improve load performance, add a <Suspense> or <SuspenseList> around the content you expect to be below the header or below the fold. In the meantime, the content will deopt to paint arbitrary incomplete pieces of HTML."
|
|
8276
|
+
" kB) without any Suspense boundaries around most of it. That can delay initial paint longer than necessary. To improve load performance, add a <Suspense> or <SuspenseList> around the content you expect to be below the header or below the fold. In the meantime, the content will deopt to paint arbitrary incomplete pieces of HTML."
|
|
8277
8277
|
),
|
|
8278
8278
|
{},
|
|
8279
8279
|
null
|
|
@@ -9710,5 +9710,5 @@
|
|
|
9710
9710
|
});
|
|
9711
9711
|
});
|
|
9712
9712
|
};
|
|
9713
|
-
exports.version = "19.2.0-experimental-
|
|
9713
|
+
exports.version = "19.2.0-experimental-56408a5b-20250610";
|
|
9714
9714
|
})();
|
|
@@ -6355,7 +6355,7 @@ function flushCompletedQueues(request, destination) {
|
|
|
6355
6355
|
Error(
|
|
6356
6356
|
"This rendered a large document (>" +
|
|
6357
6357
|
Math.round(blockingRenderMaxSize / 1e3) +
|
|
6358
|
-
") without any Suspense boundaries around most of it. That can delay initial paint longer than necessary. To improve load performance, add a <Suspense> or <SuspenseList> around the content you expect to be below the header or below the fold. In the meantime, the content will deopt to paint arbitrary incomplete pieces of HTML."
|
|
6358
|
+
" kB) without any Suspense boundaries around most of it. That can delay initial paint longer than necessary. To improve load performance, add a <Suspense> or <SuspenseList> around the content you expect to be below the header or below the fold. In the meantime, the content will deopt to paint arbitrary incomplete pieces of HTML."
|
|
6359
6359
|
),
|
|
6360
6360
|
{},
|
|
6361
6361
|
null
|
|
@@ -6723,4 +6723,4 @@ exports.experimental_renderToHTML = function (children, options) {
|
|
|
6723
6723
|
});
|
|
6724
6724
|
});
|
|
6725
6725
|
};
|
|
6726
|
-
exports.version = "19.2.0-experimental-
|
|
6726
|
+
exports.version = "19.2.0-experimental-56408a5b-20250610";
|
|
@@ -991,17 +991,22 @@
|
|
|
991
991
|
task.debugStack,
|
|
992
992
|
task.debugTask
|
|
993
993
|
);
|
|
994
|
-
(task = thenable._debugInfo) &&
|
|
995
|
-
forwardDebugInfo(request, newTask.id, task);
|
|
996
994
|
switch (thenable.status) {
|
|
997
995
|
case "fulfilled":
|
|
998
996
|
return (
|
|
997
|
+
(task = thenable._debugInfo) &&
|
|
998
|
+
forwardDebugInfo(request, newTask, task),
|
|
999
999
|
(newTask.model = thenable.value),
|
|
1000
1000
|
pingTask$1(request, newTask),
|
|
1001
1001
|
newTask.id
|
|
1002
1002
|
);
|
|
1003
1003
|
case "rejected":
|
|
1004
|
-
return
|
|
1004
|
+
return (
|
|
1005
|
+
(task = thenable._debugInfo) &&
|
|
1006
|
+
forwardDebugInfo(request, newTask, task),
|
|
1007
|
+
erroredTask$1(request, newTask, thenable.reason),
|
|
1008
|
+
newTask.id
|
|
1009
|
+
);
|
|
1005
1010
|
default:
|
|
1006
1011
|
if (request.status === ABORTING$1)
|
|
1007
1012
|
return (
|
|
@@ -1029,15 +1034,20 @@
|
|
|
1029
1034
|
}
|
|
1030
1035
|
thenable.then(
|
|
1031
1036
|
function (value) {
|
|
1037
|
+
var _debugInfo2 = thenable._debugInfo;
|
|
1038
|
+
_debugInfo2 && forwardDebugInfo(request, newTask, _debugInfo2);
|
|
1032
1039
|
newTask.model = value;
|
|
1033
1040
|
pingTask$1(request, newTask);
|
|
1034
1041
|
},
|
|
1035
1042
|
function (reason) {
|
|
1043
|
+
var _debugInfo3 = thenable._debugInfo;
|
|
1044
|
+
_debugInfo3 && forwardDebugInfo(request, newTask, _debugInfo3);
|
|
1036
1045
|
newTask.status === PENDING$3 &&
|
|
1037
|
-
(
|
|
1046
|
+
((newTask.timed = !0),
|
|
1047
|
+
erroredTask$1(request, newTask, reason),
|
|
1048
|
+
enqueueFlush(request));
|
|
1038
1049
|
}
|
|
1039
1050
|
);
|
|
1040
|
-
newTask.timed = !0;
|
|
1041
1051
|
return newTask.id;
|
|
1042
1052
|
}
|
|
1043
1053
|
function serializeReadableStream(request, task, stream) {
|
|
@@ -1179,7 +1189,7 @@
|
|
|
1179
1189
|
task = streamTask.id.toString(16) + ":" + (isIterator ? "x" : "X") + "\n";
|
|
1180
1190
|
request.completedRegularChunks.push(task);
|
|
1181
1191
|
(iterable = iterable._debugInfo) &&
|
|
1182
|
-
forwardDebugInfo(request, streamTask
|
|
1192
|
+
forwardDebugInfo(request, streamTask, iterable);
|
|
1183
1193
|
var aborted = !1;
|
|
1184
1194
|
request.abortListeners.add(abortIterable);
|
|
1185
1195
|
callIteratorInDEV(iterator, progress, error);
|
|
@@ -1313,39 +1323,45 @@
|
|
|
1313
1323
|
) {
|
|
1314
1324
|
var prevThenableState = task.thenableState;
|
|
1315
1325
|
task.thenableState = null;
|
|
1316
|
-
if (
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1326
|
+
if (canEmitDebugInfo)
|
|
1327
|
+
if (null !== prevThenableState)
|
|
1328
|
+
var componentDebugInfo = prevThenableState._componentDebugInfo;
|
|
1329
|
+
else {
|
|
1330
|
+
var componentDebugID = task.id;
|
|
1331
|
+
componentDebugInfo = Component.displayName || Component.name || "";
|
|
1332
|
+
var componentEnv = (0, request.environmentName)();
|
|
1333
|
+
request.pendingChunks++;
|
|
1334
|
+
componentDebugInfo = {
|
|
1335
|
+
name: componentDebugInfo,
|
|
1336
|
+
env: componentEnv,
|
|
1337
|
+
key: key,
|
|
1338
|
+
owner: task.debugOwner
|
|
1339
|
+
};
|
|
1340
|
+
componentDebugInfo.stack =
|
|
1341
|
+
null === task.debugStack
|
|
1342
|
+
? null
|
|
1343
|
+
: filterStackTrace(request, parseStackTrace(task.debugStack, 1));
|
|
1344
|
+
componentDebugInfo.props = props;
|
|
1345
|
+
componentDebugInfo.debugStack = task.debugStack;
|
|
1346
|
+
componentDebugInfo.debugTask = task.debugTask;
|
|
1347
|
+
outlineComponentInfo(request, componentDebugInfo);
|
|
1348
|
+
var timestamp = performance.now();
|
|
1349
|
+
timestamp > task.time
|
|
1350
|
+
? (emitTimingChunk(request, task.id, timestamp),
|
|
1351
|
+
(task.time = timestamp))
|
|
1352
|
+
: task.timed || emitTimingChunk(request, task.id, task.time);
|
|
1353
|
+
task.timed = !0;
|
|
1354
|
+
emitDebugChunk(request, componentDebugID, componentDebugInfo);
|
|
1355
|
+
task.environmentName = componentEnv;
|
|
1356
|
+
2 === validated &&
|
|
1357
|
+
warnForMissingKey$1(
|
|
1358
|
+
request,
|
|
1359
|
+
key,
|
|
1360
|
+
componentDebugInfo,
|
|
1361
|
+
task.debugTask
|
|
1362
|
+
);
|
|
1363
|
+
}
|
|
1364
|
+
else return outlineTask(request, task);
|
|
1349
1365
|
thenableIndexCounter$1 = 0;
|
|
1350
1366
|
thenableState$1 = prevThenableState;
|
|
1351
1367
|
currentComponentDebugInfo = componentDebugInfo;
|
|
@@ -1434,8 +1450,8 @@
|
|
|
1434
1450
|
task.implicitSlot ? [request] : request
|
|
1435
1451
|
);
|
|
1436
1452
|
if ((i = children._debugInfo)) {
|
|
1437
|
-
if (
|
|
1438
|
-
|
|
1453
|
+
if (canEmitDebugInfo) forwardDebugInfo(request, task, i);
|
|
1454
|
+
else return outlineTask(request, task);
|
|
1439
1455
|
children = Array.from(children);
|
|
1440
1456
|
}
|
|
1441
1457
|
return children;
|
|
@@ -1885,10 +1901,10 @@
|
|
|
1885
1901
|
_writtenObjects.set(value, elementReference)));
|
|
1886
1902
|
}
|
|
1887
1903
|
if (serializedSize > MAX_ROW_SIZE) return deferTask(request, task);
|
|
1888
|
-
if ((_existingReference = value._debugInfo))
|
|
1889
|
-
if (
|
|
1890
|
-
|
|
1891
|
-
|
|
1904
|
+
if ((_existingReference = value._debugInfo))
|
|
1905
|
+
if (canEmitDebugInfo)
|
|
1906
|
+
forwardDebugInfo(request, task, _existingReference);
|
|
1907
|
+
else return outlineTask(request, task);
|
|
1892
1908
|
_existingReference = value.props;
|
|
1893
1909
|
var refProp = _existingReference.ref;
|
|
1894
1910
|
task.debugOwner = value._owner;
|
|
@@ -1914,10 +1930,10 @@
|
|
|
1914
1930
|
task.thenableState = null;
|
|
1915
1931
|
elementReference = callLazyInitInDEV$1(value);
|
|
1916
1932
|
if (request.status === ABORTING$1) throw null;
|
|
1917
|
-
if ((_writtenObjects = value._debugInfo))
|
|
1918
|
-
if (
|
|
1919
|
-
|
|
1920
|
-
|
|
1933
|
+
if ((_writtenObjects = value._debugInfo))
|
|
1934
|
+
if (canEmitDebugInfo)
|
|
1935
|
+
forwardDebugInfo(request, task, _writtenObjects);
|
|
1936
|
+
else return outlineTask(request, task);
|
|
1921
1937
|
return renderModelDestructive(
|
|
1922
1938
|
request,
|
|
1923
1939
|
task,
|
|
@@ -2317,11 +2333,19 @@
|
|
|
2317
2333
|
objectLimit = { objectLimit: objectLimit };
|
|
2318
2334
|
var componentDebugInfo = {
|
|
2319
2335
|
name: componentInfo.name,
|
|
2320
|
-
|
|
2321
|
-
key: componentInfo.key,
|
|
2322
|
-
owner: componentInfo.owner
|
|
2336
|
+
key: componentInfo.key
|
|
2323
2337
|
};
|
|
2324
|
-
|
|
2338
|
+
null != componentInfo.env &&
|
|
2339
|
+
(componentDebugInfo.env = componentInfo.env);
|
|
2340
|
+
null != componentInfo.owner &&
|
|
2341
|
+
(componentDebugInfo.owner = componentInfo.owner);
|
|
2342
|
+
null == componentInfo.stack && null != componentInfo.debugStack
|
|
2343
|
+
? (componentDebugInfo.stack = filterStackTrace(
|
|
2344
|
+
request,
|
|
2345
|
+
parseStackTrace(componentInfo.debugStack, 1)
|
|
2346
|
+
))
|
|
2347
|
+
: null != componentInfo.stack &&
|
|
2348
|
+
(componentDebugInfo.stack = componentInfo.stack);
|
|
2325
2349
|
componentDebugInfo.props = componentInfo.props;
|
|
2326
2350
|
objectLimit = outlineConsoleValue(
|
|
2327
2351
|
request,
|
|
@@ -2645,47 +2669,66 @@
|
|
|
2645
2669
|
request.pendingChunks++;
|
|
2646
2670
|
request.completedRegularChunks.push(":N" + timeOrigin + "\n");
|
|
2647
2671
|
}
|
|
2648
|
-
function forwardDebugInfo(request$jscomp$0,
|
|
2649
|
-
for (var i = 0; i < debugInfo.length; i++)
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
|
|
2672
|
+
function forwardDebugInfo(request$jscomp$0, task, debugInfo) {
|
|
2673
|
+
for (var id = task.id, i = 0; i < debugInfo.length; i++) {
|
|
2674
|
+
var info = debugInfo[i];
|
|
2675
|
+
if ("number" === typeof info.time)
|
|
2676
|
+
markOperationEndTime(request$jscomp$0, task, info.time);
|
|
2677
|
+
else if ("string" === typeof info.name)
|
|
2678
|
+
outlineComponentInfo(request$jscomp$0, info),
|
|
2679
|
+
request$jscomp$0.pendingChunks++,
|
|
2680
|
+
emitDebugChunk(request$jscomp$0, id, info);
|
|
2681
|
+
else if (info.awaited) {
|
|
2682
|
+
var ioInfo = info.awaited;
|
|
2683
|
+
if (!(ioInfo.end <= request$jscomp$0.timeOrigin)) {
|
|
2684
|
+
var request = request$jscomp$0,
|
|
2685
|
+
ioInfo$jscomp$0 = ioInfo;
|
|
2686
|
+
if (!request.writtenObjects.has(ioInfo$jscomp$0)) {
|
|
2687
|
+
request.pendingChunks++;
|
|
2688
|
+
var id$jscomp$0 = request.nextChunkId++,
|
|
2689
|
+
owner = ioInfo$jscomp$0.owner;
|
|
2690
|
+
null != owner && outlineComponentInfo(request, owner);
|
|
2691
|
+
var debugStack =
|
|
2692
|
+
null == ioInfo$jscomp$0.stack &&
|
|
2693
|
+
null != ioInfo$jscomp$0.debugStack
|
|
2694
|
+
? filterStackTrace(
|
|
2695
|
+
request,
|
|
2696
|
+
parseStackTrace(ioInfo$jscomp$0.debugStack, 1)
|
|
2697
|
+
)
|
|
2698
|
+
: ioInfo$jscomp$0.stack;
|
|
2699
|
+
emitIOInfoChunk(
|
|
2700
|
+
request,
|
|
2701
|
+
id$jscomp$0,
|
|
2702
|
+
ioInfo$jscomp$0.name,
|
|
2703
|
+
ioInfo$jscomp$0.start,
|
|
2704
|
+
ioInfo$jscomp$0.end,
|
|
2705
|
+
ioInfo$jscomp$0.env,
|
|
2706
|
+
owner,
|
|
2707
|
+
debugStack
|
|
2708
|
+
);
|
|
2709
|
+
request.writtenObjects.set(
|
|
2710
|
+
ioInfo$jscomp$0,
|
|
2711
|
+
serializeByValueID$1(id$jscomp$0)
|
|
2712
|
+
);
|
|
2713
|
+
}
|
|
2714
|
+
debugStack =
|
|
2715
|
+
null == info.stack && null != info.debugStack
|
|
2716
|
+
? filterStackTrace(
|
|
2717
|
+
request$jscomp$0,
|
|
2718
|
+
parseStackTrace(info.debugStack, 1)
|
|
2719
|
+
)
|
|
2720
|
+
: info.stack;
|
|
2721
|
+
ioInfo = { awaited: ioInfo };
|
|
2722
|
+
null != info.env && (ioInfo.env = info.env);
|
|
2723
|
+
null != info.owner && (ioInfo.owner = info.owner);
|
|
2724
|
+
null != debugStack && (ioInfo.stack = debugStack);
|
|
2725
|
+
request$jscomp$0.pendingChunks++;
|
|
2726
|
+
emitDebugChunk(request$jscomp$0, id, ioInfo);
|
|
2681
2727
|
}
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
stack: debugInfo[i].stack
|
|
2687
|
-
});
|
|
2688
|
-
} else emitDebugChunk(request$jscomp$0, id$jscomp$0, debugInfo[i]);
|
|
2728
|
+
} else
|
|
2729
|
+
request$jscomp$0.pendingChunks++,
|
|
2730
|
+
emitDebugChunk(request$jscomp$0, id, info);
|
|
2731
|
+
}
|
|
2689
2732
|
}
|
|
2690
2733
|
function emitTimingChunk(request, id, timestamp) {
|
|
2691
2734
|
request.pendingChunks++;
|
|
@@ -2693,6 +2736,12 @@
|
|
|
2693
2736
|
id = id.toString(16) + ':D{"time":' + timestamp + "}\n";
|
|
2694
2737
|
request.completedRegularChunks.push(id);
|
|
2695
2738
|
}
|
|
2739
|
+
function markOperationEndTime(request, task, timestamp) {
|
|
2740
|
+
timestamp > task.time
|
|
2741
|
+
? (emitTimingChunk(request, task.id, timestamp),
|
|
2742
|
+
(task.time = timestamp))
|
|
2743
|
+
: emitTimingChunk(request, task.id, task.time);
|
|
2744
|
+
}
|
|
2696
2745
|
function emitChunk(request, task, value) {
|
|
2697
2746
|
var id = task.id;
|
|
2698
2747
|
value instanceof ArrayBuffer
|
|
@@ -2725,8 +2774,7 @@
|
|
|
2725
2774
|
emitModelChunk(request, task.id, value));
|
|
2726
2775
|
}
|
|
2727
2776
|
function erroredTask$1(request, task, error) {
|
|
2728
|
-
task.timed &&
|
|
2729
|
-
emitTimingChunk(request, task.id, (task.time = performance.now()));
|
|
2777
|
+
task.timed && markOperationEndTime(request, task, performance.now());
|
|
2730
2778
|
task.status = ERRORED$2;
|
|
2731
2779
|
if (
|
|
2732
2780
|
"object" === typeof error &&
|
|
@@ -2744,12 +2792,12 @@
|
|
|
2744
2792
|
}
|
|
2745
2793
|
function retryTask$1(request, task) {
|
|
2746
2794
|
if (task.status === PENDING$3) {
|
|
2747
|
-
var
|
|
2795
|
+
var prevCanEmitDebugInfo = canEmitDebugInfo;
|
|
2748
2796
|
task.status = RENDERING$1;
|
|
2749
2797
|
var parentSerializedSize = serializedSize;
|
|
2750
2798
|
try {
|
|
2751
2799
|
modelRoot = task.model;
|
|
2752
|
-
|
|
2800
|
+
canEmitDebugInfo = !0;
|
|
2753
2801
|
var resolvedModel = renderModelDestructive(
|
|
2754
2802
|
request,
|
|
2755
2803
|
task,
|
|
@@ -2757,7 +2805,7 @@
|
|
|
2757
2805
|
"",
|
|
2758
2806
|
task.model
|
|
2759
2807
|
);
|
|
2760
|
-
|
|
2808
|
+
canEmitDebugInfo = !1;
|
|
2761
2809
|
modelRoot = resolvedModel;
|
|
2762
2810
|
task.keyPath = null;
|
|
2763
2811
|
task.implicitSlot = !1;
|
|
@@ -2765,8 +2813,7 @@
|
|
|
2765
2813
|
currentEnv !== task.environmentName &&
|
|
2766
2814
|
(request.pendingChunks++,
|
|
2767
2815
|
emitDebugChunk(request, task.id, { env: currentEnv }));
|
|
2768
|
-
task.timed &&
|
|
2769
|
-
emitTimingChunk(request, task.id, (task.time = performance.now()));
|
|
2816
|
+
task.timed && markOperationEndTime(request, task, performance.now());
|
|
2770
2817
|
if ("object" === typeof resolvedModel && null !== resolvedModel)
|
|
2771
2818
|
request.writtenObjects.set(
|
|
2772
2819
|
resolvedModel,
|
|
@@ -2809,18 +2856,20 @@
|
|
|
2809
2856
|
} else erroredTask$1(request, task, x);
|
|
2810
2857
|
}
|
|
2811
2858
|
} finally {
|
|
2812
|
-
(
|
|
2859
|
+
(canEmitDebugInfo = prevCanEmitDebugInfo),
|
|
2860
|
+
(serializedSize = parentSerializedSize);
|
|
2813
2861
|
}
|
|
2814
2862
|
}
|
|
2815
2863
|
}
|
|
2816
2864
|
function tryStreamTask(request, task) {
|
|
2817
|
-
var
|
|
2818
|
-
|
|
2865
|
+
var prevCanEmitDebugInfo = canEmitDebugInfo;
|
|
2866
|
+
canEmitDebugInfo = !1;
|
|
2819
2867
|
var parentSerializedSize = serializedSize;
|
|
2820
2868
|
try {
|
|
2821
2869
|
emitChunk(request, task, task.model);
|
|
2822
2870
|
} finally {
|
|
2823
|
-
(serializedSize = parentSerializedSize),
|
|
2871
|
+
(serializedSize = parentSerializedSize),
|
|
2872
|
+
(canEmitDebugInfo = prevCanEmitDebugInfo);
|
|
2824
2873
|
}
|
|
2825
2874
|
}
|
|
2826
2875
|
function performWork$1(request) {
|
|
@@ -2847,8 +2896,7 @@
|
|
|
2847
2896
|
function abortTask$1(task, request, errorId) {
|
|
2848
2897
|
task.status !== RENDERING$1 &&
|
|
2849
2898
|
((task.status = ABORTED$1),
|
|
2850
|
-
task.timed &&
|
|
2851
|
-
emitTimingChunk(request, task.id, (task.time = performance.now())),
|
|
2899
|
+
task.timed && markOperationEndTime(request, task, performance.now()),
|
|
2852
2900
|
(errorId = serializeByValueID$1(errorId)),
|
|
2853
2901
|
(task = encodeReferenceChunk(request, task.id, errorId)),
|
|
2854
2902
|
request.completedErrorChunks.push(task));
|
|
@@ -4771,66 +4819,46 @@
|
|
|
4771
4819
|
: rootTask
|
|
4772
4820
|
: null;
|
|
4773
4821
|
}
|
|
4774
|
-
function initializeFakeTask(response, debugInfo
|
|
4822
|
+
function initializeFakeTask(response, debugInfo) {
|
|
4775
4823
|
if (!supportsCreateTask || null == debugInfo.stack) return null;
|
|
4824
|
+
var cachedEntry = debugInfo.debugTask;
|
|
4825
|
+
if (void 0 !== cachedEntry) return cachedEntry;
|
|
4776
4826
|
var useEnclosingLine = void 0 === debugInfo.key,
|
|
4777
4827
|
stack = debugInfo.stack,
|
|
4778
4828
|
env =
|
|
4779
4829
|
null == debugInfo.env ? response._rootEnvironmentName : debugInfo.env;
|
|
4780
|
-
|
|
4781
|
-
|
|
4782
|
-
|
|
4783
|
-
|
|
4784
|
-
|
|
4785
|
-
: initializeFakeTask(response, debugInfo.owner, env)),
|
|
4786
|
-
buildFakeTask(
|
|
4787
|
-
response,
|
|
4788
|
-
debugInfo,
|
|
4789
|
-
stack,
|
|
4790
|
-
'"use ' + childEnvironmentName.toLowerCase() + '"',
|
|
4791
|
-
env,
|
|
4792
|
-
useEnclosingLine
|
|
4793
|
-
)
|
|
4794
|
-
);
|
|
4795
|
-
childEnvironmentName = debugInfo.debugTask;
|
|
4796
|
-
if (void 0 !== childEnvironmentName) return childEnvironmentName;
|
|
4797
|
-
childEnvironmentName =
|
|
4830
|
+
cachedEntry =
|
|
4831
|
+
null == debugInfo.owner || null == debugInfo.owner.env
|
|
4832
|
+
? response._rootEnvironmentName
|
|
4833
|
+
: debugInfo.owner.env;
|
|
4834
|
+
var ownerTask =
|
|
4798
4835
|
null == debugInfo.owner
|
|
4799
4836
|
? null
|
|
4800
|
-
: initializeFakeTask(response, debugInfo.owner
|
|
4801
|
-
|
|
4802
|
-
|
|
4803
|
-
|
|
4804
|
-
|
|
4805
|
-
|
|
4806
|
-
|
|
4807
|
-
|
|
4808
|
-
|
|
4809
|
-
|
|
4810
|
-
|
|
4811
|
-
useEnclosingLine
|
|
4812
|
-
));
|
|
4813
|
-
}
|
|
4814
|
-
function buildFakeTask(
|
|
4815
|
-
response,
|
|
4816
|
-
ownerTask,
|
|
4817
|
-
stack,
|
|
4818
|
-
taskName,
|
|
4819
|
-
env,
|
|
4820
|
-
useEnclosingLine
|
|
4821
|
-
) {
|
|
4822
|
-
taskName = console.createTask.bind(console, taskName);
|
|
4823
|
-
stack = buildFakeCallStack(
|
|
4837
|
+
: initializeFakeTask(response, debugInfo.owner);
|
|
4838
|
+
env =
|
|
4839
|
+
env !== cachedEntry
|
|
4840
|
+
? '"use ' + env.toLowerCase() + '"'
|
|
4841
|
+
: void 0 !== debugInfo.key
|
|
4842
|
+
? "<" + (debugInfo.name || "...") + ">"
|
|
4843
|
+
: void 0 !== debugInfo.name
|
|
4844
|
+
? debugInfo.name || "unknown"
|
|
4845
|
+
: "await " + (debugInfo.awaited.name || "unknown");
|
|
4846
|
+
env = console.createTask.bind(console, env);
|
|
4847
|
+
useEnclosingLine = buildFakeCallStack(
|
|
4824
4848
|
response,
|
|
4825
4849
|
stack,
|
|
4826
|
-
|
|
4850
|
+
cachedEntry,
|
|
4827
4851
|
useEnclosingLine,
|
|
4828
|
-
|
|
4852
|
+
env
|
|
4829
4853
|
);
|
|
4830
|
-
|
|
4831
|
-
? ((response = getRootTask(response,
|
|
4832
|
-
|
|
4833
|
-
|
|
4854
|
+
null === ownerTask
|
|
4855
|
+
? ((response = getRootTask(response, cachedEntry)),
|
|
4856
|
+
(response =
|
|
4857
|
+
null != response
|
|
4858
|
+
? response.run(useEnclosingLine)
|
|
4859
|
+
: useEnclosingLine()))
|
|
4860
|
+
: (response = ownerTask.run(useEnclosingLine));
|
|
4861
|
+
return (debugInfo.debugTask = response);
|
|
4834
4862
|
}
|
|
4835
4863
|
function fakeJSXCallSite() {
|
|
4836
4864
|
return Error("react-stack-top-frame");
|
|
@@ -4847,18 +4875,15 @@
|
|
|
4847
4875
|
initializeFakeStack(response, debugInfo.owner));
|
|
4848
4876
|
}
|
|
4849
4877
|
function resolveDebugInfo(response, id, debugInfo) {
|
|
4850
|
-
|
|
4851
|
-
|
|
4852
|
-
|
|
4853
|
-
|
|
4854
|
-
|
|
4855
|
-
|
|
4856
|
-
|
|
4857
|
-
|
|
4858
|
-
|
|
4859
|
-
(env.debugStack = response._debugRootStack))
|
|
4860
|
-
: void 0 !== debugInfo.stack &&
|
|
4861
|
-
initializeFakeStack(response, debugInfo);
|
|
4878
|
+
void 0 !== debugInfo.stack && initializeFakeTask(response, debugInfo);
|
|
4879
|
+
if (null == debugInfo.owner && null != response._debugRootOwner) {
|
|
4880
|
+
var _componentInfoOrAsyncInfo = debugInfo;
|
|
4881
|
+
_componentInfoOrAsyncInfo.owner = response._debugRootOwner;
|
|
4882
|
+
_componentInfoOrAsyncInfo.stack = null;
|
|
4883
|
+
_componentInfoOrAsyncInfo.debugStack = response._debugRootStack;
|
|
4884
|
+
_componentInfoOrAsyncInfo.debugTask = response._debugRootTask;
|
|
4885
|
+
} else
|
|
4886
|
+
void 0 !== debugInfo.stack && initializeFakeStack(response, debugInfo);
|
|
4862
4887
|
"number" === typeof debugInfo.time &&
|
|
4863
4888
|
(debugInfo = { time: debugInfo.time + response._timeOrigin });
|
|
4864
4889
|
response = getChunk(response, id);
|
|
@@ -4887,23 +4912,20 @@
|
|
|
4887
4912
|
}
|
|
4888
4913
|
}
|
|
4889
4914
|
function initializeIOInfo(response, ioInfo) {
|
|
4890
|
-
var env =
|
|
4891
|
-
void 0 === ioInfo.env ? response._rootEnvironmentName : ioInfo.env;
|
|
4892
4915
|
void 0 !== ioInfo.stack &&
|
|
4893
|
-
(initializeFakeTask(response, ioInfo
|
|
4916
|
+
(initializeFakeTask(response, ioInfo),
|
|
4894
4917
|
initializeFakeStack(response, ioInfo));
|
|
4895
4918
|
ioInfo.start += response._timeOrigin;
|
|
4896
4919
|
ioInfo.end += response._timeOrigin;
|
|
4897
|
-
|
|
4898
|
-
|
|
4920
|
+
var startTime = ioInfo.start,
|
|
4921
|
+
endTime = ioInfo.end;
|
|
4899
4922
|
if (supportsUserTiming && 0 <= endTime) {
|
|
4900
4923
|
var name = ioInfo.name,
|
|
4901
|
-
env
|
|
4924
|
+
env = ioInfo.env;
|
|
4902
4925
|
response =
|
|
4903
|
-
env
|
|
4904
|
-
void 0 === env$jscomp$0
|
|
4926
|
+
env === response._rootEnvironmentName || void 0 === env
|
|
4905
4927
|
? name
|
|
4906
|
-
: name + " [" + env
|
|
4928
|
+
: name + " [" + env + "]";
|
|
4907
4929
|
ioInfo = ioInfo.debugTask;
|
|
4908
4930
|
name = getIOColor(name);
|
|
4909
4931
|
ioInfo
|
|
@@ -4911,7 +4933,7 @@
|
|
|
4911
4933
|
console.timeStamp.bind(
|
|
4912
4934
|
console,
|
|
4913
4935
|
response,
|
|
4914
|
-
0 >
|
|
4936
|
+
0 > startTime ? 0 : startTime,
|
|
4915
4937
|
endTime,
|
|
4916
4938
|
"Server Requests \u269b",
|
|
4917
4939
|
void 0,
|
|
@@ -4920,7 +4942,7 @@
|
|
|
4920
4942
|
)
|
|
4921
4943
|
: console.timeStamp(
|
|
4922
4944
|
response,
|
|
4923
|
-
0 >
|
|
4945
|
+
0 > startTime ? 0 : startTime,
|
|
4924
4946
|
endTime,
|
|
4925
4947
|
"Server Requests \u269b",
|
|
4926
4948
|
void 0,
|
|
@@ -4947,9 +4969,9 @@
|
|
|
4947
4969
|
);
|
|
4948
4970
|
}
|
|
4949
4971
|
function flushComponentPerformance(
|
|
4950
|
-
response,
|
|
4972
|
+
response$jscomp$0,
|
|
4951
4973
|
root,
|
|
4952
|
-
trackIdx$jscomp$
|
|
4974
|
+
trackIdx$jscomp$1,
|
|
4953
4975
|
trackTime,
|
|
4954
4976
|
parentEndTime
|
|
4955
4977
|
) {
|
|
@@ -4962,10 +4984,10 @@
|
|
|
4962
4984
|
null !== root.component
|
|
4963
4985
|
) {
|
|
4964
4986
|
var componentInfo = root.component,
|
|
4965
|
-
trackIdx = trackIdx$jscomp$
|
|
4987
|
+
trackIdx = trackIdx$jscomp$1;
|
|
4966
4988
|
if (supportsUserTiming && 0 <= previousEndTime && 10 > trackIdx) {
|
|
4967
|
-
response =
|
|
4968
|
-
componentInfo.env === response._rootEnvironmentName
|
|
4989
|
+
response$jscomp$0 =
|
|
4990
|
+
componentInfo.env === response$jscomp$0._rootEnvironmentName
|
|
4969
4991
|
? "primary-light"
|
|
4970
4992
|
: "secondary-light";
|
|
4971
4993
|
var entryName = componentInfo.name + " [deduped]";
|
|
@@ -4978,7 +5000,7 @@
|
|
|
4978
5000
|
previousEndTime,
|
|
4979
5001
|
trackNames[trackIdx],
|
|
4980
5002
|
"Server Components \u269b",
|
|
4981
|
-
response
|
|
5003
|
+
response$jscomp$0
|
|
4982
5004
|
)
|
|
4983
5005
|
)
|
|
4984
5006
|
: console.timeStamp(
|
|
@@ -4987,222 +5009,235 @@
|
|
|
4987
5009
|
previousEndTime,
|
|
4988
5010
|
trackNames[trackIdx],
|
|
4989
5011
|
"Server Components \u269b",
|
|
4990
|
-
response
|
|
5012
|
+
response$jscomp$0
|
|
4991
5013
|
);
|
|
4992
5014
|
}
|
|
4993
5015
|
}
|
|
4994
|
-
root.track = trackIdx$jscomp$
|
|
5016
|
+
root.track = trackIdx$jscomp$1;
|
|
4995
5017
|
return root;
|
|
4996
5018
|
}
|
|
4997
5019
|
entryName = root._children;
|
|
4998
5020
|
"resolved_model" === root.status && initializeModelChunk(root);
|
|
4999
5021
|
if ((previousEndTime = root._debugInfo)) {
|
|
5000
|
-
for (
|
|
5001
|
-
|
|
5002
|
-
|
|
5003
|
-
|
|
5004
|
-
|
|
5005
|
-
|
|
5006
|
-
|
|
5007
|
-
|
|
5022
|
+
for (
|
|
5023
|
+
componentInfo = trackIdx = 0;
|
|
5024
|
+
componentInfo < previousEndTime.length;
|
|
5025
|
+
componentInfo++
|
|
5026
|
+
) {
|
|
5027
|
+
var info = previousEndTime[componentInfo];
|
|
5028
|
+
"number" === typeof info.time && (trackIdx = info.time);
|
|
5029
|
+
if ("string" === typeof info.name) {
|
|
5030
|
+
trackIdx < trackTime && trackIdx$jscomp$1++;
|
|
5008
5031
|
trackTime = trackIdx;
|
|
5009
5032
|
break;
|
|
5010
5033
|
}
|
|
5034
|
+
}
|
|
5011
5035
|
for (trackIdx = previousEndTime.length - 1; 0 <= trackIdx; trackIdx--)
|
|
5012
|
-
(
|
|
5036
|
+
if (
|
|
5037
|
+
((componentInfo = previousEndTime[trackIdx]),
|
|
5013
5038
|
"number" === typeof componentInfo.time &&
|
|
5014
|
-
componentInfo.time > parentEndTime
|
|
5015
|
-
|
|
5039
|
+
componentInfo.time > parentEndTime)
|
|
5040
|
+
) {
|
|
5041
|
+
parentEndTime = componentInfo.time;
|
|
5042
|
+
break;
|
|
5043
|
+
}
|
|
5016
5044
|
}
|
|
5017
5045
|
trackIdx = {
|
|
5018
|
-
track: trackIdx$jscomp$
|
|
5046
|
+
track: trackIdx$jscomp$1,
|
|
5019
5047
|
endTime: -Infinity,
|
|
5020
5048
|
component: null
|
|
5021
5049
|
};
|
|
5022
5050
|
root._children = trackIdx;
|
|
5023
5051
|
componentInfo = -Infinity;
|
|
5024
|
-
|
|
5025
|
-
|
|
5026
|
-
|
|
5027
|
-
|
|
5028
|
-
|
|
5029
|
-
|
|
5030
|
-
|
|
5031
|
-
childTrackTime,
|
|
5052
|
+
info = trackIdx$jscomp$1;
|
|
5053
|
+
for (var _i4 = 0; _i4 < entryName.length; _i4++) {
|
|
5054
|
+
var childResult = flushComponentPerformance(
|
|
5055
|
+
response$jscomp$0,
|
|
5056
|
+
entryName[_i4],
|
|
5057
|
+
info,
|
|
5058
|
+
trackTime,
|
|
5032
5059
|
parentEndTime
|
|
5033
5060
|
);
|
|
5034
|
-
null !==
|
|
5035
|
-
(trackIdx.component =
|
|
5036
|
-
|
|
5037
|
-
|
|
5038
|
-
|
|
5039
|
-
|
|
5040
|
-
}
|
|
5041
|
-
if (previousEndTime)
|
|
5061
|
+
null !== childResult.component &&
|
|
5062
|
+
(trackIdx.component = childResult.component);
|
|
5063
|
+
info = childResult.track;
|
|
5064
|
+
childResult = childResult.endTime;
|
|
5065
|
+
childResult > trackTime && (trackTime = childResult);
|
|
5066
|
+
childResult > componentInfo && (componentInfo = childResult);
|
|
5067
|
+
}
|
|
5068
|
+
if (previousEndTime) {
|
|
5069
|
+
var componentEndTime = 0,
|
|
5070
|
+
isLastComponent = !0;
|
|
5071
|
+
info = parentEndTime = -1;
|
|
5042
5072
|
for (
|
|
5043
|
-
entryName =
|
|
5044
|
-
|
|
5045
|
-
|
|
5046
|
-
0 <= parentEndTime;
|
|
5047
|
-
parentEndTime--
|
|
5073
|
+
entryName = previousEndTime.length - 1;
|
|
5074
|
+
0 <= entryName;
|
|
5075
|
+
entryName--
|
|
5048
5076
|
)
|
|
5049
5077
|
if (
|
|
5050
|
-
((trackTime = previousEndTime[
|
|
5051
|
-
"number" === typeof trackTime.time
|
|
5052
|
-
(trackTime.time > componentInfo &&
|
|
5053
|
-
(componentInfo = trackTime.time),
|
|
5054
|
-
0 === entryName && (entryName = trackTime.time)),
|
|
5055
|
-
"string" === typeof trackTime.name && 0 < parentEndTime)
|
|
5078
|
+
((trackTime = previousEndTime[entryName]),
|
|
5079
|
+
"number" === typeof trackTime.time)
|
|
5056
5080
|
) {
|
|
5057
|
-
|
|
5058
|
-
|
|
5059
|
-
|
|
5060
|
-
|
|
5061
|
-
|
|
5062
|
-
|
|
5063
|
-
|
|
5064
|
-
|
|
5065
|
-
|
|
5066
|
-
|
|
5067
|
-
|
|
5068
|
-
|
|
5069
|
-
|
|
5070
|
-
|
|
5071
|
-
|
|
5072
|
-
|
|
5073
|
-
|
|
5074
|
-
|
|
5075
|
-
|
|
5076
|
-
|
|
5077
|
-
|
|
5078
|
-
|
|
5079
|
-
|
|
5080
|
-
|
|
5081
|
-
|
|
5082
|
-
|
|
5083
|
-
|
|
5084
|
-
|
|
5085
|
-
|
|
5086
|
-
|
|
5087
|
-
|
|
5088
|
-
|
|
5089
|
-
|
|
5090
|
-
|
|
5091
|
-
|
|
5092
|
-
|
|
5093
|
-
|
|
5094
|
-
|
|
5095
|
-
|
|
5096
|
-
|
|
5097
|
-
|
|
5098
|
-
|
|
5099
|
-
|
|
5081
|
+
0 === componentEndTime && (componentEndTime = trackTime.time);
|
|
5082
|
+
trackTime = trackTime.time;
|
|
5083
|
+
if (-1 < info)
|
|
5084
|
+
for (--info; info > entryName; info--)
|
|
5085
|
+
if (
|
|
5086
|
+
((_i4 = previousEndTime[info]), "string" === typeof _i4.name)
|
|
5087
|
+
) {
|
|
5088
|
+
componentEndTime > componentInfo &&
|
|
5089
|
+
(componentInfo = componentEndTime);
|
|
5090
|
+
var response = response$jscomp$0;
|
|
5091
|
+
childResult = _i4;
|
|
5092
|
+
var trackIdx$jscomp$0 = trackIdx$jscomp$1,
|
|
5093
|
+
startTime = trackTime,
|
|
5094
|
+
componentEndTime$jscomp$0 = componentEndTime,
|
|
5095
|
+
childrenEndTime = componentInfo;
|
|
5096
|
+
isLastComponent &&
|
|
5097
|
+
"rejected" === root.status &&
|
|
5098
|
+
root.reason !== response._closedReason
|
|
5099
|
+
? ((isLastComponent = trackIdx$jscomp$0),
|
|
5100
|
+
(componentEndTime = startTime),
|
|
5101
|
+
(componentEndTime$jscomp$0 = childrenEndTime),
|
|
5102
|
+
(childrenEndTime = root.reason),
|
|
5103
|
+
supportsUserTiming &&
|
|
5104
|
+
((startTime = childResult.env),
|
|
5105
|
+
(childResult = childResult.name),
|
|
5106
|
+
(childResult =
|
|
5107
|
+
startTime === response._rootEnvironmentName ||
|
|
5108
|
+
void 0 === startTime
|
|
5109
|
+
? childResult
|
|
5110
|
+
: childResult + " [" + startTime + "]"),
|
|
5111
|
+
"undefined" !== typeof performance &&
|
|
5112
|
+
"function" === typeof performance.measure
|
|
5113
|
+
? performance.measure(childResult, {
|
|
5114
|
+
start:
|
|
5115
|
+
0 > componentEndTime ? 0 : componentEndTime,
|
|
5116
|
+
end: componentEndTime$jscomp$0,
|
|
5117
|
+
detail: {
|
|
5118
|
+
devtools: {
|
|
5119
|
+
color: "error",
|
|
5120
|
+
track: trackNames[isLastComponent],
|
|
5121
|
+
trackGroup: "Server Components \u269b",
|
|
5122
|
+
tooltipText: childResult + " Errored",
|
|
5123
|
+
properties: [
|
|
5124
|
+
[
|
|
5125
|
+
"Error",
|
|
5126
|
+
"object" === typeof childrenEndTime &&
|
|
5127
|
+
null !== childrenEndTime &&
|
|
5128
|
+
"string" ===
|
|
5129
|
+
typeof childrenEndTime.message
|
|
5130
|
+
? String(childrenEndTime.message)
|
|
5131
|
+
: String(childrenEndTime)
|
|
5132
|
+
]
|
|
5133
|
+
]
|
|
5134
|
+
}
|
|
5135
|
+
}
|
|
5136
|
+
})
|
|
5137
|
+
: console.timeStamp(
|
|
5138
|
+
childResult,
|
|
5139
|
+
0 > componentEndTime ? 0 : componentEndTime,
|
|
5140
|
+
componentEndTime$jscomp$0,
|
|
5141
|
+
trackNames[isLastComponent],
|
|
5142
|
+
"Server Components \u269b",
|
|
5143
|
+
"error"
|
|
5144
|
+
)))
|
|
5145
|
+
: ((isLastComponent = trackIdx$jscomp$0),
|
|
5146
|
+
(componentEndTime = startTime),
|
|
5147
|
+
supportsUserTiming &&
|
|
5148
|
+
0 <= childrenEndTime &&
|
|
5149
|
+
10 > isLastComponent &&
|
|
5150
|
+
((startTime = childResult.env),
|
|
5151
|
+
(trackIdx$jscomp$0 = childResult.name),
|
|
5152
|
+
(response =
|
|
5153
|
+
startTime === response._rootEnvironmentName),
|
|
5154
|
+
(componentEndTime$jscomp$0 -= componentEndTime),
|
|
5155
|
+
(componentEndTime$jscomp$0 =
|
|
5156
|
+
0.5 > componentEndTime$jscomp$0
|
|
5157
|
+
? response
|
|
5158
|
+
? "primary-light"
|
|
5159
|
+
: "secondary-light"
|
|
5160
|
+
: 50 > componentEndTime$jscomp$0
|
|
5161
|
+
? response
|
|
5162
|
+
? "primary"
|
|
5163
|
+
: "secondary"
|
|
5164
|
+
: 500 > componentEndTime$jscomp$0
|
|
5165
|
+
? response
|
|
5166
|
+
? "primary-dark"
|
|
5167
|
+
: "secondary-dark"
|
|
5168
|
+
: "error"),
|
|
5169
|
+
(response =
|
|
5170
|
+
response || void 0 === startTime
|
|
5171
|
+
? trackIdx$jscomp$0
|
|
5172
|
+
: trackIdx$jscomp$0 + " [" + startTime + "]"),
|
|
5173
|
+
(childResult = childResult.debugTask)
|
|
5174
|
+
? childResult.run(
|
|
5175
|
+
console.timeStamp.bind(
|
|
5176
|
+
console,
|
|
5177
|
+
response,
|
|
5178
|
+
0 > componentEndTime ? 0 : componentEndTime,
|
|
5179
|
+
childrenEndTime,
|
|
5180
|
+
trackNames[isLastComponent],
|
|
5181
|
+
"Server Components \u269b",
|
|
5182
|
+
componentEndTime$jscomp$0
|
|
5183
|
+
)
|
|
5184
|
+
)
|
|
5185
|
+
: console.timeStamp(
|
|
5186
|
+
response,
|
|
5187
|
+
0 > componentEndTime ? 0 : componentEndTime,
|
|
5188
|
+
childrenEndTime,
|
|
5189
|
+
trackNames[isLastComponent],
|
|
5190
|
+
"Server Components \u269b",
|
|
5191
|
+
componentEndTime$jscomp$0
|
|
5192
|
+
)));
|
|
5193
|
+
componentEndTime = trackTime;
|
|
5194
|
+
trackIdx.component = _i4;
|
|
5195
|
+
isLastComponent = !1;
|
|
5196
|
+
} else if (
|
|
5197
|
+
_i4.awaited &&
|
|
5198
|
+
(parentEndTime > componentInfo &&
|
|
5199
|
+
(componentInfo = parentEndTime),
|
|
5200
|
+
(childrenEndTime = _i4),
|
|
5201
|
+
(_i4 = trackIdx$jscomp$1),
|
|
5202
|
+
(childResult = trackTime),
|
|
5203
|
+
(response = parentEndTime),
|
|
5204
|
+
supportsUserTiming && 0 < response)
|
|
5205
|
+
) {
|
|
5206
|
+
startTime = childrenEndTime.env;
|
|
5207
|
+
trackIdx$jscomp$0 = childrenEndTime.awaited.name;
|
|
5208
|
+
var isPrimaryEnv =
|
|
5209
|
+
startTime === response$jscomp$0._rootEnvironmentName;
|
|
5210
|
+
componentEndTime$jscomp$0 = getIOColor(trackIdx$jscomp$0);
|
|
5211
|
+
startTime =
|
|
5212
|
+
"await " +
|
|
5213
|
+
(isPrimaryEnv || void 0 === startTime
|
|
5214
|
+
? trackIdx$jscomp$0
|
|
5215
|
+
: trackIdx$jscomp$0 + " [" + startTime + "]");
|
|
5216
|
+
(childrenEndTime = childrenEndTime.debugTask)
|
|
5217
|
+
? childrenEndTime.run(
|
|
5218
|
+
console.timeStamp.bind(
|
|
5219
|
+
console,
|
|
5220
|
+
startTime,
|
|
5221
|
+
0 > childResult ? 0 : childResult,
|
|
5222
|
+
response,
|
|
5223
|
+
trackNames[_i4],
|
|
5224
|
+
"Server Components \u269b",
|
|
5225
|
+
componentEndTime$jscomp$0
|
|
5226
|
+
)
|
|
5227
|
+
)
|
|
5100
5228
|
: console.timeStamp(
|
|
5101
|
-
|
|
5102
|
-
0 >
|
|
5103
|
-
|
|
5104
|
-
trackNames[
|
|
5229
|
+
startTime,
|
|
5230
|
+
0 > childResult ? 0 : childResult,
|
|
5231
|
+
response,
|
|
5232
|
+
trackNames[_i4],
|
|
5105
5233
|
"Server Components \u269b",
|
|
5106
|
-
|
|
5234
|
+
componentEndTime$jscomp$0
|
|
5107
5235
|
);
|
|
5108
5236
|
}
|
|
5109
|
-
|
|
5110
|
-
|
|
5111
|
-
(childEndTime = childTrackIdx),
|
|
5112
|
-
(error = componentInfo),
|
|
5113
|
-
supportsUserTiming && 0 <= error && 10 > childTrackTime)
|
|
5114
|
-
) {
|
|
5115
|
-
env = trackTime.env;
|
|
5116
|
-
name = trackTime.name;
|
|
5117
|
-
var isPrimaryEnv = env === response._rootEnvironmentName;
|
|
5118
|
-
entryName -= childEndTime;
|
|
5119
|
-
entryName =
|
|
5120
|
-
0.5 > entryName
|
|
5121
|
-
? isPrimaryEnv
|
|
5122
|
-
? "primary-light"
|
|
5123
|
-
: "secondary-light"
|
|
5124
|
-
: 50 > entryName
|
|
5125
|
-
? isPrimaryEnv
|
|
5126
|
-
? "primary"
|
|
5127
|
-
: "secondary"
|
|
5128
|
-
: 500 > entryName
|
|
5129
|
-
? isPrimaryEnv
|
|
5130
|
-
? "primary-dark"
|
|
5131
|
-
: "secondary-dark"
|
|
5132
|
-
: "error";
|
|
5133
|
-
env =
|
|
5134
|
-
isPrimaryEnv || void 0 === env
|
|
5135
|
-
? name
|
|
5136
|
-
: name + " [" + env + "]";
|
|
5137
|
-
(name = trackTime.debugTask)
|
|
5138
|
-
? name.run(
|
|
5139
|
-
console.timeStamp.bind(
|
|
5140
|
-
console,
|
|
5141
|
-
env,
|
|
5142
|
-
0 > childEndTime ? 0 : childEndTime,
|
|
5143
|
-
error,
|
|
5144
|
-
trackNames[childTrackTime],
|
|
5145
|
-
"Server Components \u269b",
|
|
5146
|
-
entryName
|
|
5147
|
-
)
|
|
5148
|
-
)
|
|
5149
|
-
: console.timeStamp(
|
|
5150
|
-
env,
|
|
5151
|
-
0 > childEndTime ? 0 : childEndTime,
|
|
5152
|
-
error,
|
|
5153
|
-
trackNames[childTrackTime],
|
|
5154
|
-
"Server Components \u269b",
|
|
5155
|
-
entryName
|
|
5156
|
-
);
|
|
5157
|
-
}
|
|
5158
|
-
trackIdx.component = trackTime;
|
|
5159
|
-
entryName = childTrackIdx;
|
|
5160
|
-
}
|
|
5161
|
-
childTrackTime = !1;
|
|
5162
|
-
} else if (
|
|
5163
|
-
trackTime.awaited &&
|
|
5164
|
-
0 < parentEndTime &&
|
|
5165
|
-
parentEndTime < previousEndTime.length - 2 &&
|
|
5166
|
-
((childEndTime = previousEndTime[parentEndTime - 1]),
|
|
5167
|
-
(error = previousEndTime[parentEndTime + 1]),
|
|
5168
|
-
"number" === typeof childEndTime.time &&
|
|
5169
|
-
"number" === typeof error.time &&
|
|
5170
|
-
((childTrackIdx = trackTime),
|
|
5171
|
-
(trackTime = trackIdx$jscomp$0),
|
|
5172
|
-
(childEndTime = childEndTime.time),
|
|
5173
|
-
(error = error.time),
|
|
5174
|
-
supportsUserTiming && 0 < error))
|
|
5175
|
-
) {
|
|
5176
|
-
name = childTrackIdx.env;
|
|
5177
|
-
isPrimaryEnv = childTrackIdx.awaited.name;
|
|
5178
|
-
var isPrimaryEnv$jscomp$0 = name === response._rootEnvironmentName;
|
|
5179
|
-
env = getIOColor(isPrimaryEnv);
|
|
5180
|
-
name =
|
|
5181
|
-
"await " +
|
|
5182
|
-
(isPrimaryEnv$jscomp$0 || void 0 === name
|
|
5183
|
-
? isPrimaryEnv
|
|
5184
|
-
: isPrimaryEnv + " [" + name + "]");
|
|
5185
|
-
(childTrackIdx = childTrackIdx.debugTask)
|
|
5186
|
-
? childTrackIdx.run(
|
|
5187
|
-
console.timeStamp.bind(
|
|
5188
|
-
console,
|
|
5189
|
-
name,
|
|
5190
|
-
0 > childEndTime ? 0 : childEndTime,
|
|
5191
|
-
error,
|
|
5192
|
-
trackNames[trackTime],
|
|
5193
|
-
"Server Components \u269b",
|
|
5194
|
-
env
|
|
5195
|
-
)
|
|
5196
|
-
)
|
|
5197
|
-
: console.timeStamp(
|
|
5198
|
-
name,
|
|
5199
|
-
0 > childEndTime ? 0 : childEndTime,
|
|
5200
|
-
error,
|
|
5201
|
-
trackNames[trackTime],
|
|
5202
|
-
"Server Components \u269b",
|
|
5203
|
-
env
|
|
5204
|
-
);
|
|
5237
|
+
parentEndTime = trackTime;
|
|
5238
|
+
info = entryName;
|
|
5205
5239
|
}
|
|
5240
|
+
}
|
|
5206
5241
|
trackIdx.endTime = componentInfo;
|
|
5207
5242
|
return trackIdx;
|
|
5208
5243
|
}
|
|
@@ -5333,10 +5368,7 @@
|
|
|
5333
5368
|
!1,
|
|
5334
5369
|
type
|
|
5335
5370
|
)),
|
|
5336
|
-
(type =
|
|
5337
|
-
null === key
|
|
5338
|
-
? null
|
|
5339
|
-
: initializeFakeTask(response, key, validated)),
|
|
5371
|
+
(type = null === key ? null : initializeFakeTask(response, key)),
|
|
5340
5372
|
null === type
|
|
5341
5373
|
? ((type = response._debugRootTask),
|
|
5342
5374
|
(normalizedStackTrace =
|
|
@@ -13039,7 +13071,7 @@
|
|
|
13039
13071
|
Error(
|
|
13040
13072
|
"This rendered a large document (>" +
|
|
13041
13073
|
Math.round(blockingRenderMaxSize / 1e3) +
|
|
13042
|
-
") without any Suspense boundaries around most of it. That can delay initial paint longer than necessary. To improve load performance, add a <Suspense> or <SuspenseList> around the content you expect to be below the header or below the fold. In the meantime, the content will deopt to paint arbitrary incomplete pieces of HTML."
|
|
13074
|
+
" kB) without any Suspense boundaries around most of it. That can delay initial paint longer than necessary. To improve load performance, add a <Suspense> or <SuspenseList> around the content you expect to be below the header or below the fold. In the meantime, the content will deopt to paint arbitrary incomplete pieces of HTML."
|
|
13043
13075
|
),
|
|
13044
13076
|
{},
|
|
13045
13077
|
null
|
|
@@ -13704,7 +13736,7 @@
|
|
|
13704
13736
|
ReactSharedInternalsServer.TaintRegistryPendingRequests,
|
|
13705
13737
|
defaultPostponeHandler = noop,
|
|
13706
13738
|
currentRequest = null,
|
|
13707
|
-
|
|
13739
|
+
canEmitDebugInfo = !1,
|
|
13708
13740
|
serializedSize = 0,
|
|
13709
13741
|
MAX_ROW_SIZE = 3200,
|
|
13710
13742
|
modelRoot = !1,
|
|
@@ -13814,7 +13846,7 @@
|
|
|
13814
13846
|
bindToConsole(methodName, args, env)
|
|
13815
13847
|
);
|
|
13816
13848
|
if (null != owner) {
|
|
13817
|
-
var task = initializeFakeTask(response, owner
|
|
13849
|
+
var task = initializeFakeTask(response, owner);
|
|
13818
13850
|
initializeFakeStack(response, owner);
|
|
13819
13851
|
if (null !== task) {
|
|
13820
13852
|
task.run(callStack);
|
|
@@ -14951,5 +14983,5 @@
|
|
|
14951
14983
|
});
|
|
14952
14984
|
});
|
|
14953
14985
|
};
|
|
14954
|
-
exports.version = "19.2.0-experimental-
|
|
14986
|
+
exports.version = "19.2.0-experimental-56408a5b-20250610";
|
|
14955
14987
|
})();
|
|
@@ -9078,7 +9078,7 @@ function flushCompletedQueues(request, destination) {
|
|
|
9078
9078
|
Error(
|
|
9079
9079
|
"This rendered a large document (>" +
|
|
9080
9080
|
Math.round(blockingRenderMaxSize / 1e3) +
|
|
9081
|
-
") without any Suspense boundaries around most of it. That can delay initial paint longer than necessary. To improve load performance, add a <Suspense> or <SuspenseList> around the content you expect to be below the header or below the fold. In the meantime, the content will deopt to paint arbitrary incomplete pieces of HTML."
|
|
9081
|
+
" kB) without any Suspense boundaries around most of it. That can delay initial paint longer than necessary. To improve load performance, add a <Suspense> or <SuspenseList> around the content you expect to be below the header or below the fold. In the meantime, the content will deopt to paint arbitrary incomplete pieces of HTML."
|
|
9082
9082
|
),
|
|
9083
9083
|
{},
|
|
9084
9084
|
null
|
|
@@ -9684,4 +9684,4 @@ exports.experimental_renderToHTML = function (children, options) {
|
|
|
9684
9684
|
});
|
|
9685
9685
|
});
|
|
9686
9686
|
};
|
|
9687
|
-
exports.version = "19.2.0-experimental-
|
|
9687
|
+
exports.version = "19.2.0-experimental-56408a5b-20250610";
|
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-56408a5b-20250610",
|
|
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-56408a5b-20250610"
|
|
21
21
|
},
|
|
22
22
|
"files": [
|
|
23
23
|
"LICENSE",
|