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
  });
@@ -1932,8 +1932,8 @@ function requireModule(metadata) {
1932
1932
  return "*" === metadata.name
1933
1933
  ? moduleExports
1934
1934
  : "" === metadata.name
1935
- ? moduleExports.default
1936
- : moduleExports[metadata.name];
1935
+ ? moduleExports.default
1936
+ : moduleExports[metadata.name];
1937
1937
  }
1938
1938
  var hasOwnProperty = Object.prototype.hasOwnProperty;
1939
1939
  function Chunk(status, value, reason, response) {
@@ -2567,10 +2567,10 @@ function loadServerReference(bundlerConfig, id, bound) {
2567
2567
  return fn.bind.apply(fn, [null].concat(_ref));
2568
2568
  })
2569
2569
  : bundlerConfig
2570
- ? Promise.resolve(bundlerConfig).then(function () {
2571
- return requireModule(serverReference);
2572
- })
2573
- : Promise.resolve(requireModule(serverReference));
2570
+ ? Promise.resolve(bundlerConfig).then(function () {
2571
+ return requireModule(serverReference);
2572
+ })
2573
+ : Promise.resolve(requireModule(serverReference));
2574
2574
  }
2575
2575
  function decodeBoundActionMetaData(body, serverManifest, formFieldPrefix) {
2576
2576
  body = createResponse(serverManifest, formFieldPrefix, void 0, body);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-server-dom-webpack",
3
3
  "description": "React Server Components bindings for DOM using Webpack. This is intended to be integrated into meta-frameworks. It is not intended to be imported directly.",
4
- "version": "19.0.0-rc-512b09b2-20240718",
4
+ "version": "19.0.0-rc-f6cce072-20240723",
5
5
  "keywords": [
6
6
  "react"
7
7
  ],
@@ -77,8 +77,8 @@
77
77
  "node": ">=0.10.0"
78
78
  },
79
79
  "peerDependencies": {
80
- "react": "19.0.0-rc-512b09b2-20240718",
81
- "react-dom": "19.0.0-rc-512b09b2-20240718",
80
+ "react": "19.0.0-rc-f6cce072-20240723",
81
+ "react-dom": "19.0.0-rc-f6cce072-20240723",
82
82
  "webpack": "^5.59.0"
83
83
  },
84
84
  "dependencies": {