react-server-dom-webpack 19.2.0-canary-526dd340-20250602 → 19.2.0-canary-37054867-20250604
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 +53 -13
- package/cjs/react-server-dom-webpack-client.browser.production.js +1 -0
- package/cjs/react-server-dom-webpack-client.edge.development.js +51 -11
- package/cjs/react-server-dom-webpack-client.edge.production.js +1 -0
- package/cjs/react-server-dom-webpack-client.node.development.js +51 -11
- package/cjs/react-server-dom-webpack-client.node.production.js +1 -0
- package/cjs/react-server-dom-webpack-client.node.unbundled.development.js +51 -11
- package/cjs/react-server-dom-webpack-client.node.unbundled.production.js +1 -0
- package/cjs/react-server-dom-webpack-server.browser.development.js +126 -55
- package/cjs/react-server-dom-webpack-server.browser.production.js +14 -20
- package/cjs/react-server-dom-webpack-server.edge.development.js +128 -63
- package/cjs/react-server-dom-webpack-server.edge.production.js +16 -28
- package/cjs/react-server-dom-webpack-server.node.development.js +135 -65
- package/cjs/react-server-dom-webpack-server.node.production.js +17 -23
- package/cjs/react-server-dom-webpack-server.node.unbundled.development.js +135 -65
- package/cjs/react-server-dom-webpack-server.node.unbundled.production.js +17 -23
- package/package.json +3 -3
@@ -270,43 +270,49 @@
|
|
270
270
|
return error;
|
271
271
|
}
|
272
272
|
function parseStackTrace(error, skipFrames) {
|
273
|
+
var existing = stackTraceCache.get(error);
|
274
|
+
if (void 0 !== existing) return existing;
|
273
275
|
collectedStackTrace = null;
|
274
276
|
framesToSkip = skipFrames;
|
275
|
-
|
277
|
+
existing = Error.prepareStackTrace;
|
276
278
|
Error.prepareStackTrace = collectStackTrace;
|
277
279
|
try {
|
278
280
|
var stack = String(error.stack);
|
279
281
|
} finally {
|
280
|
-
Error.prepareStackTrace =
|
282
|
+
Error.prepareStackTrace = existing;
|
281
283
|
}
|
282
284
|
if (null !== collectedStackTrace)
|
283
285
|
return (
|
284
286
|
(skipFrames = collectedStackTrace),
|
285
287
|
(collectedStackTrace = null),
|
288
|
+
stackTraceCache.set(error, skipFrames),
|
286
289
|
skipFrames
|
287
290
|
);
|
288
291
|
stack.startsWith("Error: react-stack-top-frame\n") &&
|
289
292
|
(stack = stack.slice(29));
|
290
|
-
|
291
|
-
-1 !==
|
292
|
-
-1 !==
|
293
|
+
existing = stack.indexOf("react-stack-bottom-frame");
|
294
|
+
-1 !== existing && (existing = stack.lastIndexOf("\n", existing));
|
295
|
+
-1 !== existing && (stack = stack.slice(0, existing));
|
293
296
|
stack = stack.split("\n");
|
294
|
-
for (
|
295
|
-
|
296
|
-
|
297
|
+
for (existing = []; skipFrames < stack.length; skipFrames++) {
|
298
|
+
var parsed = frameRegExp.exec(stack[skipFrames]);
|
299
|
+
if (parsed) {
|
300
|
+
var name = parsed[1] || "";
|
297
301
|
"<anonymous>" === name && (name = "");
|
298
|
-
var filename =
|
302
|
+
var filename = parsed[2] || parsed[5] || "";
|
299
303
|
"<anonymous>" === filename && (filename = "");
|
300
|
-
|
304
|
+
existing.push([
|
301
305
|
name,
|
302
306
|
filename,
|
303
|
-
+(
|
304
|
-
+(
|
307
|
+
+(parsed[3] || parsed[6]),
|
308
|
+
+(parsed[4] || parsed[7]),
|
305
309
|
0,
|
306
310
|
0
|
307
311
|
]);
|
308
312
|
}
|
309
|
-
|
313
|
+
}
|
314
|
+
stackTraceCache.set(error, existing);
|
315
|
+
return existing;
|
310
316
|
}
|
311
317
|
function createTemporaryReference(temporaryReferences, id) {
|
312
318
|
var reference = Object.defineProperties(
|
@@ -606,32 +612,25 @@
|
|
606
612
|
!filename.includes("node_modules")
|
607
613
|
);
|
608
614
|
}
|
609
|
-
function filterStackTrace(request,
|
610
|
-
var existing = stackTraceCache.get(error);
|
611
|
-
if (void 0 !== existing) {
|
612
|
-
error = existing.slice(0);
|
613
|
-
for (request = 0; request < error.length; request++)
|
614
|
-
error[request] = error[request].slice(0);
|
615
|
-
return error;
|
616
|
-
}
|
615
|
+
function filterStackTrace(request, stack) {
|
617
616
|
request = request.filterStackFrame;
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
url = callsite[1];
|
617
|
+
for (var filteredStack = [], i = 0; i < stack.length; i++) {
|
618
|
+
var callsite = stack[i],
|
619
|
+
functionName = callsite[0];
|
620
|
+
var url = callsite[1];
|
623
621
|
if (url.startsWith("rsc://React/")) {
|
624
622
|
var envIdx = url.indexOf("/", 12),
|
625
623
|
suffixIdx = url.lastIndexOf("?");
|
626
624
|
-1 < envIdx &&
|
627
625
|
-1 < suffixIdx &&
|
628
|
-
(url =
|
626
|
+
(url = url.slice(envIdx + 1, suffixIdx));
|
629
627
|
}
|
630
|
-
request(url, functionName)
|
631
|
-
(
|
628
|
+
request(url, functionName) &&
|
629
|
+
((callsite = callsite.slice(0)),
|
630
|
+
(callsite[1] = url),
|
631
|
+
filteredStack.push(callsite));
|
632
632
|
}
|
633
|
-
|
634
|
-
return skipFrames;
|
633
|
+
return filteredStack;
|
635
634
|
}
|
636
635
|
function patchConsole(consoleInst, methodName) {
|
637
636
|
var descriptor = Object.getOwnPropertyDescriptor(consoleInst, methodName);
|
@@ -647,8 +646,7 @@
|
|
647
646
|
if (("assert" !== methodName || !arguments[0]) && null !== request) {
|
648
647
|
var stack = filterStackTrace(
|
649
648
|
request,
|
650
|
-
Error("react-stack-top-frame"),
|
651
|
-
1
|
649
|
+
parseStackTrace(Error("react-stack-top-frame"), 1)
|
652
650
|
);
|
653
651
|
request.pendingChunks++;
|
654
652
|
var owner = resolveOwner();
|
@@ -788,7 +786,7 @@
|
|
788
786
|
? defaultFilterStackFrame
|
789
787
|
: filterStackFrame;
|
790
788
|
this.didWarnForKey = null;
|
791
|
-
type = createTask(this, model, null, !1, abortSet, null, null, null);
|
789
|
+
type = createTask(this, model, null, !1, abortSet, 0, null, null, null);
|
792
790
|
pingedTasks.push(type);
|
793
791
|
}
|
794
792
|
function createRequest(
|
@@ -858,6 +856,7 @@
|
|
858
856
|
task.keyPath,
|
859
857
|
task.implicitSlot,
|
860
858
|
request.abortableTasks,
|
859
|
+
0,
|
861
860
|
task.debugOwner,
|
862
861
|
task.debugStack,
|
863
862
|
task.debugTask
|
@@ -959,6 +958,7 @@
|
|
959
958
|
task.keyPath,
|
960
959
|
task.implicitSlot,
|
961
960
|
request.abortableTasks,
|
961
|
+
0,
|
962
962
|
task.debugOwner,
|
963
963
|
task.debugStack,
|
964
964
|
task.debugTask
|
@@ -1032,6 +1032,7 @@
|
|
1032
1032
|
task.keyPath,
|
1033
1033
|
task.implicitSlot,
|
1034
1034
|
request.abortableTasks,
|
1035
|
+
0,
|
1035
1036
|
task.debugOwner,
|
1036
1037
|
task.debugStack,
|
1037
1038
|
task.debugTask
|
@@ -1096,7 +1097,7 @@
|
|
1096
1097
|
componentDebugInfo.stack =
|
1097
1098
|
null === task.debugStack
|
1098
1099
|
? null
|
1099
|
-
: filterStackTrace(request, task.debugStack, 1);
|
1100
|
+
: filterStackTrace(request, parseStackTrace(task.debugStack, 1));
|
1100
1101
|
componentDebugInfo.debugStack = task.debugStack;
|
1101
1102
|
request = componentDebugInfo.debugTask = task.debugTask;
|
1102
1103
|
currentOwner = componentDebugInfo;
|
@@ -1198,7 +1199,7 @@
|
|
1198
1199
|
componentDebugInfo.stack =
|
1199
1200
|
null === task.debugStack
|
1200
1201
|
? null
|
1201
|
-
: filterStackTrace(request, task.debugStack, 1);
|
1202
|
+
: filterStackTrace(request, parseStackTrace(task.debugStack, 1));
|
1202
1203
|
componentDebugInfo.props = props;
|
1203
1204
|
componentDebugInfo.debugStack = task.debugStack;
|
1204
1205
|
componentDebugInfo.debugTask = task.debugTask;
|
@@ -1364,6 +1365,7 @@
|
|
1364
1365
|
task.keyPath,
|
1365
1366
|
task.implicitSlot,
|
1366
1367
|
request.abortableTasks,
|
1368
|
+
0,
|
1367
1369
|
task.debugOwner,
|
1368
1370
|
task.debugStack,
|
1369
1371
|
task.debugTask
|
@@ -1378,6 +1380,7 @@
|
|
1378
1380
|
task.keyPath,
|
1379
1381
|
task.implicitSlot,
|
1380
1382
|
request.abortableTasks,
|
1383
|
+
0,
|
1381
1384
|
task.debugOwner,
|
1382
1385
|
task.debugStack,
|
1383
1386
|
task.debugTask
|
@@ -1412,7 +1415,10 @@
|
|
1412
1415
|
stack:
|
1413
1416
|
null === task.debugStack
|
1414
1417
|
? null
|
1415
|
-
: filterStackTrace(
|
1418
|
+
: filterStackTrace(
|
1419
|
+
request,
|
1420
|
+
parseStackTrace(task.debugStack, 1)
|
1421
|
+
),
|
1416
1422
|
props: props,
|
1417
1423
|
debugStack: task.debugStack,
|
1418
1424
|
debugTask: task.debugTask
|
@@ -1491,7 +1497,7 @@
|
|
1491
1497
|
task.debugOwner,
|
1492
1498
|
null === task.debugStack
|
1493
1499
|
? null
|
1494
|
-
: filterStackTrace(request, task.debugStack, 1),
|
1500
|
+
: filterStackTrace(request, parseStackTrace(task.debugStack, 1)),
|
1495
1501
|
validated
|
1496
1502
|
];
|
1497
1503
|
task = task.implicitSlot && null !== key ? [request] : request;
|
@@ -1516,19 +1522,20 @@
|
|
1516
1522
|
keyPath,
|
1517
1523
|
implicitSlot,
|
1518
1524
|
abortSet,
|
1525
|
+
lastTimestamp,
|
1519
1526
|
debugOwner,
|
1520
1527
|
debugStack,
|
1521
1528
|
debugTask
|
1522
1529
|
) {
|
1523
1530
|
request.pendingChunks++;
|
1524
|
-
|
1531
|
+
lastTimestamp = request.nextChunkId++;
|
1525
1532
|
"object" !== typeof model ||
|
1526
1533
|
null === model ||
|
1527
1534
|
null !== keyPath ||
|
1528
1535
|
implicitSlot ||
|
1529
|
-
request.writtenObjects.set(model, serializeByValueID(
|
1536
|
+
request.writtenObjects.set(model, serializeByValueID(lastTimestamp));
|
1530
1537
|
var task = {
|
1531
|
-
id:
|
1538
|
+
id: lastTimestamp,
|
1532
1539
|
status: PENDING$1,
|
1533
1540
|
model: model,
|
1534
1541
|
keyPath: keyPath,
|
@@ -1663,6 +1670,7 @@
|
|
1663
1670
|
null,
|
1664
1671
|
!1,
|
1665
1672
|
request.abortableTasks,
|
1673
|
+
0,
|
1666
1674
|
null,
|
1667
1675
|
null,
|
1668
1676
|
null
|
@@ -1760,6 +1768,7 @@
|
|
1760
1768
|
null,
|
1761
1769
|
!1,
|
1762
1770
|
request.abortableTasks,
|
1771
|
+
0,
|
1763
1772
|
null,
|
1764
1773
|
null,
|
1765
1774
|
null
|
@@ -1805,6 +1814,7 @@
|
|
1805
1814
|
task.keyPath,
|
1806
1815
|
task.implicitSlot,
|
1807
1816
|
request.abortableTasks,
|
1817
|
+
0,
|
1808
1818
|
task.debugOwner,
|
1809
1819
|
task.debugStack,
|
1810
1820
|
task.debugTask
|
@@ -2180,7 +2190,7 @@
|
|
2180
2190
|
try {
|
2181
2191
|
name = error.name;
|
2182
2192
|
var message = String(error.message);
|
2183
|
-
var stack = filterStackTrace(request, error, 0);
|
2193
|
+
var stack = filterStackTrace(request, parseStackTrace(error, 0));
|
2184
2194
|
var errorEnv = error.environmentName;
|
2185
2195
|
"string" === typeof errorEnv && (env = errorEnv);
|
2186
2196
|
} catch (x) {
|
@@ -2205,7 +2215,7 @@
|
|
2205
2215
|
if (error instanceof Error) {
|
2206
2216
|
name = error.name;
|
2207
2217
|
var message = String(error.message);
|
2208
|
-
var stack = filterStackTrace(request, error, 0);
|
2218
|
+
var stack = filterStackTrace(request, parseStackTrace(error, 0));
|
2209
2219
|
var errorEnv = error.environmentName;
|
2210
2220
|
"string" === typeof errorEnv && (env = errorEnv);
|
2211
2221
|
} else
|
@@ -2281,6 +2291,31 @@
|
|
2281
2291
|
);
|
2282
2292
|
}
|
2283
2293
|
}
|
2294
|
+
function emitIOInfoChunk(request, id, name, start, end, env, owner, stack) {
|
2295
|
+
var objectLimit = 10;
|
2296
|
+
stack && (objectLimit += stack.length);
|
2297
|
+
var counter = { objectLimit: objectLimit };
|
2298
|
+
name = {
|
2299
|
+
name: name,
|
2300
|
+
start: start - request.timeOrigin,
|
2301
|
+
end: end - request.timeOrigin
|
2302
|
+
};
|
2303
|
+
null != env && (name.env = env);
|
2304
|
+
null != stack && (name.stack = stack);
|
2305
|
+
null != owner && (name.owner = owner);
|
2306
|
+
env = stringify(name, function (parentPropertyName, value) {
|
2307
|
+
return renderConsoleValue(
|
2308
|
+
request,
|
2309
|
+
counter,
|
2310
|
+
this,
|
2311
|
+
parentPropertyName,
|
2312
|
+
value
|
2313
|
+
);
|
2314
|
+
});
|
2315
|
+
id = id.toString(16) + ":J" + env + "\n";
|
2316
|
+
id = stringToChunk(id);
|
2317
|
+
request.completedRegularChunks.push(id);
|
2318
|
+
}
|
2284
2319
|
function emitTypedArrayChunk(request, id, tag, typedArray) {
|
2285
2320
|
request.pendingChunks++;
|
2286
2321
|
var buffer = new Uint8Array(
|
@@ -2346,7 +2381,10 @@
|
|
2346
2381
|
counter = null;
|
2347
2382
|
if (null != value._debugStack)
|
2348
2383
|
for (
|
2349
|
-
counter = filterStackTrace(
|
2384
|
+
counter = filterStackTrace(
|
2385
|
+
request,
|
2386
|
+
parseStackTrace(value._debugStack, 1)
|
2387
|
+
),
|
2350
2388
|
doNotLimit.add(counter),
|
2351
2389
|
request = 0;
|
2352
2390
|
request < counter.length;
|
@@ -2558,13 +2596,46 @@
|
|
2558
2596
|
methodName = stringToChunk(":W" + json + "\n");
|
2559
2597
|
request.completedRegularChunks.push(methodName);
|
2560
2598
|
}
|
2561
|
-
function forwardDebugInfo(request, id, debugInfo) {
|
2599
|
+
function forwardDebugInfo(request$jscomp$0, id$jscomp$0, debugInfo) {
|
2562
2600
|
for (var i = 0; i < debugInfo.length; i++)
|
2563
|
-
"number" !== typeof debugInfo[i].time
|
2564
|
-
(
|
2565
|
-
|
2566
|
-
|
2567
|
-
|
2601
|
+
if ("number" !== typeof debugInfo[i].time)
|
2602
|
+
if (
|
2603
|
+
(request$jscomp$0.pendingChunks++,
|
2604
|
+
"string" === typeof debugInfo[i].name)
|
2605
|
+
)
|
2606
|
+
outlineComponentInfo(request$jscomp$0, debugInfo[i]),
|
2607
|
+
emitDebugChunk(request$jscomp$0, id$jscomp$0, debugInfo[i]);
|
2608
|
+
else if (debugInfo[i].awaited) {
|
2609
|
+
var ioInfo = debugInfo[i].awaited;
|
2610
|
+
var request = request$jscomp$0,
|
2611
|
+
ioInfo$jscomp$0 = ioInfo;
|
2612
|
+
if (!request.writtenObjects.has(ioInfo$jscomp$0)) {
|
2613
|
+
request.pendingChunks++;
|
2614
|
+
var id = request.nextChunkId++,
|
2615
|
+
owner = ioInfo$jscomp$0.owner;
|
2616
|
+
null != owner && outlineComponentInfo(request, owner);
|
2617
|
+
emitIOInfoChunk(
|
2618
|
+
request,
|
2619
|
+
id,
|
2620
|
+
ioInfo$jscomp$0.name,
|
2621
|
+
ioInfo$jscomp$0.start,
|
2622
|
+
ioInfo$jscomp$0.end,
|
2623
|
+
ioInfo$jscomp$0.env,
|
2624
|
+
owner,
|
2625
|
+
ioInfo$jscomp$0.stack
|
2626
|
+
);
|
2627
|
+
request.writtenObjects.set(
|
2628
|
+
ioInfo$jscomp$0,
|
2629
|
+
serializeByValueID(id)
|
2630
|
+
);
|
2631
|
+
}
|
2632
|
+
emitDebugChunk(request$jscomp$0, id$jscomp$0, {
|
2633
|
+
awaited: ioInfo,
|
2634
|
+
env: debugInfo[i].env,
|
2635
|
+
owner: debugInfo[i].owner,
|
2636
|
+
stack: debugInfo[i].stack
|
2637
|
+
});
|
2638
|
+
} else emitDebugChunk(request$jscomp$0, id$jscomp$0, debugInfo[i]);
|
2568
2639
|
}
|
2569
2640
|
function emitChunk(request, task, value) {
|
2570
2641
|
var id = task.id;
|
@@ -3832,19 +3903,14 @@
|
|
3832
3903
|
identifierRegExp = /^[a-zA-Z_$][0-9a-zA-Z_$]*$/,
|
3833
3904
|
frameRegExp =
|
3834
3905
|
/^ {3} at (?:(.+) \((?:(.+):(\d+):(\d+)|<anonymous>)\)|(?:async )?(.+):(\d+):(\d+)|<anonymous>)$/,
|
3906
|
+
stackTraceCache = new WeakMap(),
|
3835
3907
|
supportsRequestStorage = "function" === typeof AsyncLocalStorage,
|
3836
3908
|
requestStorage = supportsRequestStorage ? new AsyncLocalStorage() : null,
|
3837
3909
|
supportsComponentStorage = supportsRequestStorage,
|
3838
3910
|
componentStorage = supportsComponentStorage
|
3839
3911
|
? new AsyncLocalStorage()
|
3840
|
-
: null
|
3841
|
-
|
3842
|
-
? async_hooks.createHook
|
3843
|
-
: function () {
|
3844
|
-
return { enable: function () {}, disable: function () {} };
|
3845
|
-
};
|
3846
|
-
"object" === typeof async_hooks ? async_hooks.executionAsyncId : null;
|
3847
|
-
var TEMPORARY_REFERENCE_TAG = Symbol.for("react.temporary.reference"),
|
3912
|
+
: null,
|
3913
|
+
TEMPORARY_REFERENCE_TAG = Symbol.for("react.temporary.reference"),
|
3848
3914
|
proxyHandlers = {
|
3849
3915
|
get: function (target, name) {
|
3850
3916
|
switch (name) {
|
@@ -3939,11 +4005,11 @@
|
|
3939
4005
|
throw Error("useId can only be used while React is rendering");
|
3940
4006
|
var id = currentRequest$1.identifierCount++;
|
3941
4007
|
return (
|
3942
|
-
"
|
4008
|
+
"_" +
|
3943
4009
|
currentRequest$1.identifierPrefix +
|
3944
|
-
"
|
4010
|
+
"S_" +
|
3945
4011
|
id.toString(32) +
|
3946
|
-
"
|
4012
|
+
"_"
|
3947
4013
|
);
|
3948
4014
|
},
|
3949
4015
|
useHostTransitionStatus: unsupportedHook,
|
@@ -4029,8 +4095,7 @@
|
|
4029
4095
|
jsxPropsParents = new WeakMap(),
|
4030
4096
|
jsxChildrenParents = new WeakMap(),
|
4031
4097
|
CLIENT_REFERENCE_TAG = Symbol.for("react.client.reference"),
|
4032
|
-
doNotLimit = new WeakSet()
|
4033
|
-
stackTraceCache = new WeakMap();
|
4098
|
+
doNotLimit = new WeakSet();
|
4034
4099
|
"object" === typeof console &&
|
4035
4100
|
null !== console &&
|
4036
4101
|
(patchConsole(console, "assert"),
|
@@ -386,14 +386,8 @@ function trimOptions(options) {
|
|
386
386
|
return hasProperties ? trimmed : null;
|
387
387
|
}
|
388
388
|
var supportsRequestStorage = "function" === typeof AsyncLocalStorage,
|
389
|
-
requestStorage = supportsRequestStorage ? new AsyncLocalStorage() : null
|
390
|
-
"
|
391
|
-
? async_hooks.createHook
|
392
|
-
: function () {
|
393
|
-
return { enable: function () {}, disable: function () {} };
|
394
|
-
};
|
395
|
-
"object" === typeof async_hooks ? async_hooks.executionAsyncId : null;
|
396
|
-
var TEMPORARY_REFERENCE_TAG = Symbol.for("react.temporary.reference"),
|
389
|
+
requestStorage = supportsRequestStorage ? new AsyncLocalStorage() : null,
|
390
|
+
TEMPORARY_REFERENCE_TAG = Symbol.for("react.temporary.reference"),
|
397
391
|
proxyHandlers = {
|
398
392
|
get: function (target, name) {
|
399
393
|
switch (name) {
|
@@ -552,13 +546,7 @@ function useId() {
|
|
552
546
|
if (null === currentRequest$1)
|
553
547
|
throw Error("useId can only be used while React is rendering");
|
554
548
|
var id = currentRequest$1.identifierCount++;
|
555
|
-
return (
|
556
|
-
"\u00ab" +
|
557
|
-
currentRequest$1.identifierPrefix +
|
558
|
-
"S" +
|
559
|
-
id.toString(32) +
|
560
|
-
"\u00bb"
|
561
|
-
);
|
549
|
+
return "_" + currentRequest$1.identifierPrefix + "S_" + id.toString(32) + "_";
|
562
550
|
}
|
563
551
|
function use(usable) {
|
564
552
|
if (
|
@@ -843,8 +831,8 @@ function serializeReadableStream(request, task, stream) {
|
|
843
831
|
tryStreamTask(request, streamTask),
|
844
832
|
enqueueFlush(request),
|
845
833
|
reader.read().then(progress, error);
|
846
|
-
} catch (x$
|
847
|
-
error(x$
|
834
|
+
} catch (x$9) {
|
835
|
+
error(x$9);
|
848
836
|
}
|
849
837
|
}
|
850
838
|
function error(reason) {
|
@@ -917,8 +905,8 @@ function serializeAsyncIterable(request, task, iterable, iterator) {
|
|
917
905
|
tryStreamTask(request, streamTask),
|
918
906
|
enqueueFlush(request),
|
919
907
|
iterator.next().then(progress, error);
|
920
|
-
} catch (x$
|
921
|
-
error(x$
|
908
|
+
} catch (x$10) {
|
909
|
+
error(x$10);
|
922
910
|
}
|
923
911
|
}
|
924
912
|
function error(reason) {
|
@@ -1930,7 +1918,7 @@ function abort(request, reason) {
|
|
1930
1918
|
}
|
1931
1919
|
var abortListeners = request.abortListeners;
|
1932
1920
|
if (0 < abortListeners.size) {
|
1933
|
-
var error$
|
1921
|
+
var error$24 =
|
1934
1922
|
void 0 === reason
|
1935
1923
|
? Error("The render was aborted by the server without a reason.")
|
1936
1924
|
: "object" === typeof reason &&
|
@@ -1939,15 +1927,15 @@ function abort(request, reason) {
|
|
1939
1927
|
? Error("The render was aborted by the server with a promise.")
|
1940
1928
|
: reason;
|
1941
1929
|
abortListeners.forEach(function (callback) {
|
1942
|
-
return callback(error$
|
1930
|
+
return callback(error$24);
|
1943
1931
|
});
|
1944
1932
|
abortListeners.clear();
|
1945
1933
|
callOnAllReadyIfReady(request);
|
1946
1934
|
}
|
1947
1935
|
null !== request.destination &&
|
1948
1936
|
flushCompletedChunks(request, request.destination);
|
1949
|
-
} catch (error$
|
1950
|
-
logRecoverableError(request, error$
|
1937
|
+
} catch (error$25) {
|
1938
|
+
logRecoverableError(request, error$25, null), fatalError(request, error$25);
|
1951
1939
|
}
|
1952
1940
|
}
|
1953
1941
|
function resolveServerReference(bundlerConfig, id) {
|
@@ -2396,8 +2384,8 @@ function parseReadableStream(response, reference, type) {
|
|
2396
2384
|
(previousBlockedChunk = chunk));
|
2397
2385
|
} else {
|
2398
2386
|
chunk = previousBlockedChunk;
|
2399
|
-
var chunk$
|
2400
|
-
chunk$
|
2387
|
+
var chunk$28 = createPendingChunk(response);
|
2388
|
+
chunk$28.then(
|
2401
2389
|
function (v) {
|
2402
2390
|
return controller.enqueue(v);
|
2403
2391
|
},
|
@@ -2405,10 +2393,10 @@ function parseReadableStream(response, reference, type) {
|
|
2405
2393
|
return controller.error(e);
|
2406
2394
|
}
|
2407
2395
|
);
|
2408
|
-
previousBlockedChunk = chunk$
|
2396
|
+
previousBlockedChunk = chunk$28;
|
2409
2397
|
chunk.then(function () {
|
2410
|
-
previousBlockedChunk === chunk$
|
2411
|
-
resolveModelChunk(chunk$
|
2398
|
+
previousBlockedChunk === chunk$28 && (previousBlockedChunk = null);
|
2399
|
+
resolveModelChunk(chunk$28, json, -1);
|
2412
2400
|
});
|
2413
2401
|
}
|
2414
2402
|
},
|