react-markup 0.0.0-experimental-56408a5b-20250610 → 0.0.0-experimental-b7e2de63-20250611
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.
|
@@ -3842,7 +3842,7 @@
|
|
|
3842
3842
|
case REACT_PORTAL_TYPE:
|
|
3843
3843
|
return "Portal";
|
|
3844
3844
|
case REACT_CONTEXT_TYPE:
|
|
3845
|
-
return
|
|
3845
|
+
return type.displayName || "Context";
|
|
3846
3846
|
case REACT_CONSUMER_TYPE:
|
|
3847
3847
|
return (type._context.displayName || "Context") + ".Consumer";
|
|
3848
3848
|
case REACT_FORWARD_REF_TYPE:
|
|
@@ -6245,7 +6245,6 @@
|
|
|
6245
6245
|
case REACT_MEMO_TYPE:
|
|
6246
6246
|
renderElement(request, task, keyPath, type.type, props, ref);
|
|
6247
6247
|
return;
|
|
6248
|
-
case REACT_PROVIDER_TYPE:
|
|
6249
6248
|
case REACT_CONTEXT_TYPE:
|
|
6250
6249
|
var value$jscomp$0 = props.value,
|
|
6251
6250
|
children$jscomp$2 = props.children;
|
|
@@ -8689,7 +8688,6 @@
|
|
|
8689
8688
|
REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
|
|
8690
8689
|
REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
|
|
8691
8690
|
REACT_PROFILER_TYPE = Symbol.for("react.profiler"),
|
|
8692
|
-
REACT_PROVIDER_TYPE = Symbol.for("react.provider"),
|
|
8693
8691
|
REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
|
|
8694
8692
|
REACT_CONTEXT_TYPE = Symbol.for("react.context"),
|
|
8695
8693
|
REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
|
|
@@ -9710,5 +9708,5 @@
|
|
|
9710
9708
|
});
|
|
9711
9709
|
});
|
|
9712
9710
|
};
|
|
9713
|
-
exports.version = "19.2.0-experimental-
|
|
9711
|
+
exports.version = "19.2.0-experimental-b7e2de63-20250611";
|
|
9714
9712
|
})();
|
|
@@ -39,7 +39,6 @@ var React = require("react"),
|
|
|
39
39
|
REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
|
|
40
40
|
REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
|
|
41
41
|
REACT_PROFILER_TYPE = Symbol.for("react.profiler"),
|
|
42
|
-
REACT_PROVIDER_TYPE = Symbol.for("react.provider"),
|
|
43
42
|
REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
|
|
44
43
|
REACT_CONTEXT_TYPE = Symbol.for("react.context"),
|
|
45
44
|
REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
|
|
@@ -2843,7 +2842,7 @@ function getComponentNameFromType(type) {
|
|
|
2843
2842
|
case REACT_PORTAL_TYPE:
|
|
2844
2843
|
return "Portal";
|
|
2845
2844
|
case REACT_CONTEXT_TYPE:
|
|
2846
|
-
return
|
|
2845
|
+
return type.displayName || "Context";
|
|
2847
2846
|
case REACT_CONSUMER_TYPE:
|
|
2848
2847
|
return (type._context.displayName || "Context") + ".Consumer";
|
|
2849
2848
|
case REACT_FORWARD_REF_TYPE:
|
|
@@ -4681,7 +4680,6 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
4681
4680
|
case REACT_MEMO_TYPE:
|
|
4682
4681
|
renderElement(request, task, keyPath, type.type, props, ref);
|
|
4683
4682
|
return;
|
|
4684
|
-
case REACT_PROVIDER_TYPE:
|
|
4685
4683
|
case REACT_CONTEXT_TYPE:
|
|
4686
4684
|
var children$jscomp$2 = props.children,
|
|
4687
4685
|
prevKeyPath$jscomp$6 = task.keyPath,
|
|
@@ -6723,4 +6721,4 @@ exports.experimental_renderToHTML = function (children, options) {
|
|
|
6723
6721
|
});
|
|
6724
6722
|
});
|
|
6725
6723
|
};
|
|
6726
|
-
exports.version = "19.2.0-experimental-
|
|
6724
|
+
exports.version = "19.2.0-experimental-b7e2de63-20250611";
|
|
@@ -264,7 +264,8 @@
|
|
|
264
264
|
function trackUsedThenable$1(thenableState, thenable, index) {
|
|
265
265
|
index = thenableState[index];
|
|
266
266
|
void 0 === index
|
|
267
|
-
? thenableState.push(thenable)
|
|
267
|
+
? (thenableState.push(thenable),
|
|
268
|
+
(thenableState._stacks || (thenableState._stacks = [])).push(Error()))
|
|
268
269
|
: index !== thenable && (thenable.then(noop, noop), (thenable = index));
|
|
269
270
|
switch (thenable.status) {
|
|
270
271
|
case "fulfilled":
|
|
@@ -994,16 +995,26 @@
|
|
|
994
995
|
switch (thenable.status) {
|
|
995
996
|
case "fulfilled":
|
|
996
997
|
return (
|
|
997
|
-
(
|
|
998
|
-
|
|
998
|
+
forwardDebugInfoFromThenable(
|
|
999
|
+
request,
|
|
1000
|
+
newTask,
|
|
1001
|
+
thenable,
|
|
1002
|
+
null,
|
|
1003
|
+
null
|
|
1004
|
+
),
|
|
999
1005
|
(newTask.model = thenable.value),
|
|
1000
1006
|
pingTask$1(request, newTask),
|
|
1001
1007
|
newTask.id
|
|
1002
1008
|
);
|
|
1003
1009
|
case "rejected":
|
|
1004
1010
|
return (
|
|
1005
|
-
(
|
|
1006
|
-
|
|
1011
|
+
forwardDebugInfoFromThenable(
|
|
1012
|
+
request,
|
|
1013
|
+
newTask,
|
|
1014
|
+
thenable,
|
|
1015
|
+
null,
|
|
1016
|
+
null
|
|
1017
|
+
),
|
|
1007
1018
|
erroredTask$1(request, newTask, thenable.reason),
|
|
1008
1019
|
newTask.id
|
|
1009
1020
|
);
|
|
@@ -1034,14 +1045,11 @@
|
|
|
1034
1045
|
}
|
|
1035
1046
|
thenable.then(
|
|
1036
1047
|
function (value) {
|
|
1037
|
-
|
|
1038
|
-
_debugInfo2 && forwardDebugInfo(request, newTask, _debugInfo2);
|
|
1048
|
+
forwardDebugInfoFromCurrentContext(request, newTask, thenable);
|
|
1039
1049
|
newTask.model = value;
|
|
1040
1050
|
pingTask$1(request, newTask);
|
|
1041
1051
|
},
|
|
1042
1052
|
function (reason) {
|
|
1043
|
-
var _debugInfo3 = thenable._debugInfo;
|
|
1044
|
-
_debugInfo3 && forwardDebugInfo(request, newTask, _debugInfo3);
|
|
1045
1053
|
newTask.status === PENDING$3 &&
|
|
1046
1054
|
((newTask.timed = !0),
|
|
1047
1055
|
erroredTask$1(request, newTask, reason),
|
|
@@ -1200,33 +1208,38 @@
|
|
|
1200
1208
|
if ("rejected" === thenable.status) throw thenable.reason;
|
|
1201
1209
|
throw thenable;
|
|
1202
1210
|
}
|
|
1203
|
-
function createLazyWrapperAroundWakeable(wakeable) {
|
|
1211
|
+
function createLazyWrapperAroundWakeable(request, task, wakeable) {
|
|
1204
1212
|
switch (wakeable.status) {
|
|
1205
1213
|
case "fulfilled":
|
|
1214
|
+
return (
|
|
1215
|
+
forwardDebugInfoFromThenable(request, task, wakeable, null, null),
|
|
1216
|
+
wakeable.value
|
|
1217
|
+
);
|
|
1206
1218
|
case "rejected":
|
|
1219
|
+
forwardDebugInfoFromThenable(request, task, wakeable, null, null);
|
|
1207
1220
|
break;
|
|
1208
1221
|
default:
|
|
1209
1222
|
"string" !== typeof wakeable.status &&
|
|
1210
1223
|
((wakeable.status = "pending"),
|
|
1211
1224
|
wakeable.then(
|
|
1212
1225
|
function (fulfilledValue) {
|
|
1226
|
+
forwardDebugInfoFromCurrentContext(request, task, wakeable);
|
|
1213
1227
|
"pending" === wakeable.status &&
|
|
1214
1228
|
((wakeable.status = "fulfilled"),
|
|
1215
1229
|
(wakeable.value = fulfilledValue));
|
|
1216
1230
|
},
|
|
1217
1231
|
function (error) {
|
|
1232
|
+
forwardDebugInfoFromCurrentContext(request, task, wakeable);
|
|
1218
1233
|
"pending" === wakeable.status &&
|
|
1219
1234
|
((wakeable.status = "rejected"), (wakeable.reason = error));
|
|
1220
1235
|
}
|
|
1221
1236
|
));
|
|
1222
1237
|
}
|
|
1223
|
-
|
|
1238
|
+
return {
|
|
1224
1239
|
$$typeof: REACT_LAZY_TYPE,
|
|
1225
1240
|
_payload: wakeable,
|
|
1226
1241
|
_init: readThenable
|
|
1227
1242
|
};
|
|
1228
|
-
lazyType._debugInfo = wakeable._debugInfo || [];
|
|
1229
|
-
return lazyType;
|
|
1230
1243
|
}
|
|
1231
1244
|
function callWithDebugContextInDEV(request, task, callback, arg) {
|
|
1232
1245
|
var componentDebugInfo = {
|
|
@@ -1268,9 +1281,7 @@
|
|
|
1268
1281
|
resolvedValue.$$typeof === REACT_ELEMENT_TYPE &&
|
|
1269
1282
|
(resolvedValue._store.validated = 1);
|
|
1270
1283
|
}, voidHandler),
|
|
1271
|
-
|
|
1272
|
-
? result.value
|
|
1273
|
-
: createLazyWrapperAroundWakeable(result)
|
|
1284
|
+
createLazyWrapperAroundWakeable(request, task, result)
|
|
1274
1285
|
);
|
|
1275
1286
|
result.$$typeof === REACT_ELEMENT_TYPE && (result._store.validated = 1);
|
|
1276
1287
|
var iteratorFn = getIteratorFn(result);
|
|
@@ -1384,6 +1395,21 @@
|
|
|
1384
1395
|
props.then(voidHandler, voidHandler),
|
|
1385
1396
|
null)
|
|
1386
1397
|
);
|
|
1398
|
+
validated = thenableState$1;
|
|
1399
|
+
if (null !== validated)
|
|
1400
|
+
for (
|
|
1401
|
+
prevThenableState = validated._stacks || (validated._stacks = []),
|
|
1402
|
+
componentDebugID = 0;
|
|
1403
|
+
componentDebugID < validated.length;
|
|
1404
|
+
componentDebugID++
|
|
1405
|
+
)
|
|
1406
|
+
forwardDebugInfoFromThenable(
|
|
1407
|
+
request,
|
|
1408
|
+
task,
|
|
1409
|
+
validated[componentDebugID],
|
|
1410
|
+
componentDebugInfo,
|
|
1411
|
+
prevThenableState[componentDebugID]
|
|
1412
|
+
);
|
|
1387
1413
|
props = processServerComponentReturnValue(
|
|
1388
1414
|
request,
|
|
1389
1415
|
task,
|
|
@@ -1391,13 +1417,13 @@
|
|
|
1391
1417
|
props
|
|
1392
1418
|
);
|
|
1393
1419
|
Component = task.keyPath;
|
|
1394
|
-
|
|
1420
|
+
componentDebugInfo = task.implicitSlot;
|
|
1395
1421
|
null !== key
|
|
1396
1422
|
? (task.keyPath = null === Component ? key : Component + "," + key)
|
|
1397
1423
|
: null === Component && (task.implicitSlot = !0);
|
|
1398
1424
|
request = renderModelDestructive(request, task, emptyRoot, "", props);
|
|
1399
1425
|
task.keyPath = Component;
|
|
1400
|
-
task.implicitSlot =
|
|
1426
|
+
task.implicitSlot = componentDebugInfo;
|
|
1401
1427
|
return request;
|
|
1402
1428
|
}
|
|
1403
1429
|
function warnForMissingKey$1(request, key, componentDebugInfo, debugTask) {
|
|
@@ -2730,6 +2756,14 @@
|
|
|
2730
2756
|
emitDebugChunk(request$jscomp$0, id, info);
|
|
2731
2757
|
}
|
|
2732
2758
|
}
|
|
2759
|
+
function forwardDebugInfoFromThenable(request, task, thenable) {
|
|
2760
|
+
(thenable = thenable._debugInfo) &&
|
|
2761
|
+
forwardDebugInfo(request, task, thenable);
|
|
2762
|
+
}
|
|
2763
|
+
function forwardDebugInfoFromCurrentContext(request, task, thenable) {
|
|
2764
|
+
(thenable = thenable._debugInfo) &&
|
|
2765
|
+
forwardDebugInfo(request, task, thenable);
|
|
2766
|
+
}
|
|
2733
2767
|
function emitTimingChunk(request, id, timestamp) {
|
|
2734
2768
|
request.pendingChunks++;
|
|
2735
2769
|
timestamp -= request.timeOrigin;
|
|
@@ -3788,7 +3822,7 @@
|
|
|
3788
3822
|
case REACT_PORTAL_TYPE:
|
|
3789
3823
|
return "Portal";
|
|
3790
3824
|
case REACT_CONTEXT_TYPE:
|
|
3791
|
-
return
|
|
3825
|
+
return type.displayName || "Context";
|
|
3792
3826
|
case REACT_CONSUMER_TYPE:
|
|
3793
3827
|
return (type._context.displayName || "Context") + ".Consumer";
|
|
3794
3828
|
case REACT_FORWARD_REF_TYPE:
|
|
@@ -11043,7 +11077,6 @@
|
|
|
11043
11077
|
case REACT_MEMO_TYPE:
|
|
11044
11078
|
renderElement(request, task, keyPath, type.type, props, ref);
|
|
11045
11079
|
return;
|
|
11046
|
-
case REACT_PROVIDER_TYPE:
|
|
11047
11080
|
case REACT_CONTEXT_TYPE:
|
|
11048
11081
|
var value$jscomp$0 = props.value,
|
|
11049
11082
|
children$jscomp$2 = props.children;
|
|
@@ -13523,7 +13556,6 @@
|
|
|
13523
13556
|
REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
|
|
13524
13557
|
REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
|
|
13525
13558
|
REACT_PROFILER_TYPE = Symbol.for("react.profiler"),
|
|
13526
|
-
REACT_PROVIDER_TYPE = Symbol.for("react.provider"),
|
|
13527
13559
|
REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
|
|
13528
13560
|
REACT_CONTEXT_TYPE = Symbol.for("react.context"),
|
|
13529
13561
|
REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
|
|
@@ -14983,5 +15015,5 @@
|
|
|
14983
15015
|
});
|
|
14984
15016
|
});
|
|
14985
15017
|
};
|
|
14986
|
-
exports.version = "19.2.0-experimental-
|
|
15018
|
+
exports.version = "19.2.0-experimental-b7e2de63-20250611";
|
|
14987
15019
|
})();
|
|
@@ -117,7 +117,6 @@ var CLIENT_REFERENCE_TAG$1 = Symbol.for("react.client.reference"),
|
|
|
117
117
|
REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
|
|
118
118
|
REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
|
|
119
119
|
REACT_PROFILER_TYPE = Symbol.for("react.profiler"),
|
|
120
|
-
REACT_PROVIDER_TYPE = Symbol.for("react.provider"),
|
|
121
120
|
REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
|
|
122
121
|
REACT_CONTEXT_TYPE = Symbol.for("react.context"),
|
|
123
122
|
REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
|
|
@@ -831,9 +830,10 @@ function readThenable(thenable) {
|
|
|
831
830
|
if ("rejected" === thenable.status) throw thenable.reason;
|
|
832
831
|
throw thenable;
|
|
833
832
|
}
|
|
834
|
-
function createLazyWrapperAroundWakeable(wakeable) {
|
|
833
|
+
function createLazyWrapperAroundWakeable(request, task, wakeable) {
|
|
835
834
|
switch (wakeable.status) {
|
|
836
835
|
case "fulfilled":
|
|
836
|
+
return wakeable.value;
|
|
837
837
|
case "rejected":
|
|
838
838
|
break;
|
|
839
839
|
default:
|
|
@@ -862,9 +862,7 @@ function processServerComponentReturnValue(request, task, Component, result) {
|
|
|
862
862
|
)
|
|
863
863
|
return result;
|
|
864
864
|
if ("function" === typeof result.then)
|
|
865
|
-
return
|
|
866
|
-
? result.value
|
|
867
|
-
: createLazyWrapperAroundWakeable(result);
|
|
865
|
+
return createLazyWrapperAroundWakeable(request, task, result);
|
|
868
866
|
var iteratorFn = getIteratorFn(result);
|
|
869
867
|
return iteratorFn
|
|
870
868
|
? ((request = {}),
|
|
@@ -2358,7 +2356,7 @@ function getComponentNameFromType(type) {
|
|
|
2358
2356
|
case REACT_PORTAL_TYPE:
|
|
2359
2357
|
return "Portal";
|
|
2360
2358
|
case REACT_CONTEXT_TYPE:
|
|
2361
|
-
return
|
|
2359
|
+
return type.displayName || "Context";
|
|
2362
2360
|
case REACT_CONSUMER_TYPE:
|
|
2363
2361
|
return (type._context.displayName || "Context") + ".Consumer";
|
|
2364
2362
|
case REACT_FORWARD_REF_TYPE:
|
|
@@ -7404,7 +7402,6 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
7404
7402
|
case REACT_MEMO_TYPE:
|
|
7405
7403
|
renderElement(request, task, keyPath, type.type, props, ref);
|
|
7406
7404
|
return;
|
|
7407
|
-
case REACT_PROVIDER_TYPE:
|
|
7408
7405
|
case REACT_CONTEXT_TYPE:
|
|
7409
7406
|
var children$jscomp$2 = props.children,
|
|
7410
7407
|
prevKeyPath$jscomp$6 = task.keyPath,
|
|
@@ -9684,4 +9681,4 @@ exports.experimental_renderToHTML = function (children, options) {
|
|
|
9684
9681
|
});
|
|
9685
9682
|
});
|
|
9686
9683
|
};
|
|
9687
|
-
exports.version = "19.2.0-experimental-
|
|
9684
|
+
exports.version = "19.2.0-experimental-b7e2de63-20250611";
|
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-b7e2de63-20250611",
|
|
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-b7e2de63-20250611"
|
|
21
21
|
},
|
|
22
22
|
"files": [
|
|
23
23
|
"LICENSE",
|