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
@@ -316,8 +316,8 @@ function preinitStyle(href, precedence, options) {
|
|
316
316
|
options
|
317
317
|
])
|
318
318
|
: "string" === typeof precedence
|
319
|
-
|
320
|
-
|
319
|
+
? emitHint(request, "S", [href, precedence])
|
320
|
+
: emitHint(request, "S", href);
|
321
321
|
}
|
322
322
|
previousDispatcher.S(href, precedence, options);
|
323
323
|
}
|
@@ -611,8 +611,8 @@ function describeValueForErrorMessage(value) {
|
|
611
611
|
return value.$$typeof === CLIENT_REFERENCE_TAG
|
612
612
|
? "client"
|
613
613
|
: (value = value.displayName || value.name)
|
614
|
-
|
615
|
-
|
614
|
+
? "function " + value
|
615
|
+
: "function";
|
616
616
|
default:
|
617
617
|
return String(value);
|
618
618
|
}
|
@@ -693,9 +693,9 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) {
|
|
693
693
|
return void 0 === expandedName
|
694
694
|
? str
|
695
695
|
: -1 < objKind && 0 < length
|
696
|
-
|
697
|
-
|
698
|
-
|
696
|
+
? ((objectOrArray = " ".repeat(objKind) + "^".repeat(length)),
|
697
|
+
"\n " + str + "\n " + objectOrArray)
|
698
|
+
: "\n " + str;
|
699
699
|
}
|
700
700
|
var ObjectPrototype = Object.prototype,
|
701
701
|
stringify = JSON.stringify,
|
@@ -1498,10 +1498,10 @@ function renderModelDestructive(
|
|
1498
1498
|
? "$-0"
|
1499
1499
|
: value
|
1500
1500
|
: Infinity === value
|
1501
|
-
|
1502
|
-
|
1503
|
-
|
1504
|
-
|
1501
|
+
? "$Infinity"
|
1502
|
+
: -Infinity === value
|
1503
|
+
? "$-Infinity"
|
1504
|
+
: "$NaN";
|
1505
1505
|
if ("undefined" === typeof value) return "$undefined";
|
1506
1506
|
if ("function" === typeof value) {
|
1507
1507
|
if (value.$$typeof === CLIENT_REFERENCE_TAG$1)
|
@@ -1645,33 +1645,33 @@ function emitChunk(request, task, value) {
|
|
1645
1645
|
"string" === typeof value && null !== byteLengthOfChunk
|
1646
1646
|
? emitTextChunk(request, id, value)
|
1647
1647
|
: value instanceof ArrayBuffer
|
1648
|
-
|
1649
|
-
|
1650
|
-
|
1651
|
-
|
1652
|
-
|
1653
|
-
|
1654
|
-
|
1655
|
-
|
1656
|
-
|
1657
|
-
|
1658
|
-
|
1659
|
-
|
1660
|
-
|
1661
|
-
|
1662
|
-
|
1663
|
-
|
1664
|
-
|
1665
|
-
|
1666
|
-
|
1667
|
-
|
1668
|
-
|
1669
|
-
|
1670
|
-
|
1671
|
-
|
1672
|
-
|
1673
|
-
|
1674
|
-
|
1648
|
+
? emitTypedArrayChunk(request, id, "A", new Uint8Array(value))
|
1649
|
+
: value instanceof Int8Array
|
1650
|
+
? emitTypedArrayChunk(request, id, "O", value)
|
1651
|
+
: value instanceof Uint8Array
|
1652
|
+
? emitTypedArrayChunk(request, id, "o", value)
|
1653
|
+
: value instanceof Uint8ClampedArray
|
1654
|
+
? emitTypedArrayChunk(request, id, "U", value)
|
1655
|
+
: value instanceof Int16Array
|
1656
|
+
? emitTypedArrayChunk(request, id, "S", value)
|
1657
|
+
: value instanceof Uint16Array
|
1658
|
+
? emitTypedArrayChunk(request, id, "s", value)
|
1659
|
+
: value instanceof Int32Array
|
1660
|
+
? emitTypedArrayChunk(request, id, "L", value)
|
1661
|
+
: value instanceof Uint32Array
|
1662
|
+
? emitTypedArrayChunk(request, id, "l", value)
|
1663
|
+
: value instanceof Float32Array
|
1664
|
+
? emitTypedArrayChunk(request, id, "G", value)
|
1665
|
+
: value instanceof Float64Array
|
1666
|
+
? emitTypedArrayChunk(request, id, "g", value)
|
1667
|
+
: value instanceof BigInt64Array
|
1668
|
+
? emitTypedArrayChunk(request, id, "M", value)
|
1669
|
+
: value instanceof BigUint64Array
|
1670
|
+
? emitTypedArrayChunk(request, id, "m", value)
|
1671
|
+
: value instanceof DataView
|
1672
|
+
? emitTypedArrayChunk(request, id, "V", value)
|
1673
|
+
: ((value = stringify(value, task.toJSON)),
|
1674
|
+
emitModelChunk(request, task.id, value));
|
1675
1675
|
}
|
1676
1676
|
var emptyRoot = {};
|
1677
1677
|
function retryTask(request, task) {
|
@@ -1821,10 +1821,10 @@ function abort(request, reason) {
|
|
1821
1821
|
void 0 === reason
|
1822
1822
|
? Error("The render was aborted by the server without a reason.")
|
1823
1823
|
: "object" === typeof reason &&
|
1824
|
-
|
1825
|
-
|
1826
|
-
|
1827
|
-
|
1824
|
+
null !== reason &&
|
1825
|
+
"function" === typeof reason.then
|
1826
|
+
? Error("The render was aborted by the server with a promise.")
|
1827
|
+
: reason,
|
1828
1828
|
digest = logRecoverableError(request, error, null);
|
1829
1829
|
emitErrorChunk(request, errorId, digest, error);
|
1830
1830
|
abortableTasks.forEach(function (task) {
|
@@ -1843,10 +1843,10 @@ function abort(request, reason) {
|
|
1843
1843
|
void 0 === reason
|
1844
1844
|
? Error("The render was aborted by the server without a reason.")
|
1845
1845
|
: "object" === typeof reason &&
|
1846
|
-
|
1847
|
-
|
1848
|
-
|
1849
|
-
|
1846
|
+
null !== reason &&
|
1847
|
+
"function" === typeof reason.then
|
1848
|
+
? Error("The render was aborted by the server with a promise.")
|
1849
|
+
: reason;
|
1850
1850
|
abortListeners.forEach(function (callback) {
|
1851
1851
|
return callback(error$26);
|
1852
1852
|
});
|
@@ -1914,8 +1914,8 @@ function preloadModule(metadata) {
|
|
1914
1914
|
return requireAsyncModule(metadata[0]);
|
1915
1915
|
})
|
1916
1916
|
: 0 < promises.length
|
1917
|
-
|
1918
|
-
|
1917
|
+
? Promise.all(promises)
|
1918
|
+
: null;
|
1919
1919
|
}
|
1920
1920
|
function requireModule(metadata) {
|
1921
1921
|
var moduleExports = __webpack_require__(metadata[0]);
|
@@ -1926,10 +1926,10 @@ function requireModule(metadata) {
|
|
1926
1926
|
return "*" === metadata[2]
|
1927
1927
|
? moduleExports
|
1928
1928
|
: "" === metadata[2]
|
1929
|
-
|
1930
|
-
|
1931
|
-
|
1932
|
-
|
1929
|
+
? moduleExports.__esModule
|
1930
|
+
? moduleExports.default
|
1931
|
+
: moduleExports
|
1932
|
+
: moduleExports[metadata[2]];
|
1933
1933
|
}
|
1934
1934
|
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
1935
1935
|
function Chunk(status, value, reason, response) {
|
@@ -2555,10 +2555,10 @@ function loadServerReference(bundlerConfig, id, bound) {
|
|
2555
2555
|
return fn.bind.apply(fn, [null].concat(_ref));
|
2556
2556
|
})
|
2557
2557
|
: bundlerConfig
|
2558
|
-
|
2559
|
-
|
2560
|
-
|
2561
|
-
|
2558
|
+
? Promise.resolve(bundlerConfig).then(function () {
|
2559
|
+
return requireModule(serverReference);
|
2560
|
+
})
|
2561
|
+
: Promise.resolve(requireModule(serverReference));
|
2562
2562
|
}
|
2563
2563
|
function decodeBoundActionMetaData(body, serverManifest, formFieldPrefix) {
|
2564
2564
|
body = createResponse(serverManifest, formFieldPrefix, void 0, body);
|
@@ -360,8 +360,8 @@
|
|
360
360
|
return value.$$typeof === CLIENT_REFERENCE_TAG
|
361
361
|
? "client"
|
362
362
|
: (value = value.displayName || value.name)
|
363
|
-
|
364
|
-
|
363
|
+
? "function " + value
|
364
|
+
: "function";
|
365
365
|
default:
|
366
366
|
return String(value);
|
367
367
|
}
|
@@ -404,8 +404,8 @@
|
|
404
404
|
"string" === typeof value
|
405
405
|
? value
|
406
406
|
: "object" === typeof value && null !== value
|
407
|
-
|
408
|
-
|
407
|
+
? "{" + describeObjectForErrorMessage(value) + "}"
|
408
|
+
: "{" + describeValueForErrorMessage(value) + "}";
|
409
409
|
"" + i === expandedName
|
410
410
|
? ((start = objKind.length),
|
411
411
|
(length = value.length),
|
@@ -491,9 +491,9 @@
|
|
491
491
|
return void 0 === expandedName
|
492
492
|
? objKind
|
493
493
|
: -1 < start && 0 < length
|
494
|
-
|
495
|
-
|
496
|
-
|
494
|
+
? ((objectOrArray = " ".repeat(start) + "^".repeat(length)),
|
495
|
+
"\n " + objKind + "\n " + objectOrArray)
|
496
|
+
: "\n " + objKind;
|
497
497
|
}
|
498
498
|
function isNotExternal(stackFrame) {
|
499
499
|
return !externalRegExp.test(stackFrame[1]);
|
@@ -557,10 +557,10 @@
|
|
557
557
|
return "Server";
|
558
558
|
}
|
559
559
|
: "function" !== typeof environmentName
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
560
|
+
? function () {
|
561
|
+
return environmentName;
|
562
|
+
}
|
563
|
+
: environmentName;
|
564
564
|
this.didWarnForKey = null;
|
565
565
|
model = createTask(this, model, null, !1, abortSet, null);
|
566
566
|
pingedTasks.push(model);
|
@@ -1098,10 +1098,10 @@
|
|
1098
1098
|
? "$-0"
|
1099
1099
|
: number
|
1100
1100
|
: Infinity === number
|
1101
|
-
|
1102
|
-
|
1103
|
-
|
1104
|
-
|
1101
|
+
? "$Infinity"
|
1102
|
+
: -Infinity === number
|
1103
|
+
? "$-Infinity"
|
1104
|
+
: "$NaN";
|
1105
1105
|
}
|
1106
1106
|
function encodeReferenceChunk(request, id, reference) {
|
1107
1107
|
request = stringify(reference);
|
@@ -1535,10 +1535,10 @@
|
|
1535
1535
|
parent[parentPropertyName] instanceof Date
|
1536
1536
|
? "$D" + value
|
1537
1537
|
: 1024 <= value.length && null !== byteLengthOfChunk
|
1538
|
-
|
1539
|
-
|
1540
|
-
|
1541
|
-
|
1538
|
+
? serializeLargeTextString(request, value)
|
1539
|
+
: "$" === value[0]
|
1540
|
+
? "$" + value
|
1541
|
+
: value;
|
1542
1542
|
if ("boolean" === typeof value) return value;
|
1543
1543
|
if ("number" === typeof value) return serializeNumber(value);
|
1544
1544
|
if ("undefined" === typeof value) return "$undefined";
|
@@ -1688,6 +1688,15 @@
|
|
1688
1688
|
}
|
1689
1689
|
}
|
1690
1690
|
var stack$jscomp$0 = stack.filter(isNotExternal);
|
1691
|
+
for (frames = 0; frames < stack$jscomp$0.length; frames++) {
|
1692
|
+
var callsite = stack$jscomp$0[frames],
|
1693
|
+
url = callsite[1];
|
1694
|
+
if (url.startsWith("rsc://React/")) {
|
1695
|
+
var suffixIdx = url.lastIndexOf("?");
|
1696
|
+
-1 < suffixIdx && (callsite[1] = url.slice(12, suffixIdx));
|
1697
|
+
}
|
1698
|
+
}
|
1699
|
+
var stack$jscomp$1 = stack$jscomp$0;
|
1691
1700
|
var errorEnv = error.environmentName;
|
1692
1701
|
"string" === typeof errorEnv && (env = errorEnv);
|
1693
1702
|
} else
|
@@ -1695,14 +1704,14 @@
|
|
1695
1704
|
"object" === typeof error && null !== error
|
1696
1705
|
? describeObjectForErrorMessage(error)
|
1697
1706
|
: String(error)),
|
1698
|
-
(stack$jscomp$
|
1707
|
+
(stack$jscomp$1 = []);
|
1699
1708
|
} catch (x) {
|
1700
1709
|
message = "An error occurred but serializing the error message failed.";
|
1701
1710
|
}
|
1702
1711
|
digest = {
|
1703
1712
|
digest: digest,
|
1704
1713
|
message: message,
|
1705
|
-
stack: stack$jscomp$
|
1714
|
+
stack: stack$jscomp$1,
|
1706
1715
|
env: env
|
1707
1716
|
};
|
1708
1717
|
id = id.toString(16) + ":E" + stringify(digest) + "\n";
|
@@ -1798,55 +1807,70 @@
|
|
1798
1807
|
return void 0 !== parent
|
1799
1808
|
? parent
|
1800
1809
|
: isArrayImpl(value)
|
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
|
-
|
1832
|
-
|
1833
|
-
|
1834
|
-
|
1835
|
-
|
1836
|
-
|
1837
|
-
|
1838
|
-
|
1839
|
-
|
1840
|
-
|
1810
|
+
? value
|
1811
|
+
: value instanceof Map
|
1812
|
+
? ((value = Array.from(value)),
|
1813
|
+
"$Q" +
|
1814
|
+
outlineConsoleValue(request, counter, value).toString(16))
|
1815
|
+
: value instanceof Set
|
1816
|
+
? ((value = Array.from(value)),
|
1817
|
+
"$W" +
|
1818
|
+
outlineConsoleValue(request, counter, value).toString(16))
|
1819
|
+
: "function" === typeof FormData && value instanceof FormData
|
1820
|
+
? serializeFormData(request, value)
|
1821
|
+
: value instanceof ArrayBuffer
|
1822
|
+
? serializeTypedArray(request, "A", new Uint8Array(value))
|
1823
|
+
: value instanceof Int8Array
|
1824
|
+
? serializeTypedArray(request, "O", value)
|
1825
|
+
: value instanceof Uint8Array
|
1826
|
+
? serializeTypedArray(request, "o", value)
|
1827
|
+
: value instanceof Uint8ClampedArray
|
1828
|
+
? serializeTypedArray(request, "U", value)
|
1829
|
+
: value instanceof Int16Array
|
1830
|
+
? serializeTypedArray(request, "S", value)
|
1831
|
+
: value instanceof Uint16Array
|
1832
|
+
? serializeTypedArray(request, "s", value)
|
1833
|
+
: value instanceof Int32Array
|
1834
|
+
? serializeTypedArray(request, "L", value)
|
1835
|
+
: value instanceof Uint32Array
|
1836
|
+
? serializeTypedArray(request, "l", value)
|
1837
|
+
: value instanceof Float32Array
|
1838
|
+
? serializeTypedArray(request, "G", value)
|
1839
|
+
: value instanceof Float64Array
|
1840
|
+
? serializeTypedArray(request, "g", value)
|
1841
|
+
: value instanceof BigInt64Array
|
1842
|
+
? serializeTypedArray(
|
1843
|
+
request,
|
1844
|
+
"M",
|
1845
|
+
value
|
1846
|
+
)
|
1847
|
+
: value instanceof BigUint64Array
|
1848
|
+
? serializeTypedArray(
|
1849
|
+
request,
|
1850
|
+
"m",
|
1851
|
+
value
|
1852
|
+
)
|
1853
|
+
: value instanceof DataView
|
1854
|
+
? serializeTypedArray(
|
1855
|
+
request,
|
1856
|
+
"V",
|
1857
|
+
value
|
1858
|
+
)
|
1859
|
+
: "function" === typeof Blob &&
|
1860
|
+
value instanceof Blob
|
1861
|
+
? serializeBlob(request, value)
|
1862
|
+
: getIteratorFn(value)
|
1863
|
+
? Array.from(value)
|
1864
|
+
: value;
|
1841
1865
|
}
|
1842
1866
|
if ("string" === typeof value)
|
1843
1867
|
return "Z" === value[value.length - 1] && originalValue instanceof Date
|
1844
1868
|
? "$D" + value
|
1845
1869
|
: 1024 <= value.length
|
1846
|
-
|
1847
|
-
|
1848
|
-
|
1849
|
-
|
1870
|
+
? serializeLargeTextString(request, value)
|
1871
|
+
: "$" === value[0]
|
1872
|
+
? "$" + value
|
1873
|
+
: value;
|
1850
1874
|
if ("boolean" === typeof value) return value;
|
1851
1875
|
if ("number" === typeof value) return serializeNumber(value);
|
1852
1876
|
if ("undefined" === typeof value) return "$undefined";
|
@@ -1854,10 +1878,10 @@
|
|
1854
1878
|
return value.$$typeof === CLIENT_REFERENCE_TAG$1
|
1855
1879
|
? serializeClientReference(request, parent, parentPropertyName, value)
|
1856
1880
|
: void 0 !== request.temporaryReferences &&
|
1857
|
-
|
1858
|
-
|
1859
|
-
|
1860
|
-
|
1881
|
+
((request = request.temporaryReferences.get(value)),
|
1882
|
+
void 0 !== request)
|
1883
|
+
? "$T" + request
|
1884
|
+
: "$E(" + (Function.prototype.toString.call(value) + ")");
|
1861
1885
|
if ("symbol" === typeof value) {
|
1862
1886
|
counter = request.writtenSymbols.get(value);
|
1863
1887
|
if (void 0 !== counter) return serializeByValueID(counter);
|
@@ -1903,33 +1927,33 @@
|
|
1903
1927
|
"string" === typeof value && null !== byteLengthOfChunk
|
1904
1928
|
? emitTextChunk(request, id, value)
|
1905
1929
|
: value instanceof ArrayBuffer
|
1906
|
-
|
1907
|
-
|
1908
|
-
|
1909
|
-
|
1910
|
-
|
1911
|
-
|
1912
|
-
|
1913
|
-
|
1914
|
-
|
1915
|
-
|
1916
|
-
|
1917
|
-
|
1918
|
-
|
1919
|
-
|
1920
|
-
|
1921
|
-
|
1922
|
-
|
1923
|
-
|
1924
|
-
|
1925
|
-
|
1926
|
-
|
1927
|
-
|
1928
|
-
|
1929
|
-
|
1930
|
-
|
1931
|
-
|
1932
|
-
|
1930
|
+
? emitTypedArrayChunk(request, id, "A", new Uint8Array(value))
|
1931
|
+
: value instanceof Int8Array
|
1932
|
+
? emitTypedArrayChunk(request, id, "O", value)
|
1933
|
+
: value instanceof Uint8Array
|
1934
|
+
? emitTypedArrayChunk(request, id, "o", value)
|
1935
|
+
: value instanceof Uint8ClampedArray
|
1936
|
+
? emitTypedArrayChunk(request, id, "U", value)
|
1937
|
+
: value instanceof Int16Array
|
1938
|
+
? emitTypedArrayChunk(request, id, "S", value)
|
1939
|
+
: value instanceof Uint16Array
|
1940
|
+
? emitTypedArrayChunk(request, id, "s", value)
|
1941
|
+
: value instanceof Int32Array
|
1942
|
+
? emitTypedArrayChunk(request, id, "L", value)
|
1943
|
+
: value instanceof Uint32Array
|
1944
|
+
? emitTypedArrayChunk(request, id, "l", value)
|
1945
|
+
: value instanceof Float32Array
|
1946
|
+
? emitTypedArrayChunk(request, id, "G", value)
|
1947
|
+
: value instanceof Float64Array
|
1948
|
+
? emitTypedArrayChunk(request, id, "g", value)
|
1949
|
+
: value instanceof BigInt64Array
|
1950
|
+
? emitTypedArrayChunk(request, id, "M", value)
|
1951
|
+
: value instanceof BigUint64Array
|
1952
|
+
? emitTypedArrayChunk(request, id, "m", value)
|
1953
|
+
: value instanceof DataView
|
1954
|
+
? emitTypedArrayChunk(request, id, "V", value)
|
1955
|
+
: ((value = stringify(value, task.toJSON)),
|
1956
|
+
emitModelChunk(request, task.id, value));
|
1933
1957
|
}
|
1934
1958
|
function retryTask(request, task) {
|
1935
1959
|
if (0 === task.status) {
|
@@ -2140,10 +2164,12 @@
|
|
2140
2164
|
"The render was aborted by the server without a reason."
|
2141
2165
|
)
|
2142
2166
|
: "object" === typeof reason &&
|
2143
|
-
|
2144
|
-
|
2145
|
-
|
2146
|
-
|
2167
|
+
null !== reason &&
|
2168
|
+
"function" === typeof reason.then
|
2169
|
+
? Error(
|
2170
|
+
"The render was aborted by the server with a promise."
|
2171
|
+
)
|
2172
|
+
: reason,
|
2147
2173
|
digest = logRecoverableError(request, error, null);
|
2148
2174
|
emitErrorChunk(request, errorId, digest, error);
|
2149
2175
|
abortableTasks.forEach(function (task) {
|
@@ -2162,10 +2188,10 @@
|
|
2162
2188
|
void 0 === reason
|
2163
2189
|
? Error("The render was aborted by the server without a reason.")
|
2164
2190
|
: "object" === typeof reason &&
|
2165
|
-
|
2166
|
-
|
2167
|
-
|
2168
|
-
|
2191
|
+
null !== reason &&
|
2192
|
+
"function" === typeof reason.then
|
2193
|
+
? Error("The render was aborted by the server with a promise.")
|
2194
|
+
: reason;
|
2169
2195
|
abortListeners.forEach(function (callback) {
|
2170
2196
|
return callback(_error);
|
2171
2197
|
});
|
@@ -2237,8 +2263,8 @@
|
|
2237
2263
|
return requireAsyncModule(metadata[0]);
|
2238
2264
|
})
|
2239
2265
|
: 0 < promises.length
|
2240
|
-
|
2241
|
-
|
2266
|
+
? Promise.all(promises)
|
2267
|
+
: null;
|
2242
2268
|
}
|
2243
2269
|
function requireModule(metadata) {
|
2244
2270
|
var moduleExports = __webpack_require__(metadata[0]);
|
@@ -2249,10 +2275,10 @@
|
|
2249
2275
|
return "*" === metadata[2]
|
2250
2276
|
? moduleExports
|
2251
2277
|
: "" === metadata[2]
|
2252
|
-
|
2253
|
-
|
2254
|
-
|
2255
|
-
|
2278
|
+
? moduleExports.__esModule
|
2279
|
+
? moduleExports.default
|
2280
|
+
: moduleExports
|
2281
|
+
: moduleExports[metadata[2]];
|
2256
2282
|
}
|
2257
2283
|
function Chunk(status, value, reason, response) {
|
2258
2284
|
this.status = status;
|
@@ -2909,10 +2935,10 @@
|
|
2909
2935
|
return fn.bind.apply(fn, [null].concat(_ref));
|
2910
2936
|
})
|
2911
2937
|
: bundlerConfig
|
2912
|
-
|
2913
|
-
|
2914
|
-
|
2915
|
-
|
2938
|
+
? Promise.resolve(bundlerConfig).then(function () {
|
2939
|
+
return requireModule(serverReference);
|
2940
|
+
})
|
2941
|
+
: Promise.resolve(requireModule(serverReference));
|
2916
2942
|
}
|
2917
2943
|
function decodeBoundActionMetaData(body, serverManifest, formFieldPrefix) {
|
2918
2944
|
body = createResponse(serverManifest, formFieldPrefix, void 0, body);
|
@@ -3115,8 +3141,8 @@
|
|
3115
3141
|
options
|
3116
3142
|
])
|
3117
3143
|
: "string" === typeof precedence
|
3118
|
-
|
3119
|
-
|
3144
|
+
? emitHint(request, "S", [href, precedence])
|
3145
|
+
: emitHint(request, "S", href);
|
3120
3146
|
}
|
3121
3147
|
previousDispatcher.S(href, precedence, options);
|
3122
3148
|
}
|
@@ -3454,12 +3480,12 @@
|
|
3454
3480
|
"React doesn't accept base64 encoded file uploads because we don't expect form data passed from a browser to ever encode data that way. If that's the wrong assumption, we can easily fix it."
|
3455
3481
|
);
|
3456
3482
|
pendingFiles++;
|
3457
|
-
var
|
3483
|
+
var JSCompiler_object_inline_chunks_143 = [];
|
3458
3484
|
value.on("data", function (chunk) {
|
3459
|
-
|
3485
|
+
JSCompiler_object_inline_chunks_143.push(chunk);
|
3460
3486
|
});
|
3461
3487
|
value.on("end", function () {
|
3462
|
-
var blob = new Blob(
|
3488
|
+
var blob = new Blob(JSCompiler_object_inline_chunks_143, {
|
3463
3489
|
type: mimeType
|
3464
3490
|
});
|
3465
3491
|
response._formData.append(name, blob, filename);
|