react-server-dom-turbopack 19.0.2 → 19.0.3

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.
@@ -2458,10 +2458,10 @@
2458
2458
  return hook.checkDCE ? !0 : !1;
2459
2459
  })({
2460
2460
  bundleType: 1,
2461
- version: "19.0.2",
2461
+ version: "19.0.3",
2462
2462
  rendererPackageName: "react-server-dom-turbopack",
2463
2463
  currentDispatcherRef: ReactSharedInternals,
2464
- reconcilerVersion: "19.0.2",
2464
+ reconcilerVersion: "19.0.3",
2465
2465
  getCurrentComponentInfo: function () {
2466
2466
  return currentOwnerInDEV;
2467
2467
  }
@@ -3813,11 +3813,12 @@
3813
3813
  case "fulfilled":
3814
3814
  if ("function" === typeof resolve) {
3815
3815
  for (
3816
- var inspectedValue = this.value;
3816
+ var inspectedValue = this.value, cycleProtection = 0;
3817
3817
  inspectedValue instanceof ReactPromise;
3818
3818
 
3819
3819
  ) {
3820
- if (inspectedValue === this) {
3820
+ cycleProtection++;
3821
+ if (inspectedValue === this || 1e3 < cycleProtection) {
3821
3822
  "function" === typeof reject &&
3822
3823
  reject(Error("Cannot have cyclic thenables."));
3823
3824
  return;
@@ -2014,11 +2014,12 @@ ReactPromise.prototype.then = function (resolve, reject) {
2014
2014
  case "fulfilled":
2015
2015
  if ("function" === typeof resolve) {
2016
2016
  for (
2017
- var inspectedValue = this.value;
2017
+ var inspectedValue = this.value, cycleProtection = 0;
2018
2018
  inspectedValue instanceof ReactPromise;
2019
2019
 
2020
2020
  ) {
2021
- if (inspectedValue === this) {
2021
+ cycleProtection++;
2022
+ if (inspectedValue === this || 1e3 < cycleProtection) {
2022
2023
  "function" === typeof reject &&
2023
2024
  reject(Error("Cannot have cyclic thenables."));
2024
2025
  return;
@@ -3855,11 +3855,12 @@
3855
3855
  case "fulfilled":
3856
3856
  if ("function" === typeof resolve) {
3857
3857
  for (
3858
- var inspectedValue = this.value;
3858
+ var inspectedValue = this.value, cycleProtection = 0;
3859
3859
  inspectedValue instanceof ReactPromise;
3860
3860
 
3861
3861
  ) {
3862
- if (inspectedValue === this) {
3862
+ cycleProtection++;
3863
+ if (inspectedValue === this || 1e3 < cycleProtection) {
3863
3864
  "function" === typeof reject &&
3864
3865
  reject(Error("Cannot have cyclic thenables."));
3865
3866
  return;
@@ -2025,11 +2025,12 @@ ReactPromise.prototype.then = function (resolve, reject) {
2025
2025
  case "fulfilled":
2026
2026
  if ("function" === typeof resolve) {
2027
2027
  for (
2028
- var inspectedValue = this.value;
2028
+ var inspectedValue = this.value, cycleProtection = 0;
2029
2029
  inspectedValue instanceof ReactPromise;
2030
2030
 
2031
2031
  ) {
2032
- if (inspectedValue === this) {
2032
+ cycleProtection++;
2033
+ if (inspectedValue === this || 1e3 < cycleProtection) {
2033
2034
  "function" === typeof reject &&
2034
2035
  reject(Error("Cannot have cyclic thenables."));
2035
2036
  return;
@@ -3873,11 +3873,12 @@
3873
3873
  case "fulfilled":
3874
3874
  if ("function" === typeof resolve) {
3875
3875
  for (
3876
- var inspectedValue = this.value;
3876
+ var inspectedValue = this.value, cycleProtection = 0;
3877
3877
  inspectedValue instanceof ReactPromise;
3878
3878
 
3879
3879
  ) {
3880
- if (inspectedValue === this) {
3880
+ cycleProtection++;
3881
+ if (inspectedValue === this || 1e3 < cycleProtection) {
3881
3882
  "function" === typeof reject &&
3882
3883
  reject(Error("Cannot have cyclic thenables."));
3883
3884
  return;
@@ -2061,11 +2061,12 @@ ReactPromise.prototype.then = function (resolve, reject) {
2061
2061
  case "fulfilled":
2062
2062
  if ("function" === typeof resolve) {
2063
2063
  for (
2064
- var inspectedValue = this.value;
2064
+ var inspectedValue = this.value, cycleProtection = 0;
2065
2065
  inspectedValue instanceof ReactPromise;
2066
2066
 
2067
2067
  ) {
2068
- if (inspectedValue === this) {
2068
+ cycleProtection++;
2069
+ if (inspectedValue === this || 1e3 < cycleProtection) {
2069
2070
  "function" === typeof reject &&
2070
2071
  reject(Error("Cannot have cyclic thenables."));
2071
2072
  return;
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.2",
4
+ "version": "19.0.3",
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.2",
82
- "react-dom": "^19.0.2"
81
+ "react": "^19.0.3",
82
+ "react-dom": "^19.0.3"
83
83
  },
84
84
  "dependencies": {
85
85
  "acorn-loose": "^8.3.0",