react-server-dom-webpack 19.0.4 → 19.0.5

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.
@@ -2491,10 +2491,10 @@
2491
2491
  return hook.checkDCE ? !0 : !1;
2492
2492
  })({
2493
2493
  bundleType: 1,
2494
- version: "19.0.4",
2494
+ version: "19.0.5",
2495
2495
  rendererPackageName: "react-server-dom-webpack",
2496
2496
  currentDispatcherRef: ReactSharedInternals,
2497
- reconcilerVersion: "19.0.4",
2497
+ reconcilerVersion: "19.0.5",
2498
2498
  getCurrentComponentInfo: function () {
2499
2499
  return currentOwnerInDEV;
2500
2500
  }
@@ -3028,23 +3028,20 @@
3028
3028
  function createMap(response, model) {
3029
3029
  if (!isArrayImpl(model)) throw Error("Invalid Map initializer.");
3030
3030
  if (!0 === model.$$consumed) throw Error("Already initialized Map.");
3031
- response = new Map(model);
3032
3031
  model.$$consumed = !0;
3033
- return response;
3032
+ return new Map(model);
3034
3033
  }
3035
3034
  function createSet(response, model) {
3036
3035
  if (!isArrayImpl(model)) throw Error("Invalid Set initializer.");
3037
3036
  if (!0 === model.$$consumed) throw Error("Already initialized Set.");
3038
- response = new Set(model);
3039
3037
  model.$$consumed = !0;
3040
- return response;
3038
+ return new Set(model);
3041
3039
  }
3042
3040
  function extractIterator(response, model) {
3043
3041
  if (!isArrayImpl(model)) throw Error("Invalid Iterator initializer.");
3044
3042
  if (!0 === model.$$consumed) throw Error("Already initialized Iterator.");
3045
- response = model[Symbol.iterator]();
3046
3043
  model.$$consumed = !0;
3047
- return response;
3044
+ return model[Symbol.iterator]();
3048
3045
  }
3049
3046
  function createModel(response, model, parentObject, key) {
3050
3047
  return "then" === key && "function" === typeof model ? null : model;
@@ -2561,23 +2561,20 @@ function getOutlinedModel(
2561
2561
  function createMap(response, model) {
2562
2562
  if (!isArrayImpl(model)) throw Error("Invalid Map initializer.");
2563
2563
  if (!0 === model.$$consumed) throw Error("Already initialized Map.");
2564
- response = new Map(model);
2565
2564
  model.$$consumed = !0;
2566
- return response;
2565
+ return new Map(model);
2567
2566
  }
2568
2567
  function createSet(response, model) {
2569
2568
  if (!isArrayImpl(model)) throw Error("Invalid Set initializer.");
2570
2569
  if (!0 === model.$$consumed) throw Error("Already initialized Set.");
2571
- response = new Set(model);
2572
2570
  model.$$consumed = !0;
2573
- return response;
2571
+ return new Set(model);
2574
2572
  }
2575
2573
  function extractIterator(response, model) {
2576
2574
  if (!isArrayImpl(model)) throw Error("Invalid Iterator initializer.");
2577
2575
  if (!0 === model.$$consumed) throw Error("Already initialized Iterator.");
2578
- response = model[Symbol.iterator]();
2579
2576
  model.$$consumed = !0;
2580
- return response;
2577
+ return model[Symbol.iterator]();
2581
2578
  }
2582
2579
  function createModel(response, model, parentObject, key) {
2583
2580
  return "then" === key && "function" === typeof model ? null : model;
@@ -3062,23 +3062,20 @@
3062
3062
  function createMap(response, model) {
3063
3063
  if (!isArrayImpl(model)) throw Error("Invalid Map initializer.");
3064
3064
  if (!0 === model.$$consumed) throw Error("Already initialized Map.");
3065
- response = new Map(model);
3066
3065
  model.$$consumed = !0;
3067
- return response;
3066
+ return new Map(model);
3068
3067
  }
3069
3068
  function createSet(response, model) {
3070
3069
  if (!isArrayImpl(model)) throw Error("Invalid Set initializer.");
3071
3070
  if (!0 === model.$$consumed) throw Error("Already initialized Set.");
3072
- response = new Set(model);
3073
3071
  model.$$consumed = !0;
3074
- return response;
3072
+ return new Set(model);
3075
3073
  }
3076
3074
  function extractIterator(response, model) {
3077
3075
  if (!isArrayImpl(model)) throw Error("Invalid Iterator initializer.");
3078
3076
  if (!0 === model.$$consumed) throw Error("Already initialized Iterator.");
3079
- response = model[Symbol.iterator]();
3080
3077
  model.$$consumed = !0;
3081
- return response;
3078
+ return model[Symbol.iterator]();
3082
3079
  }
3083
3080
  function createModel(response, model, parentObject, key) {
3084
3081
  return "then" === key && "function" === typeof model ? null : model;
@@ -2563,23 +2563,20 @@ function getOutlinedModel(
2563
2563
  function createMap(response, model) {
2564
2564
  if (!isArrayImpl(model)) throw Error("Invalid Map initializer.");
2565
2565
  if (!0 === model.$$consumed) throw Error("Already initialized Map.");
2566
- response = new Map(model);
2567
2566
  model.$$consumed = !0;
2568
- return response;
2567
+ return new Map(model);
2569
2568
  }
2570
2569
  function createSet(response, model) {
2571
2570
  if (!isArrayImpl(model)) throw Error("Invalid Set initializer.");
2572
2571
  if (!0 === model.$$consumed) throw Error("Already initialized Set.");
2573
- response = new Set(model);
2574
2572
  model.$$consumed = !0;
2575
- return response;
2573
+ return new Set(model);
2576
2574
  }
2577
2575
  function extractIterator(response, model) {
2578
2576
  if (!isArrayImpl(model)) throw Error("Invalid Iterator initializer.");
2579
2577
  if (!0 === model.$$consumed) throw Error("Already initialized Iterator.");
2580
- response = model[Symbol.iterator]();
2581
2578
  model.$$consumed = !0;
2582
- return response;
2579
+ return model[Symbol.iterator]();
2583
2580
  }
2584
2581
  function createModel(response, model, parentObject, key) {
2585
2582
  return "then" === key && "function" === typeof model ? null : model;
@@ -3073,23 +3073,20 @@
3073
3073
  function createMap(response, model) {
3074
3074
  if (!isArrayImpl(model)) throw Error("Invalid Map initializer.");
3075
3075
  if (!0 === model.$$consumed) throw Error("Already initialized Map.");
3076
- response = new Map(model);
3077
3076
  model.$$consumed = !0;
3078
- return response;
3077
+ return new Map(model);
3079
3078
  }
3080
3079
  function createSet(response, model) {
3081
3080
  if (!isArrayImpl(model)) throw Error("Invalid Set initializer.");
3082
3081
  if (!0 === model.$$consumed) throw Error("Already initialized Set.");
3083
- response = new Set(model);
3084
3082
  model.$$consumed = !0;
3085
- return response;
3083
+ return new Set(model);
3086
3084
  }
3087
3085
  function extractIterator(response, model) {
3088
3086
  if (!isArrayImpl(model)) throw Error("Invalid Iterator initializer.");
3089
3087
  if (!0 === model.$$consumed) throw Error("Already initialized Iterator.");
3090
- response = model[Symbol.iterator]();
3091
3088
  model.$$consumed = !0;
3092
- return response;
3089
+ return model[Symbol.iterator]();
3093
3090
  }
3094
3091
  function createModel(response, model, parentObject, key) {
3095
3092
  return "then" === key && "function" === typeof model ? null : model;
@@ -2599,23 +2599,20 @@ function getOutlinedModel(
2599
2599
  function createMap(response, model) {
2600
2600
  if (!isArrayImpl(model)) throw Error("Invalid Map initializer.");
2601
2601
  if (!0 === model.$$consumed) throw Error("Already initialized Map.");
2602
- response = new Map(model);
2603
2602
  model.$$consumed = !0;
2604
- return response;
2603
+ return new Map(model);
2605
2604
  }
2606
2605
  function createSet(response, model) {
2607
2606
  if (!isArrayImpl(model)) throw Error("Invalid Set initializer.");
2608
2607
  if (!0 === model.$$consumed) throw Error("Already initialized Set.");
2609
- response = new Set(model);
2610
2608
  model.$$consumed = !0;
2611
- return response;
2609
+ return new Set(model);
2612
2610
  }
2613
2611
  function extractIterator(response, model) {
2614
2612
  if (!isArrayImpl(model)) throw Error("Invalid Iterator initializer.");
2615
2613
  if (!0 === model.$$consumed) throw Error("Already initialized Iterator.");
2616
- response = model[Symbol.iterator]();
2617
2614
  model.$$consumed = !0;
2618
- return response;
2615
+ return model[Symbol.iterator]();
2619
2616
  }
2620
2617
  function createModel(response, model, parentObject, key) {
2621
2618
  return "then" === key && "function" === typeof model ? null : model;
@@ -3037,23 +3037,20 @@
3037
3037
  function createMap(response, model) {
3038
3038
  if (!isArrayImpl(model)) throw Error("Invalid Map initializer.");
3039
3039
  if (!0 === model.$$consumed) throw Error("Already initialized Map.");
3040
- response = new Map(model);
3041
3040
  model.$$consumed = !0;
3042
- return response;
3041
+ return new Map(model);
3043
3042
  }
3044
3043
  function createSet(response, model) {
3045
3044
  if (!isArrayImpl(model)) throw Error("Invalid Set initializer.");
3046
3045
  if (!0 === model.$$consumed) throw Error("Already initialized Set.");
3047
- response = new Set(model);
3048
3046
  model.$$consumed = !0;
3049
- return response;
3047
+ return new Set(model);
3050
3048
  }
3051
3049
  function extractIterator(response, model) {
3052
3050
  if (!isArrayImpl(model)) throw Error("Invalid Iterator initializer.");
3053
3051
  if (!0 === model.$$consumed) throw Error("Already initialized Iterator.");
3054
- response = model[Symbol.iterator]();
3055
3052
  model.$$consumed = !0;
3056
- return response;
3053
+ return model[Symbol.iterator]();
3057
3054
  }
3058
3055
  function createModel(response, model, parentObject, key) {
3059
3056
  return "then" === key && "function" === typeof model ? null : model;
@@ -2566,23 +2566,20 @@ function getOutlinedModel(
2566
2566
  function createMap(response, model) {
2567
2567
  if (!isArrayImpl(model)) throw Error("Invalid Map initializer.");
2568
2568
  if (!0 === model.$$consumed) throw Error("Already initialized Map.");
2569
- response = new Map(model);
2570
2569
  model.$$consumed = !0;
2571
- return response;
2570
+ return new Map(model);
2572
2571
  }
2573
2572
  function createSet(response, model) {
2574
2573
  if (!isArrayImpl(model)) throw Error("Invalid Set initializer.");
2575
2574
  if (!0 === model.$$consumed) throw Error("Already initialized Set.");
2576
- response = new Set(model);
2577
2575
  model.$$consumed = !0;
2578
- return response;
2576
+ return new Set(model);
2579
2577
  }
2580
2578
  function extractIterator(response, model) {
2581
2579
  if (!isArrayImpl(model)) throw Error("Invalid Iterator initializer.");
2582
2580
  if (!0 === model.$$consumed) throw Error("Already initialized Iterator.");
2583
- response = model[Symbol.iterator]();
2584
2581
  model.$$consumed = !0;
2585
- return response;
2582
+ return model[Symbol.iterator]();
2586
2583
  }
2587
2584
  function createModel(response, model, parentObject, key) {
2588
2585
  return "then" === key && "function" === typeof model ? null : model;
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.4",
4
+ "version": "19.0.5",
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.0.4",
103
- "react-dom": "^19.0.4",
102
+ "react": "^19.0.5",
103
+ "react-dom": "^19.0.5",
104
104
  "webpack": "^5.59.0"
105
105
  },
106
106
  "dependencies": {