react-server-dom-webpack 19.0.0-rc-d025ddd3-20240722 → 19.0.0-rc-ab2135c7-20240724
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
@@ -342,8 +342,8 @@ function preinitStyle(href, precedence, options) {
|
|
342
342
|
options
|
343
343
|
])
|
344
344
|
: "string" === typeof precedence
|
345
|
-
|
346
|
-
|
345
|
+
? emitHint(request, "S", [href, precedence])
|
346
|
+
: emitHint(request, "S", href);
|
347
347
|
}
|
348
348
|
previousDispatcher.S(href, precedence, options);
|
349
349
|
}
|
@@ -630,8 +630,8 @@ function describeValueForErrorMessage(value) {
|
|
630
630
|
return value.$$typeof === CLIENT_REFERENCE_TAG
|
631
631
|
? "client"
|
632
632
|
: (value = value.displayName || value.name)
|
633
|
-
|
634
|
-
|
633
|
+
? "function " + value
|
634
|
+
: "function";
|
635
635
|
default:
|
636
636
|
return String(value);
|
637
637
|
}
|
@@ -712,9 +712,9 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) {
|
|
712
712
|
return void 0 === expandedName
|
713
713
|
? str
|
714
714
|
: -1 < objKind && 0 < length
|
715
|
-
|
716
|
-
|
717
|
-
|
715
|
+
? ((objectOrArray = " ".repeat(objKind) + "^".repeat(length)),
|
716
|
+
"\n " + str + "\n " + objectOrArray)
|
717
|
+
: "\n " + str;
|
718
718
|
}
|
719
719
|
var ObjectPrototype = Object.prototype,
|
720
720
|
stringify = JSON.stringify,
|
@@ -1511,10 +1511,10 @@ function renderModelDestructive(
|
|
1511
1511
|
? "$-0"
|
1512
1512
|
: value
|
1513
1513
|
: Infinity === value
|
1514
|
-
|
1515
|
-
|
1516
|
-
|
1517
|
-
|
1514
|
+
? "$Infinity"
|
1515
|
+
: -Infinity === value
|
1516
|
+
? "$-Infinity"
|
1517
|
+
: "$NaN";
|
1518
1518
|
if ("undefined" === typeof value) return "$undefined";
|
1519
1519
|
if ("function" === typeof value) {
|
1520
1520
|
if (value.$$typeof === CLIENT_REFERENCE_TAG$1)
|
@@ -1649,33 +1649,33 @@ function emitChunk(request, task, value) {
|
|
1649
1649
|
"string" === typeof value && null !== byteLengthOfChunk
|
1650
1650
|
? emitTextChunk(request, id, value)
|
1651
1651
|
: value instanceof ArrayBuffer
|
1652
|
-
|
1653
|
-
|
1654
|
-
|
1655
|
-
|
1656
|
-
|
1657
|
-
|
1658
|
-
|
1659
|
-
|
1660
|
-
|
1661
|
-
|
1662
|
-
|
1663
|
-
|
1664
|
-
|
1665
|
-
|
1666
|
-
|
1667
|
-
|
1668
|
-
|
1669
|
-
|
1670
|
-
|
1671
|
-
|
1672
|
-
|
1673
|
-
|
1674
|
-
|
1675
|
-
|
1676
|
-
|
1677
|
-
|
1678
|
-
|
1652
|
+
? emitTypedArrayChunk(request, id, "A", new Uint8Array(value))
|
1653
|
+
: value instanceof Int8Array
|
1654
|
+
? emitTypedArrayChunk(request, id, "O", value)
|
1655
|
+
: value instanceof Uint8Array
|
1656
|
+
? emitTypedArrayChunk(request, id, "o", value)
|
1657
|
+
: value instanceof Uint8ClampedArray
|
1658
|
+
? emitTypedArrayChunk(request, id, "U", value)
|
1659
|
+
: value instanceof Int16Array
|
1660
|
+
? emitTypedArrayChunk(request, id, "S", value)
|
1661
|
+
: value instanceof Uint16Array
|
1662
|
+
? emitTypedArrayChunk(request, id, "s", value)
|
1663
|
+
: value instanceof Int32Array
|
1664
|
+
? emitTypedArrayChunk(request, id, "L", value)
|
1665
|
+
: value instanceof Uint32Array
|
1666
|
+
? emitTypedArrayChunk(request, id, "l", value)
|
1667
|
+
: value instanceof Float32Array
|
1668
|
+
? emitTypedArrayChunk(request, id, "G", value)
|
1669
|
+
: value instanceof Float64Array
|
1670
|
+
? emitTypedArrayChunk(request, id, "g", value)
|
1671
|
+
: value instanceof BigInt64Array
|
1672
|
+
? emitTypedArrayChunk(request, id, "M", value)
|
1673
|
+
: value instanceof BigUint64Array
|
1674
|
+
? emitTypedArrayChunk(request, id, "m", value)
|
1675
|
+
: value instanceof DataView
|
1676
|
+
? emitTypedArrayChunk(request, id, "V", value)
|
1677
|
+
: ((value = stringify(value, task.toJSON)),
|
1678
|
+
emitModelChunk(request, task.id, value));
|
1679
1679
|
}
|
1680
1680
|
var emptyRoot = {};
|
1681
1681
|
function retryTask(request, task) {
|
@@ -1857,10 +1857,10 @@ function abort(request, reason) {
|
|
1857
1857
|
void 0 === reason
|
1858
1858
|
? Error("The render was aborted by the server without a reason.")
|
1859
1859
|
: "object" === typeof reason &&
|
1860
|
-
|
1861
|
-
|
1862
|
-
|
1863
|
-
|
1860
|
+
null !== reason &&
|
1861
|
+
"function" === typeof reason.then
|
1862
|
+
? Error("The render was aborted by the server with a promise.")
|
1863
|
+
: reason,
|
1864
1864
|
digest = logRecoverableError(request, error, null);
|
1865
1865
|
emitErrorChunk(request, errorId, digest, error);
|
1866
1866
|
abortableTasks.forEach(function (task) {
|
@@ -1879,10 +1879,10 @@ function abort(request, reason) {
|
|
1879
1879
|
void 0 === reason
|
1880
1880
|
? Error("The render was aborted by the server without a reason.")
|
1881
1881
|
: "object" === typeof reason &&
|
1882
|
-
|
1883
|
-
|
1884
|
-
|
1885
|
-
|
1882
|
+
null !== reason &&
|
1883
|
+
"function" === typeof reason.then
|
1884
|
+
? Error("The render was aborted by the server with a promise.")
|
1885
|
+
: reason;
|
1886
1886
|
abortListeners.forEach(function (callback) {
|
1887
1887
|
return callback(error$26);
|
1888
1888
|
});
|
@@ -1950,8 +1950,8 @@ function preloadModule(metadata) {
|
|
1950
1950
|
return requireAsyncModule(metadata[0]);
|
1951
1951
|
})
|
1952
1952
|
: 0 < promises.length
|
1953
|
-
|
1954
|
-
|
1953
|
+
? Promise.all(promises)
|
1954
|
+
: null;
|
1955
1955
|
}
|
1956
1956
|
function requireModule(metadata) {
|
1957
1957
|
var moduleExports = __webpack_require__(metadata[0]);
|
@@ -1962,10 +1962,10 @@ function requireModule(metadata) {
|
|
1962
1962
|
return "*" === metadata[2]
|
1963
1963
|
? moduleExports
|
1964
1964
|
: "" === metadata[2]
|
1965
|
-
|
1966
|
-
|
1967
|
-
|
1968
|
-
|
1965
|
+
? moduleExports.__esModule
|
1966
|
+
? moduleExports.default
|
1967
|
+
: moduleExports
|
1968
|
+
: moduleExports[metadata[2]];
|
1969
1969
|
}
|
1970
1970
|
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
1971
1971
|
function Chunk(status, value, reason, response) {
|
@@ -2599,10 +2599,10 @@ function loadServerReference(bundlerConfig, id, bound) {
|
|
2599
2599
|
return fn.bind.apply(fn, [null].concat(_ref));
|
2600
2600
|
})
|
2601
2601
|
: bundlerConfig
|
2602
|
-
|
2603
|
-
|
2604
|
-
|
2605
|
-
|
2602
|
+
? Promise.resolve(bundlerConfig).then(function () {
|
2603
|
+
return requireModule(serverReference);
|
2604
|
+
})
|
2605
|
+
: Promise.resolve(requireModule(serverReference));
|
2606
2606
|
}
|
2607
2607
|
function decodeBoundActionMetaData(body, serverManifest, formFieldPrefix) {
|
2608
2608
|
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
|
});
|
@@ -2216,8 +2242,8 @@
|
|
2216
2242
|
return "*" === metadata.name
|
2217
2243
|
? moduleExports
|
2218
2244
|
: "" === metadata.name
|
2219
|
-
|
2220
|
-
|
2245
|
+
? moduleExports.default
|
2246
|
+
: moduleExports[metadata.name];
|
2221
2247
|
}
|
2222
2248
|
function Chunk(status, value, reason, response) {
|
2223
2249
|
this.status = status;
|
@@ -2874,10 +2900,10 @@
|
|
2874
2900
|
return fn.bind.apply(fn, [null].concat(_ref));
|
2875
2901
|
})
|
2876
2902
|
: bundlerConfig
|
2877
|
-
|
2878
|
-
|
2879
|
-
|
2880
|
-
|
2903
|
+
? Promise.resolve(bundlerConfig).then(function () {
|
2904
|
+
return requireModule(serverReference);
|
2905
|
+
})
|
2906
|
+
: Promise.resolve(requireModule(serverReference));
|
2881
2907
|
}
|
2882
2908
|
function decodeBoundActionMetaData(body, serverManifest, formFieldPrefix) {
|
2883
2909
|
body = createResponse(serverManifest, formFieldPrefix, void 0, body);
|
@@ -3080,8 +3106,8 @@
|
|
3080
3106
|
options
|
3081
3107
|
])
|
3082
3108
|
: "string" === typeof precedence
|
3083
|
-
|
3084
|
-
|
3109
|
+
? emitHint(request, "S", [href, precedence])
|
3110
|
+
: emitHint(request, "S", href);
|
3085
3111
|
}
|
3086
3112
|
previousDispatcher.S(href, precedence, options);
|
3087
3113
|
}
|
@@ -3419,12 +3445,12 @@
|
|
3419
3445
|
"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."
|
3420
3446
|
);
|
3421
3447
|
pendingFiles++;
|
3422
|
-
var
|
3448
|
+
var JSCompiler_object_inline_chunks_143 = [];
|
3423
3449
|
value.on("data", function (chunk) {
|
3424
|
-
|
3450
|
+
JSCompiler_object_inline_chunks_143.push(chunk);
|
3425
3451
|
});
|
3426
3452
|
value.on("end", function () {
|
3427
|
-
var blob = new Blob(
|
3453
|
+
var blob = new Blob(JSCompiler_object_inline_chunks_143, {
|
3428
3454
|
type: mimeType
|
3429
3455
|
});
|
3430
3456
|
response._formData.append(name, blob, filename);
|