react-server-dom-webpack 19.2.6 → 19.2.7
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.
|
@@ -4901,10 +4901,10 @@
|
|
|
4901
4901
|
return hook.checkDCE ? !0 : !1;
|
|
4902
4902
|
})({
|
|
4903
4903
|
bundleType: 1,
|
|
4904
|
-
version: "19.2.
|
|
4904
|
+
version: "19.2.7",
|
|
4905
4905
|
rendererPackageName: "react-server-dom-webpack",
|
|
4906
4906
|
currentDispatcherRef: ReactSharedInternals,
|
|
4907
|
-
reconcilerVersion: "19.2.
|
|
4907
|
+
reconcilerVersion: "19.2.7",
|
|
4908
4908
|
getCurrentComponentInfo: function () {
|
|
4909
4909
|
return currentOwnerInDEV;
|
|
4910
4910
|
}
|
|
@@ -6392,20 +6392,58 @@
|
|
|
6392
6392
|
webpackMap,
|
|
6393
6393
|
options
|
|
6394
6394
|
) {
|
|
6395
|
-
|
|
6395
|
+
function flush() {
|
|
6396
|
+
for (; null !== head; ) {
|
|
6397
|
+
var current = head;
|
|
6398
|
+
if (!current.complete) return;
|
|
6399
|
+
try {
|
|
6400
|
+
var response = response$jscomp$0,
|
|
6401
|
+
key = current.name,
|
|
6402
|
+
handle = current.file,
|
|
6403
|
+
blob = new Blob(handle.chunks, { type: handle.mime }),
|
|
6404
|
+
backingStore = response._formData;
|
|
6405
|
+
response = key;
|
|
6406
|
+
backingStore.data.append(response, blob, handle.filename);
|
|
6407
|
+
var keys = backingStore.keys;
|
|
6408
|
+
null === keys
|
|
6409
|
+
? ((backingStore.keys = Array.from(backingStore.data.keys())),
|
|
6410
|
+
(backingStore.keyPointer = 0))
|
|
6411
|
+
: keys.push(response);
|
|
6412
|
+
var queuedFields = current.queuedFields;
|
|
6413
|
+
if (null !== queuedFields)
|
|
6414
|
+
for (response = 0; response < queuedFields.length; response += 2)
|
|
6415
|
+
resolveField(
|
|
6416
|
+
response$jscomp$0,
|
|
6417
|
+
queuedFields[response],
|
|
6418
|
+
queuedFields[response + 1]
|
|
6419
|
+
);
|
|
6420
|
+
} catch (error) {
|
|
6421
|
+
busboyStream.destroy(error);
|
|
6422
|
+
return;
|
|
6423
|
+
}
|
|
6424
|
+
head = current.next;
|
|
6425
|
+
}
|
|
6426
|
+
tail = null;
|
|
6427
|
+
bodyFinished && !closed && ((closed = !0), close(response$jscomp$0));
|
|
6428
|
+
}
|
|
6429
|
+
var response$jscomp$0 = createResponse(
|
|
6396
6430
|
webpackMap,
|
|
6397
6431
|
"",
|
|
6398
6432
|
options ? options.temporaryReferences : void 0,
|
|
6399
6433
|
void 0,
|
|
6400
6434
|
options ? options.arraySizeLimit : void 0
|
|
6401
6435
|
),
|
|
6402
|
-
|
|
6403
|
-
|
|
6436
|
+
head = null,
|
|
6437
|
+
tail = null,
|
|
6438
|
+
bodyFinished = !1,
|
|
6439
|
+
closed = !1;
|
|
6404
6440
|
busboyStream.on("field", function (name, value) {
|
|
6405
|
-
if (
|
|
6441
|
+
if (null !== tail)
|
|
6442
|
+
null === tail.queuedFields && (tail.queuedFields = []),
|
|
6443
|
+
tail.queuedFields.push(name, value);
|
|
6406
6444
|
else
|
|
6407
6445
|
try {
|
|
6408
|
-
resolveField(response, name, value);
|
|
6446
|
+
resolveField(response$jscomp$0, name, value);
|
|
6409
6447
|
} catch (error) {
|
|
6410
6448
|
busboyStream.destroy(error);
|
|
6411
6449
|
}
|
|
@@ -6420,46 +6458,45 @@
|
|
|
6420
6458
|
)
|
|
6421
6459
|
);
|
|
6422
6460
|
else {
|
|
6423
|
-
|
|
6424
|
-
|
|
6461
|
+
var file = { chunks: [], filename: filename, mime: mimeType },
|
|
6462
|
+
pendingFile = {
|
|
6463
|
+
name: name,
|
|
6464
|
+
file: file,
|
|
6465
|
+
complete: !1,
|
|
6466
|
+
queuedFields: null,
|
|
6467
|
+
next: null
|
|
6468
|
+
};
|
|
6469
|
+
null === tail ? (head = pendingFile) : (tail.next = pendingFile);
|
|
6470
|
+
tail = pendingFile;
|
|
6425
6471
|
value.on("data", function (chunk) {
|
|
6426
|
-
JSCompiler_object_inline_chunks_266.push(chunk);
|
|
6427
|
-
});
|
|
6428
|
-
value.on("end", function () {
|
|
6429
6472
|
try {
|
|
6430
|
-
|
|
6431
|
-
type: mimeType
|
|
6432
|
-
}),
|
|
6433
|
-
backingStore = response._formData;
|
|
6434
|
-
backingStore.data.append(name, blob, filename);
|
|
6435
|
-
var keys = backingStore.keys;
|
|
6436
|
-
null === keys
|
|
6437
|
-
? ((backingStore.keys = Array.from(backingStore.data.keys())),
|
|
6438
|
-
(backingStore.keyPointer = 0))
|
|
6439
|
-
: keys.push(name);
|
|
6440
|
-
pendingFiles--;
|
|
6441
|
-
if (0 === pendingFiles) {
|
|
6442
|
-
for (blob = 0; blob < queuedFields.length; blob += 2)
|
|
6443
|
-
resolveField(
|
|
6444
|
-
response,
|
|
6445
|
-
queuedFields[blob],
|
|
6446
|
-
queuedFields[blob + 1]
|
|
6447
|
-
);
|
|
6448
|
-
queuedFields.length = 0;
|
|
6449
|
-
}
|
|
6473
|
+
file.chunks.push(chunk);
|
|
6450
6474
|
} catch (error) {
|
|
6451
6475
|
busboyStream.destroy(error);
|
|
6452
6476
|
}
|
|
6453
6477
|
});
|
|
6478
|
+
value.on("error", function (error) {
|
|
6479
|
+
busboyStream.destroy(error);
|
|
6480
|
+
});
|
|
6481
|
+
value.on("end", function () {
|
|
6482
|
+
pendingFile.complete = !0;
|
|
6483
|
+
flush();
|
|
6484
|
+
});
|
|
6454
6485
|
}
|
|
6455
6486
|
});
|
|
6456
6487
|
busboyStream.on("finish", function () {
|
|
6457
|
-
|
|
6488
|
+
bodyFinished = !0;
|
|
6489
|
+
flush();
|
|
6490
|
+
closed ||
|
|
6491
|
+
reportGlobalError(
|
|
6492
|
+
response$jscomp$0,
|
|
6493
|
+
Error("Reply finished with incomplete file part.")
|
|
6494
|
+
);
|
|
6458
6495
|
});
|
|
6459
6496
|
busboyStream.on("error", function (err) {
|
|
6460
|
-
reportGlobalError(response, err);
|
|
6497
|
+
reportGlobalError(response$jscomp$0, err);
|
|
6461
6498
|
});
|
|
6462
|
-
return getChunk(response, 0);
|
|
6499
|
+
return getChunk(response$jscomp$0, 0);
|
|
6463
6500
|
};
|
|
6464
6501
|
exports.prerender = function (model, webpackMap, options) {
|
|
6465
6502
|
return new Promise(function (resolve, reject) {
|
|
@@ -3574,6 +3574,43 @@ exports.decodeReplyFromAsyncIterable = function (
|
|
|
3574
3574
|
return getChunk(response, 0);
|
|
3575
3575
|
};
|
|
3576
3576
|
exports.decodeReplyFromBusboy = function (busboyStream, webpackMap, options) {
|
|
3577
|
+
function flush() {
|
|
3578
|
+
for (; null !== head; ) {
|
|
3579
|
+
var current = head;
|
|
3580
|
+
if (!current.complete) return;
|
|
3581
|
+
try {
|
|
3582
|
+
var key = current.name,
|
|
3583
|
+
handle = current.file,
|
|
3584
|
+
blob = new Blob(handle.chunks, { type: handle.mime }),
|
|
3585
|
+
backingStore = response._formData,
|
|
3586
|
+
key$jscomp$0 = key;
|
|
3587
|
+
backingStore.data.append(key$jscomp$0, blob, handle.filename);
|
|
3588
|
+
var keys = backingStore.keys;
|
|
3589
|
+
null === keys
|
|
3590
|
+
? ((backingStore.keys = Array.from(backingStore.data.keys())),
|
|
3591
|
+
(backingStore.keyPointer = 0))
|
|
3592
|
+
: keys.push(key$jscomp$0);
|
|
3593
|
+
var queuedFields = current.queuedFields;
|
|
3594
|
+
if (null !== queuedFields)
|
|
3595
|
+
for (
|
|
3596
|
+
key$jscomp$0 = 0;
|
|
3597
|
+
key$jscomp$0 < queuedFields.length;
|
|
3598
|
+
key$jscomp$0 += 2
|
|
3599
|
+
)
|
|
3600
|
+
resolveField(
|
|
3601
|
+
response,
|
|
3602
|
+
queuedFields[key$jscomp$0],
|
|
3603
|
+
queuedFields[key$jscomp$0 + 1]
|
|
3604
|
+
);
|
|
3605
|
+
} catch (error) {
|
|
3606
|
+
busboyStream.destroy(error);
|
|
3607
|
+
return;
|
|
3608
|
+
}
|
|
3609
|
+
head = current.next;
|
|
3610
|
+
}
|
|
3611
|
+
tail = null;
|
|
3612
|
+
bodyFinished && !closed && ((closed = !0), close(response));
|
|
3613
|
+
}
|
|
3577
3614
|
var response = createResponse(
|
|
3578
3615
|
webpackMap,
|
|
3579
3616
|
"",
|
|
@@ -3581,10 +3618,14 @@ exports.decodeReplyFromBusboy = function (busboyStream, webpackMap, options) {
|
|
|
3581
3618
|
void 0,
|
|
3582
3619
|
options ? options.arraySizeLimit : void 0
|
|
3583
3620
|
),
|
|
3584
|
-
|
|
3585
|
-
|
|
3621
|
+
head = null,
|
|
3622
|
+
tail = null,
|
|
3623
|
+
bodyFinished = !1,
|
|
3624
|
+
closed = !1;
|
|
3586
3625
|
busboyStream.on("field", function (name, value) {
|
|
3587
|
-
if (
|
|
3626
|
+
if (null !== tail)
|
|
3627
|
+
null === tail.queuedFields && (tail.queuedFields = []),
|
|
3628
|
+
tail.queuedFields.push(name, value);
|
|
3588
3629
|
else
|
|
3589
3630
|
try {
|
|
3590
3631
|
resolveField(response, name, value);
|
|
@@ -3602,41 +3643,40 @@ exports.decodeReplyFromBusboy = function (busboyStream, webpackMap, options) {
|
|
|
3602
3643
|
)
|
|
3603
3644
|
);
|
|
3604
3645
|
else {
|
|
3605
|
-
|
|
3606
|
-
|
|
3646
|
+
var file = { chunks: [], filename: filename, mime: mimeType },
|
|
3647
|
+
pendingFile = {
|
|
3648
|
+
name: name,
|
|
3649
|
+
file: file,
|
|
3650
|
+
complete: !1,
|
|
3651
|
+
queuedFields: null,
|
|
3652
|
+
next: null
|
|
3653
|
+
};
|
|
3654
|
+
null === tail ? (head = pendingFile) : (tail.next = pendingFile);
|
|
3655
|
+
tail = pendingFile;
|
|
3607
3656
|
value.on("data", function (chunk) {
|
|
3608
|
-
JSCompiler_object_inline_chunks_296.push(chunk);
|
|
3609
|
-
});
|
|
3610
|
-
value.on("end", function () {
|
|
3611
3657
|
try {
|
|
3612
|
-
|
|
3613
|
-
type: mimeType
|
|
3614
|
-
}),
|
|
3615
|
-
backingStore = response._formData;
|
|
3616
|
-
backingStore.data.append(name, blob, filename);
|
|
3617
|
-
var keys = backingStore.keys;
|
|
3618
|
-
null === keys
|
|
3619
|
-
? ((backingStore.keys = Array.from(backingStore.data.keys())),
|
|
3620
|
-
(backingStore.keyPointer = 0))
|
|
3621
|
-
: keys.push(name);
|
|
3622
|
-
pendingFiles--;
|
|
3623
|
-
if (0 === pendingFiles) {
|
|
3624
|
-
for (blob = 0; blob < queuedFields.length; blob += 2)
|
|
3625
|
-
resolveField(
|
|
3626
|
-
response,
|
|
3627
|
-
queuedFields[blob],
|
|
3628
|
-
queuedFields[blob + 1]
|
|
3629
|
-
);
|
|
3630
|
-
queuedFields.length = 0;
|
|
3631
|
-
}
|
|
3658
|
+
file.chunks.push(chunk);
|
|
3632
3659
|
} catch (error) {
|
|
3633
3660
|
busboyStream.destroy(error);
|
|
3634
3661
|
}
|
|
3635
3662
|
});
|
|
3663
|
+
value.on("error", function (error) {
|
|
3664
|
+
busboyStream.destroy(error);
|
|
3665
|
+
});
|
|
3666
|
+
value.on("end", function () {
|
|
3667
|
+
pendingFile.complete = !0;
|
|
3668
|
+
flush();
|
|
3669
|
+
});
|
|
3636
3670
|
}
|
|
3637
3671
|
});
|
|
3638
3672
|
busboyStream.on("finish", function () {
|
|
3639
|
-
|
|
3673
|
+
bodyFinished = !0;
|
|
3674
|
+
flush();
|
|
3675
|
+
closed ||
|
|
3676
|
+
reportGlobalError(
|
|
3677
|
+
response,
|
|
3678
|
+
Error("Reply finished with incomplete file part.")
|
|
3679
|
+
);
|
|
3640
3680
|
});
|
|
3641
3681
|
busboyStream.on("error", function (err) {
|
|
3642
3682
|
reportGlobalError(response, err);
|
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.2.
|
|
4
|
+
"version": "19.2.7",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react"
|
|
7
7
|
],
|
|
@@ -84,8 +84,8 @@
|
|
|
84
84
|
"node": ">=0.10.0"
|
|
85
85
|
},
|
|
86
86
|
"peerDependencies": {
|
|
87
|
-
"react": "^19.2.
|
|
88
|
-
"react-dom": "^19.2.
|
|
87
|
+
"react": "^19.2.7",
|
|
88
|
+
"react-dom": "^19.2.7",
|
|
89
89
|
"webpack": "^5.59.0"
|
|
90
90
|
},
|
|
91
91
|
"dependencies": {
|