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.
@@ -342,8 +342,8 @@ function preinitStyle(href, precedence, options) {
342
342
  options
343
343
  ])
344
344
  : "string" === typeof precedence
345
- ? emitHint(request, "S", [href, precedence])
346
- : emitHint(request, "S", href);
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
- ? "function " + value
634
- : "function";
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
- ? ((objectOrArray = " ".repeat(objKind) + "^".repeat(length)),
716
- "\n " + str + "\n " + objectOrArray)
717
- : "\n " + str;
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
- ? "$Infinity"
1515
- : -Infinity === value
1516
- ? "$-Infinity"
1517
- : "$NaN";
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
- ? 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));
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
- null !== reason &&
1861
- "function" === typeof reason.then
1862
- ? Error("The render was aborted by the server with a promise.")
1863
- : reason,
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
- null !== reason &&
1883
- "function" === typeof reason.then
1884
- ? Error("The render was aborted by the server with a promise.")
1885
- : reason;
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
- ? Promise.all(promises)
1954
- : null;
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
- ? moduleExports.__esModule
1966
- ? moduleExports.default
1967
- : moduleExports
1968
- : moduleExports[metadata[2]];
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
- ? Promise.resolve(bundlerConfig).then(function () {
2603
- return requireModule(serverReference);
2604
- })
2605
- : Promise.resolve(requireModule(serverReference));
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);