react-server-dom-webpack 0.0.0-experimental-befc1246-20250708 → 0.0.0-experimental-e6dc25da-20250709
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 +9 -2
- package/cjs/react-server-dom-webpack-client.edge.development.js +7 -0
- package/cjs/react-server-dom-webpack-client.node.development.js +7 -0
- package/cjs/react-server-dom-webpack-client.node.unbundled.development.js +7 -0
- package/cjs/react-server-dom-webpack-server.browser.development.js +149 -76
- package/cjs/react-server-dom-webpack-server.browser.production.js +17 -17
- package/cjs/react-server-dom-webpack-server.edge.development.js +149 -76
- package/cjs/react-server-dom-webpack-server.edge.production.js +17 -17
- package/cjs/react-server-dom-webpack-server.node.development.js +205 -115
- package/cjs/react-server-dom-webpack-server.node.production.js +20 -20
- package/cjs/react-server-dom-webpack-server.node.unbundled.development.js +205 -115
- package/cjs/react-server-dom-webpack-server.node.unbundled.production.js +20 -20
- package/package.json +3 -3
|
@@ -2259,6 +2259,13 @@
|
|
|
2259
2259
|
}
|
|
2260
2260
|
case "Y":
|
|
2261
2261
|
if (2 < value.length && (ref = response._debugChannel)) {
|
|
2262
|
+
if ("@" === value[2])
|
|
2263
|
+
return (
|
|
2264
|
+
(parentObject = value.slice(3)),
|
|
2265
|
+
(key = parseInt(parentObject, 16)),
|
|
2266
|
+
response._chunks.has(key) || ref("P:" + parentObject),
|
|
2267
|
+
getChunk(response, key)
|
|
2268
|
+
);
|
|
2262
2269
|
value = value.slice(2);
|
|
2263
2270
|
var _id2 = parseInt(value, 16);
|
|
2264
2271
|
response._chunks.has(_id2) || ref("Q:" + value);
|
|
@@ -4148,10 +4155,10 @@
|
|
|
4148
4155
|
return hook.checkDCE ? !0 : !1;
|
|
4149
4156
|
})({
|
|
4150
4157
|
bundleType: 1,
|
|
4151
|
-
version: "19.2.0-experimental-
|
|
4158
|
+
version: "19.2.0-experimental-e6dc25da-20250709",
|
|
4152
4159
|
rendererPackageName: "react-server-dom-webpack",
|
|
4153
4160
|
currentDispatcherRef: ReactSharedInternals,
|
|
4154
|
-
reconcilerVersion: "19.2.0-experimental-
|
|
4161
|
+
reconcilerVersion: "19.2.0-experimental-e6dc25da-20250709",
|
|
4155
4162
|
getCurrentComponentInfo: function () {
|
|
4156
4163
|
return currentOwnerInDEV;
|
|
4157
4164
|
}
|
|
@@ -2473,6 +2473,13 @@
|
|
|
2473
2473
|
}
|
|
2474
2474
|
case "Y":
|
|
2475
2475
|
if (2 < value.length && (ref = response._debugChannel)) {
|
|
2476
|
+
if ("@" === value[2])
|
|
2477
|
+
return (
|
|
2478
|
+
(parentObject = value.slice(3)),
|
|
2479
|
+
(key = parseInt(parentObject, 16)),
|
|
2480
|
+
response._chunks.has(key) || ref("P:" + parentObject),
|
|
2481
|
+
getChunk(response, key)
|
|
2482
|
+
);
|
|
2476
2483
|
value = value.slice(2);
|
|
2477
2484
|
var _id2 = parseInt(value, 16);
|
|
2478
2485
|
response._chunks.has(_id2) || ref("Q:" + value);
|
|
@@ -2473,6 +2473,13 @@
|
|
|
2473
2473
|
}
|
|
2474
2474
|
case "Y":
|
|
2475
2475
|
if (2 < value.length && (ref = response._debugChannel)) {
|
|
2476
|
+
if ("@" === value[2])
|
|
2477
|
+
return (
|
|
2478
|
+
(parentObject = value.slice(3)),
|
|
2479
|
+
(key = parseInt(parentObject, 16)),
|
|
2480
|
+
response._chunks.has(key) || ref("P:" + parentObject),
|
|
2481
|
+
getChunk(response, key)
|
|
2482
|
+
);
|
|
2476
2483
|
value = value.slice(2);
|
|
2477
2484
|
var _id2 = parseInt(value, 16);
|
|
2478
2485
|
response._chunks.has(_id2) || ref("Q:" + value);
|
|
@@ -2435,6 +2435,13 @@
|
|
|
2435
2435
|
}
|
|
2436
2436
|
case "Y":
|
|
2437
2437
|
if (2 < value.length && (ref = response._debugChannel)) {
|
|
2438
|
+
if ("@" === value[2])
|
|
2439
|
+
return (
|
|
2440
|
+
(parentObject = value.slice(3)),
|
|
2441
|
+
(key = parseInt(parentObject, 16)),
|
|
2442
|
+
response._chunks.has(key) || ref("P:" + parentObject),
|
|
2443
|
+
getChunk(response, key)
|
|
2444
|
+
);
|
|
2438
2445
|
value = value.slice(2);
|
|
2439
2446
|
var _id2 = parseInt(value, 16);
|
|
2440
2447
|
response._chunks.has(_id2) || ref("Q:" + value);
|
|
@@ -226,72 +226,77 @@
|
|
|
226
226
|
((hasProperties = !0), (trimmed[key] = options[key]));
|
|
227
227
|
return hasProperties ? trimmed : null;
|
|
228
228
|
}
|
|
229
|
-
function
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
i < structuredStackTrace.length;
|
|
233
|
-
i++
|
|
234
|
-
) {
|
|
229
|
+
function collectStackTracePrivate(error, structuredStackTrace) {
|
|
230
|
+
error = [];
|
|
231
|
+
for (var i = framesToSkip; i < structuredStackTrace.length; i++) {
|
|
235
232
|
var callSite = structuredStackTrace[i],
|
|
236
|
-
|
|
237
|
-
if (
|
|
238
|
-
else if (callSite.isNative())
|
|
233
|
+
name = callSite.getFunctionName() || "<anonymous>";
|
|
234
|
+
if (name.includes("react_stack_bottom_frame")) break;
|
|
235
|
+
else if (callSite.isNative())
|
|
236
|
+
(callSite = callSite.isAsync()),
|
|
237
|
+
error.push([name, "", 0, 0, 0, 0, callSite]);
|
|
239
238
|
else {
|
|
240
|
-
if (callSite.isConstructor())
|
|
239
|
+
if (callSite.isConstructor()) name = "new " + name;
|
|
241
240
|
else if (!callSite.isToplevel()) {
|
|
242
241
|
var callSite$jscomp$0 = callSite;
|
|
243
|
-
|
|
242
|
+
name = callSite$jscomp$0.getTypeName();
|
|
244
243
|
var methodName = callSite$jscomp$0.getMethodName();
|
|
245
244
|
callSite$jscomp$0 = callSite$jscomp$0.getFunctionName();
|
|
246
|
-
var result
|
|
245
|
+
var result = "";
|
|
247
246
|
callSite$jscomp$0
|
|
248
|
-
? (
|
|
247
|
+
? (name &&
|
|
249
248
|
identifierRegExp.test(callSite$jscomp$0) &&
|
|
250
|
-
callSite$jscomp$0 !==
|
|
251
|
-
(result
|
|
252
|
-
(result
|
|
249
|
+
callSite$jscomp$0 !== name &&
|
|
250
|
+
(result += name + "."),
|
|
251
|
+
(result += callSite$jscomp$0),
|
|
253
252
|
!methodName ||
|
|
254
253
|
callSite$jscomp$0 === methodName ||
|
|
255
254
|
callSite$jscomp$0.endsWith("." + methodName) ||
|
|
256
255
|
callSite$jscomp$0.endsWith(" " + methodName) ||
|
|
257
|
-
(result
|
|
258
|
-
: (
|
|
259
|
-
(result
|
|
260
|
-
? result
|
|
261
|
-
: result
|
|
262
|
-
|
|
256
|
+
(result += " [as " + methodName + "]"))
|
|
257
|
+
: (name && (result += name + "."),
|
|
258
|
+
(result = methodName
|
|
259
|
+
? result + methodName
|
|
260
|
+
: result + "<anonymous>"));
|
|
261
|
+
name = result;
|
|
263
262
|
}
|
|
264
|
-
"<anonymous>" ===
|
|
263
|
+
"<anonymous>" === name && (name = "");
|
|
265
264
|
methodName = callSite.getScriptNameOrSourceURL() || "<anonymous>";
|
|
266
|
-
"<anonymous>" === methodName &&
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
265
|
+
"<anonymous>" === methodName &&
|
|
266
|
+
((methodName = ""),
|
|
267
|
+
callSite.isEval() &&
|
|
268
|
+
(callSite$jscomp$0 = callSite.getEvalOrigin()) &&
|
|
269
|
+
(methodName = callSite$jscomp$0.toString() + ", <anonymous>"));
|
|
271
270
|
callSite$jscomp$0 = callSite.getLineNumber() || 0;
|
|
272
|
-
result
|
|
271
|
+
result = callSite.getColumnNumber() || 0;
|
|
273
272
|
var enclosingLine =
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
273
|
+
"function" === typeof callSite.getEnclosingLineNumber
|
|
274
|
+
? callSite.getEnclosingLineNumber() || 0
|
|
275
|
+
: 0,
|
|
276
|
+
enclosingCol =
|
|
277
|
+
"function" === typeof callSite.getEnclosingColumnNumber
|
|
278
|
+
? callSite.getEnclosingColumnNumber() || 0
|
|
279
|
+
: 0;
|
|
280
|
+
callSite = callSite.isAsync();
|
|
281
|
+
error.push([
|
|
282
|
+
name,
|
|
283
283
|
methodName,
|
|
284
284
|
callSite$jscomp$0,
|
|
285
|
-
result
|
|
285
|
+
result,
|
|
286
286
|
enclosingLine,
|
|
287
|
+
enclosingCol,
|
|
287
288
|
callSite
|
|
288
289
|
]);
|
|
289
290
|
}
|
|
290
291
|
}
|
|
292
|
+
collectedStackTrace = error;
|
|
293
|
+
return "";
|
|
294
|
+
}
|
|
295
|
+
function collectStackTrace(error, structuredStackTrace) {
|
|
296
|
+
collectStackTracePrivate(error, structuredStackTrace);
|
|
291
297
|
error = (error.name || "Error") + ": " + (error.message || "");
|
|
292
|
-
for (i = 0; i < structuredStackTrace.length; i++)
|
|
298
|
+
for (var i = 0; i < structuredStackTrace.length; i++)
|
|
293
299
|
error += "\n at " + structuredStackTrace[i].toString();
|
|
294
|
-
collectedStackTrace = result;
|
|
295
300
|
return error;
|
|
296
301
|
}
|
|
297
302
|
function parseStackTrace(error, skipFrames) {
|
|
@@ -308,10 +313,10 @@
|
|
|
308
313
|
}
|
|
309
314
|
if (null !== collectedStackTrace)
|
|
310
315
|
return (
|
|
311
|
-
(
|
|
316
|
+
(stack = collectedStackTrace),
|
|
312
317
|
(collectedStackTrace = null),
|
|
313
|
-
stackTraceCache.set(error,
|
|
314
|
-
|
|
318
|
+
stackTraceCache.set(error, stack),
|
|
319
|
+
stack
|
|
315
320
|
);
|
|
316
321
|
stack.startsWith("Error: react-stack-top-frame\n") &&
|
|
317
322
|
(stack = stack.slice(29));
|
|
@@ -322,8 +327,12 @@
|
|
|
322
327
|
for (existing = []; skipFrames < stack.length; skipFrames++) {
|
|
323
328
|
var parsed = frameRegExp.exec(stack[skipFrames]);
|
|
324
329
|
if (parsed) {
|
|
325
|
-
var name = parsed[1] || ""
|
|
326
|
-
|
|
330
|
+
var name = parsed[1] || "",
|
|
331
|
+
isAsync = "async " === parsed[8];
|
|
332
|
+
"<anonymous>" === name
|
|
333
|
+
? (name = "")
|
|
334
|
+
: name.startsWith("async ") &&
|
|
335
|
+
((name = name.slice(5)), (isAsync = !0));
|
|
327
336
|
var filename = parsed[2] || parsed[5] || "";
|
|
328
337
|
"<anonymous>" === filename && (filename = "");
|
|
329
338
|
existing.push([
|
|
@@ -332,7 +341,8 @@
|
|
|
332
341
|
+(parsed[3] || parsed[6]),
|
|
333
342
|
+(parsed[4] || parsed[7]),
|
|
334
343
|
0,
|
|
335
|
-
0
|
|
344
|
+
0,
|
|
345
|
+
isAsync
|
|
336
346
|
]);
|
|
337
347
|
}
|
|
338
348
|
}
|
|
@@ -673,13 +683,29 @@
|
|
|
673
683
|
var wrapperMethod = function () {
|
|
674
684
|
var request = resolveRequest();
|
|
675
685
|
if (("assert" !== methodName || !arguments[0]) && null !== request) {
|
|
676
|
-
|
|
686
|
+
a: {
|
|
687
|
+
var error = Error("react-stack-top-frame");
|
|
688
|
+
collectedStackTrace = null;
|
|
689
|
+
framesToSkip = 1;
|
|
690
|
+
var previousPrepare = Error.prepareStackTrace;
|
|
691
|
+
Error.prepareStackTrace = collectStackTracePrivate;
|
|
692
|
+
try {
|
|
693
|
+
if ("" !== error.stack) {
|
|
694
|
+
var JSCompiler_inline_result = null;
|
|
695
|
+
break a;
|
|
696
|
+
}
|
|
697
|
+
} finally {
|
|
698
|
+
Error.prepareStackTrace = previousPrepare;
|
|
699
|
+
}
|
|
700
|
+
JSCompiler_inline_result = collectedStackTrace;
|
|
701
|
+
}
|
|
702
|
+
JSCompiler_inline_result = filterStackTrace(
|
|
677
703
|
request,
|
|
678
|
-
|
|
704
|
+
JSCompiler_inline_result || []
|
|
679
705
|
);
|
|
680
706
|
request.pendingDebugChunks++;
|
|
681
|
-
|
|
682
|
-
|
|
707
|
+
error = resolveOwner();
|
|
708
|
+
previousPrepare = Array.from(arguments);
|
|
683
709
|
a: {
|
|
684
710
|
var env = 0;
|
|
685
711
|
switch (methodName) {
|
|
@@ -692,37 +718,44 @@
|
|
|
692
718
|
case "assert":
|
|
693
719
|
env = 1;
|
|
694
720
|
}
|
|
695
|
-
var format =
|
|
696
|
-
style =
|
|
697
|
-
badge =
|
|
721
|
+
var format = previousPrepare[env],
|
|
722
|
+
style = previousPrepare[env + 1],
|
|
723
|
+
badge = previousPrepare[env + 2];
|
|
698
724
|
"string" === typeof format &&
|
|
699
725
|
format.startsWith("%c%s%c ") &&
|
|
700
726
|
"background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px" ===
|
|
701
727
|
style &&
|
|
702
728
|
"string" === typeof badge
|
|
703
|
-
? (
|
|
729
|
+
? (previousPrepare.splice(env, 4, format.slice(7)),
|
|
704
730
|
(env = badge.slice(1, badge.length - 1)))
|
|
705
731
|
: (env = null);
|
|
706
732
|
}
|
|
707
733
|
null === env && (env = (0, request.environmentName)());
|
|
708
|
-
null !=
|
|
709
|
-
format = [methodName,
|
|
710
|
-
format.push.apply(format,
|
|
711
|
-
|
|
734
|
+
null != error && outlineComponentInfo(request, error);
|
|
735
|
+
format = [methodName, JSCompiler_inline_result, error, env];
|
|
736
|
+
format.push.apply(format, previousPrepare);
|
|
737
|
+
previousPrepare = serializeDebugModel(
|
|
712
738
|
request,
|
|
713
|
-
(null === request.deferredDebugObjects ? 500 : 10) +
|
|
739
|
+
(null === request.deferredDebugObjects ? 500 : 10) +
|
|
740
|
+
JSCompiler_inline_result.length,
|
|
714
741
|
format
|
|
715
742
|
);
|
|
716
|
-
"[" !==
|
|
717
|
-
(
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
743
|
+
"[" !== previousPrepare[0] &&
|
|
744
|
+
(previousPrepare = serializeDebugModel(
|
|
745
|
+
request,
|
|
746
|
+
10 + JSCompiler_inline_result.length,
|
|
747
|
+
[
|
|
748
|
+
methodName,
|
|
749
|
+
JSCompiler_inline_result,
|
|
750
|
+
error,
|
|
751
|
+
env,
|
|
752
|
+
"Unknown Value: React could not send it from the server."
|
|
753
|
+
]
|
|
754
|
+
));
|
|
755
|
+
JSCompiler_inline_result = stringToChunk(
|
|
756
|
+
":W" + previousPrepare + "\n"
|
|
757
|
+
);
|
|
758
|
+
request.completedDebugChunks.push(JSCompiler_inline_result);
|
|
726
759
|
}
|
|
727
760
|
return originalMethod.apply(this, arguments);
|
|
728
761
|
};
|
|
@@ -974,6 +1007,14 @@
|
|
|
974
1007
|
}
|
|
975
1008
|
if (request.status === ABORTING)
|
|
976
1009
|
return emitDebugHaltChunk(request, id), ref;
|
|
1010
|
+
var deferredDebugObjects = request.deferredDebugObjects;
|
|
1011
|
+
if (null !== deferredDebugObjects)
|
|
1012
|
+
return (
|
|
1013
|
+
deferredDebugObjects.retained.set(id, thenable),
|
|
1014
|
+
(ref = "$Y@" + id.toString(16)),
|
|
1015
|
+
request.writtenDebugObjects.set(thenable, ref),
|
|
1016
|
+
ref
|
|
1017
|
+
);
|
|
977
1018
|
var cancelled = !1;
|
|
978
1019
|
thenable.then(
|
|
979
1020
|
function (value) {
|
|
@@ -1002,6 +1043,22 @@
|
|
|
1002
1043
|
});
|
|
1003
1044
|
return ref;
|
|
1004
1045
|
}
|
|
1046
|
+
function emitRequestedDebugThenable(request, id, counter, thenable) {
|
|
1047
|
+
thenable.then(
|
|
1048
|
+
function (value) {
|
|
1049
|
+
request.status === ABORTING
|
|
1050
|
+
? emitDebugHaltChunk(request, id)
|
|
1051
|
+
: emitOutlinedDebugModelChunk(request, id, counter, value);
|
|
1052
|
+
enqueueFlush(request);
|
|
1053
|
+
},
|
|
1054
|
+
function (reason) {
|
|
1055
|
+
request.status === ABORTING
|
|
1056
|
+
? emitDebugHaltChunk(request, id)
|
|
1057
|
+
: emitErrorChunk(request, id, "", reason, !0);
|
|
1058
|
+
enqueueFlush(request);
|
|
1059
|
+
}
|
|
1060
|
+
);
|
|
1061
|
+
}
|
|
1005
1062
|
function serializeThenable(request, task, thenable) {
|
|
1006
1063
|
var newTask = createTask(
|
|
1007
1064
|
request,
|
|
@@ -2674,6 +2731,8 @@
|
|
|
2674
2731
|
((existingDebugReference = tempRef.get(parent)),
|
|
2675
2732
|
void 0 !== existingDebugReference)
|
|
2676
2733
|
) {
|
|
2734
|
+
if (0 >= counter.objectLimit && !doNotLimit.has(value))
|
|
2735
|
+
return serializeDeferredObject(request, value);
|
|
2677
2736
|
var propertyName = parentPropertyName;
|
|
2678
2737
|
if (isArrayImpl(parent) && parent[0] === REACT_ELEMENT_TYPE)
|
|
2679
2738
|
switch (parentPropertyName) {
|
|
@@ -2690,11 +2749,12 @@
|
|
|
2690
2749
|
propertyName = "_owner";
|
|
2691
2750
|
}
|
|
2692
2751
|
tempRef.set(value, existingDebugReference + ":" + propertyName);
|
|
2693
|
-
} else if (debugNoOutline !== value)
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
);
|
|
2752
|
+
} else if (debugNoOutline !== value) {
|
|
2753
|
+
if ("function" === typeof value.then)
|
|
2754
|
+
return serializeDebugThenable(request, counter, value);
|
|
2755
|
+
request = outlineDebugModel(request, counter, value);
|
|
2756
|
+
return serializeByValueID(request);
|
|
2757
|
+
}
|
|
2698
2758
|
parent = request.writtenObjects.get(value);
|
|
2699
2759
|
if (void 0 !== parent) return parent;
|
|
2700
2760
|
if (0 >= counter.objectLimit && !doNotLimit.has(value))
|
|
@@ -3033,10 +3093,10 @@
|
|
|
3033
3093
|
start: ioInfo$jscomp$0.start - request$jscomp$0.timeOrigin,
|
|
3034
3094
|
end: ioInfo$jscomp$0.end - request$jscomp$0.timeOrigin
|
|
3035
3095
|
};
|
|
3036
|
-
void 0 !== value && (debugIOInfo.value = value);
|
|
3037
3096
|
null != env && (debugIOInfo.env = env);
|
|
3038
3097
|
null != debugStack && (debugIOInfo.stack = debugStack);
|
|
3039
3098
|
null != owner && (debugIOInfo.owner = owner);
|
|
3099
|
+
void 0 !== value && (debugIOInfo.value = value);
|
|
3040
3100
|
value = serializeDebugModel(
|
|
3041
3101
|
request$jscomp$0,
|
|
3042
3102
|
objectLimit,
|
|
@@ -4311,6 +4371,19 @@
|
|
|
4311
4371
|
),
|
|
4312
4372
|
enqueueFlush(request));
|
|
4313
4373
|
break;
|
|
4374
|
+
case 80:
|
|
4375
|
+
for (command = 0; command < message.length; command++)
|
|
4376
|
+
(id = message[command]),
|
|
4377
|
+
(retainedValue = deferredDebugObjects.retained.get(id)),
|
|
4378
|
+
void 0 !== retainedValue &&
|
|
4379
|
+
(deferredDebugObjects.retained.delete(id),
|
|
4380
|
+
emitRequestedDebugThenable(
|
|
4381
|
+
request,
|
|
4382
|
+
id,
|
|
4383
|
+
{ objectLimit: 10 },
|
|
4384
|
+
retainedValue
|
|
4385
|
+
));
|
|
4386
|
+
break;
|
|
4314
4387
|
default:
|
|
4315
4388
|
throw Error(
|
|
4316
4389
|
"Unknown command. The debugChannel was not wired up properly."
|
|
@@ -873,8 +873,8 @@ function serializeReadableStream(request, task, stream) {
|
|
|
873
873
|
tryStreamTask(request, streamTask),
|
|
874
874
|
enqueueFlush(request),
|
|
875
875
|
reader.read().then(progress, error);
|
|
876
|
-
} catch (x$
|
|
877
|
-
error(x$
|
|
876
|
+
} catch (x$8) {
|
|
877
|
+
error(x$8);
|
|
878
878
|
}
|
|
879
879
|
}
|
|
880
880
|
function error(reason) {
|
|
@@ -951,8 +951,8 @@ function serializeAsyncIterable(request, task, iterable, iterator) {
|
|
|
951
951
|
tryStreamTask(request, streamTask),
|
|
952
952
|
enqueueFlush(request),
|
|
953
953
|
iterator.next().then(progress, error);
|
|
954
|
-
} catch (x$
|
|
955
|
-
error(x$
|
|
954
|
+
} catch (x$9) {
|
|
955
|
+
error(x$9);
|
|
956
956
|
}
|
|
957
957
|
}
|
|
958
958
|
function error(reason) {
|
|
@@ -2095,15 +2095,15 @@ function abort(request, reason) {
|
|
|
2095
2095
|
)
|
|
2096
2096
|
: reason,
|
|
2097
2097
|
digest = logRecoverableError(request, error, null),
|
|
2098
|
-
errorId$
|
|
2099
|
-
request.fatalError = errorId$
|
|
2098
|
+
errorId$26 = request.nextChunkId++;
|
|
2099
|
+
request.fatalError = errorId$26;
|
|
2100
2100
|
request.pendingChunks++;
|
|
2101
|
-
emitErrorChunk(request, errorId$
|
|
2101
|
+
emitErrorChunk(request, errorId$26, digest, error, !1);
|
|
2102
2102
|
abortableTasks.forEach(function (task) {
|
|
2103
|
-
return abortTask(task, request, errorId$
|
|
2103
|
+
return abortTask(task, request, errorId$26);
|
|
2104
2104
|
});
|
|
2105
2105
|
scheduleWork(function () {
|
|
2106
|
-
return finishAbort(request, abortableTasks, errorId$
|
|
2106
|
+
return finishAbort(request, abortableTasks, errorId$26);
|
|
2107
2107
|
});
|
|
2108
2108
|
}
|
|
2109
2109
|
else {
|
|
@@ -2112,9 +2112,9 @@ function abort(request, reason) {
|
|
|
2112
2112
|
null !== request.destination &&
|
|
2113
2113
|
flushCompletedChunks(request, request.destination);
|
|
2114
2114
|
}
|
|
2115
|
-
} catch (error$
|
|
2116
|
-
logRecoverableError(request, error$
|
|
2117
|
-
fatalError(request, error$
|
|
2115
|
+
} catch (error$27) {
|
|
2116
|
+
logRecoverableError(request, error$27, null),
|
|
2117
|
+
fatalError(request, error$27);
|
|
2118
2118
|
}
|
|
2119
2119
|
}
|
|
2120
2120
|
function resolveServerReference(bundlerConfig, id) {
|
|
@@ -2571,8 +2571,8 @@ function parseReadableStream(response, reference, type) {
|
|
|
2571
2571
|
(previousBlockedChunk = chunk));
|
|
2572
2572
|
} else {
|
|
2573
2573
|
chunk = previousBlockedChunk;
|
|
2574
|
-
var chunk$
|
|
2575
|
-
chunk$
|
|
2574
|
+
var chunk$30 = createPendingChunk(response);
|
|
2575
|
+
chunk$30.then(
|
|
2576
2576
|
function (v) {
|
|
2577
2577
|
return controller.enqueue(v);
|
|
2578
2578
|
},
|
|
@@ -2580,10 +2580,10 @@ function parseReadableStream(response, reference, type) {
|
|
|
2580
2580
|
return controller.error(e);
|
|
2581
2581
|
}
|
|
2582
2582
|
);
|
|
2583
|
-
previousBlockedChunk = chunk$
|
|
2583
|
+
previousBlockedChunk = chunk$30;
|
|
2584
2584
|
chunk.then(function () {
|
|
2585
|
-
previousBlockedChunk === chunk$
|
|
2586
|
-
resolveModelChunk(chunk$
|
|
2585
|
+
previousBlockedChunk === chunk$30 && (previousBlockedChunk = null);
|
|
2586
|
+
resolveModelChunk(chunk$30, json, -1);
|
|
2587
2587
|
});
|
|
2588
2588
|
}
|
|
2589
2589
|
},
|