react-server-dom-parcel 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.
|
@@ -4800,10 +4800,10 @@
|
|
|
4800
4800
|
return hook.checkDCE ? !0 : !1;
|
|
4801
4801
|
})({
|
|
4802
4802
|
bundleType: 1,
|
|
4803
|
-
version: "19.2.
|
|
4803
|
+
version: "19.2.7",
|
|
4804
4804
|
rendererPackageName: "react-server-dom-parcel",
|
|
4805
4805
|
currentDispatcherRef: ReactSharedInternals,
|
|
4806
|
-
reconcilerVersion: "19.2.
|
|
4806
|
+
reconcilerVersion: "19.2.7",
|
|
4807
4807
|
getCurrentComponentInfo: function () {
|
|
4808
4808
|
return currentOwnerInDEV;
|
|
4809
4809
|
}
|
|
@@ -6181,20 +6181,58 @@
|
|
|
6181
6181
|
return getChunk(response, 0);
|
|
6182
6182
|
};
|
|
6183
6183
|
exports.decodeReplyFromBusboy = function (busboyStream, options) {
|
|
6184
|
-
|
|
6184
|
+
function flush() {
|
|
6185
|
+
for (; null !== head; ) {
|
|
6186
|
+
var current = head;
|
|
6187
|
+
if (!current.complete) return;
|
|
6188
|
+
try {
|
|
6189
|
+
var response = response$jscomp$0,
|
|
6190
|
+
key = current.name,
|
|
6191
|
+
handle = current.file,
|
|
6192
|
+
blob = new Blob(handle.chunks, { type: handle.mime }),
|
|
6193
|
+
backingStore = response._formData;
|
|
6194
|
+
response = key;
|
|
6195
|
+
backingStore.data.append(response, blob, handle.filename);
|
|
6196
|
+
var keys = backingStore.keys;
|
|
6197
|
+
null === keys
|
|
6198
|
+
? ((backingStore.keys = Array.from(backingStore.data.keys())),
|
|
6199
|
+
(backingStore.keyPointer = 0))
|
|
6200
|
+
: keys.push(response);
|
|
6201
|
+
var queuedFields = current.queuedFields;
|
|
6202
|
+
if (null !== queuedFields)
|
|
6203
|
+
for (response = 0; response < queuedFields.length; response += 2)
|
|
6204
|
+
resolveField(
|
|
6205
|
+
response$jscomp$0,
|
|
6206
|
+
queuedFields[response],
|
|
6207
|
+
queuedFields[response + 1]
|
|
6208
|
+
);
|
|
6209
|
+
} catch (error) {
|
|
6210
|
+
busboyStream.destroy(error);
|
|
6211
|
+
return;
|
|
6212
|
+
}
|
|
6213
|
+
head = current.next;
|
|
6214
|
+
}
|
|
6215
|
+
tail = null;
|
|
6216
|
+
bodyFinished && !closed && ((closed = !0), close(response$jscomp$0));
|
|
6217
|
+
}
|
|
6218
|
+
var response$jscomp$0 = createResponse(
|
|
6185
6219
|
serverManifest,
|
|
6186
6220
|
"",
|
|
6187
6221
|
options ? options.temporaryReferences : void 0,
|
|
6188
6222
|
void 0,
|
|
6189
6223
|
options ? options.arraySizeLimit : void 0
|
|
6190
6224
|
),
|
|
6191
|
-
|
|
6192
|
-
|
|
6225
|
+
head = null,
|
|
6226
|
+
tail = null,
|
|
6227
|
+
bodyFinished = !1,
|
|
6228
|
+
closed = !1;
|
|
6193
6229
|
busboyStream.on("field", function (name, value) {
|
|
6194
|
-
if (
|
|
6230
|
+
if (null !== tail)
|
|
6231
|
+
null === tail.queuedFields && (tail.queuedFields = []),
|
|
6232
|
+
tail.queuedFields.push(name, value);
|
|
6195
6233
|
else
|
|
6196
6234
|
try {
|
|
6197
|
-
resolveField(response, name, value);
|
|
6235
|
+
resolveField(response$jscomp$0, name, value);
|
|
6198
6236
|
} catch (error) {
|
|
6199
6237
|
busboyStream.destroy(error);
|
|
6200
6238
|
}
|
|
@@ -6209,46 +6247,45 @@
|
|
|
6209
6247
|
)
|
|
6210
6248
|
);
|
|
6211
6249
|
else {
|
|
6212
|
-
|
|
6213
|
-
|
|
6250
|
+
var file = { chunks: [], filename: filename, mime: mimeType },
|
|
6251
|
+
pendingFile = {
|
|
6252
|
+
name: name,
|
|
6253
|
+
file: file,
|
|
6254
|
+
complete: !1,
|
|
6255
|
+
queuedFields: null,
|
|
6256
|
+
next: null
|
|
6257
|
+
};
|
|
6258
|
+
null === tail ? (head = pendingFile) : (tail.next = pendingFile);
|
|
6259
|
+
tail = pendingFile;
|
|
6214
6260
|
value.on("data", function (chunk) {
|
|
6215
|
-
JSCompiler_object_inline_chunks_266.push(chunk);
|
|
6216
|
-
});
|
|
6217
|
-
value.on("end", function () {
|
|
6218
6261
|
try {
|
|
6219
|
-
|
|
6220
|
-
type: mimeType
|
|
6221
|
-
}),
|
|
6222
|
-
backingStore = response._formData;
|
|
6223
|
-
backingStore.data.append(name, blob, filename);
|
|
6224
|
-
var keys = backingStore.keys;
|
|
6225
|
-
null === keys
|
|
6226
|
-
? ((backingStore.keys = Array.from(backingStore.data.keys())),
|
|
6227
|
-
(backingStore.keyPointer = 0))
|
|
6228
|
-
: keys.push(name);
|
|
6229
|
-
pendingFiles--;
|
|
6230
|
-
if (0 === pendingFiles) {
|
|
6231
|
-
for (blob = 0; blob < queuedFields.length; blob += 2)
|
|
6232
|
-
resolveField(
|
|
6233
|
-
response,
|
|
6234
|
-
queuedFields[blob],
|
|
6235
|
-
queuedFields[blob + 1]
|
|
6236
|
-
);
|
|
6237
|
-
queuedFields.length = 0;
|
|
6238
|
-
}
|
|
6262
|
+
file.chunks.push(chunk);
|
|
6239
6263
|
} catch (error) {
|
|
6240
6264
|
busboyStream.destroy(error);
|
|
6241
6265
|
}
|
|
6242
6266
|
});
|
|
6267
|
+
value.on("error", function (error) {
|
|
6268
|
+
busboyStream.destroy(error);
|
|
6269
|
+
});
|
|
6270
|
+
value.on("end", function () {
|
|
6271
|
+
pendingFile.complete = !0;
|
|
6272
|
+
flush();
|
|
6273
|
+
});
|
|
6243
6274
|
}
|
|
6244
6275
|
});
|
|
6245
6276
|
busboyStream.on("finish", function () {
|
|
6246
|
-
|
|
6277
|
+
bodyFinished = !0;
|
|
6278
|
+
flush();
|
|
6279
|
+
closed ||
|
|
6280
|
+
reportGlobalError(
|
|
6281
|
+
response$jscomp$0,
|
|
6282
|
+
Error("Reply finished with incomplete file part.")
|
|
6283
|
+
);
|
|
6247
6284
|
});
|
|
6248
6285
|
busboyStream.on("error", function (err) {
|
|
6249
|
-
reportGlobalError(response, err);
|
|
6286
|
+
reportGlobalError(response$jscomp$0, err);
|
|
6250
6287
|
});
|
|
6251
|
-
return getChunk(response, 0);
|
|
6288
|
+
return getChunk(response$jscomp$0, 0);
|
|
6252
6289
|
};
|
|
6253
6290
|
exports.loadServerAction = function (id) {
|
|
6254
6291
|
var reference = resolveServerReference(serverManifest, id);
|
|
@@ -3369,6 +3369,43 @@ exports.decodeReplyFromAsyncIterable = function (iterable, options) {
|
|
|
3369
3369
|
return getChunk(response, 0);
|
|
3370
3370
|
};
|
|
3371
3371
|
exports.decodeReplyFromBusboy = function (busboyStream, options) {
|
|
3372
|
+
function flush() {
|
|
3373
|
+
for (; null !== head; ) {
|
|
3374
|
+
var current = head;
|
|
3375
|
+
if (!current.complete) return;
|
|
3376
|
+
try {
|
|
3377
|
+
var key = current.name,
|
|
3378
|
+
handle = current.file,
|
|
3379
|
+
blob = new Blob(handle.chunks, { type: handle.mime }),
|
|
3380
|
+
backingStore = response._formData,
|
|
3381
|
+
key$jscomp$0 = key;
|
|
3382
|
+
backingStore.data.append(key$jscomp$0, blob, handle.filename);
|
|
3383
|
+
var keys = backingStore.keys;
|
|
3384
|
+
null === keys
|
|
3385
|
+
? ((backingStore.keys = Array.from(backingStore.data.keys())),
|
|
3386
|
+
(backingStore.keyPointer = 0))
|
|
3387
|
+
: keys.push(key$jscomp$0);
|
|
3388
|
+
var queuedFields = current.queuedFields;
|
|
3389
|
+
if (null !== queuedFields)
|
|
3390
|
+
for (
|
|
3391
|
+
key$jscomp$0 = 0;
|
|
3392
|
+
key$jscomp$0 < queuedFields.length;
|
|
3393
|
+
key$jscomp$0 += 2
|
|
3394
|
+
)
|
|
3395
|
+
resolveField(
|
|
3396
|
+
response,
|
|
3397
|
+
queuedFields[key$jscomp$0],
|
|
3398
|
+
queuedFields[key$jscomp$0 + 1]
|
|
3399
|
+
);
|
|
3400
|
+
} catch (error) {
|
|
3401
|
+
busboyStream.destroy(error);
|
|
3402
|
+
return;
|
|
3403
|
+
}
|
|
3404
|
+
head = current.next;
|
|
3405
|
+
}
|
|
3406
|
+
tail = null;
|
|
3407
|
+
bodyFinished && !closed && ((closed = !0), close(response));
|
|
3408
|
+
}
|
|
3372
3409
|
var response = createResponse(
|
|
3373
3410
|
serverManifest,
|
|
3374
3411
|
"",
|
|
@@ -3376,10 +3413,14 @@ exports.decodeReplyFromBusboy = function (busboyStream, options) {
|
|
|
3376
3413
|
void 0,
|
|
3377
3414
|
options ? options.arraySizeLimit : void 0
|
|
3378
3415
|
),
|
|
3379
|
-
|
|
3380
|
-
|
|
3416
|
+
head = null,
|
|
3417
|
+
tail = null,
|
|
3418
|
+
bodyFinished = !1,
|
|
3419
|
+
closed = !1;
|
|
3381
3420
|
busboyStream.on("field", function (name, value) {
|
|
3382
|
-
if (
|
|
3421
|
+
if (null !== tail)
|
|
3422
|
+
null === tail.queuedFields && (tail.queuedFields = []),
|
|
3423
|
+
tail.queuedFields.push(name, value);
|
|
3383
3424
|
else
|
|
3384
3425
|
try {
|
|
3385
3426
|
resolveField(response, name, value);
|
|
@@ -3397,41 +3438,40 @@ exports.decodeReplyFromBusboy = function (busboyStream, options) {
|
|
|
3397
3438
|
)
|
|
3398
3439
|
);
|
|
3399
3440
|
else {
|
|
3400
|
-
|
|
3401
|
-
|
|
3441
|
+
var file = { chunks: [], filename: filename, mime: mimeType },
|
|
3442
|
+
pendingFile = {
|
|
3443
|
+
name: name,
|
|
3444
|
+
file: file,
|
|
3445
|
+
complete: !1,
|
|
3446
|
+
queuedFields: null,
|
|
3447
|
+
next: null
|
|
3448
|
+
};
|
|
3449
|
+
null === tail ? (head = pendingFile) : (tail.next = pendingFile);
|
|
3450
|
+
tail = pendingFile;
|
|
3402
3451
|
value.on("data", function (chunk) {
|
|
3403
|
-
JSCompiler_object_inline_chunks_292.push(chunk);
|
|
3404
|
-
});
|
|
3405
|
-
value.on("end", function () {
|
|
3406
3452
|
try {
|
|
3407
|
-
|
|
3408
|
-
type: mimeType
|
|
3409
|
-
}),
|
|
3410
|
-
backingStore = response._formData;
|
|
3411
|
-
backingStore.data.append(name, blob, filename);
|
|
3412
|
-
var keys = backingStore.keys;
|
|
3413
|
-
null === keys
|
|
3414
|
-
? ((backingStore.keys = Array.from(backingStore.data.keys())),
|
|
3415
|
-
(backingStore.keyPointer = 0))
|
|
3416
|
-
: keys.push(name);
|
|
3417
|
-
pendingFiles--;
|
|
3418
|
-
if (0 === pendingFiles) {
|
|
3419
|
-
for (blob = 0; blob < queuedFields.length; blob += 2)
|
|
3420
|
-
resolveField(
|
|
3421
|
-
response,
|
|
3422
|
-
queuedFields[blob],
|
|
3423
|
-
queuedFields[blob + 1]
|
|
3424
|
-
);
|
|
3425
|
-
queuedFields.length = 0;
|
|
3426
|
-
}
|
|
3453
|
+
file.chunks.push(chunk);
|
|
3427
3454
|
} catch (error) {
|
|
3428
3455
|
busboyStream.destroy(error);
|
|
3429
3456
|
}
|
|
3430
3457
|
});
|
|
3458
|
+
value.on("error", function (error) {
|
|
3459
|
+
busboyStream.destroy(error);
|
|
3460
|
+
});
|
|
3461
|
+
value.on("end", function () {
|
|
3462
|
+
pendingFile.complete = !0;
|
|
3463
|
+
flush();
|
|
3464
|
+
});
|
|
3431
3465
|
}
|
|
3432
3466
|
});
|
|
3433
3467
|
busboyStream.on("finish", function () {
|
|
3434
|
-
|
|
3468
|
+
bodyFinished = !0;
|
|
3469
|
+
flush();
|
|
3470
|
+
closed ||
|
|
3471
|
+
reportGlobalError(
|
|
3472
|
+
response,
|
|
3473
|
+
Error("Reply finished with incomplete file part.")
|
|
3474
|
+
);
|
|
3435
3475
|
});
|
|
3436
3476
|
busboyStream.on("error", function (err) {
|
|
3437
3477
|
reportGlobalError(response, err);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-server-dom-parcel",
|
|
3
3
|
"description": "React Server Components bindings for DOM using Parcel. 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
|
],
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"node": ">=0.10.0"
|
|
79
79
|
},
|
|
80
80
|
"peerDependencies": {
|
|
81
|
-
"react": "^19.2.
|
|
82
|
-
"react-dom": "^19.2.
|
|
81
|
+
"react": "^19.2.7",
|
|
82
|
+
"react-dom": "^19.2.7"
|
|
83
83
|
}
|
|
84
84
|
}
|