react-server-dom-webpack 19.1.0-canary-7eb8234f-20241218 → 19.1.0-canary-9463d51e-20241219
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-webpack-client.browser.development.js +11 -3
- package/cjs/react-server-dom-webpack-client.browser.production.js +9 -1
- package/cjs/react-server-dom-webpack-client.edge.development.js +9 -1
- package/cjs/react-server-dom-webpack-client.edge.production.js +9 -1
- package/cjs/react-server-dom-webpack-client.node.development.js +9 -1
- package/cjs/react-server-dom-webpack-client.node.production.js +9 -1
- package/cjs/react-server-dom-webpack-client.node.unbundled.development.js +9 -1
- package/cjs/react-server-dom-webpack-client.node.unbundled.production.js +9 -1
- package/cjs/react-server-dom-webpack-server.browser.development.js +7 -1
- package/cjs/react-server-dom-webpack-server.browser.production.js +7 -1
- package/cjs/react-server-dom-webpack-server.edge.development.js +7 -1
- package/cjs/react-server-dom-webpack-server.edge.production.js +7 -1
- package/cjs/react-server-dom-webpack-server.node.development.js +7 -1
- package/cjs/react-server-dom-webpack-server.node.production.js +7 -1
- package/cjs/react-server-dom-webpack-server.node.unbundled.development.js +7 -1
- package/cjs/react-server-dom-webpack-server.node.unbundled.production.js +7 -1
- package/package.json +3 -3
@@ -1063,6 +1063,8 @@
|
|
1063
1063
|
}
|
1064
1064
|
}
|
1065
1065
|
function reportGlobalError(response, error) {
|
1066
|
+
response._closed = !0;
|
1067
|
+
response._closedReason = error;
|
1066
1068
|
response._chunks.forEach(function (chunk) {
|
1067
1069
|
"pending" === chunk.status && triggerErrorOnChunk(chunk, error);
|
1068
1070
|
});
|
@@ -1083,7 +1085,11 @@
|
|
1083
1085
|
function getChunk(response, id) {
|
1084
1086
|
var chunks = response._chunks,
|
1085
1087
|
chunk = chunks.get(id);
|
1086
|
-
chunk ||
|
1088
|
+
chunk ||
|
1089
|
+
((chunk = response._closed
|
1090
|
+
? new ReactPromise("rejected", null, response._closedReason, response)
|
1091
|
+
: createPendingChunk(response)),
|
1092
|
+
chunks.set(id, chunk));
|
1087
1093
|
return chunk;
|
1088
1094
|
}
|
1089
1095
|
function waitForReference(
|
@@ -1506,6 +1512,8 @@
|
|
1506
1512
|
this._fromJSON = null;
|
1507
1513
|
this._rowLength = this._rowTag = this._rowID = this._rowState = 0;
|
1508
1514
|
this._buffer = [];
|
1515
|
+
this._closed = !1;
|
1516
|
+
this._closedReason = null;
|
1509
1517
|
this._tempRefs = temporaryReferences;
|
1510
1518
|
this._debugRootOwner = bundlerConfig =
|
1511
1519
|
void 0 === ReactSharedInteralsServer ||
|
@@ -2467,10 +2475,10 @@
|
|
2467
2475
|
return hook.checkDCE ? !0 : !1;
|
2468
2476
|
})({
|
2469
2477
|
bundleType: 1,
|
2470
|
-
version: "19.1.0-canary-
|
2478
|
+
version: "19.1.0-canary-9463d51e-20241219",
|
2471
2479
|
rendererPackageName: "react-server-dom-webpack",
|
2472
2480
|
currentDispatcherRef: ReactSharedInternals,
|
2473
|
-
reconcilerVersion: "19.1.0-canary-
|
2481
|
+
reconcilerVersion: "19.1.0-canary-9463d51e-20241219",
|
2474
2482
|
getCurrentComponentInfo: function () {
|
2475
2483
|
return currentOwnerInDEV;
|
2476
2484
|
}
|
@@ -689,6 +689,8 @@ function initializeModuleChunk(chunk) {
|
|
689
689
|
}
|
690
690
|
}
|
691
691
|
function reportGlobalError(response, error) {
|
692
|
+
response._closed = !0;
|
693
|
+
response._closedReason = error;
|
692
694
|
response._chunks.forEach(function (chunk) {
|
693
695
|
"pending" === chunk.status && triggerErrorOnChunk(chunk, error);
|
694
696
|
});
|
@@ -699,7 +701,11 @@ function createLazyChunkWrapper(chunk) {
|
|
699
701
|
function getChunk(response, id) {
|
700
702
|
var chunks = response._chunks,
|
701
703
|
chunk = chunks.get(id);
|
702
|
-
chunk ||
|
704
|
+
chunk ||
|
705
|
+
((chunk = response._closed
|
706
|
+
? new ReactPromise("rejected", null, response._closedReason, response)
|
707
|
+
: createPendingChunk(response)),
|
708
|
+
chunks.set(id, chunk));
|
703
709
|
return chunk;
|
704
710
|
}
|
705
711
|
function waitForReference(
|
@@ -1028,6 +1034,8 @@ function ResponseInstance(
|
|
1028
1034
|
this._fromJSON = null;
|
1029
1035
|
this._rowLength = this._rowTag = this._rowID = this._rowState = 0;
|
1030
1036
|
this._buffer = [];
|
1037
|
+
this._closed = !1;
|
1038
|
+
this._closedReason = null;
|
1031
1039
|
this._tempRefs = temporaryReferences;
|
1032
1040
|
this._fromJSON = createFromJSONCallback(this);
|
1033
1041
|
}
|
@@ -1267,6 +1267,8 @@
|
|
1267
1267
|
}
|
1268
1268
|
}
|
1269
1269
|
function reportGlobalError(response, error) {
|
1270
|
+
response._closed = !0;
|
1271
|
+
response._closedReason = error;
|
1270
1272
|
response._chunks.forEach(function (chunk) {
|
1271
1273
|
"pending" === chunk.status && triggerErrorOnChunk(chunk, error);
|
1272
1274
|
});
|
@@ -1287,7 +1289,11 @@
|
|
1287
1289
|
function getChunk(response, id) {
|
1288
1290
|
var chunks = response._chunks,
|
1289
1291
|
chunk = chunks.get(id);
|
1290
|
-
chunk ||
|
1292
|
+
chunk ||
|
1293
|
+
((chunk = response._closed
|
1294
|
+
? new ReactPromise("rejected", null, response._closedReason, response)
|
1295
|
+
: createPendingChunk(response)),
|
1296
|
+
chunks.set(id, chunk));
|
1291
1297
|
return chunk;
|
1292
1298
|
}
|
1293
1299
|
function waitForReference(
|
@@ -1710,6 +1716,8 @@
|
|
1710
1716
|
this._fromJSON = null;
|
1711
1717
|
this._rowLength = this._rowTag = this._rowID = this._rowState = 0;
|
1712
1718
|
this._buffer = [];
|
1719
|
+
this._closed = !1;
|
1720
|
+
this._closedReason = null;
|
1713
1721
|
this._tempRefs = temporaryReferences;
|
1714
1722
|
this._debugRootOwner = bundlerConfig =
|
1715
1723
|
void 0 === ReactSharedInteralsServer ||
|
@@ -843,6 +843,8 @@ function initializeModuleChunk(chunk) {
|
|
843
843
|
}
|
844
844
|
}
|
845
845
|
function reportGlobalError(response, error) {
|
846
|
+
response._closed = !0;
|
847
|
+
response._closedReason = error;
|
846
848
|
response._chunks.forEach(function (chunk) {
|
847
849
|
"pending" === chunk.status && triggerErrorOnChunk(chunk, error);
|
848
850
|
});
|
@@ -853,7 +855,11 @@ function createLazyChunkWrapper(chunk) {
|
|
853
855
|
function getChunk(response, id) {
|
854
856
|
var chunks = response._chunks,
|
855
857
|
chunk = chunks.get(id);
|
856
|
-
chunk ||
|
858
|
+
chunk ||
|
859
|
+
((chunk = response._closed
|
860
|
+
? new ReactPromise("rejected", null, response._closedReason, response)
|
861
|
+
: createPendingChunk(response)),
|
862
|
+
chunks.set(id, chunk));
|
857
863
|
return chunk;
|
858
864
|
}
|
859
865
|
function waitForReference(
|
@@ -1186,6 +1192,8 @@ function ResponseInstance(
|
|
1186
1192
|
this._fromJSON = null;
|
1187
1193
|
this._rowLength = this._rowTag = this._rowID = this._rowState = 0;
|
1188
1194
|
this._buffer = [];
|
1195
|
+
this._closed = !1;
|
1196
|
+
this._closedReason = null;
|
1189
1197
|
this._tempRefs = temporaryReferences;
|
1190
1198
|
this._fromJSON = createFromJSONCallback(this);
|
1191
1199
|
}
|
@@ -1267,6 +1267,8 @@
|
|
1267
1267
|
}
|
1268
1268
|
}
|
1269
1269
|
function reportGlobalError(response, error) {
|
1270
|
+
response._closed = !0;
|
1271
|
+
response._closedReason = error;
|
1270
1272
|
response._chunks.forEach(function (chunk) {
|
1271
1273
|
"pending" === chunk.status && triggerErrorOnChunk(chunk, error);
|
1272
1274
|
});
|
@@ -1287,7 +1289,11 @@
|
|
1287
1289
|
function getChunk(response, id) {
|
1288
1290
|
var chunks = response._chunks,
|
1289
1291
|
chunk = chunks.get(id);
|
1290
|
-
chunk ||
|
1292
|
+
chunk ||
|
1293
|
+
((chunk = response._closed
|
1294
|
+
? new ReactPromise("rejected", null, response._closedReason, response)
|
1295
|
+
: createPendingChunk(response)),
|
1296
|
+
chunks.set(id, chunk));
|
1291
1297
|
return chunk;
|
1292
1298
|
}
|
1293
1299
|
function waitForReference(
|
@@ -1710,6 +1716,8 @@
|
|
1710
1716
|
this._fromJSON = null;
|
1711
1717
|
this._rowLength = this._rowTag = this._rowID = this._rowState = 0;
|
1712
1718
|
this._buffer = [];
|
1719
|
+
this._closed = !1;
|
1720
|
+
this._closedReason = null;
|
1713
1721
|
this._tempRefs = temporaryReferences;
|
1714
1722
|
this._debugRootOwner = bundlerConfig =
|
1715
1723
|
void 0 === ReactSharedInteralsServer ||
|
@@ -844,6 +844,8 @@ function initializeModuleChunk(chunk) {
|
|
844
844
|
}
|
845
845
|
}
|
846
846
|
function reportGlobalError(response, error) {
|
847
|
+
response._closed = !0;
|
848
|
+
response._closedReason = error;
|
847
849
|
response._chunks.forEach(function (chunk) {
|
848
850
|
"pending" === chunk.status && triggerErrorOnChunk(chunk, error);
|
849
851
|
});
|
@@ -854,7 +856,11 @@ function createLazyChunkWrapper(chunk) {
|
|
854
856
|
function getChunk(response, id) {
|
855
857
|
var chunks = response._chunks,
|
856
858
|
chunk = chunks.get(id);
|
857
|
-
chunk ||
|
859
|
+
chunk ||
|
860
|
+
((chunk = response._closed
|
861
|
+
? new ReactPromise("rejected", null, response._closedReason, response)
|
862
|
+
: createPendingChunk(response)),
|
863
|
+
chunks.set(id, chunk));
|
858
864
|
return chunk;
|
859
865
|
}
|
860
866
|
function waitForReference(
|
@@ -1187,6 +1193,8 @@ function ResponseInstance(
|
|
1187
1193
|
this._fromJSON = null;
|
1188
1194
|
this._rowLength = this._rowTag = this._rowID = this._rowState = 0;
|
1189
1195
|
this._buffer = [];
|
1196
|
+
this._closed = !1;
|
1197
|
+
this._closedReason = null;
|
1190
1198
|
this._tempRefs = temporaryReferences;
|
1191
1199
|
this._fromJSON = createFromJSONCallback(this);
|
1192
1200
|
}
|
@@ -1229,6 +1229,8 @@
|
|
1229
1229
|
}
|
1230
1230
|
}
|
1231
1231
|
function reportGlobalError(response, error) {
|
1232
|
+
response._closed = !0;
|
1233
|
+
response._closedReason = error;
|
1232
1234
|
response._chunks.forEach(function (chunk) {
|
1233
1235
|
"pending" === chunk.status && triggerErrorOnChunk(chunk, error);
|
1234
1236
|
});
|
@@ -1249,7 +1251,11 @@
|
|
1249
1251
|
function getChunk(response, id) {
|
1250
1252
|
var chunks = response._chunks,
|
1251
1253
|
chunk = chunks.get(id);
|
1252
|
-
chunk ||
|
1254
|
+
chunk ||
|
1255
|
+
((chunk = response._closed
|
1256
|
+
? new ReactPromise("rejected", null, response._closedReason, response)
|
1257
|
+
: createPendingChunk(response)),
|
1258
|
+
chunks.set(id, chunk));
|
1253
1259
|
return chunk;
|
1254
1260
|
}
|
1255
1261
|
function waitForReference(
|
@@ -1672,6 +1678,8 @@
|
|
1672
1678
|
this._fromJSON = null;
|
1673
1679
|
this._rowLength = this._rowTag = this._rowID = this._rowState = 0;
|
1674
1680
|
this._buffer = [];
|
1681
|
+
this._closed = !1;
|
1682
|
+
this._closedReason = null;
|
1675
1683
|
this._tempRefs = temporaryReferences;
|
1676
1684
|
this._debugRootOwner = bundlerConfig =
|
1677
1685
|
void 0 === ReactSharedInteralsServer ||
|
@@ -809,6 +809,8 @@ function initializeModuleChunk(chunk) {
|
|
809
809
|
}
|
810
810
|
}
|
811
811
|
function reportGlobalError(response, error) {
|
812
|
+
response._closed = !0;
|
813
|
+
response._closedReason = error;
|
812
814
|
response._chunks.forEach(function (chunk) {
|
813
815
|
"pending" === chunk.status && triggerErrorOnChunk(chunk, error);
|
814
816
|
});
|
@@ -819,7 +821,11 @@ function createLazyChunkWrapper(chunk) {
|
|
819
821
|
function getChunk(response, id) {
|
820
822
|
var chunks = response._chunks,
|
821
823
|
chunk = chunks.get(id);
|
822
|
-
chunk ||
|
824
|
+
chunk ||
|
825
|
+
((chunk = response._closed
|
826
|
+
? new ReactPromise("rejected", null, response._closedReason, response)
|
827
|
+
: createPendingChunk(response)),
|
828
|
+
chunks.set(id, chunk));
|
823
829
|
return chunk;
|
824
830
|
}
|
825
831
|
function waitForReference(
|
@@ -1152,6 +1158,8 @@ function ResponseInstance(
|
|
1152
1158
|
this._fromJSON = null;
|
1153
1159
|
this._rowLength = this._rowTag = this._rowID = this._rowState = 0;
|
1154
1160
|
this._buffer = [];
|
1161
|
+
this._closed = !1;
|
1162
|
+
this._closedReason = null;
|
1155
1163
|
this._tempRefs = temporaryReferences;
|
1156
1164
|
this._fromJSON = createFromJSONCallback(this);
|
1157
1165
|
}
|
@@ -2683,6 +2683,8 @@
|
|
2683
2683
|
}
|
2684
2684
|
}
|
2685
2685
|
function reportGlobalError(response, error) {
|
2686
|
+
response._closed = !0;
|
2687
|
+
response._closedReason = error;
|
2686
2688
|
response._chunks.forEach(function (chunk) {
|
2687
2689
|
"pending" === chunk.status && triggerErrorOnChunk(chunk, error);
|
2688
2690
|
});
|
@@ -2695,7 +2697,9 @@
|
|
2695
2697
|
(chunk =
|
2696
2698
|
null != chunk
|
2697
2699
|
? new Chunk("resolved_model", chunk, id, response)
|
2698
|
-
:
|
2700
|
+
: response._closed
|
2701
|
+
? new Chunk("rejected", null, response._closedReason, response)
|
2702
|
+
: createPendingChunk(response)),
|
2699
2703
|
chunks.set(id, chunk));
|
2700
2704
|
return chunk;
|
2701
2705
|
}
|
@@ -3122,6 +3126,8 @@
|
|
3122
3126
|
_prefix: formFieldPrefix,
|
3123
3127
|
_formData: backingFormData,
|
3124
3128
|
_chunks: chunks,
|
3129
|
+
_closed: !1,
|
3130
|
+
_closedReason: null,
|
3125
3131
|
_temporaryReferences: temporaryReferences
|
3126
3132
|
};
|
3127
3133
|
}
|
@@ -2189,6 +2189,8 @@ function initializeModelChunk(chunk) {
|
|
2189
2189
|
}
|
2190
2190
|
}
|
2191
2191
|
function reportGlobalError(response, error) {
|
2192
|
+
response._closed = !0;
|
2193
|
+
response._closedReason = error;
|
2192
2194
|
response._chunks.forEach(function (chunk) {
|
2193
2195
|
"pending" === chunk.status && triggerErrorOnChunk(chunk, error);
|
2194
2196
|
});
|
@@ -2201,7 +2203,9 @@ function getChunk(response, id) {
|
|
2201
2203
|
(chunk =
|
2202
2204
|
null != chunk
|
2203
2205
|
? new Chunk("resolved_model", chunk, id, response)
|
2204
|
-
:
|
2206
|
+
: response._closed
|
2207
|
+
? new Chunk("rejected", null, response._closedReason, response)
|
2208
|
+
: createPendingChunk(response)),
|
2205
2209
|
chunks.set(id, chunk));
|
2206
2210
|
return chunk;
|
2207
2211
|
}
|
@@ -2598,6 +2602,8 @@ function createResponse(bundlerConfig, formFieldPrefix, temporaryReferences) {
|
|
2598
2602
|
_prefix: formFieldPrefix,
|
2599
2603
|
_formData: backingFormData,
|
2600
2604
|
_chunks: chunks,
|
2605
|
+
_closed: !1,
|
2606
|
+
_closedReason: null,
|
2601
2607
|
_temporaryReferences: temporaryReferences
|
2602
2608
|
};
|
2603
2609
|
}
|
@@ -2717,6 +2717,8 @@
|
|
2717
2717
|
}
|
2718
2718
|
}
|
2719
2719
|
function reportGlobalError(response, error) {
|
2720
|
+
response._closed = !0;
|
2721
|
+
response._closedReason = error;
|
2720
2722
|
response._chunks.forEach(function (chunk) {
|
2721
2723
|
"pending" === chunk.status && triggerErrorOnChunk(chunk, error);
|
2722
2724
|
});
|
@@ -2729,7 +2731,9 @@
|
|
2729
2731
|
(chunk =
|
2730
2732
|
null != chunk
|
2731
2733
|
? new Chunk("resolved_model", chunk, id, response)
|
2732
|
-
:
|
2734
|
+
: response._closed
|
2735
|
+
? new Chunk("rejected", null, response._closedReason, response)
|
2736
|
+
: createPendingChunk(response)),
|
2733
2737
|
chunks.set(id, chunk));
|
2734
2738
|
return chunk;
|
2735
2739
|
}
|
@@ -3156,6 +3160,8 @@
|
|
3156
3160
|
_prefix: formFieldPrefix,
|
3157
3161
|
_formData: backingFormData,
|
3158
3162
|
_chunks: chunks,
|
3163
|
+
_closed: !1,
|
3164
|
+
_closedReason: null,
|
3159
3165
|
_temporaryReferences: temporaryReferences
|
3160
3166
|
};
|
3161
3167
|
}
|
@@ -2191,6 +2191,8 @@ function initializeModelChunk(chunk) {
|
|
2191
2191
|
}
|
2192
2192
|
}
|
2193
2193
|
function reportGlobalError(response, error) {
|
2194
|
+
response._closed = !0;
|
2195
|
+
response._closedReason = error;
|
2194
2196
|
response._chunks.forEach(function (chunk) {
|
2195
2197
|
"pending" === chunk.status && triggerErrorOnChunk(chunk, error);
|
2196
2198
|
});
|
@@ -2203,7 +2205,9 @@ function getChunk(response, id) {
|
|
2203
2205
|
(chunk =
|
2204
2206
|
null != chunk
|
2205
2207
|
? new Chunk("resolved_model", chunk, id, response)
|
2206
|
-
:
|
2208
|
+
: response._closed
|
2209
|
+
? new Chunk("rejected", null, response._closedReason, response)
|
2210
|
+
: createPendingChunk(response)),
|
2207
2211
|
chunks.set(id, chunk));
|
2208
2212
|
return chunk;
|
2209
2213
|
}
|
@@ -2600,6 +2604,8 @@ function createResponse(bundlerConfig, formFieldPrefix, temporaryReferences) {
|
|
2600
2604
|
_prefix: formFieldPrefix,
|
2601
2605
|
_formData: backingFormData,
|
2602
2606
|
_chunks: chunks,
|
2607
|
+
_closed: !1,
|
2608
|
+
_closedReason: null,
|
2603
2609
|
_temporaryReferences: temporaryReferences
|
2604
2610
|
};
|
2605
2611
|
}
|
@@ -2715,6 +2715,8 @@
|
|
2715
2715
|
}
|
2716
2716
|
}
|
2717
2717
|
function reportGlobalError(response, error) {
|
2718
|
+
response._closed = !0;
|
2719
|
+
response._closedReason = error;
|
2718
2720
|
response._chunks.forEach(function (chunk) {
|
2719
2721
|
"pending" === chunk.status && triggerErrorOnChunk(chunk, error);
|
2720
2722
|
});
|
@@ -2727,7 +2729,9 @@
|
|
2727
2729
|
(chunk =
|
2728
2730
|
null != chunk
|
2729
2731
|
? new Chunk("resolved_model", chunk, id, response)
|
2730
|
-
:
|
2732
|
+
: response._closed
|
2733
|
+
? new Chunk("rejected", null, response._closedReason, response)
|
2734
|
+
: createPendingChunk(response)),
|
2731
2735
|
chunks.set(id, chunk));
|
2732
2736
|
return chunk;
|
2733
2737
|
}
|
@@ -3154,6 +3158,8 @@
|
|
3154
3158
|
_prefix: formFieldPrefix,
|
3155
3159
|
_formData: backingFormData,
|
3156
3160
|
_chunks: chunks,
|
3161
|
+
_closed: !1,
|
3162
|
+
_closedReason: null,
|
3157
3163
|
_temporaryReferences: temporaryReferences
|
3158
3164
|
};
|
3159
3165
|
}
|
@@ -2216,6 +2216,8 @@ function initializeModelChunk(chunk) {
|
|
2216
2216
|
}
|
2217
2217
|
}
|
2218
2218
|
function reportGlobalError(response, error) {
|
2219
|
+
response._closed = !0;
|
2220
|
+
response._closedReason = error;
|
2219
2221
|
response._chunks.forEach(function (chunk) {
|
2220
2222
|
"pending" === chunk.status && triggerErrorOnChunk(chunk, error);
|
2221
2223
|
});
|
@@ -2228,7 +2230,9 @@ function getChunk(response, id) {
|
|
2228
2230
|
(chunk =
|
2229
2231
|
null != chunk
|
2230
2232
|
? new Chunk("resolved_model", chunk, id, response)
|
2231
|
-
:
|
2233
|
+
: response._closed
|
2234
|
+
? new Chunk("rejected", null, response._closedReason, response)
|
2235
|
+
: createPendingChunk(response)),
|
2232
2236
|
chunks.set(id, chunk));
|
2233
2237
|
return chunk;
|
2234
2238
|
}
|
@@ -2625,6 +2629,8 @@ function createResponse(bundlerConfig, formFieldPrefix, temporaryReferences) {
|
|
2625
2629
|
_prefix: formFieldPrefix,
|
2626
2630
|
_formData: backingFormData,
|
2627
2631
|
_chunks: chunks,
|
2632
|
+
_closed: !1,
|
2633
|
+
_closedReason: null,
|
2628
2634
|
_temporaryReferences: temporaryReferences
|
2629
2635
|
};
|
2630
2636
|
}
|
@@ -2678,6 +2678,8 @@
|
|
2678
2678
|
}
|
2679
2679
|
}
|
2680
2680
|
function reportGlobalError(response, error) {
|
2681
|
+
response._closed = !0;
|
2682
|
+
response._closedReason = error;
|
2681
2683
|
response._chunks.forEach(function (chunk) {
|
2682
2684
|
"pending" === chunk.status && triggerErrorOnChunk(chunk, error);
|
2683
2685
|
});
|
@@ -2690,7 +2692,9 @@
|
|
2690
2692
|
(chunk =
|
2691
2693
|
null != chunk
|
2692
2694
|
? new Chunk("resolved_model", chunk, id, response)
|
2693
|
-
:
|
2695
|
+
: response._closed
|
2696
|
+
? new Chunk("rejected", null, response._closedReason, response)
|
2697
|
+
: createPendingChunk(response)),
|
2694
2698
|
chunks.set(id, chunk));
|
2695
2699
|
return chunk;
|
2696
2700
|
}
|
@@ -3117,6 +3121,8 @@
|
|
3117
3121
|
_prefix: formFieldPrefix,
|
3118
3122
|
_formData: backingFormData,
|
3119
3123
|
_chunks: chunks,
|
3124
|
+
_closed: !1,
|
3125
|
+
_closedReason: null,
|
3120
3126
|
_temporaryReferences: temporaryReferences
|
3121
3127
|
};
|
3122
3128
|
}
|
@@ -2182,6 +2182,8 @@ function initializeModelChunk(chunk) {
|
|
2182
2182
|
}
|
2183
2183
|
}
|
2184
2184
|
function reportGlobalError(response, error) {
|
2185
|
+
response._closed = !0;
|
2186
|
+
response._closedReason = error;
|
2185
2187
|
response._chunks.forEach(function (chunk) {
|
2186
2188
|
"pending" === chunk.status && triggerErrorOnChunk(chunk, error);
|
2187
2189
|
});
|
@@ -2194,7 +2196,9 @@ function getChunk(response, id) {
|
|
2194
2196
|
(chunk =
|
2195
2197
|
null != chunk
|
2196
2198
|
? new Chunk("resolved_model", chunk, id, response)
|
2197
|
-
:
|
2199
|
+
: response._closed
|
2200
|
+
? new Chunk("rejected", null, response._closedReason, response)
|
2201
|
+
: createPendingChunk(response)),
|
2198
2202
|
chunks.set(id, chunk));
|
2199
2203
|
return chunk;
|
2200
2204
|
}
|
@@ -2591,6 +2595,8 @@ function createResponse(bundlerConfig, formFieldPrefix, temporaryReferences) {
|
|
2591
2595
|
_prefix: formFieldPrefix,
|
2592
2596
|
_formData: backingFormData,
|
2593
2597
|
_chunks: chunks,
|
2598
|
+
_closed: !1,
|
2599
|
+
_closedReason: null,
|
2594
2600
|
_temporaryReferences: temporaryReferences
|
2595
2601
|
};
|
2596
2602
|
}
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "react-server-dom-webpack",
|
3
3
|
"description": "React Server Components bindings for DOM using Webpack. This is intended to be integrated into meta-frameworks. It is not intended to be imported directly.",
|
4
|
-
"version": "19.1.0-canary-
|
4
|
+
"version": "19.1.0-canary-9463d51e-20241219",
|
5
5
|
"keywords": [
|
6
6
|
"react"
|
7
7
|
],
|
@@ -99,8 +99,8 @@
|
|
99
99
|
"node": ">=0.10.0"
|
100
100
|
},
|
101
101
|
"peerDependencies": {
|
102
|
-
"react": "19.1.0-canary-
|
103
|
-
"react-dom": "19.1.0-canary-
|
102
|
+
"react": "19.1.0-canary-9463d51e-20241219",
|
103
|
+
"react-dom": "19.1.0-canary-9463d51e-20241219",
|
104
104
|
"webpack": "^5.59.0"
|
105
105
|
},
|
106
106
|
"dependencies": {
|