react-server-dom-webpack 19.0.0-rc-d025ddd3-20240722 → 19.0.0-rc-f6cce072-20240723
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 +38 -38
- package/cjs/react-server-dom-webpack-client.browser.production.js +14 -14
- package/cjs/react-server-dom-webpack-client.edge.development.js +38 -38
- package/cjs/react-server-dom-webpack-client.edge.production.js +14 -14
- package/cjs/react-server-dom-webpack-client.node.development.js +42 -42
- package/cjs/react-server-dom-webpack-client.node.production.js +18 -18
- package/cjs/react-server-dom-webpack-client.node.unbundled.development.js +38 -38
- package/cjs/react-server-dom-webpack-client.node.unbundled.production.js +14 -14
- package/cjs/react-server-dom-webpack-plugin.js +7 -7
- package/cjs/react-server-dom-webpack-server.browser.development.js +142 -116
- package/cjs/react-server-dom-webpack-server.browser.production.js +56 -56
- package/cjs/react-server-dom-webpack-server.edge.development.js +144 -118
- package/cjs/react-server-dom-webpack-server.edge.production.js +56 -56
- package/cjs/react-server-dom-webpack-server.node.development.js +145 -119
- package/cjs/react-server-dom-webpack-server.node.production.js +56 -56
- package/cjs/react-server-dom-webpack-server.node.unbundled.development.js +141 -115
- package/cjs/react-server-dom-webpack-server.node.unbundled.production.js +52 -52
- package/package.json +3 -3
@@ -326,8 +326,8 @@ function preinitStyle(href, precedence, options) {
|
|
326
326
|
options
|
327
327
|
])
|
328
328
|
: "string" === typeof precedence
|
329
|
-
|
330
|
-
|
329
|
+
? emitHint(request, "S", [href, precedence])
|
330
|
+
: emitHint(request, "S", href);
|
331
331
|
}
|
332
332
|
previousDispatcher.S(href, precedence, options);
|
333
333
|
}
|
@@ -614,8 +614,8 @@ function describeValueForErrorMessage(value) {
|
|
614
614
|
return value.$$typeof === CLIENT_REFERENCE_TAG
|
615
615
|
? "client"
|
616
616
|
: (value = value.displayName || value.name)
|
617
|
-
|
618
|
-
|
617
|
+
? "function " + value
|
618
|
+
: "function";
|
619
619
|
default:
|
620
620
|
return String(value);
|
621
621
|
}
|
@@ -696,9 +696,9 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) {
|
|
696
696
|
return void 0 === expandedName
|
697
697
|
? str
|
698
698
|
: -1 < objKind && 0 < length
|
699
|
-
|
700
|
-
|
701
|
-
|
699
|
+
? ((objectOrArray = " ".repeat(objKind) + "^".repeat(length)),
|
700
|
+
"\n " + str + "\n " + objectOrArray)
|
701
|
+
: "\n " + str;
|
702
702
|
}
|
703
703
|
var ObjectPrototype = Object.prototype,
|
704
704
|
stringify = JSON.stringify,
|
@@ -1493,10 +1493,10 @@ function renderModelDestructive(
|
|
1493
1493
|
? "$-0"
|
1494
1494
|
: value
|
1495
1495
|
: Infinity === value
|
1496
|
-
|
1497
|
-
|
1498
|
-
|
1499
|
-
|
1496
|
+
? "$Infinity"
|
1497
|
+
: -Infinity === value
|
1498
|
+
? "$-Infinity"
|
1499
|
+
: "$NaN";
|
1500
1500
|
if ("undefined" === typeof value) return "$undefined";
|
1501
1501
|
if ("function" === typeof value) {
|
1502
1502
|
if (value.$$typeof === CLIENT_REFERENCE_TAG$1)
|
@@ -1638,33 +1638,33 @@ function emitChunk(request, task, value) {
|
|
1638
1638
|
"string" === typeof value && null !== byteLengthOfChunk
|
1639
1639
|
? emitTextChunk(request, id, value)
|
1640
1640
|
: value instanceof ArrayBuffer
|
1641
|
-
|
1642
|
-
|
1643
|
-
|
1644
|
-
|
1645
|
-
|
1646
|
-
|
1647
|
-
|
1648
|
-
|
1649
|
-
|
1650
|
-
|
1651
|
-
|
1652
|
-
|
1653
|
-
|
1654
|
-
|
1655
|
-
|
1656
|
-
|
1657
|
-
|
1658
|
-
|
1659
|
-
|
1660
|
-
|
1661
|
-
|
1662
|
-
|
1663
|
-
|
1664
|
-
|
1665
|
-
|
1666
|
-
|
1667
|
-
|
1641
|
+
? emitTypedArrayChunk(request, id, "A", new Uint8Array(value))
|
1642
|
+
: value instanceof Int8Array
|
1643
|
+
? emitTypedArrayChunk(request, id, "O", value)
|
1644
|
+
: value instanceof Uint8Array
|
1645
|
+
? emitTypedArrayChunk(request, id, "o", value)
|
1646
|
+
: value instanceof Uint8ClampedArray
|
1647
|
+
? emitTypedArrayChunk(request, id, "U", value)
|
1648
|
+
: value instanceof Int16Array
|
1649
|
+
? emitTypedArrayChunk(request, id, "S", value)
|
1650
|
+
: value instanceof Uint16Array
|
1651
|
+
? emitTypedArrayChunk(request, id, "s", value)
|
1652
|
+
: value instanceof Int32Array
|
1653
|
+
? emitTypedArrayChunk(request, id, "L", value)
|
1654
|
+
: value instanceof Uint32Array
|
1655
|
+
? emitTypedArrayChunk(request, id, "l", value)
|
1656
|
+
: value instanceof Float32Array
|
1657
|
+
? emitTypedArrayChunk(request, id, "G", value)
|
1658
|
+
: value instanceof Float64Array
|
1659
|
+
? emitTypedArrayChunk(request, id, "g", value)
|
1660
|
+
: value instanceof BigInt64Array
|
1661
|
+
? emitTypedArrayChunk(request, id, "M", value)
|
1662
|
+
: value instanceof BigUint64Array
|
1663
|
+
? emitTypedArrayChunk(request, id, "m", value)
|
1664
|
+
: value instanceof DataView
|
1665
|
+
? emitTypedArrayChunk(request, id, "V", value)
|
1666
|
+
: ((value = stringify(value, task.toJSON)),
|
1667
|
+
emitModelChunk(request, task.id, value));
|
1668
1668
|
}
|
1669
1669
|
var emptyRoot = {};
|
1670
1670
|
function retryTask(request, task) {
|
@@ -1810,10 +1810,10 @@ function abort(request, reason) {
|
|
1810
1810
|
void 0 === reason
|
1811
1811
|
? Error("The render was aborted by the server without a reason.")
|
1812
1812
|
: "object" === typeof reason &&
|
1813
|
-
|
1814
|
-
|
1815
|
-
|
1816
|
-
|
1813
|
+
null !== reason &&
|
1814
|
+
"function" === typeof reason.then
|
1815
|
+
? Error("The render was aborted by the server with a promise.")
|
1816
|
+
: reason,
|
1817
1817
|
digest = logRecoverableError(request, error, null);
|
1818
1818
|
emitErrorChunk(request, errorId, digest, error);
|
1819
1819
|
abortableTasks.forEach(function (task) {
|
@@ -1832,10 +1832,10 @@ function abort(request, reason) {
|
|
1832
1832
|
void 0 === reason
|
1833
1833
|
? Error("The render was aborted by the server without a reason.")
|
1834
1834
|
: "object" === typeof reason &&
|
1835
|
-
|
1836
|
-
|
1837
|
-
|
1838
|
-
|
1835
|
+
null !== reason &&
|
1836
|
+
"function" === typeof reason.then
|
1837
|
+
? Error("The render was aborted by the server with a promise.")
|
1838
|
+
: reason;
|
1839
1839
|
abortListeners.forEach(function (callback) {
|
1840
1840
|
return callback(error$26);
|
1841
1841
|
});
|
@@ -1904,8 +1904,8 @@ function preloadModule(metadata) {
|
|
1904
1904
|
return requireAsyncModule(metadata[0]);
|
1905
1905
|
})
|
1906
1906
|
: 0 < promises.length
|
1907
|
-
|
1908
|
-
|
1907
|
+
? Promise.all(promises)
|
1908
|
+
: null;
|
1909
1909
|
}
|
1910
1910
|
function requireModule(metadata) {
|
1911
1911
|
var moduleExports = __webpack_require__(metadata[0]);
|
@@ -1916,10 +1916,10 @@ function requireModule(metadata) {
|
|
1916
1916
|
return "*" === metadata[2]
|
1917
1917
|
? moduleExports
|
1918
1918
|
: "" === metadata[2]
|
1919
|
-
|
1920
|
-
|
1921
|
-
|
1922
|
-
|
1919
|
+
? moduleExports.__esModule
|
1920
|
+
? moduleExports.default
|
1921
|
+
: moduleExports
|
1922
|
+
: moduleExports[metadata[2]];
|
1923
1923
|
}
|
1924
1924
|
var chunkMap = new Map(),
|
1925
1925
|
webpackGetChunkFilename = __webpack_require__.u;
|
@@ -2553,10 +2553,10 @@ function loadServerReference(bundlerConfig, id, bound) {
|
|
2553
2553
|
return fn.bind.apply(fn, [null].concat(_ref));
|
2554
2554
|
})
|
2555
2555
|
: bundlerConfig
|
2556
|
-
|
2557
|
-
|
2558
|
-
|
2559
|
-
|
2556
|
+
? Promise.resolve(bundlerConfig).then(function () {
|
2557
|
+
return requireModule(serverReference);
|
2558
|
+
})
|
2559
|
+
: Promise.resolve(requireModule(serverReference));
|
2560
2560
|
}
|
2561
2561
|
function decodeBoundActionMetaData(body, serverManifest, formFieldPrefix) {
|
2562
2562
|
body = createResponse(serverManifest, formFieldPrefix, void 0, body);
|
@@ -333,8 +333,8 @@
|
|
333
333
|
return value.$$typeof === CLIENT_REFERENCE_TAG
|
334
334
|
? "client"
|
335
335
|
: (value = value.displayName || value.name)
|
336
|
-
|
337
|
-
|
336
|
+
? "function " + value
|
337
|
+
: "function";
|
338
338
|
default:
|
339
339
|
return String(value);
|
340
340
|
}
|
@@ -377,8 +377,8 @@
|
|
377
377
|
"string" === typeof value
|
378
378
|
? value
|
379
379
|
: "object" === typeof value && null !== value
|
380
|
-
|
381
|
-
|
380
|
+
? "{" + describeObjectForErrorMessage(value) + "}"
|
381
|
+
: "{" + describeValueForErrorMessage(value) + "}";
|
382
382
|
"" + i === expandedName
|
383
383
|
? ((start = objKind.length),
|
384
384
|
(length = value.length),
|
@@ -464,9 +464,9 @@
|
|
464
464
|
return void 0 === expandedName
|
465
465
|
? objKind
|
466
466
|
: -1 < start && 0 < length
|
467
|
-
|
468
|
-
|
469
|
-
|
467
|
+
? ((objectOrArray = " ".repeat(start) + "^".repeat(length)),
|
468
|
+
"\n " + objKind + "\n " + objectOrArray)
|
469
|
+
: "\n " + objKind;
|
470
470
|
}
|
471
471
|
function isNotExternal(stackFrame) {
|
472
472
|
return !externalRegExp.test(stackFrame[1]);
|
@@ -530,10 +530,10 @@
|
|
530
530
|
return "Server";
|
531
531
|
}
|
532
532
|
: "function" !== typeof environmentName
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
533
|
+
? function () {
|
534
|
+
return environmentName;
|
535
|
+
}
|
536
|
+
: environmentName;
|
537
537
|
this.didWarnForKey = null;
|
538
538
|
model = createTask(this, model, null, !1, abortSet, null);
|
539
539
|
pingedTasks.push(model);
|
@@ -1075,10 +1075,10 @@
|
|
1075
1075
|
? "$-0"
|
1076
1076
|
: number
|
1077
1077
|
: Infinity === number
|
1078
|
-
|
1079
|
-
|
1080
|
-
|
1081
|
-
|
1078
|
+
? "$Infinity"
|
1079
|
+
: -Infinity === number
|
1080
|
+
? "$-Infinity"
|
1081
|
+
: "$NaN";
|
1082
1082
|
}
|
1083
1083
|
function encodeReferenceChunk(request, id, reference) {
|
1084
1084
|
request = stringify(reference);
|
@@ -1514,10 +1514,10 @@
|
|
1514
1514
|
parent[parentPropertyName] instanceof Date
|
1515
1515
|
? "$D" + value
|
1516
1516
|
: 1024 <= value.length && null !== byteLengthOfChunk
|
1517
|
-
|
1518
|
-
|
1519
|
-
|
1520
|
-
|
1517
|
+
? serializeLargeTextString(request, value)
|
1518
|
+
: "$" === value[0]
|
1519
|
+
? "$" + value
|
1520
|
+
: value;
|
1521
1521
|
if ("boolean" === typeof value) return value;
|
1522
1522
|
if ("number" === typeof value) return serializeNumber(value);
|
1523
1523
|
if ("undefined" === typeof value) return "$undefined";
|
@@ -1610,8 +1610,8 @@
|
|
1610
1610
|
)
|
1611
1611
|
: callWithDebugContextInDEV(task, onError, error)
|
1612
1612
|
: supportsRequestStorage
|
1613
|
-
|
1614
|
-
|
1613
|
+
? requestStorage.run(void 0, onError, error)
|
1614
|
+
: onError(error);
|
1615
1615
|
} finally {
|
1616
1616
|
currentRequest = prevRequest;
|
1617
1617
|
}
|
@@ -1672,6 +1672,15 @@
|
|
1672
1672
|
}
|
1673
1673
|
}
|
1674
1674
|
var stack$jscomp$0 = stack.filter(isNotExternal);
|
1675
|
+
for (frames = 0; frames < stack$jscomp$0.length; frames++) {
|
1676
|
+
var callsite = stack$jscomp$0[frames],
|
1677
|
+
url = callsite[1];
|
1678
|
+
if (url.startsWith("rsc://React/")) {
|
1679
|
+
var suffixIdx = url.lastIndexOf("?");
|
1680
|
+
-1 < suffixIdx && (callsite[1] = url.slice(12, suffixIdx));
|
1681
|
+
}
|
1682
|
+
}
|
1683
|
+
var stack$jscomp$1 = stack$jscomp$0;
|
1675
1684
|
var errorEnv = error.environmentName;
|
1676
1685
|
"string" === typeof errorEnv && (env = errorEnv);
|
1677
1686
|
} else
|
@@ -1679,14 +1688,14 @@
|
|
1679
1688
|
"object" === typeof error && null !== error
|
1680
1689
|
? describeObjectForErrorMessage(error)
|
1681
1690
|
: String(error)),
|
1682
|
-
(stack$jscomp$
|
1691
|
+
(stack$jscomp$1 = []);
|
1683
1692
|
} catch (x) {
|
1684
1693
|
message = "An error occurred but serializing the error message failed.";
|
1685
1694
|
}
|
1686
1695
|
digest = {
|
1687
1696
|
digest: digest,
|
1688
1697
|
message: message,
|
1689
|
-
stack: stack$jscomp$
|
1698
|
+
stack: stack$jscomp$1,
|
1690
1699
|
env: env
|
1691
1700
|
};
|
1692
1701
|
id = id.toString(16) + ":E" + stringify(digest) + "\n";
|
@@ -1789,55 +1798,70 @@
|
|
1789
1798
|
return void 0 !== parent
|
1790
1799
|
? parent
|
1791
1800
|
: isArrayImpl(value)
|
1792
|
-
|
1793
|
-
|
1794
|
-
|
1795
|
-
|
1796
|
-
|
1797
|
-
|
1798
|
-
|
1799
|
-
|
1800
|
-
|
1801
|
-
|
1802
|
-
|
1803
|
-
|
1804
|
-
|
1805
|
-
|
1806
|
-
|
1807
|
-
|
1808
|
-
|
1809
|
-
|
1810
|
-
|
1811
|
-
|
1812
|
-
|
1813
|
-
|
1814
|
-
|
1815
|
-
|
1816
|
-
|
1817
|
-
|
1818
|
-
|
1819
|
-
|
1820
|
-
|
1821
|
-
|
1822
|
-
|
1823
|
-
|
1824
|
-
|
1825
|
-
|
1826
|
-
|
1827
|
-
|
1828
|
-
|
1829
|
-
|
1830
|
-
|
1831
|
-
|
1801
|
+
? value
|
1802
|
+
: value instanceof Map
|
1803
|
+
? ((value = Array.from(value)),
|
1804
|
+
"$Q" +
|
1805
|
+
outlineConsoleValue(request, counter, value).toString(16))
|
1806
|
+
: value instanceof Set
|
1807
|
+
? ((value = Array.from(value)),
|
1808
|
+
"$W" +
|
1809
|
+
outlineConsoleValue(request, counter, value).toString(16))
|
1810
|
+
: "function" === typeof FormData && value instanceof FormData
|
1811
|
+
? serializeFormData(request, value)
|
1812
|
+
: value instanceof ArrayBuffer
|
1813
|
+
? serializeTypedArray(request, "A", new Uint8Array(value))
|
1814
|
+
: value instanceof Int8Array
|
1815
|
+
? serializeTypedArray(request, "O", value)
|
1816
|
+
: value instanceof Uint8Array
|
1817
|
+
? serializeTypedArray(request, "o", value)
|
1818
|
+
: value instanceof Uint8ClampedArray
|
1819
|
+
? serializeTypedArray(request, "U", value)
|
1820
|
+
: value instanceof Int16Array
|
1821
|
+
? serializeTypedArray(request, "S", value)
|
1822
|
+
: value instanceof Uint16Array
|
1823
|
+
? serializeTypedArray(request, "s", value)
|
1824
|
+
: value instanceof Int32Array
|
1825
|
+
? serializeTypedArray(request, "L", value)
|
1826
|
+
: value instanceof Uint32Array
|
1827
|
+
? serializeTypedArray(request, "l", value)
|
1828
|
+
: value instanceof Float32Array
|
1829
|
+
? serializeTypedArray(request, "G", value)
|
1830
|
+
: value instanceof Float64Array
|
1831
|
+
? serializeTypedArray(request, "g", value)
|
1832
|
+
: value instanceof BigInt64Array
|
1833
|
+
? serializeTypedArray(
|
1834
|
+
request,
|
1835
|
+
"M",
|
1836
|
+
value
|
1837
|
+
)
|
1838
|
+
: value instanceof BigUint64Array
|
1839
|
+
? serializeTypedArray(
|
1840
|
+
request,
|
1841
|
+
"m",
|
1842
|
+
value
|
1843
|
+
)
|
1844
|
+
: value instanceof DataView
|
1845
|
+
? serializeTypedArray(
|
1846
|
+
request,
|
1847
|
+
"V",
|
1848
|
+
value
|
1849
|
+
)
|
1850
|
+
: "function" === typeof Blob &&
|
1851
|
+
value instanceof Blob
|
1852
|
+
? serializeBlob(request, value)
|
1853
|
+
: getIteratorFn(value)
|
1854
|
+
? Array.from(value)
|
1855
|
+
: value;
|
1832
1856
|
}
|
1833
1857
|
if ("string" === typeof value)
|
1834
1858
|
return "Z" === value[value.length - 1] && originalValue instanceof Date
|
1835
1859
|
? "$D" + value
|
1836
1860
|
: 1024 <= value.length
|
1837
|
-
|
1838
|
-
|
1839
|
-
|
1840
|
-
|
1861
|
+
? serializeLargeTextString(request, value)
|
1862
|
+
: "$" === value[0]
|
1863
|
+
? "$" + value
|
1864
|
+
: value;
|
1841
1865
|
if ("boolean" === typeof value) return value;
|
1842
1866
|
if ("number" === typeof value) return serializeNumber(value);
|
1843
1867
|
if ("undefined" === typeof value) return "$undefined";
|
@@ -1845,10 +1869,10 @@
|
|
1845
1869
|
return value.$$typeof === CLIENT_REFERENCE_TAG$1
|
1846
1870
|
? serializeClientReference(request, parent, parentPropertyName, value)
|
1847
1871
|
: void 0 !== request.temporaryReferences &&
|
1848
|
-
|
1849
|
-
|
1850
|
-
|
1851
|
-
|
1872
|
+
((request = request.temporaryReferences.get(value)),
|
1873
|
+
void 0 !== request)
|
1874
|
+
? "$T" + request
|
1875
|
+
: "$E(" + (Function.prototype.toString.call(value) + ")");
|
1852
1876
|
if ("symbol" === typeof value) {
|
1853
1877
|
counter = request.writtenSymbols.get(value);
|
1854
1878
|
if (void 0 !== counter) return serializeByValueID(counter);
|
@@ -1895,33 +1919,33 @@
|
|
1895
1919
|
"string" === typeof value && null !== byteLengthOfChunk
|
1896
1920
|
? emitTextChunk(request, id, value)
|
1897
1921
|
: value instanceof ArrayBuffer
|
1898
|
-
|
1899
|
-
|
1900
|
-
|
1901
|
-
|
1902
|
-
|
1903
|
-
|
1904
|
-
|
1905
|
-
|
1906
|
-
|
1907
|
-
|
1908
|
-
|
1909
|
-
|
1910
|
-
|
1911
|
-
|
1912
|
-
|
1913
|
-
|
1914
|
-
|
1915
|
-
|
1916
|
-
|
1917
|
-
|
1918
|
-
|
1919
|
-
|
1920
|
-
|
1921
|
-
|
1922
|
-
|
1923
|
-
|
1924
|
-
|
1922
|
+
? emitTypedArrayChunk(request, id, "A", new Uint8Array(value))
|
1923
|
+
: value instanceof Int8Array
|
1924
|
+
? emitTypedArrayChunk(request, id, "O", value)
|
1925
|
+
: value instanceof Uint8Array
|
1926
|
+
? emitTypedArrayChunk(request, id, "o", value)
|
1927
|
+
: value instanceof Uint8ClampedArray
|
1928
|
+
? emitTypedArrayChunk(request, id, "U", value)
|
1929
|
+
: value instanceof Int16Array
|
1930
|
+
? emitTypedArrayChunk(request, id, "S", value)
|
1931
|
+
: value instanceof Uint16Array
|
1932
|
+
? emitTypedArrayChunk(request, id, "s", value)
|
1933
|
+
: value instanceof Int32Array
|
1934
|
+
? emitTypedArrayChunk(request, id, "L", value)
|
1935
|
+
: value instanceof Uint32Array
|
1936
|
+
? emitTypedArrayChunk(request, id, "l", value)
|
1937
|
+
: value instanceof Float32Array
|
1938
|
+
? emitTypedArrayChunk(request, id, "G", value)
|
1939
|
+
: value instanceof Float64Array
|
1940
|
+
? emitTypedArrayChunk(request, id, "g", value)
|
1941
|
+
: value instanceof BigInt64Array
|
1942
|
+
? emitTypedArrayChunk(request, id, "M", value)
|
1943
|
+
: value instanceof BigUint64Array
|
1944
|
+
? emitTypedArrayChunk(request, id, "m", value)
|
1945
|
+
: value instanceof DataView
|
1946
|
+
? emitTypedArrayChunk(request, id, "V", value)
|
1947
|
+
: ((value = stringify(value, task.toJSON)),
|
1948
|
+
emitModelChunk(request, task.id, value));
|
1925
1949
|
}
|
1926
1950
|
function retryTask(request, task) {
|
1927
1951
|
if (0 === task.status) {
|
@@ -2123,10 +2147,12 @@
|
|
2123
2147
|
"The render was aborted by the server without a reason."
|
2124
2148
|
)
|
2125
2149
|
: "object" === typeof reason &&
|
2126
|
-
|
2127
|
-
|
2128
|
-
|
2129
|
-
|
2150
|
+
null !== reason &&
|
2151
|
+
"function" === typeof reason.then
|
2152
|
+
? Error(
|
2153
|
+
"The render was aborted by the server with a promise."
|
2154
|
+
)
|
2155
|
+
: reason,
|
2130
2156
|
digest = logRecoverableError(request, error, null);
|
2131
2157
|
emitErrorChunk(request, errorId, digest, error);
|
2132
2158
|
abortableTasks.forEach(function (task) {
|
@@ -2145,10 +2171,10 @@
|
|
2145
2171
|
void 0 === reason
|
2146
2172
|
? Error("The render was aborted by the server without a reason.")
|
2147
2173
|
: "object" === typeof reason &&
|
2148
|
-
|
2149
|
-
|
2150
|
-
|
2151
|
-
|
2174
|
+
null !== reason &&
|
2175
|
+
"function" === typeof reason.then
|
2176
|
+
? Error("The render was aborted by the server with a promise.")
|
2177
|
+
: reason;
|
2152
2178
|
abortListeners.forEach(function (callback) {
|
2153
2179
|
return callback(_error);
|
2154
2180
|
});
|
@@ -2220,8 +2246,8 @@
|
|
2220
2246
|
return requireAsyncModule(metadata[0]);
|
2221
2247
|
})
|
2222
2248
|
: 0 < promises.length
|
2223
|
-
|
2224
|
-
|
2249
|
+
? Promise.all(promises)
|
2250
|
+
: null;
|
2225
2251
|
}
|
2226
2252
|
function requireModule(metadata) {
|
2227
2253
|
var moduleExports = __webpack_require__(metadata[0]);
|
@@ -2232,10 +2258,10 @@
|
|
2232
2258
|
return "*" === metadata[2]
|
2233
2259
|
? moduleExports
|
2234
2260
|
: "" === metadata[2]
|
2235
|
-
|
2236
|
-
|
2237
|
-
|
2238
|
-
|
2261
|
+
? moduleExports.__esModule
|
2262
|
+
? moduleExports.default
|
2263
|
+
: moduleExports
|
2264
|
+
: moduleExports[metadata[2]];
|
2239
2265
|
}
|
2240
2266
|
function Chunk(status, value, reason, response) {
|
2241
2267
|
this.status = status;
|
@@ -2884,10 +2910,10 @@
|
|
2884
2910
|
return fn.bind.apply(fn, [null].concat(_ref));
|
2885
2911
|
})
|
2886
2912
|
: bundlerConfig
|
2887
|
-
|
2888
|
-
|
2889
|
-
|
2890
|
-
|
2913
|
+
? Promise.resolve(bundlerConfig).then(function () {
|
2914
|
+
return requireModule(serverReference);
|
2915
|
+
})
|
2916
|
+
: Promise.resolve(requireModule(serverReference));
|
2891
2917
|
}
|
2892
2918
|
function decodeBoundActionMetaData(body, serverManifest, formFieldPrefix) {
|
2893
2919
|
body = createResponse(serverManifest, formFieldPrefix, void 0, body);
|
@@ -3083,8 +3109,8 @@
|
|
3083
3109
|
options
|
3084
3110
|
])
|
3085
3111
|
: "string" === typeof precedence
|
3086
|
-
|
3087
|
-
|
3112
|
+
? emitHint(request, "S", [href, precedence])
|
3113
|
+
: emitHint(request, "S", href);
|
3088
3114
|
}
|
3089
3115
|
previousDispatcher.S(href, precedence, options);
|
3090
3116
|
}
|