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.
@@ -154,8 +154,8 @@
154
154
  return value.$$typeof === CLIENT_REFERENCE_TAG
155
155
  ? "client"
156
156
  : (value = value.displayName || value.name)
157
- ? "function " + value
158
- : "function";
157
+ ? "function " + value
158
+ : "function";
159
159
  default:
160
160
  return String(value);
161
161
  }
@@ -198,8 +198,8 @@
198
198
  "string" === typeof value
199
199
  ? value
200
200
  : "object" === typeof value && null !== value
201
- ? "{" + describeObjectForErrorMessage(value) + "}"
202
- : "{" + describeValueForErrorMessage(value) + "}";
201
+ ? "{" + describeObjectForErrorMessage(value) + "}"
202
+ : "{" + describeValueForErrorMessage(value) + "}";
203
203
  "" + i === expandedName
204
204
  ? ((start = objKind.length),
205
205
  (length = value.length),
@@ -285,9 +285,9 @@
285
285
  return void 0 === expandedName
286
286
  ? objKind
287
287
  : -1 < start && 0 < length
288
- ? ((objectOrArray = " ".repeat(start) + "^".repeat(length)),
289
- "\n " + objKind + "\n " + objectOrArray)
290
- : "\n " + objKind;
288
+ ? ((objectOrArray = " ".repeat(start) + "^".repeat(length)),
289
+ "\n " + objKind + "\n " + objectOrArray)
290
+ : "\n " + objKind;
291
291
  }
292
292
  function serializeNumber(number) {
293
293
  return Number.isFinite(number)
@@ -295,10 +295,10 @@
295
295
  ? "$-0"
296
296
  : number
297
297
  : Infinity === number
298
- ? "$Infinity"
299
- : -Infinity === number
300
- ? "$-Infinity"
301
- : "$NaN";
298
+ ? "$Infinity"
299
+ : -Infinity === number
300
+ ? "$-Infinity"
301
+ : "$NaN";
302
302
  }
303
303
  function processReply(
304
304
  root,
@@ -610,24 +610,24 @@
610
610
  describeObjectForErrorMessage(this, key)
611
611
  )
612
612
  : "Object" !== objectName(value)
613
- ? console.error(
614
- "Only plain objects can be passed to Server Functions from the Client. %s objects are not supported.%s",
615
- objectName(value),
616
- describeObjectForErrorMessage(this, key)
617
- )
618
- : isSimpleObject(value)
619
- ? Object.getOwnPropertySymbols &&
620
- ((parentReference = Object.getOwnPropertySymbols(value)),
621
- 0 < parentReference.length &&
622
- console.error(
623
- "Only plain objects can be passed to Server Functions from the Client. Objects with symbol properties like %s are not supported.%s",
624
- parentReference[0].description,
613
+ ? console.error(
614
+ "Only plain objects can be passed to Server Functions from the Client. %s objects are not supported.%s",
615
+ objectName(value),
625
616
  describeObjectForErrorMessage(this, key)
626
- ))
627
- : console.error(
628
- "Only plain objects can be passed to Server Functions from the Client. Classes or other objects with methods are not supported.%s",
629
- describeObjectForErrorMessage(this, key)
630
- );
617
+ )
618
+ : isSimpleObject(value)
619
+ ? Object.getOwnPropertySymbols &&
620
+ ((parentReference = Object.getOwnPropertySymbols(value)),
621
+ 0 < parentReference.length &&
622
+ console.error(
623
+ "Only plain objects can be passed to Server Functions from the Client. Objects with symbol properties like %s are not supported.%s",
624
+ parentReference[0].description,
625
+ describeObjectForErrorMessage(this, key)
626
+ ))
627
+ : console.error(
628
+ "Only plain objects can be passed to Server Functions from the Client. Classes or other objects with methods are not supported.%s",
629
+ describeObjectForErrorMessage(this, key)
630
+ );
631
631
  return value;
632
632
  }
