react-server-dom-webpack 19.1.0-canary-d4287258-20241217 → 19.1.0-canary-ef979d47-20241218

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.
@@ -2467,10 +2467,10 @@
2467
2467
  return hook.checkDCE ? !0 : !1;
2468
2468
  })({
2469
2469
  bundleType: 1,
2470
- version: "19.1.0-canary-d4287258-20241217",
2470
+ version: "19.1.0-canary-ef979d47-20241218",
2471
2471
  rendererPackageName: "react-server-dom-webpack",
2472
2472
  currentDispatcherRef: ReactSharedInternals,
2473
- reconcilerVersion: "19.1.0-canary-d4287258-20241217",
2473
+ reconcilerVersion: "19.1.0-canary-ef979d47-20241218",
2474
2474
  getCurrentComponentInfo: function () {
2475
2475
  return currentOwnerInDEV;
2476
2476
  }
@@ -2117,11 +2117,11 @@
2117
2117
  }
2118
2118
  function forwardDebugInfo(request, id, debugInfo) {
2119
2119
  for (var i = 0; i < debugInfo.length; i++)
2120
- request.pendingChunks++,
2121
- "number" !== typeof debugInfo[i].time &&
2122
- ("string" === typeof debugInfo[i].name &&
2123
- outlineComponentInfo(request, debugInfo[i]),
2124
- emitDebugChunk(request, id, debugInfo[i]));
2120
+ "number" !== typeof debugInfo[i].time &&
2121
+ (request.pendingChunks++,
2122
+ "string" === typeof debugInfo[i].name &&
2123
+ outlineComponentInfo(request, debugInfo[i]),
2124
+ emitDebugChunk(request, id, debugInfo[i]));
2125
2125
  }
2126
2126
  function emitChunk(request, task, value) {
2127
2127
  var id = task.id;
@@ -2683,6 +2683,8 @@
2683
2683
  }
2684
2684
  }
2685
2685
  function reportGlobalError(response, error) {
2686
+ response._closed = !0;
2687
+ response._closedReason = error;
2686
2688
  response._chunks.forEach(function (chunk) {
2687
2689
  "pending" === chunk.status && triggerErrorOnChunk(chunk, error);
2688
2690
  });
@@ -2695,7 +2697,9 @@
2695
2697
  (chunk =
2696
2698
  null != chunk
2697
2699
  ? new Chunk("resolved_model", chunk, id, response)
2698
- : createPendingChunk(response)),
2700
+ : response._closed
2701
+ ? new Chunk("rejected", null, response._closedReason, response)
2702
+ : createPendingChunk(response)),
2699
2703
  chunks.set(id, chunk));
2700
2704
  return chunk;
2701
2705
  }
@@ -3122,6 +3126,8 @@
3122
3126
  _prefix: formFieldPrefix,
3123
3127
  _formData: backingFormData,
3124
3128
  _chunks: chunks,
3129
+ _closed: !1,
3130
+ _closedReason: null,
3125
3131
  _temporaryReferences: temporaryReferences
3126
3132
  };
3127
3133
  }
@@ -2189,6 +2189,8 @@ function initializeModelChunk(chunk) {
2189
2189
  }
2190
2190
  }
2191
2191
  function reportGlobalError(response, error) {
2192
+ response._closed = !0;
2193
+ response._closedReason = error;
2192
2194
  response._chunks.forEach(function (chunk) {
2193
2195
  "pending" === chunk.status && triggerErrorOnChunk(chunk, error);
2194
2196
  });
@@ -2201,7 +2203,9 @@ function getChunk(response, id) {
2201
2203
  (chunk =
2202
2204
  null != chunk
2203
2205
  ? new Chunk("resolved_model", chunk, id, response)
2204
- : createPendingChunk(response)),
2206
+ : response._closed
2207
+ ? new Chunk("rejected", null, response._closedReason, response)
2208
+ : createPendingChunk(response)),
2205
2209
  chunks.set(id, chunk));
