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.
@@ -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