react-server-dom-turbopack 19.3.0-canary-93f85932-20251016 → 19.3.0-canary-58bdc0bb-20251019
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.
- package/cjs/react-server-dom-turbopack-client.browser.development.js +4 -2
- package/cjs/react-server-dom-turbopack-client.edge.development.js +2 -0
- package/cjs/react-server-dom-turbopack-client.node.development.js +2 -0
- package/cjs/react-server-dom-turbopack-server.edge.development.js +8 -9
- package/cjs/react-server-dom-turbopack-server.edge.production.js +5 -6
- package/cjs/react-server-dom-turbopack-server.node.development.js +48 -49
- package/cjs/react-server-dom-turbopack-server.node.production.js +11 -11
- package/package.json +3 -3
|
@@ -1144,6 +1144,8 @@
|
|
|
1144
1144
|
function getIODescription(value) {
|
|
1145
1145
|
try {
|
|
1146
1146
|
switch (typeof value) {
|
|
1147
|
+
case "function":
|
|
1148
|
+
return value.name || "";
|
|
1147
1149
|
case "object":
|
|
1148
1150
|
if (null === value) return "";
|
|
1149
1151
|
if (value instanceof Error) return String(value.message);
|
|
@@ -4904,10 +4906,10 @@
|
|
|
4904
4906
|
return hook.checkDCE ? !0 : !1;
|
|
4905
4907
|
})({
|
|
4906
4908
|
bundleType: 1,
|
|
4907
|
-
version: "19.3.0-canary-
|
|
4909
|
+
version: "19.3.0-canary-58bdc0bb-20251019",
|
|
4908
4910
|
rendererPackageName: "react-server-dom-turbopack",
|
|
4909
4911
|
currentDispatcherRef: ReactSharedInternals,
|
|
4910
|
-
reconcilerVersion: "19.3.0-canary-
|
|
4912
|
+
reconcilerVersion: "19.3.0-canary-58bdc0bb-20251019",
|
|
4911
4913
|
getCurrentComponentInfo: function () {
|
|
4912
4914
|
return currentOwnerInDEV;
|
|
4913
4915
|
}
|
|
@@ -1350,6 +1350,8 @@
|
|
|
1350
1350
|
function getIODescription(value) {
|
|
1351
1351
|
try {
|
|
1352
1352
|
switch (typeof value) {
|
|
1353
|
+
case "function":
|
|
1354
|
+
return value.name || "";
|
|
1353
1355
|
case "object":
|
|
1354
1356
|
if (null === value) return "";
|
|
1355
1357
|
if (value instanceof Error) return String(value.message);
|
|
@@ -1350,6 +1350,8 @@
|
|
|
1350
1350
|
function getIODescription(value) {
|
|
1351
1351
|
try {
|
|
1352
1352
|
switch (typeof value) {
|
|
1353
|
+
case "function":
|
|
1354
|
+
return value.name || "";
|
|
1353
1355
|
case "object":
|
|
1354
1356
|
if (null === value) return "";
|
|
1355
1357
|
if (value instanceof Error) return String(value.message);
|
|
@@ -48,12 +48,12 @@
|
|
|
48
48
|
}
|
|
49
49
|
function writeChunkAndReturn(destination, chunk) {
|
|
50
50
|
if (0 !== chunk.byteLength)
|
|
51
|
-
if (
|
|
51
|
+
if (4096 < chunk.byteLength)
|
|
52
52
|
0 < writtenBytes &&
|
|
53
53
|
(destination.enqueue(
|
|
54
54
|
new Uint8Array(currentView.buffer, 0, writtenBytes)
|
|
55
55
|
),
|
|
56
|
-
(currentView = new Uint8Array(
|
|
56
|
+
(currentView = new Uint8Array(4096)),
|
|
57
57
|
(writtenBytes = 0)),
|
|
58
58
|
destination.enqueue(chunk);
|
|
59
59
|
else {
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
),
|
|
68
68
|
destination.enqueue(currentView),
|
|
69
69
|
(chunk = chunk.subarray(allowableBytes))),
|
|
70
|
-
(currentView = new Uint8Array(
|
|
70
|
+
(currentView = new Uint8Array(4096)),
|
|
71
71
|
(writtenBytes = 0));
|
|
72
72
|
currentView.set(chunk, writtenBytes);
|
|
73
73
|
writtenBytes += chunk.byteLength;
|
|
@@ -2891,14 +2891,13 @@
|
|
|
2891
2891
|
}
|
|
2892
2892
|
function emitTypedArrayChunk(request, id, tag, typedArray, debug) {
|
|
2893
2893
|
debug ? request.pendingDebugChunks++ : request.pendingChunks++;
|
|
2894
|
-
|
|
2894
|
+
typedArray = new Uint8Array(
|
|
2895
2895
|
typedArray.buffer,
|
|
2896
2896
|
typedArray.byteOffset,
|
|
2897
2897
|
typedArray.byteLength
|
|
2898
2898
|
);
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
id = id.toString(16) + ":" + tag + buffer.toString(16) + ",";
|
|
2899
|
+
var binaryLength = typedArray.byteLength;
|
|
2900
|
+
id = id.toString(16) + ":" + tag + binaryLength.toString(16) + ",";
|
|
2902
2901
|
id = stringToChunk(id);
|
|
2903
2902
|
debug
|
|
2904
2903
|
? request.completedDebugChunks.push(id, typedArray)
|
|
@@ -3636,7 +3635,7 @@
|
|
|
3636
3635
|
function flushCompletedChunks(request) {
|
|
3637
3636
|
if (null !== request.debugDestination) {
|
|
3638
3637
|
var debugDestination = request.debugDestination;
|
|
3639
|
-
currentView = new Uint8Array(
|
|
3638
|
+
currentView = new Uint8Array(4096);
|
|
3640
3639
|
writtenBytes = 0;
|
|
3641
3640
|
try {
|
|
3642
3641
|
for (
|
|
@@ -3653,7 +3652,7 @@
|
|
|
3653
3652
|
}
|
|
3654
3653
|
debugDestination = request.destination;
|
|
3655
3654
|
if (null !== debugDestination) {
|
|
3656
|
-
currentView = new Uint8Array(
|
|
3655
|
+
currentView = new Uint8Array(4096);
|
|
3657
3656
|
writtenBytes = 0;
|
|
3658
3657
|
try {
|
|
3659
3658
|
var importsChunks = request.completedImportChunks;
|
|
@@ -50,12 +50,12 @@ var LocalPromise = Promise,
|
|
|
50
50
|
writtenBytes = 0;
|
|
51
51
|
function writeChunkAndReturn(destination, chunk) {
|
|
52
52
|
if (0 !== chunk.byteLength)
|
|
53
|
-
if (
|
|
53
|
+
if (4096 < chunk.byteLength)
|
|
54
54
|
0 < writtenBytes &&
|
|
55
55
|
(destination.enqueue(
|
|
56
56
|
new Uint8Array(currentView.buffer, 0, writtenBytes)
|
|
57
57
|
),
|
|
58
|
-
(currentView = new Uint8Array(
|
|
58
|
+
(currentView = new Uint8Array(4096)),
|
|
59
59
|
(writtenBytes = 0)),
|
|
60
60
|
destination.enqueue(chunk);
|
|
61
61
|
else {
|
|
@@ -66,7 +66,7 @@ function writeChunkAndReturn(destination, chunk) {
|
|
|
66
66
|
: (currentView.set(chunk.subarray(0, allowableBytes), writtenBytes),
|
|
67
67
|
destination.enqueue(currentView),
|
|
68
68
|
(chunk = chunk.subarray(allowableBytes))),
|
|
69
|
-
(currentView = new Uint8Array(
|
|
69
|
+
(currentView = new Uint8Array(4096)),
|
|
70
70
|
(writtenBytes = 0));
|
|
71
71
|
currentView.set(chunk, writtenBytes);
|
|
72
72
|
writtenBytes += chunk.byteLength;
|
|
@@ -1842,12 +1842,11 @@ function emitModelChunk(request, id, json) {
|
|
|
1842
1842
|
}
|
|
1843
1843
|
function emitTypedArrayChunk(request, id, tag, typedArray, debug) {
|
|
1844
1844
|
debug ? request.pendingDebugChunks++ : request.pendingChunks++;
|
|
1845
|
-
|
|
1845
|
+
typedArray = new Uint8Array(
|
|
1846
1846
|
typedArray.buffer,
|
|
1847
1847
|
typedArray.byteOffset,
|
|
1848
1848
|
typedArray.byteLength
|
|
1849
1849
|
);
|
|
1850
|
-
typedArray = 2048 < typedArray.byteLength ? debug.slice() : debug;
|
|
1851
1850
|
debug = typedArray.byteLength;
|
|
1852
1851
|
id = id.toString(16) + ":" + tag + debug.toString(16) + ",";
|
|
1853
1852
|
id = stringToChunk(id);
|
|
@@ -2011,7 +2010,7 @@ function finishHaltedTask(task, request) {
|
|
|
2011
2010
|
function flushCompletedChunks(request) {
|
|
2012
2011
|
var destination = request.destination;
|
|
2013
2012
|
if (null !== destination) {
|
|
2014
|
-
currentView = new Uint8Array(
|
|
2013
|
+
currentView = new Uint8Array(4096);
|
|
2015
2014
|
writtenBytes = 0;
|
|
2016
2015
|
try {
|
|
2017
2016
|
for (
|
|
@@ -51,13 +51,13 @@
|
|
|
51
51
|
function writeChunkAndReturn(destination, chunk) {
|
|
52
52
|
if ("string" === typeof chunk) {
|
|
53
53
|
if (0 !== chunk.length)
|
|
54
|
-
if (
|
|
54
|
+
if (4096 < 3 * chunk.length)
|
|
55
55
|
0 < writtenBytes &&
|
|
56
56
|
(writeToDestination(
|
|
57
57
|
destination,
|
|
58
58
|
currentView.subarray(0, writtenBytes)
|
|
59
59
|
),
|
|
60
|
-
(currentView = new Uint8Array(
|
|
60
|
+
(currentView = new Uint8Array(4096)),
|
|
61
61
|
(writtenBytes = 0)),
|
|
62
62
|
writeToDestination(destination, chunk);
|
|
63
63
|
else {
|
|
@@ -71,25 +71,25 @@
|
|
|
71
71
|
destination,
|
|
72
72
|
currentView.subarray(0, writtenBytes)
|
|
73
73
|
),
|
|
74
|
-
(currentView = new Uint8Array(
|
|
74
|
+
(currentView = new Uint8Array(4096)),
|
|
75
75
|
(writtenBytes = textEncoder.encodeInto(
|
|
76
76
|
chunk.slice(read),
|
|
77
77
|
currentView
|
|
78
78
|
).written));
|
|
79
|
-
|
|
79
|
+
4096 === writtenBytes &&
|
|
80
80
|
(writeToDestination(destination, currentView),
|
|
81
|
-
(currentView = new Uint8Array(
|
|
81
|
+
(currentView = new Uint8Array(4096)),
|
|
82
82
|
(writtenBytes = 0));
|
|
83
83
|
}
|
|
84
84
|
} else
|
|
85
85
|
0 !== chunk.byteLength &&
|
|
86
|
-
(
|
|
86
|
+
(4096 < chunk.byteLength
|
|
87
87
|
? (0 < writtenBytes &&
|
|
88
88
|
(writeToDestination(
|
|
89
89
|
destination,
|
|
90
90
|
currentView.subarray(0, writtenBytes)
|
|
91
91
|
),
|
|
92
|
-
(currentView = new Uint8Array(
|
|
92
|
+
(currentView = new Uint8Array(4096)),
|
|
93
93
|
(writtenBytes = 0)),
|
|
94
94
|
writeToDestination(destination, chunk))
|
|
95
95
|
: ((target = currentView.length - writtenBytes),
|
|
@@ -100,13 +100,13 @@
|
|
|
100
100
|
(writtenBytes += target),
|
|
101
101
|
writeToDestination(destination, currentView),
|
|
102
102
|
(chunk = chunk.subarray(target))),
|
|
103
|
-
(currentView = new Uint8Array(
|
|
103
|
+
(currentView = new Uint8Array(4096)),
|
|
104
104
|
(writtenBytes = 0)),
|
|
105
105
|
currentView.set(chunk, writtenBytes),
|
|
106
106
|
(writtenBytes += chunk.byteLength),
|
|
107
|
-
|
|
107
|
+
4096 === writtenBytes &&
|
|
108
108
|
(writeToDestination(destination, currentView),
|
|
109
|
-
(currentView = new Uint8Array(
|
|
109
|
+
(currentView = new Uint8Array(4096)),
|
|
110
110
|
(writtenBytes = 0))));
|
|
111
111
|
return destinationHasCapacity;
|
|
112
112
|
}
|
|
@@ -3978,7 +3978,7 @@
|
|
|
3978
3978
|
function flushCompletedChunks(request) {
|
|
3979
3979
|
if (null !== request.debugDestination) {
|
|
3980
3980
|
var debugDestination = request.debugDestination;
|
|
3981
|
-
currentView = new Uint8Array(
|
|
3981
|
+
currentView = new Uint8Array(4096);
|
|
3982
3982
|
writtenBytes = 0;
|
|
3983
3983
|
destinationHasCapacity = !0;
|
|
3984
3984
|
try {
|
|
@@ -3997,7 +3997,7 @@
|
|
|
3997
3997
|
}
|
|
3998
3998
|
debugDestination = request.destination;
|
|
3999
3999
|
if (null !== debugDestination) {
|
|
4000
|
-
currentView = new Uint8Array(
|
|
4000
|
+
currentView = new Uint8Array(4096);
|
|
4001
4001
|
writtenBytes = 0;
|
|
4002
4002
|
destinationHasCapacity = !0;
|
|
4003
4003
|
try {
|
|
@@ -5634,43 +5634,42 @@
|
|
|
5634
5634
|
previous: null
|
|
5635
5635
|
});
|
|
5636
5636
|
else if (
|
|
5637
|
-
"
|
|
5638
|
-
"
|
|
5639
|
-
"
|
|
5640
|
-
|
|
5641
|
-
|
|
5642
|
-
|
|
5643
|
-
|
|
5644
|
-
|
|
5645
|
-
|
|
5646
|
-
|
|
5647
|
-
|
|
5648
|
-
|
|
5649
|
-
|
|
5650
|
-
|
|
5651
|
-
|
|
5652
|
-
|
|
5653
|
-
|
|
5654
|
-
|
|
5655
|
-
|
|
5656
|
-
|
|
5657
|
-
|
|
5658
|
-
|
|
5659
|
-
|
|
5660
|
-
|
|
5661
|
-
|
|
5662
|
-
|
|
5663
|
-
|
|
5664
|
-
|
|
5665
|
-
|
|
5666
|
-
|
|
5667
|
-
|
|
5668
|
-
|
|
5669
|
-
|
|
5670
|
-
|
|
5671
|
-
|
|
5672
|
-
|
|
5673
|
-
else if (void 0 === trigger) return;
|
|
5637
|
+
"bound-anonymous-fn" === type ||
|
|
5638
|
+
"Microtask" === type ||
|
|
5639
|
+
"TickObject" === type ||
|
|
5640
|
+
"Immediate" === type
|
|
5641
|
+
) {
|
|
5642
|
+
if (void 0 === trigger) return;
|
|
5643
|
+
} else if (void 0 === trigger)
|
|
5644
|
+
(trigger = resolveOwner()),
|
|
5645
|
+
(trigger = {
|
|
5646
|
+
tag: 0,
|
|
5647
|
+
owner: trigger,
|
|
5648
|
+
stack:
|
|
5649
|
+
null === trigger
|
|
5650
|
+
? parseStackTracePrivate(Error(), 3)
|
|
5651
|
+
: null,
|
|
5652
|
+
start: performance.now(),
|
|
5653
|
+
end: -1.1,
|
|
5654
|
+
promise: null,
|
|
5655
|
+
awaited: null,
|
|
5656
|
+
previous: null
|
|
5657
|
+
});
|
|
5658
|
+
else if (2 === trigger.tag || 4 === trigger.tag)
|
|
5659
|
+
(resource = resolveOwner()),
|
|
5660
|
+
(trigger = {
|
|
5661
|
+
tag: 0,
|
|
5662
|
+
owner: resource,
|
|
5663
|
+
stack:
|
|
5664
|
+
null === resource
|
|
5665
|
+
? parseStackTracePrivate(Error(), 3)
|
|
5666
|
+
: null,
|
|
5667
|
+
start: performance.now(),
|
|
5668
|
+
end: -1.1,
|
|
5669
|
+
promise: null,
|
|
5670
|
+
awaited: null,
|
|
5671
|
+
previous: trigger
|
|
5672
|
+
});
|
|
5674
5673
|
pendingOperations.set(asyncId, trigger);
|
|
5675
5674
|
},
|
|
5676
5675
|
before: function (asyncId) {
|
|
@@ -47,13 +47,13 @@ function writeToDestination(destination, view) {
|
|
|
47
47
|
function writeChunkAndReturn(destination, chunk) {
|
|
48
48
|
if ("string" === typeof chunk) {
|
|
49
49
|
if (0 !== chunk.length)
|
|
50
|
-
if (
|
|
50
|
+
if (4096 < 3 * chunk.length)
|
|
51
51
|
0 < writtenBytes &&
|
|
52
52
|
(writeToDestination(
|
|
53
53
|
destination,
|
|
54
54
|
currentView.subarray(0, writtenBytes)
|
|
55
55
|
),
|
|
56
|
-
(currentView = new Uint8Array(
|
|
56
|
+
(currentView = new Uint8Array(4096)),
|
|
57
57
|
(writtenBytes = 0)),
|
|
58
58
|
writeToDestination(destination, chunk);
|
|
59
59
|
else {
|
|
@@ -67,25 +67,25 @@ function writeChunkAndReturn(destination, chunk) {
|
|
|
67
67
|
destination,
|
|
68
68
|
currentView.subarray(0, writtenBytes)
|
|
69
69
|
),
|
|
70
|
-
(currentView = new Uint8Array(
|
|
70
|
+
(currentView = new Uint8Array(4096)),
|
|
71
71
|
(writtenBytes = textEncoder.encodeInto(
|
|
72
72
|
chunk.slice(read),
|
|
73
73
|
currentView
|
|
74
74
|
).written));
|
|
75
|
-
|
|
75
|
+
4096 === writtenBytes &&
|
|
76
76
|
(writeToDestination(destination, currentView),
|
|
77
|
-
(currentView = new Uint8Array(
|
|
77
|
+
(currentView = new Uint8Array(4096)),
|
|
78
78
|
(writtenBytes = 0));
|
|
79
79
|
}
|
|
80
80
|
} else
|
|
81
81
|
0 !== chunk.byteLength &&
|
|
82
|
-
(
|
|
82
|
+
(4096 < chunk.byteLength
|
|
83
83
|
? (0 < writtenBytes &&
|
|
84
84
|
(writeToDestination(
|
|
85
85
|
destination,
|
|
86
86
|
currentView.subarray(0, writtenBytes)
|
|
87
87
|
),
|
|
88
|
-
(currentView = new Uint8Array(
|
|
88
|
+
(currentView = new Uint8Array(4096)),
|
|
89
89
|
(writtenBytes = 0)),
|
|
90
90
|
writeToDestination(destination, chunk))
|
|
91
91
|
: ((target = currentView.length - writtenBytes),
|
|
@@ -96,13 +96,13 @@ function writeChunkAndReturn(destination, chunk) {
|
|
|
96
96
|
(writtenBytes += target),
|
|
97
97
|
writeToDestination(destination, currentView),
|
|
98
98
|
(chunk = chunk.subarray(target))),
|
|
99
|
-
(currentView = new Uint8Array(
|
|
99
|
+
(currentView = new Uint8Array(4096)),
|
|
100
100
|
(writtenBytes = 0)),
|
|
101
101
|
currentView.set(chunk, writtenBytes),
|
|
102
102
|
(writtenBytes += chunk.byteLength),
|
|
103
|
-
|
|
103
|
+
4096 === writtenBytes &&
|
|
104
104
|
(writeToDestination(destination, currentView),
|
|
105
|
-
(currentView = new Uint8Array(
|
|
105
|
+
(currentView = new Uint8Array(4096)),
|
|
106
106
|
(writtenBytes = 0))));
|
|
107
107
|
return destinationHasCapacity;
|
|
108
108
|
}
|
|
@@ -2021,7 +2021,7 @@ function finishHaltedTask(task, request) {
|
|
|
2021
2021
|
function flushCompletedChunks(request) {
|
|
2022
2022
|
var destination = request.destination;
|
|
2023
2023
|
if (null !== destination) {
|
|
2024
|
-
currentView = new Uint8Array(
|
|
2024
|
+
currentView = new Uint8Array(4096);
|
|
2025
2025
|
writtenBytes = 0;
|
|
2026
2026
|
destinationHasCapacity = !0;
|
|
2027
2027
|
try {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-server-dom-turbopack",
|
|
3
3
|
"description": "React Server Components bindings for DOM using Turbopack. This is intended to be integrated into meta-frameworks. It is not intended to be imported directly.",
|
|
4
|
-
"version": "19.3.0-canary-
|
|
4
|
+
"version": "19.3.0-canary-58bdc0bb-20251019",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react"
|
|
7
7
|
],
|
|
@@ -78,8 +78,8 @@
|
|
|
78
78
|
"node": ">=0.10.0"
|
|
79
79
|
},
|
|
80
80
|
"peerDependencies": {
|
|
81
|
-
"react": "19.3.0-canary-
|
|
82
|
-
"react-dom": "19.3.0-canary-
|
|
81
|
+
"react": "19.3.0-canary-58bdc0bb-20251019",
|
|
82
|
+
"react-dom": "19.3.0-canary-58bdc0bb-20251019"
|
|
83
83
|
},
|
|
84
84
|
"dependencies": {
|
|
85
85
|
"acorn-loose": "^8.3.0",
|