2206
2210
  return chunk;
2207
2211
  }
@@ -2598,6 +2602,8 @@ function createResponse(bundlerConfig, formFieldPrefix, temporaryReferences) {
2598
2602
  _prefix: formFieldPrefix,
2599
2603
  _formData: backingFormData,
2600
2604
  _chunks: chunks,
2605
+ _closed: !1,
2606
+ _closedReason: null,
2601
2607
  _temporaryReferences: temporaryReferences
2602
2608
  };
2603
2609
  }
@@ -2151,11 +2151,11 @@
2151
2151
  }
2152
2152
  function forwardDebugInfo(request, id, debugInfo) {
2153
2153
  for (var i = 0; i < debugInfo.length; i++)
2154
- request.pendingChunks++,
2155
- "number" !== typeof debugInfo[i].time &&
2156
- ("string" === typeof debugInfo[i].name &&
2157
- outlineComponentInfo(request, debugInfo[i]),
2158
- emitDebugChunk(request, id, debugInfo[i]));
2154
+ "number" !== typeof debugInfo[i].time &&
2155
+ (request.pendingChunks++,
2156
+ "string" === typeof debugInfo[i].name &&
2157
+ outlineComponentInfo(request, debugInfo[i]),
2158
+ emitDebugChunk(request, id, debugInfo[i]));
2159
2159
  }
2160
2160
  function emitChunk(request, task, value) {
2161
2161
  var id = task.id;
@@ -2717,6 +2717,8 @@
2717
2717
  }
2718
2718
  }
2719
2719
  function reportGlobalError(response, error) {
2720
+ response._closed = !0;
2721
+ response._closedReason = error;
2720
2722
  response._chunks.forEach(function (chunk) {
2721
2723
  "pending" === chunk.status && triggerErrorOnChunk(chunk, error);
2722
2724
  });
@@ -2729,7 +2731,9 @@
2729
2731
  (chunk =
2730
2732
  null != chunk
2731
2733
  ? new Chunk("resolved_model", chunk, id, response)
2732
- : createPendingChunk(response)),
2734
+ : response._closed
2735
+ ? new Chunk("rejected", null, response._closedReason, response)
2736
+ : createPendingChunk(response)),
2733
2737
  chunks.set(id, chunk));
2734
2738
  return chunk;
2735
2739
  }
@@ -3156,6 +3160,8 @@
3156
3160
  _prefix: formFieldPrefix,
3157
3161
  _formData: backingFormData,
3158
3162
  _chunks: chunks,
3163
+ _closed: !1,
3164
+ _closedReason: null,
3159
3165
  _temporaryReferences: temporaryReferences
3160
3166
  };
3161
3167
  }
@@ -2191,6 +2191,8 @@ function initializeModelChunk(chunk) {
2191
2191
  }
2192
2192
  }
2193
2193
  function reportGlobalError(response, error) {
2194
+ response._closed = !0;
2195
+ response._closedReason = error;
2194
2196
  response._chunks.forEach(function (chunk) {
2195
2197
  "pending" === chunk.status && triggerErrorOnChunk(chunk, error);
2196
2198
  });
@@ -2203,7 +2205,9 @@ function getChunk(response, id) {
2203
2205
  (chunk =
2204
2206
  null != chunk
2205
2207
  ? new Chunk("resolved_model", chunk, id, response)
2206
- : createPendingChunk(response)),
2208
+ : response._closed
2209
+ ? new Chunk("rejected", null, response._closedReason, response)
2210
+ : createPendingChunk(response)),
2207
2211
  chunks.set(id, chunk));
2208
2212
  return chunk;
2209
2213
  }
@@ -2600,6 +2604,8 @@ function createResponse(bundlerConfig, formFieldPrefix, temporaryReferences) {
2600
2604
  _prefix: formFieldPrefix,
2601
2605
  _formData: backingFormData,
2602
2606
  _chunks: chunks,
2607
+ _closed: !1,
2608
+ _closedReason: null,
2603
2609
  _temporaryReferences: temporaryReferences
2604
2610
  };
