react-markup 0.0.0-experimental-408d055a-20250430 → 0.0.0-experimental-e9db3cc2-20250501
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.
|
@@ -7538,7 +7538,7 @@
|
|
|
7538
7538
|
? 0 === (completedSegments.instructions & 2)
|
|
7539
7539
|
? ((completedSegments.instructions |= 10),
|
|
7540
7540
|
destination.push(
|
|
7541
|
-
'$RC=function(b,d,e){d=document.getElementById(d)
|
|
7541
|
+
'$RC=function(b,d,e){if(d=document.getElementById(d)){d.parentNode.removeChild(d);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var c=a.data;if("/$"===c||"/&"===c)if(0===f)break;else f--;else"$"!==c&&"$?"!==c&&"$!"!==c&&"&"!==c||f++}c=a.nextSibling;e.removeChild(a);a=c}while(a);for(;d.firstChild;)e.insertBefore(d.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}}};$RM=new Map;\n$RR=function(t,u,y){function v(n){this._p=null;n()}for(var w=$RC,p=$RM,q=new Map,r=document,g,b,h=r.querySelectorAll("link[data-precedence],style[data-precedence]"),x=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?x.push(b):("LINK"===b.tagName&&p.set(b.getAttribute("href"),b),q.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var e=y[b++];if(!e){k=!1;b=0;continue}var c=!1,m=0;var d=e[m++];if(a=p.get(d)){var f=a._p;c=!0}else{a=r.createElement("link");a.href=\nd;a.rel="stylesheet";for(a.dataset.precedence=l=e[m++];f=e[m++];)a.setAttribute(f,e[m++]);f=a._p=new Promise(function(n,z){a.onload=v.bind(a,n);a.onerror=v.bind(a,z)});p.set(d,a)}d=a.getAttribute("media");!f||d&&!matchMedia(d).matches||h.push(f);if(c)continue}else{a=x[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=q.get(l)||g;c===g&&(g=a);q.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=r.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(w.bind(null,\nt,u,""),w.bind(null,t,u,"Resource failed to load"))};$RR("'
|
|
7542
7542
|
))
|
|
7543
7543
|
: 0 === (completedSegments.instructions & 8)
|
|
7544
7544
|
? ((completedSegments.instructions |= 8),
|
|
@@ -7549,7 +7549,7 @@
|
|
|
7549
7549
|
: 0 === (completedSegments.instructions & 2)
|
|
7550
7550
|
? ((completedSegments.instructions |= 2),
|
|
7551
7551
|
destination.push(
|
|
7552
|
-
'$RC=function(b,d,e){d=document.getElementById(d)
|
|
7552
|
+
'$RC=function(b,d,e){if(d=document.getElementById(d)){d.parentNode.removeChild(d);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var c=a.data;if("/$"===c||"/&"===c)if(0===f)break;else f--;else"$"!==c&&"$?"!==c&&"$!"!==c&&"&"!==c||f++}c=a.nextSibling;e.removeChild(a);a=c}while(a);for(;d.firstChild;)e.insertBefore(d.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}}};$RC("'
|
|
7553
7553
|
))
|
|
7554
7554
|
: destination.push('$RC("'))
|
|
7555
7555
|
: requiresStyleInsertion
|
|
@@ -9054,5 +9054,5 @@
|
|
|
9054
9054
|
});
|
|
9055
9055
|
});
|
|
9056
9056
|
};
|
|
9057
|
-
exports.version = "19.2.0-experimental-
|
|
9057
|
+
exports.version = "19.2.0-experimental-e9db3cc2-20250501";
|
|
9058
9058
|
})();
|
|
@@ -5644,7 +5644,7 @@ function flushCompletedBoundary(request, destination, boundary) {
|
|
|
5644
5644
|
? 0 === (completedSegments.instructions & 2)
|
|
5645
5645
|
? ((completedSegments.instructions |= 10),
|
|
5646
5646
|
destination.push(
|
|
5647
|
-
'$RC=function(b,d,e){d=document.getElementById(d)
|
|
5647
|
+
'$RC=function(b,d,e){if(d=document.getElementById(d)){d.parentNode.removeChild(d);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var c=a.data;if("/$"===c||"/&"===c)if(0===f)break;else f--;else"$"!==c&&"$?"!==c&&"$!"!==c&&"&"!==c||f++}c=a.nextSibling;e.removeChild(a);a=c}while(a);for(;d.firstChild;)e.insertBefore(d.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}}};$RM=new Map;\n$RR=function(t,u,y){function v(n){this._p=null;n()}for(var w=$RC,p=$RM,q=new Map,r=document,g,b,h=r.querySelectorAll("link[data-precedence],style[data-precedence]"),x=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?x.push(b):("LINK"===b.tagName&&p.set(b.getAttribute("href"),b),q.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var e=y[b++];if(!e){k=!1;b=0;continue}var c=!1,m=0;var d=e[m++];if(a=p.get(d)){var f=a._p;c=!0}else{a=r.createElement("link");a.href=\nd;a.rel="stylesheet";for(a.dataset.precedence=l=e[m++];f=e[m++];)a.setAttribute(f,e[m++]);f=a._p=new Promise(function(n,z){a.onload=v.bind(a,n);a.onerror=v.bind(a,z)});p.set(d,a)}d=a.getAttribute("media");!f||d&&!matchMedia(d).matches||h.push(f);if(c)continue}else{a=x[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=q.get(l)||g;c===g&&(g=a);q.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=r.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(w.bind(null,\nt,u,""),w.bind(null,t,u,"Resource failed to load"))};$RR("'
|
|
5648
5648
|
))
|
|
5649
5649
|
: 0 === (completedSegments.instructions & 8)
|
|
5650
5650
|
? ((completedSegments.instructions |= 8),
|
|
@@ -5655,7 +5655,7 @@ function flushCompletedBoundary(request, destination, boundary) {
|
|
|
5655
5655
|
: 0 === (completedSegments.instructions & 2)
|
|
5656
5656
|
? ((completedSegments.instructions |= 2),
|
|
5657
5657
|
destination.push(
|
|
5658
|
-
'$RC=function(b,d,e){d=document.getElementById(d)
|
|
5658
|
+
'$RC=function(b,d,e){if(d=document.getElementById(d)){d.parentNode.removeChild(d);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var c=a.data;if("/$"===c||"/&"===c)if(0===f)break;else f--;else"$"!==c&&"$?"!==c&&"$!"!==c&&"&"!==c||f++}c=a.nextSibling;e.removeChild(a);a=c}while(a);for(;d.firstChild;)e.insertBefore(d.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}}};$RC("'
|
|
5659
5659
|
))
|
|
5660
5660
|
: destination.push('$RC("'))
|
|
5661
5661
|
: requiresStyleInsertion
|
|
@@ -6089,4 +6089,4 @@ exports.experimental_renderToHTML = function (children, options) {
|
|
|
6089
6089
|
});
|
|
6090
6090
|
});
|
|
6091
6091
|
};
|
|
6092
|
-
exports.version = "19.2.0-experimental-
|
|
6092
|
+
exports.version = "19.2.0-experimental-e9db3cc2-20250501";
|
|
@@ -1359,6 +1359,20 @@
|
|
|
1359
1359
|
getAsyncIterator = getAsyncIterator.call(children);
|
|
1360
1360
|
return serializeAsyncIterable(request, task, children, getAsyncIterator);
|
|
1361
1361
|
}
|
|
1362
|
+
function deferTask(request, task) {
|
|
1363
|
+
task = createTask(
|
|
1364
|
+
request,
|
|
1365
|
+
task.model,
|
|
1366
|
+
task.keyPath,
|
|
1367
|
+
task.implicitSlot,
|
|
1368
|
+
request.abortableTasks,
|
|
1369
|
+
task.debugOwner,
|
|
1370
|
+
task.debugStack,
|
|
1371
|
+
task.debugTask
|
|
1372
|
+
);
|
|
1373
|
+
pingTask$1(request, task);
|
|
1374
|
+
return "$L" + task.id.toString(16);
|
|
1375
|
+
}
|
|
1362
1376
|
function outlineTask(request, task) {
|
|
1363
1377
|
task = createTask(
|
|
1364
1378
|
request,
|
|
@@ -1741,6 +1755,7 @@
|
|
|
1741
1755
|
value
|
|
1742
1756
|
) {
|
|
1743
1757
|
task.model = value;
|
|
1758
|
+
serializedSize += parentPropertyName.length;
|
|
1744
1759
|
if (value === REACT_ELEMENT_TYPE) return "$";
|
|
1745
1760
|
if (null === value) return null;
|
|
1746
1761
|
if ("object" === typeof value) {
|
|
@@ -1761,6 +1776,7 @@
|
|
|
1761
1776
|
_existingReference + ":" + parentPropertyName),
|
|
1762
1777
|
_writtenObjects.set(value, elementReference)));
|
|
1763
1778
|
}
|
|
1779
|
+
if (serializedSize > MAX_ROW_SIZE) return deferTask(request, task);
|
|
1764
1780
|
if ((_existingReference = value._debugInfo)) {
|
|
1765
1781
|
if (null === debugID) return outlineTask(request, task);
|
|
1766
1782
|
forwardDebugInfo(request, debugID, _existingReference);
|
|
@@ -1786,6 +1802,7 @@
|
|
|
1786
1802
|
_writtenObjects.set(request, elementReference));
|
|
1787
1803
|
return request;
|
|
1788
1804
|
case REACT_LAZY_TYPE:
|
|
1805
|
+
if (serializedSize > MAX_ROW_SIZE) return deferTask(request, task);
|
|
1789
1806
|
task.thenableState = null;
|
|
1790
1807
|
elementReference = callLazyInitInDEV$1(value);
|
|
1791
1808
|
if (request.status === ABORTING$1) throw null;
|
|
@@ -1956,6 +1973,7 @@
|
|
|
1956
1973
|
return (
|
|
1957
1974
|
(request = TaintRegistryValues.get(value)),
|
|
1958
1975
|
void 0 !== request && throwTaintViolation(request.message),
|
|
1976
|
+
(serializedSize += value.length),
|
|
1959
1977
|
"Z" === value[value.length - 1] &&
|
|
1960
1978
|
parent[parentPropertyName] instanceof Date
|
|
1961
1979
|
? "$D" + value
|
|
@@ -2506,34 +2524,41 @@
|
|
|
2506
2524
|
}
|
|
2507
2525
|
function emitChunk(request, task, value) {
|
|
2508
2526
|
var id = task.id;
|
|
2509
|
-
value instanceof ArrayBuffer
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2527
|
+
if (value instanceof ArrayBuffer)
|
|
2528
|
+
emitTypedArrayChunk(request, id, "A", new Uint8Array(value));
|
|
2529
|
+
else if (value instanceof Int8Array)
|
|
2530
|
+
emitTypedArrayChunk(request, id, "O", value);
|
|
2531
|
+
else if (value instanceof Uint8Array)
|
|
2532
|
+
emitTypedArrayChunk(request, id, "o", value);
|
|
2533
|
+
else if (value instanceof Uint8ClampedArray)
|
|
2534
|
+
emitTypedArrayChunk(request, id, "U", value);
|
|
2535
|
+
else if (value instanceof Int16Array)
|
|
2536
|
+
emitTypedArrayChunk(request, id, "S", value);
|
|
2537
|
+
else if (value instanceof Uint16Array)
|
|
2538
|
+
emitTypedArrayChunk(request, id, "s", value);
|
|
2539
|
+
else if (value instanceof Int32Array)
|
|
2540
|
+
emitTypedArrayChunk(request, id, "L", value);
|
|
2541
|
+
else if (value instanceof Uint32Array)
|
|
2542
|
+
emitTypedArrayChunk(request, id, "l", value);
|
|
2543
|
+
else if (value instanceof Float32Array)
|
|
2544
|
+
emitTypedArrayChunk(request, id, "G", value);
|
|
2545
|
+
else if (value instanceof Float64Array)
|
|
2546
|
+
emitTypedArrayChunk(request, id, "g", value);
|
|
2547
|
+
else if (value instanceof BigInt64Array)
|
|
2548
|
+
emitTypedArrayChunk(request, id, "M", value);
|
|
2549
|
+
else if (value instanceof BigUint64Array)
|
|
2550
|
+
emitTypedArrayChunk(request, id, "m", value);
|
|
2551
|
+
else if (value instanceof DataView)
|
|
2552
|
+
emitTypedArrayChunk(request, id, "V", value);
|
|
2553
|
+
else {
|
|
2554
|
+
id = serializedSize;
|
|
2555
|
+
try {
|
|
2556
|
+
var json = stringify(value, task.toJSON);
|
|
2557
|
+
emitModelChunk(request, task.id, json);
|
|
2558
|
+
} finally {
|
|
2559
|
+
serializedSize = id;
|
|
2560
|
+
}
|
|
2561
|
+
}
|
|
2537
2562
|
}
|
|
2538
2563
|
function erroredTask$1(request, task, error) {
|
|
2539
2564
|
task.timed && emitTimingChunk(request, task.id, performance.now());
|
|
@@ -11899,7 +11924,7 @@
|
|
|
11899
11924
|
? 0 === (completedSegments.instructions & 2)
|
|
11900
11925
|
? ((completedSegments.instructions |= 10),
|
|
11901
11926
|
destination.push(
|
|
11902
|
-
'$RC=function(b,d,e){d=document.getElementById(d)
|
|
11927
|
+
'$RC=function(b,d,e){if(d=document.getElementById(d)){d.parentNode.removeChild(d);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var c=a.data;if("/$"===c||"/&"===c)if(0===f)break;else f--;else"$"!==c&&"$?"!==c&&"$!"!==c&&"&"!==c||f++}c=a.nextSibling;e.removeChild(a);a=c}while(a);for(;d.firstChild;)e.insertBefore(d.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}}};$RM=new Map;\n$RR=function(t,u,y){function v(n){this._p=null;n()}for(var w=$RC,p=$RM,q=new Map,r=document,g,b,h=r.querySelectorAll("link[data-precedence],style[data-precedence]"),x=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?x.push(b):("LINK"===b.tagName&&p.set(b.getAttribute("href"),b),q.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var e=y[b++];if(!e){k=!1;b=0;continue}var c=!1,m=0;var d=e[m++];if(a=p.get(d)){var f=a._p;c=!0}else{a=r.createElement("link");a.href=\nd;a.rel="stylesheet";for(a.dataset.precedence=l=e[m++];f=e[m++];)a.setAttribute(f,e[m++]);f=a._p=new Promise(function(n,z){a.onload=v.bind(a,n);a.onerror=v.bind(a,z)});p.set(d,a)}d=a.getAttribute("media");!f||d&&!matchMedia(d).matches||h.push(f);if(c)continue}else{a=x[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=q.get(l)||g;c===g&&(g=a);q.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=r.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(w.bind(null,\nt,u,""),w.bind(null,t,u,"Resource failed to load"))};$RR("'
|
|
11903
11928
|
))
|
|
11904
11929
|
: 0 === (completedSegments.instructions & 8)
|
|
11905
11930
|
? ((completedSegments.instructions |= 8),
|
|
@@ -11910,7 +11935,7 @@
|
|
|
11910
11935
|
: 0 === (completedSegments.instructions & 2)
|
|
11911
11936
|
? ((completedSegments.instructions |= 2),
|
|
11912
11937
|
destination.push(
|
|
11913
|
-
'$RC=function(b,d,e){d=document.getElementById(d)
|
|
11938
|
+
'$RC=function(b,d,e){if(d=document.getElementById(d)){d.parentNode.removeChild(d);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var c=a.data;if("/$"===c||"/&"===c)if(0===f)break;else f--;else"$"!==c&&"$?"!==c&&"$!"!==c&&"&"!==c||f++}c=a.nextSibling;e.removeChild(a);a=c}while(a);for(;d.firstChild;)e.insertBefore(d.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}}};$RC("'
|
|
11914
11939
|
))
|
|
11915
11940
|
: destination.push('$RC("'))
|
|
11916
11941
|
: requiresStyleInsertion
|
|
@@ -12636,6 +12661,8 @@
|
|
|
12636
12661
|
ReactSharedInternalsServer.TaintRegistryPendingRequests,
|
|
12637
12662
|
currentRequest = null,
|
|
12638
12663
|
debugID = null,
|
|
12664
|
+
serializedSize = 0,
|
|
12665
|
+
MAX_ROW_SIZE = 3200,
|
|
12639
12666
|
modelRoot = !1,
|
|
12640
12667
|
emptyRoot = {},
|
|
12641
12668
|
bind$1 = Function.prototype.bind,
|
|
@@ -13867,5 +13894,5 @@
|
|
|
13867
13894
|
});
|
|
13868
13895
|
});
|
|
13869
13896
|
};
|
|
13870
|
-
exports.version = "19.2.0-experimental-
|
|
13897
|
+
exports.version = "19.2.0-experimental-e9db3cc2-20250501";
|
|
13871
13898
|
})();
|
|
@@ -922,6 +922,18 @@ function renderFragment(request, task, children) {
|
|
|
922
922
|
task.implicitSlot ? [request] : request)
|
|
923
923
|
: children;
|
|
924
924
|
}
|
|
925
|
+
var serializedSize = 0;
|
|
926
|
+
function deferTask(request, task) {
|
|
927
|
+
task = createTask(
|
|
928
|
+
request,
|
|
929
|
+
task.model,
|
|
930
|
+
task.keyPath,
|
|
931
|
+
task.implicitSlot,
|
|
932
|
+
request.abortableTasks
|
|
933
|
+
);
|
|
934
|
+
pingTask$1(request, task);
|
|
935
|
+
return "$L" + task.id.toString(16);
|
|
936
|
+
}
|
|
925
937
|
function renderElement$1(request, task, type, key, ref, props) {
|
|
926
938
|
if (null !== ref && void 0 !== ref)
|
|
927
939
|
throw Error(
|
|
@@ -1155,6 +1167,7 @@ function renderModelDestructive(
|
|
|
1155
1167
|
value
|
|
1156
1168
|
) {
|
|
1157
1169
|
task.model = value;
|
|
1170
|
+
serializedSize += parentPropertyName.length;
|
|
1158
1171
|
if (value === REACT_ELEMENT_TYPE) return "$";
|
|
1159
1172
|
if (null === value) return null;
|
|
1160
1173
|
if ("object" === typeof value) {
|
|
@@ -1174,6 +1187,7 @@ function renderModelDestructive(
|
|
|
1174
1187
|
((elementReference = parent + ":" + parentPropertyName),
|
|
1175
1188
|
writtenObjects.set(value, elementReference)));
|
|
1176
1189
|
}
|
|
1190
|
+
if (3200 < serializedSize) return deferTask(request, task);
|
|
1177
1191
|
parentPropertyName = value.props;
|
|
1178
1192
|
parent = parentPropertyName.ref;
|
|
1179
1193
|
value = renderElement$1(
|
|
@@ -1191,6 +1205,7 @@ function renderModelDestructive(
|
|
|
1191
1205
|
writtenObjects.set(value, elementReference));
|
|
1192
1206
|
return value;
|
|
1193
1207
|
case REACT_LAZY_TYPE:
|
|
1208
|
+
if (3200 < serializedSize) return deferTask(request, task);
|
|
1194
1209
|
task.thenableState = null;
|
|
1195
1210
|
parentPropertyName = value._init;
|
|
1196
1211
|
value = parentPropertyName(value._payload);
|
|
@@ -1344,6 +1359,7 @@ function renderModelDestructive(
|
|
|
1344
1359
|
if ("string" === typeof value) {
|
|
1345
1360
|
request = TaintRegistryValues.get(value);
|
|
1346
1361
|
void 0 !== request && throwTaintViolation(request.message);
|
|
1362
|
+
serializedSize += value.length;
|
|
1347
1363
|
if (
|
|
1348
1364
|
"Z" === value[value.length - 1] &&
|
|
1349
1365
|
parent[parentPropertyName] instanceof Date
|
|
@@ -1505,34 +1521,41 @@ function emitTypedArrayChunk(request, id, tag, typedArray) {
|
|
|
1505
1521
|
}
|
|
1506
1522
|
function emitChunk(request, task, value) {
|
|
1507
1523
|
var id = task.id;
|
|
1508
|
-
value instanceof ArrayBuffer
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1524
|
+
if (value instanceof ArrayBuffer)
|
|
1525
|
+
emitTypedArrayChunk(request, id, "A", new Uint8Array(value));
|
|
1526
|
+
else if (value instanceof Int8Array)
|
|
1527
|
+
emitTypedArrayChunk(request, id, "O", value);
|
|
1528
|
+
else if (value instanceof Uint8Array)
|
|
1529
|
+
emitTypedArrayChunk(request, id, "o", value);
|
|
1530
|
+
else if (value instanceof Uint8ClampedArray)
|
|
1531
|
+
emitTypedArrayChunk(request, id, "U", value);
|
|
1532
|
+
else if (value instanceof Int16Array)
|
|
1533
|
+
emitTypedArrayChunk(request, id, "S", value);
|
|
1534
|
+
else if (value instanceof Uint16Array)
|
|
1535
|
+
emitTypedArrayChunk(request, id, "s", value);
|
|
1536
|
+
else if (value instanceof Int32Array)
|
|
1537
|
+
emitTypedArrayChunk(request, id, "L", value);
|
|
1538
|
+
else if (value instanceof Uint32Array)
|
|
1539
|
+
emitTypedArrayChunk(request, id, "l", value);
|
|
1540
|
+
else if (value instanceof Float32Array)
|
|
1541
|
+
emitTypedArrayChunk(request, id, "G", value);
|
|
1542
|
+
else if (value instanceof Float64Array)
|
|
1543
|
+
emitTypedArrayChunk(request, id, "g", value);
|
|
1544
|
+
else if (value instanceof BigInt64Array)
|
|
1545
|
+
emitTypedArrayChunk(request, id, "M", value);
|
|
1546
|
+
else if (value instanceof BigUint64Array)
|
|
1547
|
+
emitTypedArrayChunk(request, id, "m", value);
|
|
1548
|
+
else if (value instanceof DataView)
|
|
1549
|
+
emitTypedArrayChunk(request, id, "V", value);
|
|
1550
|
+
else {
|
|
1551
|
+
id = serializedSize;
|
|
1552
|
+
try {
|
|
1553
|
+
var json = stringify(value, task.toJSON);
|
|
1554
|
+
emitModelChunk(request, task.id, json);
|
|
1555
|
+
} finally {
|
|
1556
|
+
serializedSize = id;
|
|
1557
|
+
}
|
|
1558
|
+
}
|
|
1536
1559
|
}
|
|
1537
1560
|
function erroredTask$1(request, task, error) {
|
|
1538
1561
|
task.status = 4;
|
|
@@ -8347,7 +8370,7 @@ function flushCompletedBoundary(request, destination, boundary) {
|
|
|
8347
8370
|
? 0 === (completedSegments.instructions & 2)
|
|
8348
8371
|
? ((completedSegments.instructions |= 10),
|
|
8349
8372
|
destination.push(
|
|
8350
|
-
'$RC=function(b,d,e){d=document.getElementById(d)
|
|
8373
|
+
'$RC=function(b,d,e){if(d=document.getElementById(d)){d.parentNode.removeChild(d);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var c=a.data;if("/$"===c||"/&"===c)if(0===f)break;else f--;else"$"!==c&&"$?"!==c&&"$!"!==c&&"&"!==c||f++}c=a.nextSibling;e.removeChild(a);a=c}while(a);for(;d.firstChild;)e.insertBefore(d.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}}};$RM=new Map;\n$RR=function(t,u,y){function v(n){this._p=null;n()}for(var w=$RC,p=$RM,q=new Map,r=document,g,b,h=r.querySelectorAll("link[data-precedence],style[data-precedence]"),x=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?x.push(b):("LINK"===b.tagName&&p.set(b.getAttribute("href"),b),q.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var e=y[b++];if(!e){k=!1;b=0;continue}var c=!1,m=0;var d=e[m++];if(a=p.get(d)){var f=a._p;c=!0}else{a=r.createElement("link");a.href=\nd;a.rel="stylesheet";for(a.dataset.precedence=l=e[m++];f=e[m++];)a.setAttribute(f,e[m++]);f=a._p=new Promise(function(n,z){a.onload=v.bind(a,n);a.onerror=v.bind(a,z)});p.set(d,a)}d=a.getAttribute("media");!f||d&&!matchMedia(d).matches||h.push(f);if(c)continue}else{a=x[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=q.get(l)||g;c===g&&(g=a);q.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=r.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(w.bind(null,\nt,u,""),w.bind(null,t,u,"Resource failed to load"))};$RR("'
|
|
8351
8374
|
))
|
|
8352
8375
|
: 0 === (completedSegments.instructions & 8)
|
|
8353
8376
|
? ((completedSegments.instructions |= 8),
|
|
@@ -8358,7 +8381,7 @@ function flushCompletedBoundary(request, destination, boundary) {
|
|
|
8358
8381
|
: 0 === (completedSegments.instructions & 2)
|
|
8359
8382
|
? ((completedSegments.instructions |= 2),
|
|
8360
8383
|
destination.push(
|
|
8361
|
-
'$RC=function(b,d,e){d=document.getElementById(d)
|
|
8384
|
+
'$RC=function(b,d,e){if(d=document.getElementById(d)){d.parentNode.removeChild(d);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var c=a.data;if("/$"===c||"/&"===c)if(0===f)break;else f--;else"$"!==c&&"$?"!==c&&"$!"!==c&&"&"!==c||f++}c=a.nextSibling;e.removeChild(a);a=c}while(a);for(;d.firstChild;)e.insertBefore(d.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}}};$RC("'
|
|
8362
8385
|
))
|
|
8363
8386
|
: destination.push('$RC("'))
|
|
8364
8387
|
: requiresStyleInsertion
|
|
@@ -9029,4 +9052,4 @@ exports.experimental_renderToHTML = function (children, options) {
|
|
|
9029
9052
|
});
|
|
9030
9053
|
});
|
|
9031
9054
|
};
|
|
9032
|
-
exports.version = "19.2.0-experimental-
|
|
9055
|
+
exports.version = "19.2.0-experimental-e9db3cc2-20250501";
|
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-e9db3cc2-20250501",
|
|
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-e9db3cc2-20250501"
|
|
21
21
|
},
|
|
22
22
|
"files": [
|
|
23
23
|
"LICENSE",
|