react-server-dom-parcel 19.1.7 → 19.1.8
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.
|
@@ -2689,10 +2689,10 @@
|
|
|
2689
2689
|
return hook.checkDCE ? !0 : !1;
|
|
2690
2690
|
})({
|
|
2691
2691
|
bundleType: 1,
|
|
2692
|
-
version: "19.1.
|
|
2692
|
+
version: "19.1.8",
|
|
2693
2693
|
rendererPackageName: "react-server-dom-parcel",
|
|
2694
2694
|
currentDispatcherRef: ReactSharedInternals,
|
|
2695
|
-
reconcilerVersion: "19.1.
|
|
2695
|
+
reconcilerVersion: "19.1.8",
|
|
2696
2696
|
getCurrentComponentInfo: function () {
|
|
2697
2697
|
return currentOwnerInDEV;
|
|
2698
2698
|
}
|
|
@@ -4352,20 +4352,58 @@
|
|
|
4352
4352
|
return options;
|
|
4353
4353
|
};
|
|
4354
4354
|
exports.decodeReplyFromBusboy = function (busboyStream, options) {
|
|
4355
|
-
|
|
4355
|
+
function flush() {
|
|
4356
|
+
for (; null !== head; ) {
|
|
4357
|
+
var current = head;
|
|
4358
|
+
if (!current.complete) return;
|
|
4359
|
+
try {
|
|
4360
|
+
var response = response$jscomp$0,
|
|
4361
|
+
key = current.name,
|
|
4362
|
+
handle = current.file,
|
|
4363
|
+
blob = new Blob(handle.chunks, { type: handle.mime }),
|
|
4364
|
+
backingStore = response._formData;
|
|
4365
|
+
response = key;
|
|
4366
|
+
backingStore.data.append(response, blob, handle.filename);
|
|
4367
|
+
var keys = backingStore.keys;
|
|
4368
|
+
null === keys
|
|
4369
|
+
? ((backingStore.keys = Array.from(backingStore.data.keys())),
|
|
4370
|
+
(backingStore.keyPointer = 0))
|
|
4371
|
+
: keys.push(response);
|
|
4372
|
+
var queuedFields = current.queuedFields;
|
|
4373
|
+
if (null !== queuedFields)
|
|
4374
|
+
for (response = 0; response < queuedFields.length; response += 2)
|
|
4375
|
+
resolveField(
|
|
4376
|
+
response$jscomp$0,
|
|
4377
|
+
queuedFields[response],
|
|
4378
|
+
queuedFields[response + 1]
|
|
4379
|
+
);
|
|
4380
|
+
} catch (error) {
|
|
4381
|
+
busboyStream.destroy(error);
|
|
4382
|
+
return;
|
|
4383
|
+
}
|
|
4384
|
+
head = current.next;
|
|
4385
|
+
}
|
|
4386
|
+
tail = null;
|
|
4387
|
+
bodyFinished && !closed && ((closed = !0), close(response$jscomp$0));
|
|
4388
|
+
}
|
|
4389
|
+
var response$jscomp$0 = createResponse(
|
|
4356
4390
|
serverManifest,
|
|
4357
4391
|
"",
|
|
4358
4392
|
options ? options.temporaryReferences : void 0,
|
|
4359
4393
|
void 0,
|
|
4360
4394
|
options ? options.arraySizeLimit : void 0
|
|
4361
4395
|
),
|
|
4362
|
-
|
|
4363
|
-
|
|
4396
|
+
head = null,
|
|
4397
|
+
tail = null,
|
|
4398
|
+
bodyFinished = !1,
|
|
4399
|
+
closed = !1;
|
|
4364
4400
|
busboyStream.on("field", function (name, value) {
|
|
4365
|
-
if (
|
|
4401
|
+
if (null !== tail)
|
|
4402
|
+
null === tail.queuedFields && (tail.queuedFields = []),
|
|
4403
|
+
tail.queuedFields.push(name, value);
|
|
4366
4404
|
else
|
|
4367
4405
|
try {
|
|
4368
|
-
resolveField(response, name, value);
|
|
4406
|
+
resolveField(response$jscomp$0, name, value);
|
|
4369
4407
|
} catch (error) {
|
|
4370
4408
|
busboyStream.destroy(error);
|
|
4371
4409
|
}
|
|
@@ -4380,46 +4418,45 @@
|
|
|
4380
4418
|
)
|
|
4381
4419
|
);
|
|
4382
4420
|
else {
|
|
4383
|
-
|
|
4384
|
-
|
|
4421
|
+
var file = { chunks: [], filename: filename, mime: mimeType },
|
|
4422
|
+
pendingFile = {
|
|
4423
|
+
name: name,
|
|
4424
|
+
file: file,
|
|
4425
|
+
complete: !1,
|
|
4426
|
+
queuedFields: null,
|
|
4427
|
+
next: null
|
|
4428
|
+
};
|
|
4429
|
+
null === tail ? (head = pendingFile) : (tail.next = pendingFile);
|
|
4430
|
+
tail = pendingFile;
|
|
4385
4431
|
value.on("data", function (chunk) {
|
|
4386
|
-
JSCompiler_object_inline_chunks_170.push(chunk);
|
|
4387
|
-
});
|
|
4388
|
-
value.on("end", function () {
|
|
4389
4432
|
try {
|
|
4390
|
-
|
|
4391
|
-
type: mimeType
|
|
4392
|
-
}),
|
|
4393
|
-
backingStore = response._formData;
|
|
4394
|
-
backingStore.data.append(name, blob, filename);
|
|
4395
|
-
var keys = backingStore.keys;
|
|
4396
|
-
null === keys
|
|
4397
|
-
? ((backingStore.keys = Array.from(backingStore.data.keys())),
|
|
4398
|
-
(backingStore.keyPointer = 0))
|
|
4399
|
-
: keys.push(name);
|
|
4400
|
-
pendingFiles--;
|
|
4401
|
-
if (0 === pendingFiles) {
|
|
4402
|
-
for (blob = 0; blob < queuedFields.length; blob += 2)
|
|
4403
|
-
resolveField(
|
|
4404
|
-
response,
|
|
4405
|
-
queuedFields[blob],
|
|
4406
|
-
queuedFields[blob + 1]
|
|
4407
|
-
);
|
|
4408
|
-
queuedFields.length = 0;
|
|
4409
|
-
}
|
|
4433
|
+
file.chunks.push(chunk);
|
|
4410
4434
|
} catch (error) {
|
|
4411
4435
|
busboyStream.destroy(error);
|
|
4412
4436
|
}
|
|
4413
4437
|
});
|
|
4438
|
+
value.on("error", function (error) {
|
|
4439
|
+
busboyStream.destroy(error);
|
|
4440
|
+
});
|
|
4441
|
+
value.on("end", function () {
|
|
4442
|
+
pendingFile.complete = !0;
|
|
4443
|
+
flush();
|
|
4444
|
+
});
|
|
4414
4445
|
}
|
|
4415
4446
|
});
|
|
4416
4447
|
busboyStream.on("finish", function () {
|
|
4417
|
-
|
|
4448
|
+
bodyFinished = !0;
|
|
4449
|
+
flush();
|
|
4450
|
+
closed ||
|
|
4451
|
+
reportGlobalError(
|
|
4452
|
+
response$jscomp$0,
|
|
4453
|
+
Error("Reply finished with incomplete file part.")
|
|
4454
|
+
);
|
|
4418
4455
|
});
|
|
4419
4456
|
busboyStream.on("error", function (err) {
|
|
4420
|
-
reportGlobalError(response, err);
|
|
4457
|
+
reportGlobalError(response$jscomp$0, err);
|
|
4421
4458
|
});
|
|
4422
|
-
return getChunk(response, 0);
|
|
4459
|
+
return getChunk(response$jscomp$0, 0);
|
|
4423
4460
|
};
|
|
4424
4461
|
exports.loadServerAction = function (id) {
|
|
4425
4462
|
var reference = resolveServerReference(serverManifest, id);
|
|
@@ -3070,6 +3070,43 @@ exports.decodeReply = function (body, options) {
|
|
|
3070
3070
|
return options;
|
|
3071
3071
|
};
|
|
3072
3072
|
exports.decodeReplyFromBusboy = function (busboyStream, options) {
|
|
3073
|
+
function flush() {
|
|
3074
|
+
for (; null !== head; ) {
|
|
3075
|
+
var current = head;
|
|
3076
|
+
if (!current.complete) return;
|
|
3077
|
+
try {
|
|
3078
|
+
var key = current.name,
|
|
3079
|
+
handle = current.file,
|
|
3080
|
+
blob = new Blob(handle.chunks, { type: handle.mime }),
|
|
3081
|
+
backingStore = response._formData,
|
|
3082
|
+
key$jscomp$0 = key;
|
|
3083
|
+
backingStore.data.append(key$jscomp$0, blob, handle.filename);
|
|
3084
|
+
var keys = backingStore.keys;
|
|
3085
|
+
null === keys
|
|
3086
|
+
? ((backingStore.keys = Array.from(backingStore.data.keys())),
|
|
3087
|
+
(backingStore.keyPointer = 0))
|
|
3088
|
+
: keys.push(key$jscomp$0);
|
|
3089
|
+
var queuedFields = current.queuedFields;
|
|
3090
|
+
if (null !== queuedFields)
|
|
3091
|
+
for (
|
|
3092
|
+
key$jscomp$0 = 0;
|
|
3093
|
+
key$jscomp$0 < queuedFields.length;
|
|
3094
|
+
key$jscomp$0 += 2
|
|
3095
|
+
)
|
|
3096
|
+
resolveField(
|
|
3097
|
+
response,
|
|
3098
|
+
queuedFields[key$jscomp$0],
|
|
3099
|
+
queuedFields[key$jscomp$0 + 1]
|
|
3100
|
+
);
|
|
3101
|
+
} catch (error) {
|
|
3102
|
+
busboyStream.destroy(error);
|
|
3103
|
+
return;
|
|
3104
|
+
}
|
|
3105
|
+
head = current.next;
|
|
3106
|
+
}
|
|
3107
|
+
tail = null;
|
|
3108
|
+
bodyFinished && !closed && ((closed = !0), close(response));
|
|
3109
|
+
}
|
|
3073
3110
|
var response = createResponse(
|
|
3074
3111
|
serverManifest,
|
|
3075
3112
|
"",
|
|
@@ -3077,10 +3114,14 @@ exports.decodeReplyFromBusboy = function (busboyStream, options) {
|
|
|
3077
3114
|
void 0,
|
|
3078
3115
|
options ? options.arraySizeLimit : void 0
|
|
3079
3116
|
),
|
|
3080
|
-
|
|
3081
|
-
|
|
3117
|
+
head = null,
|
|
3118
|
+
tail = null,
|
|
3119
|
+
bodyFinished = !1,
|
|
3120
|
+
closed = !1;
|
|
3082
3121
|
busboyStream.on("field", function (name, value) {
|
|
3083
|
-
if (
|
|
3122
|
+
if (null !== tail)
|
|
3123
|
+
null === tail.queuedFields && (tail.queuedFields = []),
|
|
3124
|
+
tail.queuedFields.push(name, value);
|
|
3084
3125
|
else
|
|
3085
3126
|
try {
|
|
3086
3127
|
resolveField(response, name, value);
|
|
@@ -3098,41 +3139,40 @@ exports.decodeReplyFromBusboy = function (busboyStream, options) {
|
|
|
3098
3139
|
)
|
|
3099
3140
|
);
|
|
3100
3141
|
else {
|
|
3101
|
-
|
|
3102
|
-
|
|
3142
|
+
var file = { chunks: [], filename: filename, mime: mimeType },
|
|
3143
|
+
pendingFile = {
|
|
3144
|
+
name: name,
|
|
3145
|
+
file: file,
|
|
3146
|
+
complete: !1,
|
|
3147
|
+
queuedFields: null,
|
|
3148
|
+
next: null
|
|
3149
|
+
};
|
|
3150
|
+
null === tail ? (head = pendingFile) : (tail.next = pendingFile);
|
|
3151
|
+
tail = pendingFile;
|
|
3103
3152
|
value.on("data", function (chunk) {
|
|
3104
|
-
JSCompiler_object_inline_chunks_250.push(chunk);
|
|
3105
|
-
});
|
|
3106
|
-
value.on("end", function () {
|
|
3107
3153
|
try {
|
|
3108
|
-
|
|
3109
|
-
type: mimeType
|
|
3110
|
-
}),
|
|
3111
|
-
backingStore = response._formData;
|
|
3112
|
-
backingStore.data.append(name, blob, filename);
|
|
3113
|
-
var keys = backingStore.keys;
|
|
3114
|
-
null === keys
|
|
3115
|
-
? ((backingStore.keys = Array.from(backingStore.data.keys())),
|
|
3116
|
-
(backingStore.keyPointer = 0))
|
|
3117
|
-
: keys.push(name);
|
|
3118
|
-
pendingFiles--;
|
|
3119
|
-
if (0 === pendingFiles) {
|
|
3120
|
-
for (blob = 0; blob < queuedFields.length; blob += 2)
|
|
3121
|
-
resolveField(
|
|
3122
|
-
response,
|
|
3123
|
-
queuedFields[blob],
|
|
3124
|
-
queuedFields[blob + 1]
|
|
3125
|
-
);
|
|
3126
|
-
queuedFields.length = 0;
|
|
3127
|
-
}
|
|
3154
|
+
file.chunks.push(chunk);
|
|
3128
3155
|
} catch (error) {
|
|
3129
3156
|
busboyStream.destroy(error);
|
|
3130
3157
|
}
|
|
3131
3158
|
});
|
|
3159
|
+
value.on("error", function (error) {
|
|
3160
|
+
busboyStream.destroy(error);
|
|
3161
|
+
});
|
|
3162
|
+
value.on("end", function () {
|
|
3163
|
+
pendingFile.complete = !0;
|
|
3164
|
+
flush();
|
|
3165
|
+
});
|
|
3132
3166
|
}
|
|
3133
3167
|
});
|
|
3134
3168
|
busboyStream.on("finish", function () {
|
|
3135
|
-
|
|
3169
|
+
bodyFinished = !0;
|
|
3170
|
+
flush();
|
|
3171
|
+
closed ||
|
|
3172
|
+
reportGlobalError(
|
|
3173
|
+
response,
|
|
3174
|
+
Error("Reply finished with incomplete file part.")
|
|
3175
|
+
);
|
|
3136
3176
|
});
|
|
3137
3177
|
busboyStream.on("error", function (err) {
|
|
3138
3178
|
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.1.
|
|
4
|
+
"version": "19.1.8",
|
|
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.1.
|
|
82
|
-
"react-dom": "^19.1.
|
|
81
|
+
"react": "^19.1.8",
|
|
82
|
+
"react-dom": "^19.1.8"
|
|
83
83
|
}
|
|
84
84
|
}
|