react-server-dom-webpack 19.0.0-rc-512b09b2-20240718 → 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.
@@ -326,8 +326,8 @@ function preinitStyle(href, precedence, options) {
326
326
  options
327
327
  ])
328
328
  : "string" === typeof precedence
329
- ? emitHint(request, "S", [href, precedence])
330
- : emitHint(request, "S", href);
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
- ? "function " + value
618
- : "function";
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
- ? ((objectOrArray = " ".repeat(objKind) + "^".repeat(length)),
700
- "\n " + str + "\n " + objectOrArray)
701
- : "\n " + str;
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
- ? "$Infinity"
1497
- : -Infinity === value
1498
- ? "$-Infinity"
1499
- : "$NaN";
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
- ? 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));
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
- null !== reason &&
1814
- "function" === typeof reason.then
1815
- ? Error("The render was aborted by the server with a promise.")
1816
- : reason,
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
- null !== reason &&
1836
- "function" === typeof reason.then
1837
- ? Error("The render was aborted by the server with a promise.")
1838
- : reason;
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
- ? Promise.all(promises)
1908
- : null;
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
- ? moduleExports.__esModule
1920
- ? moduleExports.default
1921
- : moduleExports
1922
- : moduleExports[metadata[2]];
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
- ? Promise.resolve(bundlerConfig).then(function () {
2557
- return requireModule(serverReference);
2558
- })
2559
- : Promise.resolve(requireModule(serverReference));
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);