react-server-dom-turbopack 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.
@@ -2476,10 +2476,10 @@
2476
2476
  return hook.checkDCE ? !0 : !1;
2477
2477
  })({
2478
2478
  bundleType: 1,
2479
- version: "19.0.4",
2479
+ version: "19.0.5",
2480
2480
  rendererPackageName: "react-server-dom-turbopack",
2481
2481
  currentDispatcherRef: ReactSharedInternals,
2482
- reconcilerVersion: "19.0.4",
2482
+ reconcilerVersion: "19.0.5",
2483
2483
  getCurrentComponentInfo: function () {
2484
2484
  return currentOwnerInDEV;
2485
2485
  }
@@ -3021,23 +3021,20 @@
3021
3021
  function createMap(response, model) {
3022
3022
  if (!isArrayImpl(model)) throw Error("Invalid Map initializer.");
3023
3023
  if (!0 === model.$$consumed) throw Error("Already initialized Map.");
3024
- response = new Map(model);
3025
3024
  model.$$consumed = !0;
3026
- return response;
3025
+ return new Map(model);
3027
3026
  }
3028
3027
  function createSet(response, model) {
3029
3028
  if (!isArrayImpl(model)) throw Error("Invalid Set initializer.");
3030
3029
  if (!0 === model.$$consumed) throw Error("Already initialized Set.");
3031
- response = new Set(model);
3032
3030
  model.$$consumed = !0;
3033
- return response;
3031
+ return new Set(model);
3034
3032
  }
3035
3033
  function extractIterator(response, model) {
3036
3034
  if (!isArrayImpl(model)) throw Error("Invalid Iterator initializer.");
3037
3035
  if (!0 === model.$$consumed) throw Error("Already initialized Iterator.");
3038
- response = model[Symbol.iterator]();
3039
3036
  model.$$consumed = !0;
3040
- return response;
3037
+ return model[Symbol.iterator]();
3041
3038
  }
3042
3039
  function createModel(response, model, parentObject, key) {
3043
3040
  return "then" === key && "function" === typeof model ? null : model;
@@ -2549,23 +2549,20 @@ function getOutlinedModel(
2549
2549
  function createMap(response, model) {
2550
2550
  if (!isArrayImpl(model)) throw Error("Invalid Map initializer.");
2551
2551
  if (!0 === model.$$consumed) throw Error("Already initialized Map.");
2552
- response = new Map(model);
2553
2552
  model.$$consumed = !0;
2554
- return response;
2553
+ return new Map(model);
2555
2554
  }
2556
2555
  function createSet(response, model) {
2557
2556
  if (!isArrayImpl(model)) throw Error("Invalid Set initializer.");
2558
2557
  if (!0 === model.$$consumed) throw Error("Already initialized Set.");
2559
- response = new Set(model);
2560
2558
  model.$$consumed = !0;
2561
- return response;
2559
+ return new Set(model);
2562
2560
  }
2563
2561
  function extractIterator(response, model) {
2564
2562
  if (!isArrayImpl(model)) throw Error("Invalid Iterator initializer.");
2565
2563
  if (!0 === model.$$consumed) throw Error("Already initialized Iterator.");
2566
- response = model[Symbol.iterator]();
2567
2564
  model.$$consumed = !0;
2568
- return response;
2565
+ return model[Symbol.iterator]();
2569
2566
  }
2570
2567
  function createModel(response, model, parentObject, key) {
2571
2568
  return "then" === key && "function" === typeof model ? null : model;
@@ -3059,23 +3059,20 @@
3059
3059
  function createMap(response, model) {
3060
3060
  if (!isArrayImpl(model)) throw Error("Invalid Map initializer.");
3061
3061
  if (!0 === model.$$consumed) throw Error("Already initialized Map.");
3062
- response = new Map(model);
3063
3062
  model.$$consumed = !0;
3064
- return response;
3063
+ return new Map(model);
3065
3064
  }
3066
3065
  function createSet(response, model) {
3067
3066
  if (!isArrayImpl(model)) throw Error("Invalid Set initializer.");
3068
3067
  if (!0 === model.$$consumed) throw Error("Already initialized Set.");
3069
- response = new Set(model);
3070
3068
  model.$$consumed = !0;
3071
- return response;
3069
+ return new Set(model);
3072
3070
  }
3073
3071
  function extractIterator(response, model) {
3074
3072
  if (!isArrayImpl(model)) throw Error("Invalid Iterator initializer.");
3075
3073
  if (!0 === model.$$consumed) throw Error("Already initialized Iterator.");
3076
- response = model[Symbol.iterator]();
3077
3074
  model.$$consumed = !0;
3078
- return response;
3075
+ return model[Symbol.iterator]();
3079
3076
  }
3080
3077
  function createModel(response, model, parentObject, key) {
3081
3078
  return "then" === key && "function" === typeof model ? null : model;
@@ -2560,23 +2560,20 @@ function getOutlinedModel(
2560
2560
  function createMap(response, model) {
2561
2561
  if (!isArrayImpl(model)) throw Error("Invalid Map initializer.");
2562
2562
  if (!0 === model.$$consumed) throw Error("Already initialized Map.");
2563
- response = new Map(model);
2564
2563
  model.$$consumed = !0;
2565
- return response;
2564
+ return new Map(model);
2566
2565
  }
2567
2566
  function createSet(response, model) {
2568
2567
  if (!isArrayImpl(model)) throw Error("Invalid Set initializer.");
2569
2568
  if (!0 === model.$$consumed) throw Error("Already initialized Set.");
2570
- response = new Set(model);
2571
2569
  model.$$consumed = !0;
2572
- return response;
2570
+ return new Set(model);
2573
2571
  }
2574
2572
  function extractIterator(response, model) {
2575
2573
  if (!isArrayImpl(model)) throw Error("Invalid Iterator initializer.");
2576
2574
  if (!0 === model.$$consumed) throw Error("Already initialized Iterator.");
2577
- response = model[Symbol.iterator]();
2578
2575
  model.$$consumed = !0;
2579
- return response;
2576
+ return model[Symbol.iterator]();
2580
2577
  }
2581
2578
  function createModel(response, model, parentObject, key) {
2582
2579
  return "then" === key && "function" === typeof model ? null : model;
@@ -3070,23 +3070,20 @@
3070
3070
  function createMap(response, model) {
3071
3071
  if (!isArrayImpl(model)) throw Error("Invalid Map initializer.");
3072
3072
  if (!0 === model.$$consumed) throw Error("Already initialized Map.");
3073
- response = new Map(model);
3074
3073
  model.$$consumed = !0;
3075
- return response;
3074
+ return new Map(model);
3076
3075
  }
3077
3076
  function createSet(response, model) {
3078
3077
  if (!isArrayImpl(model)) throw Error("Invalid Set initializer.");
3079
3078
  if (!0 === model.$$consumed) throw Error("Already initialized Set.");
3080
- response = new Set(model);
3081
3079
  model.$$consumed = !0;
3082
- return response;
3080
+ return new Set(model);
3083
3081
  }
3084
3082
  function extractIterator(response, model) {
3085
3083
  if (!isArrayImpl(model)) throw Error("Invalid Iterator initializer.");
3086
3084
  if (!0 === model.$$consumed) throw Error("Already initialized Iterator.");
3087
- response = model[Symbol.iterator]();
3088
3085
  model.$$consumed = !0;
3089
- return response;
3086
+ return model[Symbol.iterator]();
3090
3087
  }
3091
3088
  function createModel(response, model, parentObject, key) {
3092
3089
  return "then" === key && "function" === typeof model ? null : model;
@@ -2596,23 +2596,20 @@ function getOutlinedModel(
2596
2596
  function createMap(response, model) {
2597
2597
  if (!isArrayImpl(model)) throw Error("Invalid Map initializer.");
2598
2598
  if (!0 === model.$$consumed) throw Error("Already initialized Map.");
2599
- response = new Map(model);
2600
2599
  model.$$consumed = !0;
2601
- return response;
2600
+ return new Map(model);
2602
2601
  }
2603
2602
  function createSet(response, model) {
2604
2603
  if (!isArrayImpl(model)) throw Error("Invalid Set initializer.");
2605
2604
  if (!0 === model.$$consumed) throw Error("Already initialized Set.");
2606
- response = new Set(model);
2607
2605
  model.$$consumed = !0;
2608
- return response;
2606
+ return new Set(model);
2609
2607
  }
2610
2608
  function extractIterator(response, model) {
2611
2609
  if (!isArrayImpl(model)) throw Error("Invalid Iterator initializer.");
2612
2610
  if (!0 === model.$$consumed) throw Error("Already initialized Iterator.");
2613
- response = model[Symbol.iterator]();
2614
2611
  model.$$consumed = !0;
2615
- return response;
2612
+ return model[Symbol.iterator]();
2616
2613
  }
2617
2614
  function createModel(response, model, parentObject, key) {
2618
2615
  return "then" === key && "function" === typeof model ? null : model;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-server-dom-turbopack",
3
3
  "description": "React Server Components bindings for DOM using Turbopack. 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
  ],
@@ -78,8 +78,8 @@
78
78
  "node": ">=0.10.0"
79
79
  },
80
80
  "peerDependencies": {
81
- "react": "^19.0.4",
82
- "react-dom": "^19.0.4"
81
+ "react": "^19.0.5",
82
+ "react-dom": "^19.0.5"
83
83
  },
84
84
  "dependencies": {
85
85
  "acorn-loose": "^8.3.0",