2605
2611
  }
@@ -2153,11 +2153,11 @@
2153
2153
  }
2154
2154
  function forwardDebugInfo(request, id, debugInfo) {
2155
2155
  for (var i = 0; i < debugInfo.length; i++)
2156
- request.pendingChunks++,
2157
- "number" !== typeof debugInfo[i].time &&
2158
- ("string" === typeof debugInfo[i].name &&
2159
- outlineComponentInfo(request, debugInfo[i]),
2160
- emitDebugChunk(request, id, debugInfo[i]));
2156
+ "number" !== typeof debugInfo[i].time &&
2157
+ (request.pendingChunks++,
2158
+ "string" === typeof debugInfo[i].name &&
2159
+ outlineComponentInfo(request, debugInfo[i]),
2160
+ emitDebugChunk(request, id, debugInfo[i]));
2161
2161
  }
2162
2162
  function emitChunk(request, task, value) {
2163
2163
  var id = task.id;
@@ -2715,6 +2715,8 @@
2715
2715
  }
2716
2716
  }
2717
2717
  function reportGlobalError(response, error) {
2718
+ response._closed = !0;
2719
+ response._closedReason = error;
2718
2720
  response._chunks.forEach(function (chunk) {
2719
2721
  "pending" === chunk.status && triggerErrorOnChunk(chunk, error);
2720
2722
  });
@@ -2727,7 +2729,9 @@
2727
2729
  (chunk =
2728
2730
  null != chunk
2729
2731
  ? new Chunk("resolved_model", chunk, id, response)
2730
- : createPendingChunk(response)),
2732
+ : response._closed
2733
+ ? new Chunk("rejected", null, response._closedReason, response)
2734
+ : createPendingChunk(response)),
2731
2735
  chunks.set(id, chunk));
2732
2736
  return chunk;
2733
2737
  }
@@ -3154,6 +3158,8 @@
3154
3158
  _prefix: formFieldPrefix,
3155
3159
  _formData: backingFormData,
3156
3160
  _chunks: chunks,
3161
+ _closed: !1,
3162
+ _closedReason: null,
3157
3163
  _temporaryReferences: temporaryReferences
3158
3164
  };
3159
3165
  }
@@ -2216,6 +2216,8 @@ function initializeModelChunk(chunk) {
2216
2216
  }
2217
2217
  }
2218
2218
  function reportGlobalError(response, error) {
2219
+ response._closed = !0;
2220
+ response._closedReason = error;
2219
2221
  response._chunks.forEach(function (chunk) {
2220
2222
  "pending" === chunk.status && triggerErrorOnChunk(chunk, error);
2221
2223
  });
@@ -2228,7 +2230,9 @@ function getChunk(response, id) {
2228
2230
  (chunk =
2229
2231
  null != chunk
2230
2232
  ? new Chunk("resolved_model", chunk, id, response)
2231
- : createPendingChunk(response)),
2233
+ : response._closed
2234
+ ? new Chunk("rejected", null, response._closedReason, response)
2235
+ : createPendingChunk(response)),
2232
2236
  chunks.set(id, chunk));
2233
2237
  return chunk;
2234
2238
  }
@@ -2625,6 +2629,8 @@ function createResponse(bundlerConfig, formFieldPrefix, temporaryReferences) {
2625
2629
  _prefix: formFieldPrefix,
2626
2630
  _formData: backingFormData,
2627
2631
  _chunks: chunks,
2632
+ _closed: !1,
2633
+ _closedReason: null,
2628
2634
  _temporaryReferences: temporaryReferences
2629
2635
  };
2630
2636
  }
@@ -2153,11 +2153,11 @@
2153
2153
  }
