react-markup 0.0.0-experimental-06fcc8f3-20251009 → 0.0.0-experimental-ead92181-20251010
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.
|
@@ -1953,6 +1953,9 @@
|
|
|
1953
1953
|
? "$-Infinity"
|
|
1954
1954
|
: "$NaN";
|
|
1955
1955
|
}
|
|
1956
|
+
function serializeRowHeader(tag, id) {
|
|
1957
|
+
return id.toString(16) + ":" + tag;
|
|
1958
|
+
}
|
|
1956
1959
|
function encodeReferenceChunk(request, id, reference) {
|
|
1957
1960
|
request = stringify(reference);
|
|
1958
1961
|
return id.toString(16) + ":" + request + "\n";
|
|
@@ -2629,8 +2632,7 @@
|
|
|
2629
2632
|
stack = [];
|
|
2630
2633
|
}
|
|
2631
2634
|
id =
|
|
2632
|
-
id
|
|
2633
|
-
":P" +
|
|
2635
|
+
serializeRowHeader("P", id) +
|
|
2634
2636
|
stringify({ reason: reason, stack: stack, env: env }) +
|
|
2635
2637
|
"\n";
|
|
2636
2638
|
request.completedErrorChunks.push(id);
|
|
@@ -2689,14 +2691,14 @@
|
|
|
2689
2691
|
env: env,
|
|
2690
2692
|
owner: error
|
|
2691
2693
|
};
|
|
2692
|
-
id =
|
|
2694
|
+
id = serializeRowHeader("E", id) + stringify(digest) + "\n";
|
|
2693
2695
|
debug
|
|
2694
2696
|
? request.completedDebugChunks.push(id)
|
|
2695
2697
|
: request.completedErrorChunks.push(id);
|
|
2696
2698
|
}
|
|
2697
2699
|
function emitImportChunk(request, id, clientReferenceMetadata, debug) {
|
|
2698
2700
|
clientReferenceMetadata = stringify(clientReferenceMetadata);
|
|
2699
|
-
id =
|
|
2701
|
+
id = serializeRowHeader("I", id) + clientReferenceMetadata + "\n";
|
|
2700
2702
|
debug
|
|
2701
2703
|
? request.completedDebugChunks.push(id)
|
|
2702
2704
|
: request.completedImportChunks.push(id);
|
|
@@ -2712,13 +2714,20 @@
|
|
|
2712
2714
|
function emitDebugChunk(request, id, debugInfo) {
|
|
2713
2715
|
var json = serializeDebugModel(request, 500, debugInfo);
|
|
2714
2716
|
null !== request.debugDestination
|
|
2715
|
-
?
|
|
2716
|
-
(
|
|
2717
|
-
|
|
2718
|
-
request.
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
|
|
2717
|
+
? '"' === json[0] && "$" === json[1]
|
|
2718
|
+
? ((id = serializeRowHeader("D", id) + json + "\n"),
|
|
2719
|
+
request.completedRegularChunks.push(id))
|
|
2720
|
+
: ((debugInfo = request.nextChunkId++),
|
|
2721
|
+
(json = debugInfo.toString(16) + ":" + json + "\n"),
|
|
2722
|
+
request.pendingDebugChunks++,
|
|
2723
|
+
request.completedDebugChunks.push(json),
|
|
2724
|
+
(id =
|
|
2725
|
+
serializeRowHeader("D", id) +
|
|
2726
|
+
'"$' +
|
|
2727
|
+
debugInfo.toString(16) +
|
|
2728
|
+
'"\n'),
|
|
2729
|
+
request.completedRegularChunks.push(id))
|
|
2730
|
+
: ((id = serializeRowHeader("D", id) + json + "\n"),
|
|
2722
2731
|
request.completedRegularChunks.push(id));
|
|
2723
2732
|
}
|
|
2724
2733
|
function outlineComponentInfo(request, componentInfo) {
|
|
@@ -3290,9 +3299,13 @@
|
|
|
3290
3299
|
(json = timestamp.toString(16) + ":" + json + "\n"),
|
|
3291
3300
|
request.pendingDebugChunks++,
|
|
3292
3301
|
request.completedDebugChunks.push(json),
|
|
3293
|
-
(id =
|
|
3302
|
+
(id =
|
|
3303
|
+
serializeRowHeader("D", id) +
|
|
3304
|
+
'"$' +
|
|
3305
|
+
timestamp.toString(16) +
|
|
3306
|
+
'"\n'),
|
|
3294
3307
|
request.completedRegularChunks.push(id))
|
|
3295
|
-
: ((id =
|
|
3308
|
+
: ((id = serializeRowHeader("D", id) + json + "\n"),
|
|
3296
3309
|
request.completedRegularChunks.push(id));
|
|
3297
3310
|
}
|
|
3298
3311
|
function markOperationEndTime(request, task, timestamp) {
|
|
@@ -17178,5 +17191,5 @@
|
|
|
17178
17191
|
});
|
|
17179
17192
|
});
|
|
17180
17193
|
};
|
|
17181
|
-
exports.version = "19.3.0-experimental-
|
|
17194
|
+
exports.version = "19.3.0-experimental-ead92181-20251010";
|
|
17182
17195
|
})();
|
|
@@ -10064,4 +10064,4 @@ exports.experimental_renderToHTML = function (children, options) {
|
|
|
10064
10064
|
});
|
|
10065
10065
|
});
|
|
10066
10066
|
};
|
|
10067
|
-
exports.version = "19.3.0-experimental-
|
|
10067
|
+
exports.version = "19.3.0-experimental-ead92181-20251010";
|
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-ead92181-20251010",
|
|
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-ead92181-20251010"
|
|
21
21
|
},
|
|
22
22
|
"files": [
|
|
23
23
|
"LICENSE",
|