react-markup 0.0.0-experimental-0ff1d13b-20250507 → 0.0.0-experimental-21fdf308-20250508
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.
|
@@ -745,6 +745,7 @@
|
|
|
745
745
|
? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')"
|
|
746
746
|
: url;
|
|
747
747
|
}
|
|
748
|
+
function noop() {}
|
|
748
749
|
function escapeEntireInlineScriptContent(scriptText) {
|
|
749
750
|
checkHtmlStringCoercion(scriptText);
|
|
750
751
|
return ("" + scriptText).replace(scriptRegex, scriptReplacer);
|
|
@@ -3841,13 +3842,11 @@
|
|
|
3841
3842
|
x >>>= 0;
|
|
3842
3843
|
return 0 === x ? 32 : (31 - ((log(x) / LN2) | 0)) | 0;
|
|
3843
3844
|
}
|
|
3844
|
-
function noop$2() {}
|
|
3845
3845
|
function trackUsedThenable(thenableState, thenable, index) {
|
|
3846
3846
|
index = thenableState[index];
|
|
3847
3847
|
void 0 === index
|
|
3848
3848
|
? thenableState.push(thenable)
|
|
3849
|
-
: index !== thenable &&
|
|
3850
|
-
(thenable.then(noop$2, noop$2), (thenable = index));
|
|
3849
|
+
: index !== thenable && (thenable.then(noop, noop), (thenable = index));
|
|
3851
3850
|
switch (thenable.status) {
|
|
3852
3851
|
case "fulfilled":
|
|
3853
3852
|
return thenable.value;
|
|
@@ -3855,7 +3854,7 @@
|
|
|
3855
3854
|
throw thenable.reason;
|
|
3856
3855
|
default:
|
|
3857
3856
|
"string" === typeof thenable.status
|
|
3858
|
-
? thenable.then(noop
|
|
3857
|
+
? thenable.then(noop, noop)
|
|
3859
3858
|
: ((thenableState = thenable),
|
|
3860
3859
|
(thenableState.status = "pending"),
|
|
3861
3860
|
thenableState.then(
|
|
@@ -4396,7 +4395,6 @@
|
|
|
4396
4395
|
} else console.error(error);
|
|
4397
4396
|
return null;
|
|
4398
4397
|
}
|
|
4399
|
-
function noop() {}
|
|
4400
4398
|
function RequestInstance(
|
|
4401
4399
|
resumableState,
|
|
4402
4400
|
renderState,
|
|
@@ -8879,7 +8877,7 @@
|
|
|
8879
8877
|
useReducer: clientHookNotSupported,
|
|
8880
8878
|
useRef: clientHookNotSupported,
|
|
8881
8879
|
useState: clientHookNotSupported,
|
|
8882
|
-
useDebugValue:
|
|
8880
|
+
useDebugValue: noop,
|
|
8883
8881
|
useDeferredValue: clientHookNotSupported,
|
|
8884
8882
|
useTransition: clientHookNotSupported,
|
|
8885
8883
|
useSyncExternalStore: clientHookNotSupported,
|
|
@@ -9047,5 +9045,5 @@
|
|
|
9047
9045
|
});
|
|
9048
9046
|
});
|
|
9049
9047
|
};
|
|
9050
|
-
exports.version = "19.2.0-experimental-
|
|
9048
|
+
exports.version = "19.2.0-experimental-21fdf308-20250508";
|
|
9051
9049
|
})();
|
|
@@ -276,8 +276,9 @@ function sanitizeURL(url) {
|
|
|
276
276
|
: url;
|
|
277
277
|
}
|
|
278
278
|
var ReactSharedInternals =
|
|
279
|
-
|
|
280
|
-
|
|
279
|
+
React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
|
280
|
+
function noop() {}
|
|
281
|
+
var sharedNotPendingObject = {
|
|
281
282
|
pending: !1,
|
|
282
283
|
data: null,
|
|
283
284
|
method: null,
|
|
@@ -2847,12 +2848,11 @@ function clz32Fallback(x) {
|
|
|
2847
2848
|
var SuspenseException = Error(
|
|
2848
2849
|
"Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."
|
|
2849
2850
|
);
|
|
2850
|
-
function noop$2() {}
|
|
2851
2851
|
function trackUsedThenable(thenableState, thenable, index) {
|
|
2852
2852
|
index = thenableState[index];
|
|
2853
2853
|
void 0 === index
|
|
2854
2854
|
? thenableState.push(thenable)
|
|
2855
|
-
: index !== thenable && (thenable.then(noop
|
|
2855
|
+
: index !== thenable && (thenable.then(noop, noop), (thenable = index));
|
|
2856
2856
|
switch (thenable.status) {
|
|
2857
2857
|
case "fulfilled":
|
|
2858
2858
|
return thenable.value;
|
|
@@ -2860,7 +2860,7 @@ function trackUsedThenable(thenableState, thenable, index) {
|
|
|
2860
2860
|
throw thenable.reason;
|
|
2861
2861
|
default:
|
|
2862
2862
|
"string" === typeof thenable.status
|
|
2863
|
-
? thenable.then(noop
|
|
2863
|
+
? thenable.then(noop, noop)
|
|
2864
2864
|
: ((thenableState = thenable),
|
|
2865
2865
|
(thenableState.status = "pending"),
|
|
2866
2866
|
thenableState.then(
|
|
@@ -3098,7 +3098,7 @@ var HooksDispatcher = {
|
|
|
3098
3098
|
useReducer: clientHookNotSupported,
|
|
3099
3099
|
useRef: clientHookNotSupported,
|
|
3100
3100
|
useState: clientHookNotSupported,
|
|
3101
|
-
useDebugValue:
|
|
3101
|
+
useDebugValue: noop,
|
|
3102
3102
|
useDeferredValue: clientHookNotSupported,
|
|
3103
3103
|
useTransition: clientHookNotSupported,
|
|
3104
3104
|
useSyncExternalStore: clientHookNotSupported,
|
|
@@ -3370,7 +3370,6 @@ function defaultErrorHandler(error) {
|
|
|
3370
3370
|
} else console.error(error);
|
|
3371
3371
|
return null;
|
|
3372
3372
|
}
|
|
3373
|
-
function noop() {}
|
|
3374
3373
|
function RequestInstance(
|
|
3375
3374
|
resumableState,
|
|
3376
3375
|
renderState,
|
|
@@ -6084,4 +6083,4 @@ exports.experimental_renderToHTML = function (children, options) {
|
|
|
6084
6083
|
});
|
|
6085
6084
|
});
|
|
6086
6085
|
};
|
|
6087
|
-
exports.version = "19.2.0-experimental-
|
|
6086
|
+
exports.version = "19.2.0-experimental-21fdf308-20250508";
|
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
var callSite = structuredStackTrace[i],
|
|
146
146
|
_name = callSite.getFunctionName() || "<anonymous>";
|
|
147
147
|
if ("react-stack-bottom-frame" === _name) break;
|
|
148
|
-
else if (callSite.isNative()) result.push([_name, "", 0, 0]);
|
|
148
|
+
else if (callSite.isNative()) result.push([_name, "", 0, 0, 0, 0]);
|
|
149
149
|
else {
|
|
150
150
|
if (callSite.isConstructor()) _name = "new " + _name;
|
|
151
151
|
else if (!callSite.isToplevel()) {
|
|
@@ -179,8 +179,23 @@
|
|
|
179
179
|
(callSite$jscomp$0 = callSite.getEvalOrigin()) &&
|
|
180
180
|
(methodName = callSite$jscomp$0.toString() + ", <anonymous>");
|
|
181
181
|
callSite$jscomp$0 = callSite.getLineNumber() || 0;
|
|
182
|
-
|
|
183
|
-
|
|
182
|
+
result$jscomp$0 = callSite.getColumnNumber() || 0;
|
|
183
|
+
var enclosingLine =
|
|
184
|
+
"function" === typeof callSite.getEnclosingLineNumber
|
|
185
|
+
? callSite.getEnclosingLineNumber() || 0
|
|
186
|
+
: 0;
|
|
187
|
+
callSite =
|
|
188
|
+
"function" === typeof callSite.getEnclosingColumnNumber
|
|
189
|
+
? callSite.getEnclosingColumnNumber() || 0
|
|
190
|
+
: 0;
|
|
191
|
+
result.push([
|
|
192
|
+
_name,
|
|
193
|
+
methodName,
|
|
194
|
+
callSite$jscomp$0,
|
|
195
|
+
result$jscomp$0,
|
|
196
|
+
enclosingLine,
|
|
197
|
+
callSite
|
|
198
|
+
]);
|
|
184
199
|
}
|
|
185
200
|
}
|
|
186
201
|
error = (error.name || "Error") + ": " + (error.message || "");
|
|
@@ -200,13 +215,12 @@
|
|
|
200
215
|
maybeIterable["@@iterator"];
|
|
201
216
|
return "function" === typeof maybeIterable ? maybeIterable : null;
|
|
202
217
|
}
|
|
203
|
-
function noop
|
|
218
|
+
function noop() {}
|
|
204
219
|
function trackUsedThenable$1(thenableState, thenable, index) {
|
|
205
220
|
index = thenableState[index];
|
|
206
221
|
void 0 === index
|
|
207
222
|
? thenableState.push(thenable)
|
|
208
|
-
: index !== thenable &&
|
|
209
|
-
(thenable.then(noop$4, noop$4), (thenable = index));
|
|
223
|
+
: index !== thenable && (thenable.then(noop, noop), (thenable = index));
|
|
210
224
|
switch (thenable.status) {
|
|
211
225
|
case "fulfilled":
|
|
212
226
|
return thenable.value;
|
|
@@ -214,7 +228,7 @@
|
|
|
214
228
|
throw thenable.reason;
|
|
215
229
|
default:
|
|
216
230
|
"string" === typeof thenable.status
|
|
217
|
-
? thenable.then(noop
|
|
231
|
+
? thenable.then(noop, noop)
|
|
218
232
|
: ((thenableState = thenable),
|
|
219
233
|
(thenableState.status = "pending"),
|
|
220
234
|
thenableState.then(
|
|
@@ -778,7 +792,9 @@
|
|
|
778
792
|
name,
|
|
779
793
|
filename,
|
|
780
794
|
+(parsed[3] || parsed[6]),
|
|
781
|
-
+(parsed[4] || parsed[7])
|
|
795
|
+
+(parsed[4] || parsed[7]),
|
|
796
|
+
0,
|
|
797
|
+
0
|
|
782
798
|
]);
|
|
783
799
|
}
|
|
784
800
|
}
|
|
@@ -852,7 +868,6 @@
|
|
|
852
868
|
function defaultErrorHandler$1(error) {
|
|
853
869
|
console.error(error);
|
|
854
870
|
}
|
|
855
|
-
function defaultPostponeHandler() {}
|
|
856
871
|
function RequestInstance$1(
|
|
857
872
|
type,
|
|
858
873
|
model,
|
|
@@ -927,7 +942,6 @@
|
|
|
927
942
|
model = createTask(this, model, null, !1, abortSet, null, null, null);
|
|
928
943
|
pingedTasks.push(model);
|
|
929
944
|
}
|
|
930
|
-
function noop$3() {}
|
|
931
945
|
function createRequest$1(
|
|
932
946
|
model,
|
|
933
947
|
bundlerConfig,
|
|
@@ -949,8 +963,8 @@
|
|
|
949
963
|
temporaryReferences,
|
|
950
964
|
environmentName,
|
|
951
965
|
filterStackFrame,
|
|
952
|
-
noop
|
|
953
|
-
noop
|
|
966
|
+
noop,
|
|
967
|
+
noop
|
|
954
968
|
);
|
|
955
969
|
}
|
|
956
970
|
function serializeThenable(request, task, thenable) {
|
|
@@ -4497,41 +4511,90 @@
|
|
|
4497
4511
|
sourceMap,
|
|
4498
4512
|
line,
|
|
4499
4513
|
col,
|
|
4514
|
+
enclosingLine,
|
|
4515
|
+
enclosingCol,
|
|
4500
4516
|
environmentName
|
|
4501
4517
|
) {
|
|
4502
4518
|
name || (name = "<anonymous>");
|
|
4503
4519
|
var encodedName = JSON.stringify(name);
|
|
4504
|
-
1
|
|
4505
|
-
|
|
4506
|
-
|
|
4507
|
-
|
|
4508
|
-
|
|
4509
|
-
|
|
4510
|
-
|
|
4511
|
-
|
|
4512
|
-
|
|
4513
|
-
|
|
4514
|
-
|
|
4520
|
+
1 > enclosingLine ? (enclosingLine = 0) : enclosingLine--;
|
|
4521
|
+
1 > enclosingCol ? (enclosingCol = 0) : enclosingCol--;
|
|
4522
|
+
1 > line ? (line = 0) : line--;
|
|
4523
|
+
1 > col ? (col = 0) : col--;
|
|
4524
|
+
if (
|
|
4525
|
+
line < enclosingLine ||
|
|
4526
|
+
(line === enclosingLine && col < enclosingCol)
|
|
4527
|
+
)
|
|
4528
|
+
enclosingCol = enclosingLine = 0;
|
|
4529
|
+
1 > line
|
|
4530
|
+
? ((line = encodedName.length + 3),
|
|
4531
|
+
(enclosingCol -= line),
|
|
4532
|
+
0 > enclosingCol && (enclosingCol = 0),
|
|
4533
|
+
(col = col - enclosingCol - line - 3),
|
|
4534
|
+
0 > col && (col = 0),
|
|
4535
|
+
(encodedName =
|
|
4515
4536
|
"({" +
|
|
4516
4537
|
encodedName +
|
|
4517
|
-
":
|
|
4518
|
-
" ".repeat(
|
|
4519
|
-
"_
|
|
4538
|
+
":" +
|
|
4539
|
+
" ".repeat(enclosingCol) +
|
|
4540
|
+
"_=>" +
|
|
4541
|
+
" ".repeat(col) +
|
|
4542
|
+
"_()})"))
|
|
4543
|
+
: 1 > enclosingLine
|
|
4544
|
+
? ((enclosingCol -= encodedName.length + 3),
|
|
4545
|
+
0 > enclosingCol && (enclosingCol = 0),
|
|
4546
|
+
(encodedName =
|
|
4547
|
+
"({" +
|
|
4548
|
+
encodedName +
|
|
4549
|
+
":" +
|
|
4550
|
+
" ".repeat(enclosingCol) +
|
|
4551
|
+
"_=>" +
|
|
4552
|
+
"\n".repeat(line - enclosingLine) +
|
|
4553
|
+
" ".repeat(col) +
|
|
4554
|
+
"_()})"))
|
|
4555
|
+
: enclosingLine === line
|
|
4556
|
+
? ((col = col - enclosingCol - 3),
|
|
4557
|
+
0 > col && (col = 0),
|
|
4558
|
+
(encodedName =
|
|
4559
|
+
"\n".repeat(enclosingLine - 1) +
|
|
4560
|
+
"({" +
|
|
4561
|
+
encodedName +
|
|
4562
|
+
":\n" +
|
|
4563
|
+
" ".repeat(enclosingCol) +
|
|
4564
|
+
"_=>" +
|
|
4565
|
+
" ".repeat(col) +
|
|
4566
|
+
"_()})"))
|
|
4567
|
+
: (encodedName =
|
|
4568
|
+
"\n".repeat(enclosingLine - 1) +
|
|
4569
|
+
"({" +
|
|
4570
|
+
encodedName +
|
|
4571
|
+
":\n" +
|
|
4572
|
+
" ".repeat(enclosingCol) +
|
|
4573
|
+
"_=>" +
|
|
4574
|
+
"\n".repeat(line - enclosingLine) +
|
|
4575
|
+
" ".repeat(col) +
|
|
4576
|
+
"_()})");
|
|
4577
|
+
encodedName =
|
|
4578
|
+
1 > enclosingLine
|
|
4579
|
+
? encodedName +
|
|
4580
|
+
"\n/* This module was rendered by a Server Component. Turn on Source Maps to see the server source. */"
|
|
4581
|
+
: "/* This module was rendered by a Server Component. Turn on Source Maps to see the server source. */" +
|
|
4582
|
+
encodedName;
|
|
4520
4583
|
filename.startsWith("/") && (filename = "file://" + filename);
|
|
4521
4584
|
sourceMap
|
|
4522
|
-
? ((
|
|
4585
|
+
? ((encodedName +=
|
|
4523
4586
|
"\n//# sourceURL=rsc://React/" +
|
|
4524
4587
|
encodeURIComponent(environmentName) +
|
|
4525
4588
|
"/" +
|
|
4526
4589
|
encodeURI(filename) +
|
|
4527
4590
|
"?" +
|
|
4528
4591
|
fakeFunctionIdx++),
|
|
4529
|
-
(
|
|
4530
|
-
: (
|
|
4531
|
-
?
|
|
4532
|
-
:
|
|
4592
|
+
(encodedName += "\n//# sourceMappingURL=" + sourceMap))
|
|
4593
|
+
: (encodedName = filename
|
|
4594
|
+
? encodedName + ("\n//# sourceURL=" + encodeURI(filename))
|
|
4595
|
+
: encodedName + "\n//# sourceURL=<anonymous>");
|
|
4533
4596
|
try {
|
|
4534
|
-
var fn = (0, eval)(
|
|
4597
|
+
var fn = (0, eval)(encodedName)[name];
|
|
4535
4598
|
} catch (x) {
|
|
4536
4599
|
fn = function (_) {
|
|
4537
4600
|
return _();
|
|
@@ -4547,8 +4610,10 @@
|
|
|
4547
4610
|
if (void 0 === fn) {
|
|
4548
4611
|
fn = frame[0];
|
|
4549
4612
|
var filename = frame[1],
|
|
4550
|
-
line = frame[2]
|
|
4551
|
-
|
|
4613
|
+
line = frame[2],
|
|
4614
|
+
col = frame[3],
|
|
4615
|
+
enclosingLine = frame[4];
|
|
4616
|
+
frame = frame[5];
|
|
4552
4617
|
var findSourceMapURL = response._debugFindSourceMapURL;
|
|
4553
4618
|
findSourceMapURL = findSourceMapURL
|
|
4554
4619
|
? findSourceMapURL(filename, environmentName)
|
|
@@ -4558,6 +4623,8 @@
|
|
|
4558
4623
|
filename,
|
|
4559
4624
|
findSourceMapURL,
|
|
4560
4625
|
line,
|
|
4626
|
+
col,
|
|
4627
|
+
enclosingLine,
|
|
4561
4628
|
frame,
|
|
4562
4629
|
environmentName
|
|
4563
4630
|
);
|
|
@@ -8555,13 +8622,11 @@
|
|
|
8555
8622
|
x >>>= 0;
|
|
8556
8623
|
return 0 === x ? 32 : (31 - ((log(x) / LN2) | 0)) | 0;
|
|
8557
8624
|
}
|
|
8558
|
-
function noop$2() {}
|
|
8559
8625
|
function trackUsedThenable(thenableState, thenable, index) {
|
|
8560
8626
|
index = thenableState[index];
|
|
8561
8627
|
void 0 === index
|
|
8562
8628
|
? thenableState.push(thenable)
|
|
8563
|
-
: index !== thenable &&
|
|
8564
|
-
(thenable.then(noop$2, noop$2), (thenable = index));
|
|
8629
|
+
: index !== thenable && (thenable.then(noop, noop), (thenable = index));
|
|
8565
8630
|
switch (thenable.status) {
|
|
8566
8631
|
case "fulfilled":
|
|
8567
8632
|
return thenable.value;
|
|
@@ -8569,7 +8634,7 @@
|
|
|
8569
8634
|
throw thenable.reason;
|
|
8570
8635
|
default:
|
|
8571
8636
|
"string" === typeof thenable.status
|
|
8572
|
-
? thenable.then(noop
|
|
8637
|
+
? thenable.then(noop, noop)
|
|
8573
8638
|
: ((thenableState = thenable),
|
|
8574
8639
|
(thenableState.status = "pending"),
|
|
8575
8640
|
thenableState.then(
|
|
@@ -8850,7 +8915,6 @@
|
|
|
8850
8915
|
: console.error(error);
|
|
8851
8916
|
return null;
|
|
8852
8917
|
}
|
|
8853
|
-
function noop() {}
|
|
8854
8918
|
function RequestInstance(
|
|
8855
8919
|
resumableState,
|
|
8856
8920
|
renderState,
|
|
@@ -12714,6 +12778,7 @@
|
|
|
12714
12778
|
ReactSharedInternalsServer.TaintRegistryByteLengths,
|
|
12715
12779
|
TaintRegistryPendingRequests =
|
|
12716
12780
|
ReactSharedInternalsServer.TaintRegistryPendingRequests,
|
|
12781
|
+
defaultPostponeHandler = noop,
|
|
12717
12782
|
currentRequest = null,
|
|
12718
12783
|
debugID = null,
|
|
12719
12784
|
serializedSize = 0,
|
|
@@ -13660,7 +13725,7 @@
|
|
|
13660
13725
|
useReducer: clientHookNotSupported,
|
|
13661
13726
|
useRef: clientHookNotSupported,
|
|
13662
13727
|
useState: clientHookNotSupported,
|
|
13663
|
-
useDebugValue:
|
|
13728
|
+
useDebugValue: noop,
|
|
13664
13729
|
useDeferredValue: clientHookNotSupported,
|
|
13665
13730
|
useTransition: clientHookNotSupported,
|
|
13666
13731
|
useSyncExternalStore: clientHookNotSupported,
|
|
@@ -13951,5 +14016,5 @@
|
|
|
13951
14016
|
});
|
|
13952
14017
|
});
|
|
13953
14018
|
};
|
|
13954
|
-
exports.version = "19.2.0-experimental-
|
|
14019
|
+
exports.version = "19.2.0-experimental-21fdf308-20250508";
|
|
13955
14020
|
})();
|
|
@@ -139,16 +139,16 @@ function getIteratorFn(maybeIterable) {
|
|
|
139
139
|
maybeIterable["@@iterator"];
|
|
140
140
|
return "function" === typeof maybeIterable ? maybeIterable : null;
|
|
141
141
|
}
|
|
142
|
-
var ASYNC_ITERATOR = Symbol.asyncIterator
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
142
|
+
var ASYNC_ITERATOR = Symbol.asyncIterator;
|
|
143
|
+
function noop() {}
|
|
144
|
+
var SuspenseException$1 = Error(
|
|
145
|
+
"Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."
|
|
146
|
+
);
|
|
147
147
|
function trackUsedThenable$1(thenableState, thenable, index) {
|
|
148
148
|
index = thenableState[index];
|
|
149
149
|
void 0 === index
|
|
150
150
|
? thenableState.push(thenable)
|
|
151
|
-
: index !== thenable && (thenable.then(noop
|
|
151
|
+
: index !== thenable && (thenable.then(noop, noop), (thenable = index));
|
|
152
152
|
switch (thenable.status) {
|
|
153
153
|
case "fulfilled":
|
|
154
154
|
return thenable.value;
|
|
@@ -156,7 +156,7 @@ function trackUsedThenable$1(thenableState, thenable, index) {
|
|
|
156
156
|
throw thenable.reason;
|
|
157
157
|
default:
|
|
158
158
|
"string" === typeof thenable.status
|
|
159
|
-
? thenable.then(noop
|
|
159
|
+
? thenable.then(noop, noop)
|
|
160
160
|
: ((thenableState = thenable),
|
|
161
161
|
(thenableState.status = "pending"),
|
|
162
162
|
thenableState.then(
|
|
@@ -592,7 +592,6 @@ function cleanupTaintQueue(request) {
|
|
|
592
592
|
function defaultErrorHandler$1(error) {
|
|
593
593
|
console.error(error);
|
|
594
594
|
}
|
|
595
|
-
function defaultPostponeHandler() {}
|
|
596
595
|
function RequestInstance$1(
|
|
597
596
|
type,
|
|
598
597
|
model,
|
|
@@ -640,13 +639,12 @@ function RequestInstance$1(
|
|
|
640
639
|
this.identifierCount = 1;
|
|
641
640
|
this.taintCleanupQueue = cleanupQueue;
|
|
642
641
|
this.onError = void 0 === onError ? defaultErrorHandler$1 : onError;
|
|
643
|
-
this.onPostpone = void 0 === onPostpone ?
|
|
642
|
+
this.onPostpone = void 0 === onPostpone ? noop : onPostpone;
|
|
644
643
|
this.onAllReady = onAllReady;
|
|
645
644
|
this.onFatalError = onFatalError;
|
|
646
645
|
type = createTask(this, model, null, !1, filterStackFrame);
|
|
647
646
|
environmentName.push(type);
|
|
648
647
|
}
|
|
649
|
-
function noop$3() {}
|
|
650
648
|
var currentRequest = null;
|
|
651
649
|
function serializeThenable(request, task, thenable) {
|
|
652
650
|
var newTask = createTask(
|
|
@@ -5743,12 +5741,11 @@ function clz32Fallback(x) {
|
|
|
5743
5741
|
var SuspenseException = Error(
|
|
5744
5742
|
"Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."
|
|
5745
5743
|
);
|
|
5746
|
-
function noop$2() {}
|
|
5747
5744
|
function trackUsedThenable(thenableState, thenable, index) {
|
|
5748
5745
|
index = thenableState[index];
|
|
5749
5746
|
void 0 === index
|
|
5750
5747
|
? thenableState.push(thenable)
|
|
5751
|
-
: index !== thenable && (thenable.then(noop
|
|
5748
|
+
: index !== thenable && (thenable.then(noop, noop), (thenable = index));
|
|
5752
5749
|
switch (thenable.status) {
|
|
5753
5750
|
case "fulfilled":
|
|
5754
5751
|
return thenable.value;
|
|
@@ -5756,7 +5753,7 @@ function trackUsedThenable(thenableState, thenable, index) {
|
|
|
5756
5753
|
throw thenable.reason;
|
|
5757
5754
|
default:
|
|
5758
5755
|
"string" === typeof thenable.status
|
|
5759
|
-
? thenable.then(noop
|
|
5756
|
+
? thenable.then(noop, noop)
|
|
5760
5757
|
: ((thenableState = thenable),
|
|
5761
5758
|
(thenableState.status = "pending"),
|
|
5762
5759
|
thenableState.then(
|
|
@@ -5994,7 +5991,7 @@ var HooksDispatcher = {
|
|
|
5994
5991
|
useReducer: clientHookNotSupported,
|
|
5995
5992
|
useRef: clientHookNotSupported,
|
|
5996
5993
|
useState: clientHookNotSupported,
|
|
5997
|
-
useDebugValue:
|
|
5994
|
+
useDebugValue: noop,
|
|
5998
5995
|
useDeferredValue: clientHookNotSupported,
|
|
5999
5996
|
useTransition: clientHookNotSupported,
|
|
6000
5997
|
useSyncExternalStore: clientHookNotSupported,
|
|
@@ -6109,7 +6106,6 @@ function defaultErrorHandler(error) {
|
|
|
6109
6106
|
} else console.error(error);
|
|
6110
6107
|
return null;
|
|
6111
6108
|
}
|
|
6112
|
-
function noop() {}
|
|
6113
6109
|
function RequestInstance(
|
|
6114
6110
|
resumableState,
|
|
6115
6111
|
renderState,
|
|
@@ -8959,8 +8955,8 @@ exports.experimental_renderToHTML = function (children, options) {
|
|
|
8959
8955
|
void 0,
|
|
8960
8956
|
"Markup",
|
|
8961
8957
|
void 0,
|
|
8962
|
-
noop
|
|
8963
|
-
noop
|
|
8958
|
+
noop,
|
|
8959
|
+
noop
|
|
8964
8960
|
),
|
|
8965
8961
|
flightResponse = new ResponseInstance(
|
|
8966
8962
|
null,
|
|
@@ -9055,4 +9051,4 @@ exports.experimental_renderToHTML = function (children, options) {
|
|
|
9055
9051
|
});
|
|
9056
9052
|
});
|
|
9057
9053
|
};
|
|
9058
|
-
exports.version = "19.2.0-experimental-
|
|
9054
|
+
exports.version = "19.2.0-experimental-21fdf308-20250508";
|
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-21fdf308-20250508",
|
|
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-21fdf308-20250508"
|
|
21
21
|
},
|
|
22
22
|
"files": [
|
|
23
23
|
"LICENSE",
|