react-markup 0.0.0-experimental-1ae0a845-20250603 → 0.0.0-experimental-b4477d38-20250605
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.
|
@@ -711,8 +711,8 @@ function serializeReadableStream(request, task, stream) {
|
|
|
711
711
|
tryStreamTask(request, streamTask),
|
|
712
712
|
enqueueFlush(request),
|
|
713
713
|
reader.read().then(progress, error);
|
|
714
|
-
} catch (x$
|
|
715
|
-
error(x$
|
|
714
|
+
} catch (x$11) {
|
|
715
|
+
error(x$11);
|
|
716
716
|
}
|
|
717
717
|
}
|
|
718
718
|
function error(reason) {
|
|
@@ -786,8 +786,8 @@ function serializeAsyncIterable(request, task, iterable, iterator) {
|
|
|
786
786
|
tryStreamTask(request, streamTask),
|
|
787
787
|
enqueueFlush(request),
|
|
788
788
|
iterator.next().then(progress, error);
|
|
789
|
-
} catch (x$
|
|
790
|
-
error(x$
|
|
789
|
+
} catch (x$12) {
|
|
790
|
+
error(x$12);
|
|
791
791
|
}
|
|
792
792
|
}
|
|
793
793
|
function error(reason) {
|
|
@@ -1750,12 +1750,12 @@ function abort$1(request, reason) {
|
|
|
1750
1750
|
? Error("The render was aborted by the server with a promise.")
|
|
1751
1751
|
: reason,
|
|
1752
1752
|
digest = logRecoverableError$1(request, error, null),
|
|
1753
|
-
errorId$
|
|
1754
|
-
request.fatalError = errorId$
|
|
1753
|
+
errorId$29 = request.nextChunkId++;
|
|
1754
|
+
request.fatalError = errorId$29;
|
|
1755
1755
|
request.pendingChunks++;
|
|
1756
|
-
emitErrorChunk(request, errorId$
|
|
1756
|
+
emitErrorChunk(request, errorId$29, digest, error);
|
|
1757
1757
|
abortableTasks.forEach(function (task) {
|
|
1758
|
-
return abortTask$1(task, request, errorId$
|
|
1758
|
+
return abortTask$1(task, request, errorId$29);
|
|
1759
1759
|
});
|
|
1760
1760
|
}
|
|
1761
1761
|
abortableTasks.clear();
|
|
@@ -1763,7 +1763,7 @@ function abort$1(request, reason) {
|
|
|
1763
1763
|
}
|
|
1764
1764
|
var abortListeners = request.abortListeners;
|
|
1765
1765
|
if (0 < abortListeners.size) {
|
|
1766
|
-
var error$
|
|
1766
|
+
var error$30 =
|
|
1767
1767
|
"object" === typeof reason &&
|
|
1768
1768
|
null !== reason &&
|
|
1769
1769
|
reason.$$typeof === REACT_POSTPONE_TYPE
|
|
@@ -1776,16 +1776,16 @@ function abort$1(request, reason) {
|
|
|
1776
1776
|
? Error("The render was aborted by the server with a promise.")
|
|
1777
1777
|
: reason;
|
|
1778
1778
|
abortListeners.forEach(function (callback) {
|
|
1779
|
-
return callback(error$
|
|
1779
|
+
return callback(error$30);
|
|
1780
1780
|
});
|
|
1781
1781
|
abortListeners.clear();
|
|
1782
1782
|
callOnAllReadyIfReady(request);
|
|
1783
1783
|
}
|
|
1784
1784
|
null !== request.destination &&
|
|
1785
1785
|
flushCompletedChunks(request, request.destination);
|
|
1786
|
-
} catch (error$
|
|
1787
|
-
logRecoverableError$1(request, error$
|
|
1788
|
-
fatalError$1(request, error$
|
|
1786
|
+
} catch (error$31) {
|
|
1787
|
+
logRecoverableError$1(request, error$31, null),
|
|
1788
|
+
fatalError$1(request, error$31);
|
|
1789
1789
|
}
|
|
1790
1790
|
}
|
|
1791
1791
|
var bind$1 = Function.prototype.bind,
|
|
@@ -1892,11 +1892,11 @@ function processReply(
|
|
|
1892
1892
|
0 === pendingParts && resolve(data);
|
|
1893
1893
|
} else
|
|
1894
1894
|
try {
|
|
1895
|
-
var partJSON$
|
|
1896
|
-
data.append(formFieldPrefix + streamId, partJSON$
|
|
1895
|
+
var partJSON$32 = JSON.stringify(entry.value, resolveToJSON);
|
|
1896
|
+
data.append(formFieldPrefix + streamId, partJSON$32);
|
|
1897
1897
|
iterator.next().then(progress, reject);
|
|
1898
|
-
} catch (x$
|
|
1899
|
-
reject(x$
|
|
1898
|
+
} catch (x$33) {
|
|
1899
|
+
reject(x$33);
|
|
1900
1900
|
}
|
|
1901
1901
|
}
|
|
1902
1902
|
null === formData && (formData = new FormData());
|
|
@@ -1941,20 +1941,20 @@ function processReply(
|
|
|
1941
1941
|
"function" === typeof x.then
|
|
1942
1942
|
) {
|
|
1943
1943
|
pendingParts++;
|
|
1944
|
-
var lazyId$
|
|
1944
|
+
var lazyId$34 = nextPartId++;
|
|
1945
1945
|
parentReference = function () {
|
|
1946
1946
|
try {
|
|
1947
|
-
var partJSON$
|
|
1948
|
-
data$
|
|
1949
|
-
data$
|
|
1947
|
+
var partJSON$35 = serializeModel(value, lazyId$34),
|
|
1948
|
+
data$36 = formData;
|
|
1949
|
+
data$36.append(formFieldPrefix + lazyId$34, partJSON$35);
|
|
1950
1950
|
pendingParts--;
|
|
1951
|
-
0 === pendingParts && resolve(data$
|
|
1951
|
+
0 === pendingParts && resolve(data$36);
|
|
1952
1952
|
} catch (reason) {
|
|
1953
1953
|
reject(reason);
|
|
1954
1954
|
}
|
|
1955
1955
|
};
|
|
1956
1956
|
x.then(parentReference, parentReference);
|
|
1957
|
-
return "$" + lazyId$
|
|
1957
|
+
return "$" + lazyId$34.toString(16);
|
|
1958
1958
|
}
|
|
1959
1959
|
reject(x);
|
|
1960
1960
|
return null;
|
|
@@ -1968,9 +1968,9 @@ function processReply(
|
|
|
1968
1968
|
var promiseId = nextPartId++;
|
|
1969
1969
|
value.then(function (partValue) {
|
|
1970
1970
|
try {
|
|
1971
|
-
var partJSON$
|
|
1971
|
+
var partJSON$38 = serializeModel(partValue, promiseId);
|
|
1972
1972
|
partValue = formData;
|
|
1973
|
-
partValue.append(formFieldPrefix + promiseId, partJSON$
|
|
1973
|
+
partValue.append(formFieldPrefix + promiseId, partJSON$38);
|
|
1974
1974
|
pendingParts--;
|
|
1975
1975
|
0 === pendingParts && resolve(partValue);
|
|
1976
1976
|
} catch (reason) {
|
|
@@ -1994,11 +1994,11 @@ function processReply(
|
|
|
1994
1994
|
if (isArrayImpl(value)) return value;
|
|
1995
1995
|
if (value instanceof FormData) {
|
|
1996
1996
|
null === formData && (formData = new FormData());
|
|
1997
|
-
var data$
|
|
1997
|
+
var data$42 = formData;
|
|
1998
1998
|
key = nextPartId++;
|
|
1999
|
-
var prefix$
|
|
1999
|
+
var prefix$43 = formFieldPrefix + key + "_";
|
|
2000
2000
|
value.forEach(function (originalValue, originalKey) {
|
|
2001
|
-
data$
|
|
2001
|
+
data$42.append(prefix$43 + originalKey, originalValue);
|
|
2002
2002
|
});
|
|
2003
2003
|
return "$K" + key.toString(16);
|
|
2004
2004
|
}
|
|
@@ -2887,8 +2887,8 @@ function startReadableStream(response, id, type) {
|
|
|
2887
2887
|
(previousBlockedChunk = chunk));
|
|
2888
2888
|
} else {
|
|
2889
2889
|
chunk = previousBlockedChunk;
|
|
2890
|
-
var chunk$
|
|
2891
|
-
chunk$
|
|
2890
|
+
var chunk$63 = createPendingChunk(response);
|
|
2891
|
+
chunk$63.then(
|
|
2892
2892
|
function (v) {
|
|
2893
2893
|
return controller.enqueue(v);
|
|
2894
2894
|
},
|
|
@@ -2896,10 +2896,10 @@ function startReadableStream(response, id, type) {
|
|
|
2896
2896
|
return controller.error(e);
|
|
2897
2897
|
}
|
|
2898
2898
|
);
|
|
2899
|
-
previousBlockedChunk = chunk$
|
|
2899
|
+
previousBlockedChunk = chunk$63;
|
|
2900
2900
|
chunk.then(function () {
|
|
2901
|
-
previousBlockedChunk === chunk$
|
|
2902
|
-
resolveModelChunk(chunk$
|
|
2901
|
+
previousBlockedChunk === chunk$63 && (previousBlockedChunk = null);
|
|
2902
|
+
resolveModelChunk(chunk$63, json);
|
|
2903
2903
|
});
|
|
2904
2904
|
}
|
|
2905
2905
|
},
|
|
@@ -3915,8 +3915,8 @@ function pushAttribute(target, name, value) {
|
|
|
3915
3915
|
case "symbol":
|
|
3916
3916
|
return;
|
|
3917
3917
|
case "boolean":
|
|
3918
|
-
var prefix$
|
|
3919
|
-
if ("data-" !== prefix$
|
|
3918
|
+
var prefix$73 = name.toLowerCase().slice(0, 5);
|
|
3919
|
+
if ("data-" !== prefix$73 && "aria-" !== prefix$73) return;
|
|
3920
3920
|
}
|
|
3921
3921
|
target.push(" ", name, '="', escapeTextForBrowser(value), '"');
|
|
3922
3922
|
}
|
|
@@ -4703,10 +4703,10 @@ function pushStartInstance$1(
|
|
|
4703
4703
|
styleQueue.sheets.set(href, resource);
|
|
4704
4704
|
hoistableState && hoistableState.stylesheets.add(resource);
|
|
4705
4705
|
} else if (styleQueue) {
|
|
4706
|
-
var resource$
|
|
4707
|
-
resource$
|
|
4706
|
+
var resource$74 = styleQueue.sheets.get(href);
|
|
4707
|
+
resource$74 &&
|
|
4708
4708
|
hoistableState &&
|
|
4709
|
-
hoistableState.stylesheets.add(resource$
|
|
4709
|
+
hoistableState.stylesheets.add(resource$74);
|
|
4710
4710
|
}
|
|
4711
4711
|
textEmbedded && target$jscomp$0.push("\x3c!-- --\x3e");
|
|
4712
4712
|
JSCompiler_inline_result$jscomp$4 = null;
|
|
@@ -6016,10 +6016,10 @@ function useActionState(action, initialState, permalink) {
|
|
|
6016
6016
|
var nextPostbackStateKey = null,
|
|
6017
6017
|
componentKeyPath = currentlyRenderingKeyPath;
|
|
6018
6018
|
request = request.formState;
|
|
6019
|
-
var isSignatureEqual$
|
|
6020
|
-
if (null !== request && "function" === typeof isSignatureEqual$
|
|
6019
|
+
var isSignatureEqual$77 = action.$$IS_SIGNATURE_EQUAL;
|
|
6020
|
+
if (null !== request && "function" === typeof isSignatureEqual$77) {
|
|
6021
6021
|
var postbackKey = request[1];
|
|
6022
|
-
isSignatureEqual$
|
|
6022
|
+
isSignatureEqual$77.call(action, request[2], request[3]) &&
|
|
6023
6023
|
((nextPostbackStateKey =
|
|
6024
6024
|
void 0 !== permalink
|
|
6025
6025
|
? "p" + permalink
|
|
@@ -6061,11 +6061,11 @@ function useActionState(action, initialState, permalink) {
|
|
|
6061
6061
|
});
|
|
6062
6062
|
return [initialState, action, !1];
|
|
6063
6063
|
}
|
|
6064
|
-
var boundAction$
|
|
6064
|
+
var boundAction$78 = action.bind(null, initialState);
|
|
6065
6065
|
return [
|
|
6066
6066
|
initialState,
|
|
6067
6067
|
function (payload) {
|
|
6068
|
-
boundAction$
|
|
6068
|
+
boundAction$78(payload);
|
|
6069
6069
|
},
|
|
6070
6070
|
!1
|
|
6071
6071
|
];
|
|
@@ -6601,7 +6601,11 @@ function renderSuspenseListRows(request, task, keyPath, rows, revealOrder) {
|
|
|
6601
6601
|
var resumeSlots = task.replay.slots;
|
|
6602
6602
|
if (null !== resumeSlots && "object" === typeof resumeSlots)
|
|
6603
6603
|
for (var n = 0; n < keyPath; n++) {
|
|
6604
|
-
var i =
|
|
6604
|
+
var i =
|
|
6605
|
+
"backwards" !== revealOrder &&
|
|
6606
|
+
"unstable_legacy-backwards" !== revealOrder
|
|
6607
|
+
? n
|
|
6608
|
+
: keyPath - 1 - n,
|
|
6605
6609
|
node = rows[i];
|
|
6606
6610
|
task.row = previousSuspenseListRow = createSuspenseListRow(
|
|
6607
6611
|
previousSuspenseListRow
|
|
@@ -6618,7 +6622,8 @@ function renderSuspenseListRows(request, task, keyPath, rows, revealOrder) {
|
|
|
6618
6622
|
else
|
|
6619
6623
|
for (resumeSlots = 0; resumeSlots < keyPath; resumeSlots++)
|
|
6620
6624
|
(n =
|
|
6621
|
-
"backwards" !== revealOrder
|
|
6625
|
+
"backwards" !== revealOrder &&
|
|
6626
|
+
"unstable_legacy-backwards" !== revealOrder
|
|
6622
6627
|
? resumeSlots
|
|
6623
6628
|
: keyPath - 1 - resumeSlots),
|
|
6624
6629
|
(i = rows[n]),
|
|
@@ -6628,7 +6633,10 @@ function renderSuspenseListRows(request, task, keyPath, rows, revealOrder) {
|
|
|
6628
6633
|
renderNode(request, task, i, n),
|
|
6629
6634
|
0 === --previousSuspenseListRow.pendingTasks &&
|
|
6630
6635
|
finishSuspenseListRow(request, previousSuspenseListRow);
|
|
6631
|
-
} else if (
|
|
6636
|
+
} else if (
|
|
6637
|
+
"backwards" !== revealOrder &&
|
|
6638
|
+
"unstable_legacy-backwards" !== revealOrder
|
|
6639
|
+
)
|
|
6632
6640
|
for (revealOrder = 0; revealOrder < keyPath; revealOrder++)
|
|
6633
6641
|
(resumeSlots = rows[revealOrder]),
|
|
6634
6642
|
(task.row = previousSuspenseListRow =
|
|
@@ -6751,9 +6759,9 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
6751
6759
|
var defaultProps = type.defaultProps;
|
|
6752
6760
|
if (defaultProps) {
|
|
6753
6761
|
newProps === props && (newProps = assign({}, newProps, props));
|
|
6754
|
-
for (var propName$
|
|
6755
|
-
void 0 === newProps[propName$
|
|
6756
|
-
(newProps[propName$
|
|
6762
|
+
for (var propName$100 in defaultProps)
|
|
6763
|
+
void 0 === newProps[propName$100] &&
|
|
6764
|
+
(newProps[propName$100] = defaultProps[propName$100]);
|
|
6757
6765
|
}
|
|
6758
6766
|
var JSCompiler_inline_result = newProps;
|
|
6759
6767
|
var context = emptyContextObject,
|
|
@@ -6920,13 +6928,13 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
6920
6928
|
textEmbedded
|
|
6921
6929
|
);
|
|
6922
6930
|
segment.lastPushedText = !1;
|
|
6923
|
-
var prevContext$
|
|
6924
|
-
prevKeyPath$
|
|
6931
|
+
var prevContext$98 = task.formatContext,
|
|
6932
|
+
prevKeyPath$99 = task.keyPath;
|
|
6925
6933
|
task.keyPath = keyPath;
|
|
6926
6934
|
if (
|
|
6927
6935
|
3 ===
|
|
6928
6936
|
(task.formatContext = getChildFormatContext(
|
|
6929
|
-
prevContext$
|
|
6937
|
+
prevContext$98,
|
|
6930
6938
|
type,
|
|
6931
6939
|
props
|
|
6932
6940
|
)).insertionMode
|
|
@@ -6960,8 +6968,8 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
6960
6968
|
pushComponentStack(preambleTask);
|
|
6961
6969
|
request.pingedTasks.push(preambleTask);
|
|
6962
6970
|
} else renderNode(request, task, JSCompiler_inline_result$jscomp$2, -1);
|
|
6963
|
-
task.formatContext = prevContext$
|
|
6964
|
-
task.keyPath = prevKeyPath$
|
|
6971
|
+
task.formatContext = prevContext$98;
|
|
6972
|
+
task.keyPath = prevKeyPath$99;
|
|
6965
6973
|
a: {
|
|
6966
6974
|
var target$jscomp$0 = segment.chunks,
|
|
6967
6975
|
resumableState$jscomp$0 = request.resumableState;
|
|
@@ -6986,19 +6994,19 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
6986
6994
|
case "wbr":
|
|
6987
6995
|
break a;
|
|
6988
6996
|
case "body":
|
|
6989
|
-
if (1 >= prevContext$
|
|
6997
|
+
if (1 >= prevContext$98.insertionMode) {
|
|
6990
6998
|
resumableState$jscomp$0.hasBody = !0;
|
|
6991
6999
|
break a;
|
|
6992
7000
|
}
|
|
6993
7001
|
break;
|
|
6994
7002
|
case "html":
|
|
6995
|
-
if (0 === prevContext$
|
|
7003
|
+
if (0 === prevContext$98.insertionMode) {
|
|
6996
7004
|
resumableState$jscomp$0.hasHtml = !0;
|
|
6997
7005
|
break a;
|
|
6998
7006
|
}
|
|
6999
7007
|
break;
|
|
7000
7008
|
case "head":
|
|
7001
|
-
if (1 >= prevContext$
|
|
7009
|
+
if (1 >= prevContext$98.insertionMode) break a;
|
|
7002
7010
|
}
|
|
7003
7011
|
target$jscomp$0.push(endChunkForTag(type));
|
|
7004
7012
|
}
|
|
@@ -7026,10 +7034,10 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
7026
7034
|
}
|
|
7027
7035
|
} else if ("hidden" !== props.mode) {
|
|
7028
7036
|
segment$jscomp$0.lastPushedText = !1;
|
|
7029
|
-
var prevKeyPath$
|
|
7037
|
+
var prevKeyPath$102 = task.keyPath;
|
|
7030
7038
|
task.keyPath = keyPath;
|
|
7031
7039
|
renderNode(request, task, props.children, -1);
|
|
7032
|
-
task.keyPath = prevKeyPath$
|
|
7040
|
+
task.keyPath = prevKeyPath$102;
|
|
7033
7041
|
segment$jscomp$0.lastPushedText = !1;
|
|
7034
7042
|
}
|
|
7035
7043
|
return;
|
|
@@ -7037,7 +7045,11 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
7037
7045
|
a: {
|
|
7038
7046
|
var children$jscomp$0 = props.children,
|
|
7039
7047
|
revealOrder = props.revealOrder;
|
|
7040
|
-
if (
|
|
7048
|
+
if (
|
|
7049
|
+
"forwards" === revealOrder ||
|
|
7050
|
+
"backwards" === revealOrder ||
|
|
7051
|
+
"unstable_legacy-backwards" === revealOrder
|
|
7052
|
+
) {
|
|
7041
7053
|
if (isArrayImpl(children$jscomp$0)) {
|
|
7042
7054
|
renderSuspenseListRows(
|
|
7043
7055
|
request,
|
|
@@ -7068,35 +7080,35 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
7068
7080
|
}
|
|
7069
7081
|
}
|
|
7070
7082
|
if ("function" === typeof children$jscomp$0[ASYNC_ITERATOR]) {
|
|
7071
|
-
var iterator$
|
|
7072
|
-
if (iterator$
|
|
7083
|
+
var iterator$93 = children$jscomp$0[ASYNC_ITERATOR]();
|
|
7084
|
+
if (iterator$93) {
|
|
7073
7085
|
var prevThenableState = task.thenableState;
|
|
7074
7086
|
task.thenableState = null;
|
|
7075
7087
|
thenableIndexCounter = 0;
|
|
7076
7088
|
thenableState = prevThenableState;
|
|
7077
7089
|
var rows = [],
|
|
7078
7090
|
done = !1;
|
|
7079
|
-
if (iterator$
|
|
7091
|
+
if (iterator$93 === children$jscomp$0)
|
|
7080
7092
|
for (
|
|
7081
|
-
var step$
|
|
7082
|
-
void 0 !== step$
|
|
7093
|
+
var step$94 = readPreviousThenableFromState();
|
|
7094
|
+
void 0 !== step$94;
|
|
7083
7095
|
|
|
7084
7096
|
) {
|
|
7085
|
-
if (step$
|
|
7097
|
+
if (step$94.done) {
|
|
7086
7098
|
done = !0;
|
|
7087
7099
|
break;
|
|
7088
7100
|
}
|
|
7089
|
-
rows.push(step$
|
|
7090
|
-
step$
|
|
7101
|
+
rows.push(step$94.value);
|
|
7102
|
+
step$94 = readPreviousThenableFromState();
|
|
7091
7103
|
}
|
|
7092
7104
|
if (!done)
|
|
7093
7105
|
for (
|
|
7094
|
-
var step$
|
|
7095
|
-
!step$
|
|
7106
|
+
var step$95 = unwrapThenable(iterator$93.next());
|
|
7107
|
+
!step$95.done;
|
|
7096
7108
|
|
|
7097
7109
|
)
|
|
7098
|
-
rows.push(step$
|
|
7099
|
-
(step$
|
|
7110
|
+
rows.push(step$95.value),
|
|
7111
|
+
(step$95 = unwrapThenable(iterator$93.next()));
|
|
7100
7112
|
renderSuspenseListRows(
|
|
7101
7113
|
request,
|
|
7102
7114
|
task,
|
|
@@ -7109,7 +7121,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
7109
7121
|
}
|
|
7110
7122
|
}
|
|
7111
7123
|
if ("together" === revealOrder) {
|
|
7112
|
-
var prevKeyPath$
|
|
7124
|
+
var prevKeyPath$96 = task.keyPath,
|
|
7113
7125
|
prevRow = task.row,
|
|
7114
7126
|
newRow = (task.row = createSuspenseListRow(null));
|
|
7115
7127
|
newRow.boundaries = [];
|
|
@@ -7118,7 +7130,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
7118
7130
|
renderNodeDestructive(request, task, children$jscomp$0, -1);
|
|
7119
7131
|
0 === --newRow.pendingTasks &&
|
|
7120
7132
|
finishSuspenseListRow(request, newRow);
|
|
7121
|
-
task.keyPath = prevKeyPath$
|
|
7133
|
+
task.keyPath = prevKeyPath$96;
|
|
7122
7134
|
task.row = prevRow;
|
|
7123
7135
|
null !== prevRow &&
|
|
7124
7136
|
0 < newRow.pendingTasks &&
|
|
@@ -7156,22 +7168,22 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
7156
7168
|
throw Error("ReactDOMServer does not yet support scope components.");
|
|
7157
7169
|
case REACT_SUSPENSE_TYPE:
|
|
7158
7170
|
a: if (null !== task.replay) {
|
|
7159
|
-
var prevKeyPath$
|
|
7160
|
-
prevContext$
|
|
7161
|
-
prevRow$
|
|
7171
|
+
var prevKeyPath$80 = task.keyPath,
|
|
7172
|
+
prevContext$81 = task.formatContext,
|
|
7173
|
+
prevRow$82 = task.row;
|
|
7162
7174
|
task.keyPath = keyPath;
|
|
7163
7175
|
task.formatContext = getSuspenseContentFormatContext(
|
|
7164
7176
|
request.resumableState,
|
|
7165
|
-
prevContext$
|
|
7177
|
+
prevContext$81
|
|
7166
7178
|
);
|
|
7167
7179
|
task.row = null;
|
|
7168
|
-
var content$
|
|
7180
|
+
var content$83 = props.children;
|
|
7169
7181
|
try {
|
|
7170
|
-
renderNode(request, task, content$
|
|
7182
|
+
renderNode(request, task, content$83, -1);
|
|
7171
7183
|
} finally {
|
|
7172
|
-
(task.keyPath = prevKeyPath$
|
|
7173
|
-
(task.formatContext = prevContext$
|
|
7174
|
-
(task.row = prevRow$
|
|
7184
|
+
(task.keyPath = prevKeyPath$80),
|
|
7185
|
+
(task.formatContext = prevContext$81),
|
|
7186
|
+
(task.row = prevRow$82);
|
|
7175
7187
|
}
|
|
7176
7188
|
} else {
|
|
7177
7189
|
var prevKeyPath$jscomp$5 = task.keyPath,
|
|
@@ -7310,12 +7322,12 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
7310
7322
|
null !== prevRow$jscomp$0 &&
|
|
7311
7323
|
prevRow$jscomp$0.together &&
|
|
7312
7324
|
tryToResolveTogetherRow(request, prevRow$jscomp$0);
|
|
7313
|
-
} catch (thrownValue$
|
|
7325
|
+
} catch (thrownValue$84) {
|
|
7314
7326
|
newBoundary.status = 4;
|
|
7315
7327
|
if (12 === request.status) {
|
|
7316
7328
|
contentRootSegment.status = 3;
|
|
7317
7329
|
var error = request.fatalError;
|
|
7318
|
-
} else (contentRootSegment.status = 4), (error = thrownValue$
|
|
7330
|
+
} else (contentRootSegment.status = 4), (error = thrownValue$84);
|
|
7319
7331
|
var thrownInfo = getThrownInfo(task.componentStack);
|
|
7320
7332
|
if (
|
|
7321
7333
|
"object" === typeof error &&
|
|
@@ -8049,15 +8061,15 @@ function renderNode(request, task, node, childIndex) {
|
|
|
8049
8061
|
chunkLength = segment.chunks.length;
|
|
8050
8062
|
try {
|
|
8051
8063
|
return renderNodeDestructive(request, task, node, childIndex);
|
|
8052
|
-
} catch (thrownValue$
|
|
8064
|
+
} catch (thrownValue$123) {
|
|
8053
8065
|
if (
|
|
8054
8066
|
(resetHooksState(),
|
|
8055
8067
|
(segment.children.length = childrenLength),
|
|
8056
8068
|
(segment.chunks.length = chunkLength),
|
|
8057
8069
|
(childIndex =
|
|
8058
|
-
thrownValue$
|
|
8070
|
+
thrownValue$123 === SuspenseException
|
|
8059
8071
|
? getSuspendedThenable()
|
|
8060
|
-
: thrownValue$
|
|
8072
|
+
: thrownValue$123),
|
|
8061
8073
|
"object" === typeof childIndex && null !== childIndex)
|
|
8062
8074
|
) {
|
|
8063
8075
|
if ("function" === typeof childIndex.then) {
|
|
@@ -8259,16 +8271,16 @@ function abortTask(task, request, error) {
|
|
|
8259
8271
|
0 === request.pendingRootTasks && completeShell(request);
|
|
8260
8272
|
}
|
|
8261
8273
|
} else {
|
|
8262
|
-
var trackedPostpones$
|
|
8274
|
+
var trackedPostpones$126 = request.trackedPostpones;
|
|
8263
8275
|
if (4 !== boundary.status) {
|
|
8264
|
-
if (null !== trackedPostpones$
|
|
8276
|
+
if (null !== trackedPostpones$126 && null !== segment)
|
|
8265
8277
|
return (
|
|
8266
8278
|
"object" === typeof error &&
|
|
8267
8279
|
null !== error &&
|
|
8268
8280
|
error.$$typeof === REACT_POSTPONE_TYPE
|
|
8269
8281
|
? logPostpone(request, error.message, errorInfo)
|
|
8270
8282
|
: logRecoverableError(request, error, errorInfo),
|
|
8271
|
-
trackPostpone(request, trackedPostpones$
|
|
8283
|
+
trackPostpone(request, trackedPostpones$126, task, segment),
|
|
8272
8284
|
boundary.fallbackAbortableTasks.forEach(function (fallbackTask) {
|
|
8273
8285
|
return abortTask(fallbackTask, request, error);
|
|
8274
8286
|
}),
|
|
@@ -8637,13 +8649,13 @@ function performWork(request$jscomp$1) {
|
|
|
8637
8649
|
null !== request.trackedPostpones &&
|
|
8638
8650
|
x$jscomp$0.$$typeof === REACT_POSTPONE_TYPE
|
|
8639
8651
|
) {
|
|
8640
|
-
var trackedPostpones$
|
|
8652
|
+
var trackedPostpones$132 = request.trackedPostpones;
|
|
8641
8653
|
task.abortSet.delete(task);
|
|
8642
8654
|
var postponeInfo = getThrownInfo(task.componentStack);
|
|
8643
8655
|
logPostpone(request, x$jscomp$0.message, postponeInfo);
|
|
8644
8656
|
trackPostpone(
|
|
8645
8657
|
request,
|
|
8646
|
-
trackedPostpones$
|
|
8658
|
+
trackedPostpones$132,
|
|
8647
8659
|
task,
|
|
8648
8660
|
segment$jscomp$0
|
|
8649
8661
|
);
|
|
@@ -9228,12 +9240,12 @@ function flushCompletedQueues(request, destination) {
|
|
|
9228
9240
|
completedBoundaries.splice(0, i);
|
|
9229
9241
|
var partialBoundaries = request.partialBoundaries;
|
|
9230
9242
|
for (i = 0; i < partialBoundaries.length; i++) {
|
|
9231
|
-
var boundary$
|
|
9243
|
+
var boundary$136 = partialBoundaries[i];
|
|
9232
9244
|
a: {
|
|
9233
9245
|
clientRenderedBoundaries = request;
|
|
9234
9246
|
boundary = destination;
|
|
9235
|
-
flushedByteSize = boundary$
|
|
9236
|
-
var completedSegments = boundary$
|
|
9247
|
+
flushedByteSize = boundary$136.byteSize;
|
|
9248
|
+
var completedSegments = boundary$136.completedSegments;
|
|
9237
9249
|
for (
|
|
9238
9250
|
JSCompiler_inline_result = 0;
|
|
9239
9251
|
JSCompiler_inline_result < completedSegments.length;
|
|
@@ -9243,7 +9255,7 @@ function flushCompletedQueues(request, destination) {
|
|
|
9243
9255
|
!flushPartiallyCompletedSegment(
|
|
9244
9256
|
clientRenderedBoundaries,
|
|
9245
9257
|
boundary,
|
|
9246
|
-
boundary$
|
|
9258
|
+
boundary$136,
|
|
9247
9259
|
completedSegments[JSCompiler_inline_result]
|
|
9248
9260
|
)
|
|
9249
9261
|
) {
|
|
@@ -9253,10 +9265,10 @@ function flushCompletedQueues(request, destination) {
|
|
|
9253
9265
|
break a;
|
|
9254
9266
|
}
|
|
9255
9267
|
completedSegments.splice(0, JSCompiler_inline_result);
|
|
9256
|
-
var row = boundary$
|
|
9268
|
+
var row = boundary$136.row;
|
|
9257
9269
|
null !== row &&
|
|
9258
9270
|
row.together &&
|
|
9259
|
-
1 === boundary$
|
|
9271
|
+
1 === boundary$136.pendingTasks &&
|
|
9260
9272
|
(1 === row.pendingTasks
|
|
9261
9273
|
? unblockSuspenseListRow(
|
|
9262
9274
|
clientRenderedBoundaries,
|
|
@@ -9266,7 +9278,7 @@ function flushCompletedQueues(request, destination) {
|
|
|
9266
9278
|
: row.pendingTasks--);
|
|
9267
9279
|
JSCompiler_inline_result$jscomp$0 = writeHoistablesForBoundary(
|
|
9268
9280
|
boundary,
|
|
9269
|
-
boundary$
|
|
9281
|
+
boundary$136.contentState,
|
|
9270
9282
|
clientRenderedBoundaries.renderState
|
|
9271
9283
|
);
|
|
9272
9284
|
}
|
|
@@ -9337,8 +9349,8 @@ function abort(request, reason) {
|
|
|
9337
9349
|
}
|
|
9338
9350
|
null !== request.destination &&
|
|
9339
9351
|
flushCompletedQueues(request, request.destination);
|
|
9340
|
-
} catch (error$
|
|
9341
|
-
logRecoverableError(request, error$
|
|
9352
|
+
} catch (error$138) {
|
|
9353
|
+
logRecoverableError(request, error$138, {}), fatalError(request, error$138);
|
|
9342
9354
|
}
|
|
9343
9355
|
}
|
|
9344
9356
|
function addToReplayParent(node, parentKeyPath, trackedPostpones) {
|
|
@@ -9469,6 +9481,7 @@ exports.experimental_renderToHTML = function (children, options) {
|
|
|
9469
9481
|
break;
|
|
9470
9482
|
case 78:
|
|
9471
9483
|
case 68:
|
|
9484
|
+
case 74:
|
|
9472
9485
|
case 87:
|
|
9473
9486
|
throw Error(
|
|
9474
9487
|
"Failed to read a RSC payload created by a development version of React on the server while using a production version on the client. Always use matching versions on the server and the client."
|
|
@@ -9649,4 +9662,4 @@ exports.experimental_renderToHTML = function (children, options) {
|
|
|
9649
9662
|
});
|
|
9650
9663
|
});
|
|
9651
9664
|
};
|
|
9652
|
-
exports.version = "19.2.0-experimental-
|
|
9665
|
+
exports.version = "19.2.0-experimental-b4477d38-20250605";
|
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-b4477d38-20250605",
|
|
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-b4477d38-20250605"
|
|
21
21
|
},
|
|
22
22
|
"files": [
|
|
23
23
|
"LICENSE",
|