react-server-dom-webpack 19.0.6 → 19.0.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.
- package/cjs/react-server-dom-webpack-client.browser.development.js +2 -2
- package/cjs/react-server-dom-webpack-server.node.development.js +70 -33
- package/cjs/react-server-dom-webpack-server.node.production.js +69 -29
- package/cjs/react-server-dom-webpack-server.node.unbundled.development.js +70 -33
- package/cjs/react-server-dom-webpack-server.node.unbundled.production.js +69 -29
- package/package.json +3 -3
|
@@ -2491,10 +2491,10 @@
|
|
|
2491
2491
|
return hook.checkDCE ? !0 : !1;
|
|
2492
2492
|
})({
|
|
2493
2493
|
bundleType: 1,
|
|
2494
|
-
version: "19.0.
|
|
2494
|
+
version: "19.0.7",
|
|
2495
2495
|
rendererPackageName: "react-server-dom-webpack",
|
|
2496
2496
|
currentDispatcherRef: ReactSharedInternals,
|
|
2497
|
-
reconcilerVersion: "19.0.
|
|
2497
|
+
reconcilerVersion: "19.0.7",
|
|
2498
2498
|
getCurrentComponentInfo: function () {
|
|
2499
2499
|
return currentOwnerInDEV;
|
|
2500
2500
|
}
|
|
@@ -4270,20 +4270,58 @@
|
|
|
4270
4270
|
webpackMap,
|
|
4271
4271
|
options
|
|
4272
4272
|
) {
|
|
4273
|
-
|
|
4273
|
+
function flush() {
|
|
4274
|
+
for (; null !== head; ) {
|
|
4275
|
+
var current = head;
|
|
4276
|
+
if (!current.complete) return;
|
|
4277
|
+
try {
|
|
4278
|
+
var response = response$jscomp$0,
|
|
4279
|
+
key = current.name,
|
|
4280
|
+
handle = current.file,
|
|
4281
|
+
blob = new Blob(handle.chunks, { type: handle.mime }),
|
|
4282
|
+
backingStore = response._formData;
|
|
4283
|
+
response = key;
|
|
4284
|
+
backingStore.data.append(response, blob, handle.filename);
|
|
4285
|
+
var keys = backingStore.keys;
|
|
4286
|
+
null === keys
|
|
4287
|
+
? ((backingStore.keys = Array.from(backingStore.data.keys())),
|
|
4288
|
+
(backingStore.keyPointer = 0))
|
|
4289
|
+
: keys.push(response);
|
|
4290
|
+
var queuedFields = current.queuedFields;
|
|
4291
|
+
if (null !== queuedFields)
|
|
4292
|
+
for (response = 0; response < queuedFields.length; response += 2)
|
|
4293
|
+
resolveField(
|
|
4294
|
+
response$jscomp$0,
|
|
4295
|
+
queuedFields[response],
|
|
4296
|
+
queuedFields[response + 1]
|
|
4297
|
+
);
|
|
4298
|
+
} catch (error) {
|
|
4299
|
+
busboyStream.destroy(error);
|
|
4300
|
+
return;
|
|
4301
|
+
}
|
|
4302
|
+
head = current.next;
|
|
4303
|
+
}
|
|
4304
|
+
tail = null;
|
|
4305
|
+
bodyFinished && !closed && ((closed = !0), close(response$jscomp$0));
|
|
4306
|
+
}
|
|
4307
|
+
var response$jscomp$0 = createResponse(
|
|
4274
4308
|
webpackMap,
|
|
4275
4309
|
"",
|
|
4276
4310
|
options ? options.temporaryReferences : void 0,
|
|
4277
4311
|
void 0,
|
|
4278
4312
|
options ? options.arraySizeLimit : void 0
|
|
4279
4313
|
),
|
|
4280
|
-
|
|
4281
|
-
|
|
4314
|
+
head = null,
|
|
4315
|
+
tail = null,
|
|
4316
|
+
bodyFinished = !1,
|
|
4317
|
+
closed = !1;
|
|
4282
4318
|
busboyStream.on("field", function (name, value) {
|
|
4283
|
-
if (
|
|
4319
|
+
if (null !== tail)
|
|
4320
|
+
null === tail.queuedFields && (tail.queuedFields = []),
|
|
4321
|
+
tail.queuedFields.push(name, value);
|
|
4284
4322
|
else
|
|
4285
4323
|
try {
|
|
4286
|
-
resolveField(response, name, value);
|
|
4324
|
+
resolveField(response$jscomp$0, name, value);
|
|
4287
4325
|
} catch (error) {
|
|
4288
4326
|
busboyStream.destroy(error);
|
|
4289
4327
|
}
|
|
@@ -4298,46 +4336,45 @@
|
|
|
4298
4336
|
)
|
|
4299
4337
|
);
|
|
4300
4338
|
else {
|
|
4301
|
-
|
|
4302
|
-
|
|
4339
|
+
var file = { chunks: [], filename: filename, mime: mimeType },
|
|
4340
|
+
pendingFile = {
|
|
4341
|
+
name: name,
|
|
4342
|
+
file: file,
|
|
4343
|
+
complete: !1,
|
|
4344
|
+
queuedFields: null,
|
|
4345
|
+
next: null
|
|
4346
|
+
};
|
|
4347
|
+
null === tail ? (head = pendingFile) : (tail.next = pendingFile);
|
|
4348
|
+
tail = pendingFile;
|
|
4303
4349
|
value.on("data", function (chunk) {
|
|
4304
|
-
JSCompiler_object_inline_chunks_162.push(chunk);
|
|
4305
|
-
});
|
|
4306
|
-
value.on("end", function () {
|
|
4307
4350
|
try {
|
|
4308
|
-
|
|
4309
|
-
type: mimeType
|
|
4310
|
-
}),
|
|
4311
|
-
backingStore = response._formData;
|
|
4312
|
-
backingStore.data.append(name, blob, filename);
|
|
4313
|
-
var keys = backingStore.keys;
|
|
4314
|
-
null === keys
|
|
4315
|
-
? ((backingStore.keys = Array.from(backingStore.data.keys())),
|
|
4316
|
-
(backingStore.keyPointer = 0))
|
|
4317
|
-
: keys.push(name);
|
|
4318
|
-
pendingFiles--;
|
|
4319
|
-
if (0 === pendingFiles) {
|
|
4320
|
-
for (blob = 0; blob < queuedFields.length; blob += 2)
|
|
4321
|
-
resolveField(
|
|
4322
|
-
response,
|
|
4323
|
-
queuedFields[blob],
|
|
4324
|
-
queuedFields[blob + 1]
|
|
4325
|
-
);
|
|
4326
|
-
queuedFields.length = 0;
|
|
4327
|
-
}
|
|
4351
|
+
file.chunks.push(chunk);
|
|
4328
4352
|
} catch (error) {
|
|
4329
4353
|
busboyStream.destroy(error);
|
|
4330
4354
|
}
|
|
4331
4355
|
});
|
|
4356
|
+
value.on("error", function (error) {
|
|
4357
|
+
busboyStream.destroy(error);
|
|
4358
|
+
});
|
|
4359
|
+
value.on("end", function () {
|
|
4360
|
+
pendingFile.complete = !0;
|
|
4361
|
+
flush();
|
|
4362
|
+
});
|
|
4332
4363
|
}
|
|
4333
4364
|
});
|
|
4334
4365
|
busboyStream.on("finish", function () {
|
|
4335
|
-
|
|
4366
|
+
bodyFinished = !0;
|
|
4367
|
+
flush();
|
|
4368
|
+
closed ||
|
|
4369
|
+
reportGlobalError(
|
|
4370
|
+
response$jscomp$0,
|
|
4371
|
+
Error("Reply finished with incomplete file part.")
|
|
4372
|
+
);
|
|
4336
4373
|
});
|
|
4337
4374
|
busboyStream.on("error", function (err) {
|
|
4338
|
-
reportGlobalError(response, err);
|
|
4375
|
+
reportGlobalError(response$jscomp$0, err);
|
|
4339
4376
|
});
|
|
4340
|
-
return getChunk(response, 0);
|
|
4377
|
+
return getChunk(response$jscomp$0, 0);
|
|
4341
4378
|
};
|
|
4342
4379
|
exports.registerClientReference = function (
|
|
4343
4380
|
proxyImplementation,
|
|
@@ -3277,6 +3277,43 @@ exports.decodeReply = function (body, webpackMap, options) {
|
|
|
3277
3277
|
return webpackMap;
|
|
3278
3278
|
};
|
|
3279
3279
|
exports.decodeReplyFromBusboy = function (busboyStream, webpackMap, options) {
|
|
3280
|
+
function flush() {
|
|
3281
|
+
for (; null !== head; ) {
|
|
3282
|
+
var current = head;
|
|
3283
|
+
if (!current.complete) return;
|
|
3284
|
+
try {
|
|
3285
|
+
var key = current.name,
|
|
3286
|
+
handle = current.file,
|
|
3287
|
+
blob = new Blob(handle.chunks, { type: handle.mime }),
|
|
3288
|
+
backingStore = response._formData,
|
|
3289
|
+
key$jscomp$0 = key;
|
|
3290
|
+
backingStore.data.append(key$jscomp$0, blob, handle.filename);
|
|
3291
|
+
var keys = backingStore.keys;
|
|
3292
|
+
null === keys
|
|
3293
|
+
? ((backingStore.keys = Array.from(backingStore.data.keys())),
|
|
3294
|
+
(backingStore.keyPointer = 0))
|
|
3295
|
+
: keys.push(key$jscomp$0);
|
|
3296
|
+
var queuedFields = current.queuedFields;
|
|
3297
|
+
if (null !== queuedFields)
|
|
3298
|
+
for (
|
|
3299
|
+
key$jscomp$0 = 0;
|
|
3300
|
+
key$jscomp$0 < queuedFields.length;
|
|
3301
|
+
key$jscomp$0 += 2
|
|
3302
|
+
)
|
|
3303
|
+
resolveField(
|
|
3304
|
+
response,
|
|
3305
|
+
queuedFields[key$jscomp$0],
|
|
3306
|
+
queuedFields[key$jscomp$0 + 1]
|
|
3307
|
+
);
|
|
3308
|
+
} catch (error) {
|
|
3309
|
+
busboyStream.destroy(error);
|
|
3310
|
+
return;
|
|
3311
|
+
}
|
|
3312
|
+
head = current.next;
|
|
3313
|
+
}
|
|
3314
|
+
tail = null;
|
|
3315
|
+
bodyFinished && !closed && ((closed = !0), close(response));
|
|
3316
|
+
}
|
|
3280
3317
|
var response = createResponse(
|
|
3281
3318
|
webpackMap,
|
|
3282
3319
|
"",
|
|
@@ -3284,10 +3321,14 @@ exports.decodeReplyFromBusboy = function (busboyStream, webpackMap, options) {
|
|
|
3284
3321
|
void 0,
|
|
3285
3322
|
options ? options.arraySizeLimit : void 0
|
|
3286
3323
|
),
|
|
3287
|
-
|
|
3288
|
-
|
|
3324
|
+
head = null,
|
|
3325
|
+
tail = null,
|
|
3326
|
+
bodyFinished = !1,
|
|
3327
|
+
closed = !1;
|
|
3289
3328
|
busboyStream.on("field", function (name, value) {
|
|
3290
|
-
if (
|
|
3329
|
+
if (null !== tail)
|
|
3330
|
+
null === tail.queuedFields && (tail.queuedFields = []),
|
|
3331
|
+
tail.queuedFields.push(name, value);
|
|
3291
3332
|
else
|
|
3292
3333
|
try {
|
|
3293
3334
|
resolveField(response, name, value);
|
|
@@ -3305,41 +3346,40 @@ exports.decodeReplyFromBusboy = function (busboyStream, webpackMap, options) {
|
|
|
3305
3346
|
)
|
|
3306
3347
|
);
|
|
3307
3348
|
else {
|
|
3308
|
-
|
|
3309
|
-
|
|
3349
|
+
var file = { chunks: [], filename: filename, mime: mimeType },
|
|
3350
|
+
pendingFile = {
|
|
3351
|
+
name: name,
|
|
3352
|
+
file: file,
|
|
3353
|
+
complete: !1,
|
|
3354
|
+
queuedFields: null,
|
|
3355
|
+
next: null
|
|
3356
|
+
};
|
|
3357
|
+
null === tail ? (head = pendingFile) : (tail.next = pendingFile);
|
|
3358
|
+
tail = pendingFile;
|
|
3310
3359
|
value.on("data", function (chunk) {
|
|
3311
|
-
JSCompiler_object_inline_chunks_243.push(chunk);
|
|
3312
|
-
});
|
|
3313
|
-
value.on("end", function () {
|
|
3314
3360
|
try {
|
|
3315
|
-
|
|
3316
|
-
type: mimeType
|
|
3317
|
-
}),
|
|
3318
|
-
backingStore = response._formData;
|
|
3319
|
-
backingStore.data.append(name, blob, filename);
|
|
3320
|
-
var keys = backingStore.keys;
|
|
3321
|
-
null === keys
|
|
3322
|
-
? ((backingStore.keys = Array.from(backingStore.data.keys())),
|
|
3323
|
-
(backingStore.keyPointer = 0))
|
|
3324
|
-
: keys.push(name);
|
|
3325
|
-
pendingFiles--;
|
|
3326
|
-
if (0 === pendingFiles) {
|
|
3327
|
-
for (blob = 0; blob < queuedFields.length; blob += 2)
|
|
3328
|
-
resolveField(
|
|
3329
|
-
response,
|
|
3330
|
-
queuedFields[blob],
|
|
3331
|
-
queuedFields[blob + 1]
|
|
3332
|
-
);
|
|
3333
|
-
queuedFields.length = 0;
|
|
3334
|
-
}
|
|
3361
|
+
file.chunks.push(chunk);
|
|
3335
3362
|
} catch (error) {
|
|
3336
3363
|
busboyStream.destroy(error);
|
|
3337
3364
|
}
|
|
3338
3365
|
});
|
|
3366
|
+
value.on("error", function (error) {
|
|
3367
|
+
busboyStream.destroy(error);
|
|
3368
|
+
});
|
|
3369
|
+
value.on("end", function () {
|
|
3370
|
+
pendingFile.complete = !0;
|
|
3371
|
+
flush();
|
|
3372
|
+
});
|
|
3339
3373
|
}
|
|
3340
3374
|
});
|
|
3341
3375
|
busboyStream.on("finish", function () {
|
|
3342
|
-
|
|
3376
|
+
bodyFinished = !0;
|
|
3377
|
+
flush();
|
|
3378
|
+
closed ||
|
|
3379
|
+
reportGlobalError(
|
|
3380
|
+
response,
|
|
3381
|
+
Error("Reply finished with incomplete file part.")
|
|
3382
|
+
);
|
|
3343
3383
|
});
|
|
3344
3384
|
busboyStream.on("error", function (err) {
|
|
3345
3385
|
reportGlobalError(response, err);
|
|
@@ -4234,20 +4234,58 @@
|
|
|
4234
4234
|
webpackMap,
|
|
4235
4235
|
options
|
|
4236
4236
|
) {
|
|
4237
|
-
|
|
4237
|
+
function flush() {
|
|
4238
|
+
for (; null !== head; ) {
|
|
4239
|
+
var current = head;
|
|
4240
|
+
if (!current.complete) return;
|
|
4241
|
+
try {
|
|
4242
|
+
var response = response$jscomp$0,
|
|
4243
|
+
key = current.name,
|
|
4244
|
+
handle = current.file,
|
|
4245
|
+
blob = new Blob(handle.chunks, { type: handle.mime }),
|
|
4246
|
+
backingStore = response._formData;
|
|
4247
|
+
response = key;
|
|
4248
|
+
backingStore.data.append(response, blob, handle.filename);
|
|
4249
|
+
var keys = backingStore.keys;
|
|
4250
|
+
null === keys
|
|
4251
|
+
? ((backingStore.keys = Array.from(backingStore.data.keys())),
|
|
4252
|
+
(backingStore.keyPointer = 0))
|
|
4253
|
+
: keys.push(response);
|
|
4254
|
+
var queuedFields = current.queuedFields;
|
|
4255
|
+
if (null !== queuedFields)
|
|
4256
|
+
for (response = 0; response < queuedFields.length; response += 2)
|
|
4257
|
+
resolveField(
|
|
4258
|
+
response$jscomp$0,
|
|
4259
|
+
queuedFields[response],
|
|
4260
|
+
queuedFields[response + 1]
|
|
4261
|
+
);
|
|
4262
|
+
} catch (error) {
|
|
4263
|
+
busboyStream.destroy(error);
|
|
4264
|
+
return;
|
|
4265
|
+
}
|
|
4266
|
+
head = current.next;
|
|
4267
|
+
}
|
|
4268
|
+
tail = null;
|
|
4269
|
+
bodyFinished && !closed && ((closed = !0), close(response$jscomp$0));
|
|
4270
|
+
}
|
|
4271
|
+
var response$jscomp$0 = createResponse(
|
|
4238
4272
|
webpackMap,
|
|
4239
4273
|
"",
|
|
4240
4274
|
options ? options.temporaryReferences : void 0,
|
|
4241
4275
|
void 0,
|
|
4242
4276
|
options ? options.arraySizeLimit : void 0
|
|
4243
4277
|
),
|
|
4244
|
-
|
|
4245
|
-
|
|
4278
|
+
head = null,
|
|
4279
|
+
tail = null,
|
|
4280
|
+
bodyFinished = !1,
|
|
4281
|
+
closed = !1;
|
|
4246
4282
|
busboyStream.on("field", function (name, value) {
|
|
4247
|
-
if (
|
|
4283
|
+
if (null !== tail)
|
|
4284
|
+
null === tail.queuedFields && (tail.queuedFields = []),
|
|
4285
|
+
tail.queuedFields.push(name, value);
|
|
4248
4286
|
else
|
|
4249
4287
|
try {
|
|
4250
|
-
resolveField(response, name, value);
|
|
4288
|
+
resolveField(response$jscomp$0, name, value);
|
|
4251
4289
|
} catch (error) {
|
|
4252
4290
|
busboyStream.destroy(error);
|
|
4253
4291
|
}
|
|
@@ -4262,46 +4300,45 @@
|
|
|
4262
4300
|
)
|
|
4263
4301
|
);
|
|
4264
4302
|
else {
|
|
4265
|
-
|
|
4266
|
-
|
|
4303
|
+
var file = { chunks: [], filename: filename, mime: mimeType },
|
|
4304
|
+
pendingFile = {
|
|
4305
|
+
name: name,
|
|
4306
|
+
file: file,
|
|
4307
|
+
complete: !1,
|
|
4308
|
+
queuedFields: null,
|
|
4309
|
+
next: null
|
|
4310
|
+
};
|
|
4311
|
+
null === tail ? (head = pendingFile) : (tail.next = pendingFile);
|
|
4312
|
+
tail = pendingFile;
|
|
4267
4313
|
value.on("data", function (chunk) {
|
|
4268
|
-
JSCompiler_object_inline_chunks_162.push(chunk);
|
|
4269
|
-
});
|
|
4270
|
-
value.on("end", function () {
|
|
4271
4314
|
try {
|
|
4272
|
-
|
|
4273
|
-
type: mimeType
|
|
4274
|
-
}),
|
|
4275
|
-
backingStore = response._formData;
|
|
4276
|
-
backingStore.data.append(name, blob, filename);
|
|
4277
|
-
var keys = backingStore.keys;
|
|
4278
|
-
null === keys
|
|
4279
|
-
? ((backingStore.keys = Array.from(backingStore.data.keys())),
|
|
4280
|
-
(backingStore.keyPointer = 0))
|
|
4281
|
-
: keys.push(name);
|
|
4282
|
-
pendingFiles--;
|
|
4283
|
-
if (0 === pendingFiles) {
|
|
4284
|
-
for (blob = 0; blob < queuedFields.length; blob += 2)
|
|
4285
|
-
resolveField(
|
|
4286
|
-
response,
|
|
4287
|
-
queuedFields[blob],
|
|
4288
|
-
queuedFields[blob + 1]
|
|
4289
|
-
);
|
|
4290
|
-
queuedFields.length = 0;
|
|
4291
|
-
}
|
|
4315
|
+
file.chunks.push(chunk);
|
|
4292
4316
|
} catch (error) {
|
|
4293
4317
|
busboyStream.destroy(error);
|
|
4294
4318
|
}
|
|
4295
4319
|
});
|
|
4320
|
+
value.on("error", function (error) {
|
|
4321
|
+
busboyStream.destroy(error);
|
|
4322
|
+
});
|
|
4323
|
+
value.on("end", function () {
|
|
4324
|
+
pendingFile.complete = !0;
|
|
4325
|
+
flush();
|
|
4326
|
+
});
|
|
4296
4327
|
}
|
|
4297
4328
|
});
|
|
4298
4329
|
busboyStream.on("finish", function () {
|
|
4299
|
-
|
|
4330
|
+
bodyFinished = !0;
|
|
4331
|
+
flush();
|
|
4332
|
+
closed ||
|
|
4333
|
+
reportGlobalError(
|
|
4334
|
+
response$jscomp$0,
|
|
4335
|
+
Error("Reply finished with incomplete file part.")
|
|
4336
|
+
);
|
|
4300
4337
|
});
|
|
4301
4338
|
busboyStream.on("error", function (err) {
|
|
4302
|
-
reportGlobalError(response, err);
|
|
4339
|
+
reportGlobalError(response$jscomp$0, err);
|
|
4303
4340
|
});
|
|
4304
|
-
return getChunk(response, 0);
|
|
4341
|
+
return getChunk(response$jscomp$0, 0);
|
|
4305
4342
|
};
|
|
4306
4343
|
exports.registerClientReference = function (
|
|
4307
4344
|
proxyImplementation,
|
|
@@ -3244,6 +3244,43 @@ exports.decodeReply = function (body, webpackMap, options) {
|
|
|
3244
3244
|
return webpackMap;
|
|
3245
3245
|
};
|
|
3246
3246
|
exports.decodeReplyFromBusboy = function (busboyStream, webpackMap, options) {
|
|
3247
|
+
function flush() {
|
|
3248
|
+
for (; null !== head; ) {
|
|
3249
|
+
var current = head;
|
|
3250
|
+
if (!current.complete) return;
|
|
3251
|
+
try {
|
|
3252
|
+
var key = current.name,
|
|
3253
|
+
handle = current.file,
|
|
3254
|
+
blob = new Blob(handle.chunks, { type: handle.mime }),
|
|
3255
|
+
backingStore = response._formData,
|
|
3256
|
+
key$jscomp$0 = key;
|
|
3257
|
+
backingStore.data.append(key$jscomp$0, blob, handle.filename);
|
|
3258
|
+
var keys = backingStore.keys;
|
|
3259
|
+
null === keys
|
|
3260
|
+
? ((backingStore.keys = Array.from(backingStore.data.keys())),
|
|
3261
|
+
(backingStore.keyPointer = 0))
|
|
3262
|
+
: keys.push(key$jscomp$0);
|
|
3263
|
+
var queuedFields = current.queuedFields;
|
|
3264
|
+
if (null !== queuedFields)
|
|
3265
|
+
for (
|
|
3266
|
+
key$jscomp$0 = 0;
|
|
3267
|
+
key$jscomp$0 < queuedFields.length;
|
|
3268
|
+
key$jscomp$0 += 2
|
|
3269
|
+
)
|
|
3270
|
+
resolveField(
|
|
3271
|
+
response,
|
|
3272
|
+
queuedFields[key$jscomp$0],
|
|
3273
|
+
queuedFields[key$jscomp$0 + 1]
|
|
3274
|
+
);
|
|
3275
|
+
} catch (error) {
|
|
3276
|
+
busboyStream.destroy(error);
|
|
3277
|
+
return;
|
|
3278
|
+
}
|
|
3279
|
+
head = current.next;
|
|
3280
|
+
}
|
|
3281
|
+
tail = null;
|
|
3282
|
+
bodyFinished && !closed && ((closed = !0), close(response));
|
|
3283
|
+
}
|
|
3247
3284
|
var response = createResponse(
|
|
3248
3285
|
webpackMap,
|
|
3249
3286
|
"",
|
|
@@ -3251,10 +3288,14 @@ exports.decodeReplyFromBusboy = function (busboyStream, webpackMap, options) {
|
|
|
3251
3288
|
void 0,
|
|
3252
3289
|
options ? options.arraySizeLimit : void 0
|
|
3253
3290
|
),
|
|
3254
|
-
|
|
3255
|
-
|
|
3291
|
+
head = null,
|
|
3292
|
+
tail = null,
|
|
3293
|
+
bodyFinished = !1,
|
|
3294
|
+
closed = !1;
|
|
3256
3295
|
busboyStream.on("field", function (name, value) {
|
|
3257
|
-
if (
|
|
3296
|
+
if (null !== tail)
|
|
3297
|
+
null === tail.queuedFields && (tail.queuedFields = []),
|
|
3298
|
+
tail.queuedFields.push(name, value);
|
|
3258
3299
|
else
|
|
3259
3300
|
try {
|
|
3260
3301
|
resolveField(response, name, value);
|
|
@@ -3272,41 +3313,40 @@ exports.decodeReplyFromBusboy = function (busboyStream, webpackMap, options) {
|
|
|
3272
3313
|
)
|
|
3273
3314
|
);
|
|
3274
3315
|
else {
|
|
3275
|
-
|
|
3276
|
-
|
|
3316
|
+
var file = { chunks: [], filename: filename, mime: mimeType },
|
|
3317
|
+
pendingFile = {
|
|
3318
|
+
name: name,
|
|
3319
|
+
file: file,
|
|
3320
|
+
complete: !1,
|
|
3321
|
+
queuedFields: null,
|
|
3322
|
+
next: null
|
|
3323
|
+
};
|
|
3324
|
+
null === tail ? (head = pendingFile) : (tail.next = pendingFile);
|
|
3325
|
+
tail = pendingFile;
|
|
3277
3326
|
value.on("data", function (chunk) {
|
|
3278
|
-
JSCompiler_object_inline_chunks_243.push(chunk);
|
|
3279
|
-
});
|
|
3280
|
-
value.on("end", function () {
|
|
3281
3327
|
try {
|
|
3282
|
-
|
|
3283
|
-
type: mimeType
|
|
3284
|
-
}),
|
|
3285
|
-
backingStore = response._formData;
|
|
3286
|
-
backingStore.data.append(name, blob, filename);
|
|
3287
|
-
var keys = backingStore.keys;
|
|
3288
|
-
null === keys
|
|
3289
|
-
? ((backingStore.keys = Array.from(backingStore.data.keys())),
|
|
3290
|
-
(backingStore.keyPointer = 0))
|
|
3291
|
-
: keys.push(name);
|
|
3292
|
-
pendingFiles--;
|
|
3293
|
-
if (0 === pendingFiles) {
|
|
3294
|
-
for (blob = 0; blob < queuedFields.length; blob += 2)
|
|
3295
|
-
resolveField(
|
|
3296
|
-
response,
|
|
3297
|
-
queuedFields[blob],
|
|
3298
|
-
queuedFields[blob + 1]
|
|
3299
|
-
);
|
|
3300
|
-
queuedFields.length = 0;
|
|
3301
|
-
}
|
|
3328
|
+
file.chunks.push(chunk);
|
|
3302
3329
|
} catch (error) {
|
|
3303
3330
|
busboyStream.destroy(error);
|
|
3304
3331
|
}
|
|
3305
3332
|
});
|
|
3333
|
+
value.on("error", function (error) {
|
|
3334
|
+
busboyStream.destroy(error);
|
|
3335
|
+
});
|
|
3336
|
+
value.on("end", function () {
|
|
3337
|
+
pendingFile.complete = !0;
|
|
3338
|
+
flush();
|
|
3339
|
+
});
|
|
3306
3340
|
}
|
|
3307
3341
|
});
|
|
3308
3342
|
busboyStream.on("finish", function () {
|
|
3309
|
-
|
|
3343
|
+
bodyFinished = !0;
|
|
3344
|
+
flush();
|
|
3345
|
+
closed ||
|
|
3346
|
+
reportGlobalError(
|
|
3347
|
+
response,
|
|
3348
|
+
Error("Reply finished with incomplete file part.")
|
|
3349
|
+
);
|
|
3310
3350
|
});
|
|
3311
3351
|
busboyStream.on("error", function (err) {
|
|
3312
3352
|
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.0.
|
|
4
|
+
"version": "19.0.7",
|
|
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.0.
|
|
103
|
-
"react-dom": "^19.0.
|
|
102
|
+
"react": "^19.0.7",
|
|
103
|
+
"react-dom": "^19.0.7",
|
|
104
104
|
"webpack": "^5.59.0"
|
|
105
105
|
},
|
|
106
106
|
"dependencies": {
|