react-markup 0.0.0-experimental-c129c242-20250505 → 0.0.0-experimental-7a2c7045-20250506
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.
|
@@ -5499,14 +5499,7 @@
|
|
|
5499
5499
|
case REACT_VIEW_TRANSITION_TYPE:
|
|
5500
5500
|
var prevKeyPath$jscomp$3 = task.keyPath;
|
|
5501
5501
|
task.keyPath = keyPath;
|
|
5502
|
-
|
|
5503
|
-
renderNodeDestructive(request, task, props.children, -1);
|
|
5504
|
-
else {
|
|
5505
|
-
var prevTreeContext = task.treeContext;
|
|
5506
|
-
task.treeContext = pushTreeContext(prevTreeContext, 1, 0);
|
|
5507
|
-
renderNode(request, task, props.children, -1);
|
|
5508
|
-
task.treeContext = prevTreeContext;
|
|
5509
|
-
}
|
|
5502
|
+
renderNodeDestructive(request, task, props.children, -1);
|
|
5510
5503
|
task.keyPath = prevKeyPath$jscomp$3;
|
|
5511
5504
|
return;
|
|
5512
5505
|
case REACT_SCOPE_TYPE:
|
|
@@ -9054,5 +9047,5 @@
|
|
|
9054
9047
|
});
|
|
9055
9048
|
});
|
|
9056
9049
|
};
|
|
9057
|
-
exports.version = "19.2.0-experimental-
|
|
9050
|
+
exports.version = "19.2.0-experimental-7a2c7045-20250506";
|
|
9058
9051
|
})();
|
|
@@ -3986,12 +3986,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
3986
3986
|
case REACT_VIEW_TRANSITION_TYPE:
|
|
3987
3987
|
type = task.keyPath;
|
|
3988
3988
|
task.keyPath = keyPath;
|
|
3989
|
-
|
|
3990
|
-
? renderNodeDestructive(request, task, props.children, -1)
|
|
3991
|
-
: ((keyPath = task.treeContext),
|
|
3992
|
-
(task.treeContext = pushTreeContext(keyPath, 1, 0)),
|
|
3993
|
-
renderNode(request, task, props.children, -1),
|
|
3994
|
-
(task.treeContext = keyPath));
|
|
3989
|
+
renderNodeDestructive(request, task, props.children, -1);
|
|
3995
3990
|
task.keyPath = type;
|
|
3996
3991
|
return;
|
|
3997
3992
|
case REACT_SCOPE_TYPE:
|
|
@@ -6089,4 +6084,4 @@ exports.experimental_renderToHTML = function (children, options) {
|
|
|
6089
6084
|
});
|
|
6090
6085
|
});
|
|
6091
6086
|
};
|
|
6092
|
-
exports.version = "19.2.0-experimental-
|
|
6087
|
+
exports.version = "19.2.0-experimental-7a2c7045-20250506";
|
|
@@ -2524,41 +2524,34 @@
|
|
|
2524
2524
|
}
|
|
2525
2525
|
function emitChunk(request, task, value) {
|
|
2526
2526
|
var id = task.id;
|
|
2527
|
-
|
|
2528
|
-
emitTypedArrayChunk(request, id, "A", new Uint8Array(value))
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
try {
|
|
2556
|
-
var json = stringify(value, task.toJSON);
|
|
2557
|
-
emitModelChunk(request, task.id, json);
|
|
2558
|
-
} finally {
|
|
2559
|
-
serializedSize = id;
|
|
2560
|
-
}
|
|
2561
|
-
}
|
|
2527
|
+
value instanceof ArrayBuffer
|
|
2528
|
+
? emitTypedArrayChunk(request, id, "A", new Uint8Array(value))
|
|
2529
|
+
: value instanceof Int8Array
|
|
2530
|
+
? emitTypedArrayChunk(request, id, "O", value)
|
|
2531
|
+
: value instanceof Uint8Array
|
|
2532
|
+
? emitTypedArrayChunk(request, id, "o", value)
|
|
2533
|
+
: value instanceof Uint8ClampedArray
|
|
2534
|
+
? emitTypedArrayChunk(request, id, "U", value)
|
|
2535
|
+
: value instanceof Int16Array
|
|
2536
|
+
? emitTypedArrayChunk(request, id, "S", value)
|
|
2537
|
+
: value instanceof Uint16Array
|
|
2538
|
+
? emitTypedArrayChunk(request, id, "s", value)
|
|
2539
|
+
: value instanceof Int32Array
|
|
2540
|
+
? emitTypedArrayChunk(request, id, "L", value)
|
|
2541
|
+
: value instanceof Uint32Array
|
|
2542
|
+
? emitTypedArrayChunk(request, id, "l", value)
|
|
2543
|
+
: value instanceof Float32Array
|
|
2544
|
+
? emitTypedArrayChunk(request, id, "G", value)
|
|
2545
|
+
: value instanceof Float64Array
|
|
2546
|
+
? emitTypedArrayChunk(request, id, "g", value)
|
|
2547
|
+
: value instanceof BigInt64Array
|
|
2548
|
+
? emitTypedArrayChunk(request, id, "M", value)
|
|
2549
|
+
: value instanceof BigUint64Array
|
|
2550
|
+
? emitTypedArrayChunk(request, id, "m", value)
|
|
2551
|
+
: value instanceof DataView
|
|
2552
|
+
? emitTypedArrayChunk(request, id, "V", value)
|
|
2553
|
+
: ((value = stringify(value, task.toJSON)),
|
|
2554
|
+
emitModelChunk(request, task.id, value));
|
|
2562
2555
|
}
|
|
2563
2556
|
function erroredTask$1(request, task, error) {
|
|
2564
2557
|
task.timed && emitTimingChunk(request, task.id, performance.now());
|
|
@@ -2581,6 +2574,7 @@
|
|
|
2581
2574
|
if (task.status === PENDING$3) {
|
|
2582
2575
|
var prevDebugID = debugID;
|
|
2583
2576
|
task.status = RENDERING$1;
|
|
2577
|
+
var parentSerializedSize = serializedSize;
|
|
2584
2578
|
try {
|
|
2585
2579
|
modelRoot = task.model;
|
|
2586
2580
|
debugID = task.id;
|
|
@@ -2642,17 +2636,18 @@
|
|
|
2642
2636
|
} else erroredTask$1(request, task, x);
|
|
2643
2637
|
}
|
|
2644
2638
|
} finally {
|
|
2645
|
-
debugID = prevDebugID;
|
|
2639
|
+
(debugID = prevDebugID), (serializedSize = parentSerializedSize);
|
|
2646
2640
|
}
|
|
2647
2641
|
}
|
|
2648
2642
|
}
|
|
2649
2643
|
function tryStreamTask(request, task) {
|
|
2650
2644
|
var prevDebugID = debugID;
|
|
2651
2645
|
debugID = null;
|
|
2646
|
+
var parentSerializedSize = serializedSize;
|
|
2652
2647
|
try {
|
|
2653
2648
|
emitChunk(request, task, task.model);
|
|
2654
2649
|
} finally {
|
|
2655
|
-
debugID = prevDebugID;
|
|
2650
|
+
(serializedSize = parentSerializedSize), (debugID = prevDebugID);
|
|
2656
2651
|
}
|
|
2657
2652
|
}
|
|
2658
2653
|
function performWork$1(request) {
|
|
@@ -9890,14 +9885,7 @@
|
|
|
9890
9885
|
case REACT_VIEW_TRANSITION_TYPE:
|
|
9891
9886
|
var prevKeyPath$jscomp$3 = task.keyPath;
|
|
9892
9887
|
task.keyPath = keyPath;
|
|
9893
|
-
|
|
9894
|
-
renderNodeDestructive(request, task, props.children, -1);
|
|
9895
|
-
else {
|
|
9896
|
-
var prevTreeContext = task.treeContext;
|
|
9897
|
-
task.treeContext = pushTreeContext(prevTreeContext, 1, 0);
|
|
9898
|
-
renderNode(request, task, props.children, -1);
|
|
9899
|
-
task.treeContext = prevTreeContext;
|
|
9900
|
-
}
|
|
9888
|
+
renderNodeDestructive(request, task, props.children, -1);
|
|
9901
9889
|
task.keyPath = prevKeyPath$jscomp$3;
|
|
9902
9890
|
return;
|
|
9903
9891
|
case REACT_SCOPE_TYPE:
|
|
@@ -13894,5 +13882,5 @@
|
|
|
13894
13882
|
});
|
|
13895
13883
|
});
|
|
13896
13884
|
};
|
|
13897
|
-
exports.version = "19.2.0-experimental-
|
|
13885
|
+
exports.version = "19.2.0-experimental-7a2c7045-20250506";
|
|
13898
13886
|
})();
|
|
@@ -717,7 +717,7 @@ function serializeReadableStream(request, task, stream) {
|
|
|
717
717
|
try {
|
|
718
718
|
(streamTask.model = entry.value),
|
|
719
719
|
request.pendingChunks++,
|
|
720
|
-
|
|
720
|
+
tryStreamTask(request, streamTask),
|
|
721
721
|
enqueueFlush(request),
|
|
722
722
|
reader.read().then(progress, error);
|
|
723
723
|
} catch (x$9) {
|
|
@@ -792,7 +792,7 @@ function serializeAsyncIterable(request, task, iterable, iterator) {
|
|
|
792
792
|
try {
|
|
793
793
|
(streamTask.model = entry.value),
|
|
794
794
|
request.pendingChunks++,
|
|
795
|
-
|
|
795
|
+
tryStreamTask(request, streamTask),
|
|
796
796
|
enqueueFlush(request),
|
|
797
797
|
iterator.next().then(progress, error);
|
|
798
798
|
} catch (x$10) {
|
|
@@ -1527,41 +1527,34 @@ function emitTypedArrayChunk(request, id, tag, typedArray) {
|
|
|
1527
1527
|
}
|
|
1528
1528
|
function emitChunk(request, task, value) {
|
|
1529
1529
|
var id = task.id;
|
|
1530
|
-
|
|
1531
|
-
emitTypedArrayChunk(request, id, "A", new Uint8Array(value))
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
try {
|
|
1559
|
-
var json = stringify(value, task.toJSON);
|
|
1560
|
-
emitModelChunk(request, task.id, json);
|
|
1561
|
-
} finally {
|
|
1562
|
-
serializedSize = id;
|
|
1563
|
-
}
|
|
1564
|
-
}
|
|
1530
|
+
value instanceof ArrayBuffer
|
|
1531
|
+
? emitTypedArrayChunk(request, id, "A", new Uint8Array(value))
|
|
1532
|
+
: value instanceof Int8Array
|
|
1533
|
+
? emitTypedArrayChunk(request, id, "O", value)
|
|
1534
|
+
: value instanceof Uint8Array
|
|
1535
|
+
? emitTypedArrayChunk(request, id, "o", value)
|
|
1536
|
+
: value instanceof Uint8ClampedArray
|
|
1537
|
+
? emitTypedArrayChunk(request, id, "U", value)
|
|
1538
|
+
: value instanceof Int16Array
|
|
1539
|
+
? emitTypedArrayChunk(request, id, "S", value)
|
|
1540
|
+
: value instanceof Uint16Array
|
|
1541
|
+
? emitTypedArrayChunk(request, id, "s", value)
|
|
1542
|
+
: value instanceof Int32Array
|
|
1543
|
+
? emitTypedArrayChunk(request, id, "L", value)
|
|
1544
|
+
: value instanceof Uint32Array
|
|
1545
|
+
? emitTypedArrayChunk(request, id, "l", value)
|
|
1546
|
+
: value instanceof Float32Array
|
|
1547
|
+
? emitTypedArrayChunk(request, id, "G", value)
|
|
1548
|
+
: value instanceof Float64Array
|
|
1549
|
+
? emitTypedArrayChunk(request, id, "g", value)
|
|
1550
|
+
: value instanceof BigInt64Array
|
|
1551
|
+
? emitTypedArrayChunk(request, id, "M", value)
|
|
1552
|
+
: value instanceof BigUint64Array
|
|
1553
|
+
? emitTypedArrayChunk(request, id, "m", value)
|
|
1554
|
+
: value instanceof DataView
|
|
1555
|
+
? emitTypedArrayChunk(request, id, "V", value)
|
|
1556
|
+
: ((value = stringify(value, task.toJSON)),
|
|
1557
|
+
emitModelChunk(request, task.id, value));
|
|
1565
1558
|
}
|
|
1566
1559
|
function erroredTask$1(request, task, error) {
|
|
1567
1560
|
task.status = 4;
|
|
@@ -1579,6 +1572,7 @@ var emptyRoot = {};
|
|
|
1579
1572
|
function retryTask$1(request, task) {
|
|
1580
1573
|
if (0 === task.status) {
|
|
1581
1574
|
task.status = 5;
|
|
1575
|
+
var parentSerializedSize = serializedSize;
|
|
1582
1576
|
try {
|
|
1583
1577
|
modelRoot = task.model;
|
|
1584
1578
|
var resolvedModel = renderModelDestructive(
|
|
@@ -1633,9 +1627,18 @@ function retryTask$1(request, task) {
|
|
|
1633
1627
|
} else erroredTask$1(request, task, x);
|
|
1634
1628
|
}
|
|
1635
1629
|
} finally {
|
|
1630
|
+
serializedSize = parentSerializedSize;
|
|
1636
1631
|
}
|
|
1637
1632
|
}
|
|
1638
1633
|
}
|
|
1634
|
+
function tryStreamTask(request, task) {
|
|
1635
|
+
var parentSerializedSize = serializedSize;
|
|
1636
|
+
try {
|
|
1637
|
+
emitChunk(request, task, task.model);
|
|
1638
|
+
} finally {
|
|
1639
|
+
serializedSize = parentSerializedSize;
|
|
1640
|
+
}
|
|
1641
|
+
}
|
|
1639
1642
|
function performWork$1(request) {
|
|
1640
1643
|
var prevDispatcher = ReactSharedInternalsServer.H;
|
|
1641
1644
|
ReactSharedInternalsServer.H = HooksDispatcher$1;
|
|
@@ -6723,12 +6726,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
6723
6726
|
case REACT_VIEW_TRANSITION_TYPE:
|
|
6724
6727
|
type = task.keyPath;
|
|
6725
6728
|
task.keyPath = keyPath;
|
|
6726
|
-
|
|
6727
|
-
? renderNodeDestructive(request, task, props.children, -1)
|
|
6728
|
-
: ((keyPath = task.treeContext),
|
|
6729
|
-
(task.treeContext = pushTreeContext(keyPath, 1, 0)),
|
|
6730
|
-
renderNode(request, task, props.children, -1),
|
|
6731
|
-
(task.treeContext = keyPath));
|
|
6729
|
+
renderNodeDestructive(request, task, props.children, -1);
|
|
6732
6730
|
task.keyPath = type;
|
|
6733
6731
|
return;
|
|
6734
6732
|
case REACT_SCOPE_TYPE:
|
|
@@ -9058,4 +9056,4 @@ exports.experimental_renderToHTML = function (children, options) {
|
|
|
9058
9056
|
});
|
|
9059
9057
|
});
|
|
9060
9058
|
};
|
|
9061
|
-
exports.version = "19.2.0-experimental-
|
|
9059
|
+
exports.version = "19.2.0-experimental-7a2c7045-20250506";
|
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-7a2c7045-20250506",
|
|
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-7a2c7045-20250506"
|
|
21
21
|
},
|
|
22
22
|
"files": [
|
|
23
23
|
"LICENSE",
|