2154
2154
  function forwardDebugInfo(request, id, debugInfo) {
2155
2155
  for (var i = 0; i < debugInfo.length; i++)
2156
- request.pendingChunks++,
2157
- "number" !== typeof debugInfo[i].time &&
2158
- ("string" === typeof debugInfo[i].name &&
2159
- outlineComponentInfo(request, debugInfo[i]),
2160
- emitDebugChunk(request, id, debugInfo[i]));
2156
+ "number" !== typeof debugInfo[i].time &&
2157
+ (request.pendingChunks++,
2158
+ "string" === typeof debugInfo[i].name &&
2159
+ outlineComponentInfo(request, debugInfo[i]),
2160
+ emitDebugChunk(request, id, debugInfo[i]));
2161
2161
  }
2162
2162
  function emitChunk(request, task, value) {
2163
2163
  var id = task.id;
@@ -2678,6 +2678,8 @@
2678
2678
  }
2679
2679
  }
2680
2680
  function reportGlobalError(response, error) {
2681
+ response._closed = !0;
2682
+ response._closedReason = error;
2681
2683
  response._chunks.forEach(function (chunk) {
2682
2684
  "pending" === chunk.status && triggerErrorOnChunk(chunk, error);
2683
2685
  });
@@ -2690,7 +2692,9 @@
2690
2692
  (chunk =
2691
2693
  null != chunk
2692
2694
  ? new Chunk("resolved_model", chunk, id, response)
2693
- : createPendingChunk(response)),
2695
+ : response._closed
2696
+ ? new Chunk("rejected", null, response._closedReason, response)
2697
+ : createPendingChunk(response)),
2694
2698
  chunks.set(id, chunk));
2695
2699
  return chunk;
2696
2700
  }
@@ -3117,6 +3121,8 @@
3117
3121
  _prefix: formFieldPrefix,
3118
3122
  _formData: backingFormData,
3119
3123
  _chunks: chunks,
3124
+ _closed: !1,
3125
+ _closedReason: null,
3120
3126
  _temporaryReferences: temporaryReferences
3121
3127
  };
3122
3128
  }
@@ -2182,6 +2182,8 @@ function initializeModelChunk(chunk) {
2182
2182
  }
2183
2183
  }
2184
2184
  function reportGlobalError(response, error) {
2185
+ response._closed = !0;
2186
+ response._closedReason = error;
2185
2187
  response._chunks.forEach(function (chunk) {
2186
2188
  "pending" === chunk.status && triggerErrorOnChunk(chunk, error);
2187
2189
  });
@@ -2194,7 +2196,9 @@ function getChunk(response, id) {
2194
2196
  (chunk =
2195
2197
  null != chunk
2196
2198
  ? new Chunk("resolved_model", chunk, id, response)
2197
- : createPendingChunk(response)),
2199
+ : response._closed
2200
+ ? new Chunk("rejected", null, response._closedReason, response)
2201
+ : createPendingChunk(response)),
2198
2202
  chunks.set(id, chunk));
2199
2203
  return chunk;
2200
2204
  }
@@ -2591,6 +2595,8 @@ function createResponse(bundlerConfig, formFieldPrefix, temporaryReferences) {
2591
2595
  _prefix: formFieldPrefix,
2592
2596
  _formData: backingFormData,
2593
2597
  _chunks: chunks,
2598
+ _closed: !1,
2599
+ _closedReason: null,
2594
2600
  _temporaryReferences: temporaryReferences
2595
2601
  };
2596
2602
  }
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.1.0-canary-d4287258-20241217",
4
+ "version": "19.1.0-canary-ef979d47-20241218",
5
5
  "keywords": [
6
6
  "react"
7
7
  ],
@@ -99,8 +99,8 @@
99
99
  "node": ">=0.10.0"
100
100
  },
101
101
  "peerDependencies": {
102
- "react": "19.1.0-canary-d4287258-20241217",
103
- "react-dom": "19.1.0-canary-d4287258-20241217",
102
+ "react": "19.1.0-canary-ef979d47-20241218",
103
+ "react-dom": "19.1.0-canary-ef979d47-20241218",
104
104
  "webpack": "^5.59.0"
105
105
  },
106
106
  "dependencies": {