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.
@@ -316,8 +316,8 @@ function preinitStyle(href, precedence, options) {
316
316
  options
317
317
  ])
318
318
  : "string" === typeof precedence
319
- ? emitHint(request, "S", [href, precedence])
320
- : emitHint(request, "S", href);
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
- ? "function " + value
615
- : "function";
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
- ? ((objectOrArray = " ".repeat(objKind) + "^".repeat(length)),
697
- "\n " + str + "\n " + objectOrArray)
698
- : "\n " + str;
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
- ? "$Infinity"
1502
- : -Infinity === value
1503
- ? "$-Infinity"
1504
- : "$NaN";
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
- ? 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));
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
- null !== reason &&
1825
- "function" === typeof reason.then
1826
- ? Error("The render was aborted by the server with a promise.")
1827
- : reason,
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
- null !== reason &&
1847
- "function" === typeof reason.then
1848
- ? Error("The render was aborted by the server with a promise.")
1849
- : reason;
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
- ? Promise.all(promises)
1918
- : null;
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
- ? moduleExports.__esModule
1930
- ? moduleExports.default
1931
- : moduleExports
1932
- : moduleExports[metadata[2]];
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
- ? Promise.resolve(bundlerConfig).then(function () {
2559
- return requireModule(serverReference);
2560
- })
2561
- : Promise.resolve(requireModule(serverReference));
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);