633
633
  if ("string" === typeof value) {
@@ -1060,8 +1060,8 @@
1060
1060
  "*" === metadata.name
1061
1061
  ? moduleExports
1062
1062
  : "" === metadata.name
1063
- ? moduleExports.default
1064
- : moduleExports[metadata.name];
1063
+ ? moduleExports.default
1064
+ : moduleExports[metadata.name];
1065
1065
  chunk.status = "fulfilled";
1066
1066
  chunk.value = value;
1067
1067
  } catch (error) {
@@ -2145,10 +2145,10 @@
2145
2145
  86 === rowState
2146
2146
  ? ((rowTag = rowState), (rowState = 2), i++)
2147
2147
  : (64 < rowState && 91 > rowState) ||
2148
- 114 === rowState ||
2149
- 120 === rowState
2150
- ? ((rowTag = rowState), (rowState = 3), i++)
2151
- : ((rowTag = 0), (rowState = 3));
2148
+ 114 === rowState ||
2149
+ 120 === rowState
2150
+ ? ((rowTag = rowState), (rowState = 3), i++)
2151
+ : ((rowTag = 0), (rowState = 3));
2152
2152
  continue;
2153
2153
  case 2:
2154
2154
  lastIdx = chunk.charCodeAt(i++);
@@ -2228,10 +2228,10 @@
2228
2228
  86 === chunkLength
2229
2229
  ? ((i = chunkLength), (chunkLength = 2), rowLength++)
2230
2230
  : (64 < chunkLength && 91 > chunkLength) ||
2231
- 114 === chunkLength ||
2232
- 120 === chunkLength
2233
- ? ((i = chunkLength), (chunkLength = 3), rowLength++)
2234
- : ((i = 0), (chunkLength = 3));
2231
+ 114 === chunkLength ||
2232
+ 120 === chunkLength
2233
+ ? ((i = chunkLength), (chunkLength = 3), rowLength++)
2234
+ : ((i = 0), (chunkLength = 3));
2235
2235
  continue;
2236
2236
  case 2:
2237
2237
  lastIdx = chunk[rowLength++];
@@ -101,10 +101,10 @@ function serializeNumber(number) {
101
101
  ? "$-0"
102
102
  : number
103
103
  : Infinity === number
104
- ? "$Infinity"
105
- : -Infinity === number
106
- ? "$-Infinity"
107
- : "$NaN";
104
+ ? "$Infinity"
105
+ : -Infinity === number
106
+ ? "$-Infinity"
107
+ : "$NaN";
108
108
  }
109
109
  function processReply(
110
110
  root,
@@ -772,8 +772,8 @@ function initializeModuleChunk(chunk) {
772
772
  "*" === metadata.name
773
773
  ? moduleExports
774
774
  : "" === metadata.name
775
- ? moduleExports.default
776
- : moduleExports[metadata.name];
775
+ ? moduleExports.default
776
+ : moduleExports[metadata.name];
777
777
  chunk.status = "fulfilled";
778
778
  chunk.value = JSCompiler_inline_result;
779
779
  } catch (error) {
@@ -1540,10 +1540,10 @@ exports.createFromNodeStream = function (stream, ssrManifest, options) {
1540
1540
  86 === rowState
1541
1541
  ? ((rowTag = rowState), (rowState = 2), i++)
1542
1542
  : (64 < rowState && 91 > rowState) ||
1543
- 114 === rowState ||
1544
- 120 === rowState
1545
- ? ((rowTag = rowState), (rowState = 3), i++)
1546
- : ((rowTag = 0), (rowState = 3));
1543
+ 114 === rowState ||
1544
+ 120 === rowState
1545
+ ? ((rowTag = rowState), (rowState = 3), i++)
1546
+ : ((rowTag = 0), (rowState = 3));
1547
1547
  continue;
1548
1548
  case 2:
1549
1549
  lastIdx = chunk.charCodeAt(i++);
@@ -1622,10 +1622,10 @@ exports.createFromNodeStream = function (stream, ssrManifest, options) {
1622
1622
  86 === chunkLength
1623
1623
  ? ((i = chunkLength), (chunkLength = 2), rowLength++)
1624
1624
  : (64 < chunkLength && 91 > chunkLength) ||
1625
- 114 === chunkLength ||
1626
- 120 === chunkLength
1627
- ? ((i = chunkLength), (chunkLength = 3), rowLength++)
1628
- : ((i = 0), (chunkLength = 3));
1625
+ 114 === chunkLength ||
1626
+ 120 === chunkLength
1627
+ ? ((i = chunkLength), (chunkLength = 3), rowLength++)
1628
+ : ((i = 0), (chunkLength = 3));
1629
1629
  continue;
1630
1630
  case 2:
1631
1631
  lastIdx = chunk[rowLength++];
@@ -156,7 +156,7 @@ class ReactFlightWebpackPlugin {
156
156
  ClientReferenceDependency,
157
157
  new NullDependency.Template()
158
158
  );
159
- compilation = parser => {
159
+ compilation = (parser) => {
160
160
  parser.hooks.program.tap("React Server Plugin", () => {
161
161
  const module = parser.state.module;
162
162
  if (
@@ -189,7 +189,7 @@ class ReactFlightWebpackPlugin {
189
189
  .tap("HarmonyModulesPlugin", compilation);
190
190
  }
191
191
  );
192
- compiler.hooks.make.tap("React Server Plugin", compilation => {
192
+ compiler.hooks.make.tap("React Server Plugin", (compilation) => {
193
193
  compilation.hooks.processAssets.tap(
194
194
  {
195
195
  name: "React Server Plugin",
@@ -214,7 +214,7 @@ class ReactFlightWebpackPlugin {
214
214
  : "anonymous"
215
215
  : null;
216
216
  var resolvedClientFiles = new Set(
217
- (resolvedClientReferences || []).map(ref => ref.request)
217
+ (resolvedClientReferences || []).map((ref) => ref.request)
218
218
  ),
219
219
  clientManifest = {},
220
220
  moduleMap = {};
@@ -226,9 +226,9 @@ class ReactFlightWebpackPlugin {
226
226
  moduleMap
227
227
  };
228
228
  var runtimeChunkFiles = new Set();
229
- compilation.entrypoints.forEach(entrypoint => {
229
+ compilation.entrypoints.forEach((entrypoint) => {
230
230
  (entrypoint = entrypoint.getRuntimeChunk()) &&
231
- entrypoint.files.forEach(runtimeFile => {
231
+ entrypoint.files.forEach((runtimeFile) => {
232
232
  runtimeChunkFiles.add(runtimeFile);
233
233
  });
234
234
  });
@@ -269,7 +269,7 @@ class ReactFlightWebpackPlugin {
269
269
  const moduleId = compilation.chunkGraph.getModuleId(module);
270
270
  recordModule(moduleId, module);
271
271
  module.modules &&
272
- module.modules.forEach(concatenatedMod => {
272
+ module.modules.forEach((concatenatedMod) => {
273
273
  recordModule(moduleId, concatenatedMod);
274
274
  });
275
275
  });
@@ -347,7 +347,7 @@ class ReactFlightWebpackPlugin {
347
347
  },
348
348
  (err2, deps) => {
349
349
  if (err2) return cb(err2);
350
- err2 = deps.map(dep => {
350
+ err2 = deps.map((dep) => {
351
351
  var request = path.join(
352
352
  resolvedDirectory,
353
353
  dep.userRequest
@@ -337,8 +337,8 @@
337
337
  return value.$$typeof === CLIENT_REFERENCE_TAG
338
338
  ? "client"
339
339
  : (value = value.displayName || value.name)
340
- ? "function " + value
341
- : "function";
340
+ ? "function " + value
341
+ : "function";
342
342
  default:
343
343
  return String(value);
344
344
  }
@@ -381,8 +381,8 @@
381
381
  "string" === typeof value
382
382
  ? value
383
383
  : "object" === typeof value && null !== value
384
- ? "{" + describeObjectForErrorMessage(value) + "}"
385
- : "{" + describeValueForErrorMessage(value) + "}";
384
+ ? "{" + describeObjectForErrorMessage(value) + "}"
385
+ : "{" + describeValueForErrorMessage(value) + "}";
386
386
  "" + i === expandedName
387
387
  ? ((start = objKind.length),
388
388
  (length = value.length),
@@ -468,9 +468,9 @@
468
468
  return void 0 === expandedName
469
469
  ? objKind
470
470
  : -1 < start && 0 < length
471
- ? ((objectOrArray = " ".repeat(start) + "^".repeat(length)),
472
- "\n " + objKind + "\n " + objectOrArray)
473
- : "\n " + objKind;
471
+ ? ((objectOrArray = " ".repeat(start) + "^".repeat(length)),
472
+ "\n " + objKind + "\n " + objectOrArray)
473
+ : "\n " + objKind;
474
474
  }
475
475
  function isNotExternal(stackFrame) {
476
476
  return !externalRegExp.test(stackFrame[1]);
@@ -534,10 +534,10 @@
534
534
  return "Server";
535
535
  }
536
536
  : "function" !== typeof environmentName
537
- ? function () {
538
- return environmentName;
539
- }
540
- : environmentName;
537
+ ? function () {
538
+ return environmentName;
539
+ }
540
+ : environmentName;
541
541
  this.didWarnForKey = null;
542
542
  model = createTask(this, model, null, !1, abortSet, null);
543
543
  pingedTasks.push(model);
@@ -1071,10 +1071,10 @@
1071
1071
  ? "$-0"
1072
1072
  : number
1073
1073
  : Infinity === number
1074
- ? "$Infinity"
1075
- : -Infinity === number
1076
- ? "$-Infinity"
1077
- : "$NaN";
1074
+ ? "$Infinity"
1075
+ : -Infinity === number
1076
+ ? "$-Infinity"
1077
+ : "$NaN";
1078
1078
  }
1079
1079
  function encodeReferenceChunk(request, id, reference) {
1080
1080
  request = stringify(reference);
@@ -1510,10 +1510,10 @@
1510
1510
  parent[parentPropertyName] instanceof Date
1511
1511
  ? "$D" + value
1512
1512
  : 1024 <= value.length && null !== byteLengthOfChunk
1513
- ? serializeLargeTextString(request, value)
1514
- : "$" === value[0]
1515
- ? "$" + value
1516
- : value;
1513
+ ? serializeLargeTextString(request, value)
1514
+ : "$" === value[0]
1515
+ ? "$" + value
1516
+ : value;
1517
1517
  if ("boolean" === typeof value) return value;
1518
1518
  if ("number" === typeof value) return serializeNumber(value);
1519
1519
  if ("undefined" === typeof value) return "$undefined";
@@ -1658,6 +1658,15 @@
1658
1658
  }
1659
1659
  }
1660
1660
  var stack$jscomp$0 = stack.filter(isNotExternal);
1661
+ for (frames = 0; frames < stack$jscomp$0.length; frames++) {
1662
+ var callsite = stack$jscomp$0[frames],
1663
+ url = callsite[1];
1664
+ if (url.startsWith("rsc://React/")) {
1665
+ var suffixIdx = url.lastIndexOf("?");
1666
+ -1 < suffixIdx && (callsite[1] = url.slice(12, suffixIdx));
1667
+ }
1668
+ }
1669
+ var stack$jscomp$1 = stack$jscomp$0;
1661
1670
  var errorEnv = error.environmentName;
1662
1671
  "string" === typeof errorEnv && (env = errorEnv);
1663
1672
  } else
@@ -1665,14 +1674,14 @@
1665
1674
  "object" === typeof error && null !== error
1666
1675
  ? describeObjectForErrorMessage(error)
1667
1676
  : String(error)),
1668
- (stack$jscomp$0 = []);
1677
+ (stack$jscomp$1 = []);
1669
1678
  } catch (x) {
1670
1679
  message = "An error occurred but serializing the error message failed.";
1671
1680
  }
1672
1681
  digest = {
1673
1682
  digest: digest,
1674
1683
  message: message,
1675
- stack: stack$jscomp$0,
1684
+ stack: stack$jscomp$1,
1676
1685
  env: env
1677
1686
  };
1678
1687
  id = id.toString(16) + ":E" + stringify(digest) + "\n";
@@ -1775,55 +1784,70 @@
1775
1784
  return void 0 !== parent
1776
1785
  ? parent
1777
1786
  : isArrayImpl(value)
1778
- ? value
1779
- : value instanceof Map
1780
- ? ((value = Array.from(value)),
1781
- "$Q" + outlineConsoleValue(request, counter, value).toString(16))
1782
- : value instanceof Set
1783
- ? ((value = Array.from(value)),
1784
- "$W" + outlineConsoleValue(request, counter, value).toString(16))
1785
- : "function" === typeof FormData && value instanceof FormData
1786
- ? serializeFormData(request, value)
1787
- : value instanceof ArrayBuffer
1788
- ? serializeTypedArray(request, "A", new Uint8Array(value))
1789
- : value instanceof Int8Array
1790
- ? serializeTypedArray(request, "O", value)
1791
- : value instanceof Uint8Array
1792
- ? serializeTypedArray(request, "o", value)
1793
- : value instanceof Uint8ClampedArray
1794
- ? serializeTypedArray(request, "U", value)
1795
- : value instanceof Int16Array
1796
- ? serializeTypedArray(request, "S", value)
1797
- : value instanceof Uint16Array
1798
- ? serializeTypedArray(request, "s", value)
1799
- : value instanceof Int32Array
1800
- ? serializeTypedArray(request, "L", value)
1801
- : value instanceof Uint32Array
1802
- ? serializeTypedArray(request, "l", value)
1803
- : value instanceof Float32Array
1804
- ? serializeTypedArray(request, "G", value)
1805
- : value instanceof Float64Array
1806
- ? serializeTypedArray(request, "g", value)
1807
- : value instanceof BigInt64Array
1808
- ? serializeTypedArray(request, "M", value)
1809
- : value instanceof BigUint64Array
1810
- ? serializeTypedArray(request, "m", value)
1811
- : value instanceof DataView
1812
- ? serializeTypedArray(request, "V", value)
1813
- : "function" === typeof Blob && value instanceof Blob
1814
- ? serializeBlob(request, value)
1815
- : getIteratorFn(value)
1816
- ? Array.from(value)
1817
- : value;
1787
+ ? value
1788
+ : value instanceof Map
1789
+ ? ((value = Array.from(value)),
1790
+ "$Q" +
1791
+ outlineConsoleValue(request, counter, value).toString(16))
1792
+ : value instanceof Set
1793
+ ? ((value = Array.from(value)),
1794
+ "$W" +
1795
+ outlineConsoleValue(request, counter, value).toString(16))
1796
+ : "function" === typeof FormData && value instanceof FormData
1797
+ ? serializeFormData(request, value)
1798
+ : value instanceof ArrayBuffer
1799
+ ? serializeTypedArray(request, "A", new Uint8Array(value))
1800
+ : value instanceof Int8Array
1801
+ ? serializeTypedArray(request, "O", value)
1802
+ : value instanceof Uint8Array
1803
+ ? serializeTypedArray(request, "o", value)
1804
+ : value instanceof Uint8ClampedArray
1805
+ ? serializeTypedArray(request, "U", value)
1806
+ : value instanceof Int16Array
1807
+ ? serializeTypedArray(request, "S", value)
1808
+ : value instanceof Uint16Array
1809
+ ? serializeTypedArray(request, "s", value)
1810
+ : value instanceof Int32Array
1811
+ ? serializeTypedArray(request, "L", value)
1812
+ : value instanceof Uint32Array
1813
+ ? serializeTypedArray(request, "l", value)
1814
+ : value instanceof Float32Array
1815
+ ? serializeTypedArray(request, "G", value)
1816
+ : value instanceof Float64Array
1817
+ ? serializeTypedArray(request, "g", value)
1818
+ : value instanceof BigInt64Array
1819
+ ? serializeTypedArray(
1820
+ request,
1821
+ "M",
1822
+ value
1823
+ )
1824
+ : value instanceof BigUint64Array
1825
+ ? serializeTypedArray(
1826
+ request,
1827
+ "m",
1828
+ value
1829
+ )
1830
+ : value instanceof DataView
1831
+ ? serializeTypedArray(
1832
+ request,
1833
+ "V",
1834
+ value
1835
+ )
1836
+ : "function" === typeof Blob &&
1837
+ value instanceof Blob
1838
+ ? serializeBlob(request, value)
1839
+ : getIteratorFn(value)
1840
+ ? Array.from(value)
1841
+ : value;
1818
1842
  }
1819
1843
  if ("string" === typeof value)
1820
1844
  return "Z" === value[value.length - 1] && originalValue instanceof Date
1821
1845
  ? "$D" + value
1822
1846
  : 1024 <= value.length
1823
- ? serializeLargeTextString(request, value)
1824
- : "$" === value[0]
1825
- ? "$" + value
1826
- : value;
1847
+ ? serializeLargeTextString(request, value)
1848
+ : "$" === value[0]
1849
+ ? "$" + value
1850
+ : value;
1827
1851
  if ("boolean" === typeof value) return value;
1828
1852
  if ("number" === typeof value) return serializeNumber(value);
1829
1853
  if ("undefined" === typeof value) return "$undefined";
@@ -1831,10 +1855,10 @@
1831
1855
  return value.$$typeof === CLIENT_REFERENCE_TAG$1
1832
1856
  ? serializeClientReference(request, parent, parentPropertyName, value)
1833
1857
  : void 0 !== request.temporaryReferences &&
1834
- ((request = request.temporaryReferences.get(value)),
1835
- void 0 !== request)
1836
- ? "$T" + request
1837
- : "$E(" + (Function.prototype.toString.call(value) + ")");
1858
+ ((request = request.temporaryReferences.get(value)),
1859
+ void 0 !== request)
1860
+ ? "$T" + request
1861
+ : "$E(" + (Function.prototype.toString.call(value) + ")");
1838
1862
  if ("symbol" === typeof value) {
1839
1863
  counter = request.writtenSymbols.get(value);
1840
1864
  if (void 0 !== counter) return serializeByValueID(counter);
@@ -1881,33 +1905,33 @@
1881
1905
  "string" === typeof value && null !== byteLengthOfChunk
1882
1906
  ? emitTextChunk(request, id, value)
1883
1907
  : value instanceof ArrayBuffer
1884
- ? emitTypedArrayChunk(request, id, "A", new Uint8Array(value))
1885
- : value instanceof Int8Array
1886
- ? emitTypedArrayChunk(request, id, "O", value)
1887
- : value instanceof Uint8Array
1888
- ? emitTypedArrayChunk(request, id, "o", value)
1889
- : value instanceof Uint8ClampedArray
1890
- ? emitTypedArrayChunk(request, id, "U", value)
1891
- : value instanceof Int16Array
1892
- ? emitTypedArrayChunk(request, id, "S", value)
1893
- : value instanceof Uint16Array
1894
- ? emitTypedArrayChunk(request, id, "s", value)
1895
- : value instanceof Int32Array
1896
- ? emitTypedArrayChunk(request, id, "L", value)
1897
- : value instanceof Uint32Array
1898
- ? emitTypedArrayChunk(request, id, "l", value)
1899
- : value instanceof Float32Array
1900
- ? emitTypedArrayChunk(request, id, "G", value)
1901
- : value instanceof Float64Array
1902
- ? emitTypedArrayChunk(request, id, "g", value)
1903
- : value instanceof BigInt64Array
1904
- ? emitTypedArrayChunk(request, id, "M", value)
1905
- : value instanceof BigUint64Array
1906
- ? emitTypedArrayChunk(request, id, "m", value)
1907
- : value instanceof DataView
1908
- ? emitTypedArrayChunk(request, id, "V", value)
1909
- : ((value = stringify(value, task.toJSON)),
1910
- emitModelChunk(request, task.id, value));
1908
+ ? emitTypedArrayChunk(request, id, "A", new Uint8Array(value))
1909
+ : value instanceof Int8Array
1910
+ ? emitTypedArrayChunk(request, id, "O", value)
1911
+ : value instanceof Uint8Array
1912
+ ? emitTypedArrayChunk(request, id, "o", value)
1913
+ : value instanceof Uint8ClampedArray
1914
+ ? emitTypedArrayChunk(request, id, "U", value)
1915
+ : value instanceof Int16Array
1916
+ ? emitTypedArrayChunk(request, id, "S", value)
1917
+ : value instanceof Uint16Array
1918
+ ? emitTypedArrayChunk(request, id, "s", value)
1919
+ : value instanceof Int32Array
1920
+ ? emitTypedArrayChunk(request, id, "L", value)
1921
+ : value instanceof Uint32Array
1922
+ ? emitTypedArrayChunk(request, id, "l", value)
1923
+ : value instanceof Float32Array
1924
+ ? emitTypedArrayChunk(request, id, "G", value)
1925
+ : value instanceof Float64Array
1926
+ ? emitTypedArrayChunk(request, id, "g", value)
1927
+ : value instanceof BigInt64Array
1928
+ ? emitTypedArrayChunk(request, id, "M", value)
1929
+ : value instanceof BigUint64Array
1930
+ ? emitTypedArrayChunk(request, id, "m", value)
1931
+ : value instanceof DataView
1932
+ ? emitTypedArrayChunk(request, id, "V", value)
1933
+ : ((value = stringify(value, task.toJSON)),
1934
+ emitModelChunk(request, task.id, value));
1911
1935
  }
1912
1936
  function retryTask(request, task) {
1913
1937
  if (0 === task.status) {
@@ -2105,10 +2129,12 @@
2105
2129
  "The render was aborted by the server without a reason."
2106
2130
  )
2107
2131
  : "object" === typeof reason &&
2108
- null !== reason &&
2109
- "function" === typeof reason.then
2110
- ? Error("The render was aborted by the server with a promise.")
2111
- : reason,
2132
+ null !== reason &&
2133
+ "function" === typeof reason.then
2134
+ ? Error(
2135
+ "The render was aborted by the server with a promise."
2136
+ )
2137
+ : reason,
2112
2138
  digest = logRecoverableError(request, error, null);
2113
2139
  emitErrorChunk(request, errorId, digest, error);
2114
2140
  abortableTasks.forEach(function (task) {
@@ -2127,10 +2153,10 @@
2127
2153
  void 0 === reason
2128
2154
  ? Error("The render was aborted by the server without a reason.")
2129
2155
  : "object" === typeof reason &&
2130
- null !== reason &&
2131
- "function" === typeof reason.then
2132
- ? Error("The render was aborted by the server with a promise.")
2133
- : reason;
2156
+ null !== reason &&
2157
+ "function" === typeof reason.then
2158
+ ? Error("The render was aborted by the server with a promise.")
2159
+ : reason;
2134
2160
  abortListeners.forEach(function (callback) {
2135
2161
  return callback(_error);
2136
2162
  });
@@ -2202,8 +2228,8 @@
2202
2228
  return requireAsyncModule(metadata[0]);
2203
2229
  })
2204
2230
  : 0 < promises.length
2205
- ? Promise.all(promises)
2206
- : null;
2231
+ ? Promise.all(promises)
2232
+ : null;
2207
2233
  }
2208
2234
  function requireModule(metadata) {
2209
2235
  var moduleExports = __webpack_require__(metadata[0]);
@@ -2214,10 +2240,10 @@
2214
2240
  return "*" === metadata[2]
2215
2241
  ? moduleExports
2216
2242
  : "" === metadata[2]
2217
- ? moduleExports.__esModule
2218
- ? moduleExports.default
2219
- : moduleExports
2220
- : moduleExports[metadata[2]];
2243
+ ? moduleExports.__esModule
2244
+ ? moduleExports.default
2245
+ : moduleExports
2246
+ : moduleExports[metadata[2]];
2221
2247
  }
2222
2248
  function loadChunk(chunkId, filename) {
2223
2249
  chunkMap.set(chunkId, filename);
@@ -2870,10 +2896,10 @@
2870
2896
  return fn.bind.apply(fn, [null].concat(_ref));
2871
2897
  })
2872
2898
  : bundlerConfig
2873
- ? Promise.resolve(bundlerConfig).then(function () {
2874
- return requireModule(serverReference);
2875
- })
2876
- : Promise.resolve(requireModule(serverReference));
2899
+ ? Promise.resolve(bundlerConfig).then(function () {
2900
+ return requireModule(serverReference);
2901
+ })
2902
+ : Promise.resolve(requireModule(serverReference));
2877
2903
  }
2878
2904
  function decodeBoundActionMetaData(body, serverManifest, formFieldPrefix) {
2879
2905
  body = createResponse(serverManifest, formFieldPrefix, void 0, body);
@@ -3075,8 +3101,8 @@
3075
3101
  options
3076
3102
  ])
3077
3103
  : "string" === typeof precedence
3078
- ? emitHint(request, "S", [href, precedence])
3079
- : emitHint(request, "S", href);
3104
+ ? emitHint(request, "S", [href, precedence])
3105
+ : emitHint(request, "S", href);
3080
3106
  }
3081
3107
  previousDispatcher.S(href, precedence, options);
3082
3108
  }