react-server-dom-parcel 19.2.2 → 19.2.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.
@@ -4781,10 +4781,10 @@
4781
4781
  return hook.checkDCE ? !0 : !1;
4782
4782
  })({
4783
4783
  bundleType: 1,
4784
- version: "19.2.2",
4784
+ version: "19.2.3",
4785
4785
  rendererPackageName: "react-server-dom-parcel",
4786
4786
  currentDispatcherRef: ReactSharedInternals,
4787
- reconcilerVersion: "19.2.2",
4787
+ reconcilerVersion: "19.2.3",
4788
4788
  getCurrentComponentInfo: function () {
4789
4789
  return currentOwnerInDEV;
4790
4790
  }
@@ -5087,11 +5087,12 @@
5087
5087
  case "fulfilled":
5088
5088
  if ("function" === typeof resolve) {
5089
5089
  for (
5090
- var inspectedValue = this.value;
5090
+ var inspectedValue = this.value, cycleProtection = 0;
5091
5091
  inspectedValue instanceof ReactPromise;
5092
5092
 
5093
5093
  ) {
5094
- if (inspectedValue === this) {
5094
+ cycleProtection++;
5095
+ if (inspectedValue === this || 1e3 < cycleProtection) {
5095
5096
  "function" === typeof reject &&
5096
5097
  reject(Error("Cannot have cyclic thenables."));
5097
5098
  return;
@@ -2046,11 +2046,12 @@ ReactPromise.prototype.then = function (resolve, reject) {
2046
2046
  case "fulfilled":
2047
2047
  if ("function" === typeof resolve) {
2048
2048
  for (
2049
- var inspectedValue = this.value;
2049
+ var inspectedValue = this.value, cycleProtection = 0;
2050
2050
  inspectedValue instanceof ReactPromise;
2051
2051
 
2052
2052
  ) {
2053
- if (inspectedValue === this) {
2053
+ cycleProtection++;
2054
+ if (inspectedValue === this || 1e3 < cycleProtection) {
2054
2055
  "function" === typeof reject &&
2055
2056
  reject(Error("Cannot have cyclic thenables."));
2056
2057
  return;
@@ -5162,11 +5162,12 @@
5162
5162
  case "fulfilled":
5163
5163
  if ("function" === typeof resolve) {
5164
5164
  for (
5165
- var inspectedValue = this.value;
5165
+ var inspectedValue = this.value, cycleProtection = 0;
5166
5166
  inspectedValue instanceof ReactPromise;
5167
5167
 
5168
5168
  ) {
5169
- if (inspectedValue === this) {
5169
+ cycleProtection++;
5170
+ if (inspectedValue === this || 1e3 < cycleProtection) {
5170
5171
  "function" === typeof reject &&
5171
5172
  reject(Error("Cannot have cyclic thenables."));
5172
5173
  return;
@@ -2051,11 +2051,12 @@ ReactPromise.prototype.then = function (resolve, reject) {
2051
2051
  case "fulfilled":
2052
2052
  if ("function" === typeof resolve) {
2053
2053
  for (
2054
- var inspectedValue = this.value;
2054
+ var inspectedValue = this.value, cycleProtection = 0;
2055
2055
  inspectedValue instanceof ReactPromise;
2056
2056
 
2057
2057
  ) {
2058
- if (inspectedValue === this) {
2058
+ cycleProtection++;
2059
+ if (inspectedValue === this || 1e3 < cycleProtection) {
2059
2060
  "function" === typeof reject &&
2060
2061
  reject(Error("Cannot have cyclic thenables."));
2061
2062
  return;
@@ -5788,11 +5788,12 @@
5788
5788
  case "fulfilled":
5789
5789
  if ("function" === typeof resolve) {
5790
5790
  for (
5791
- var inspectedValue = this.value;
5791
+ var inspectedValue = this.value, cycleProtection = 0;
5792
5792
  inspectedValue instanceof ReactPromise;
5793
5793
 
5794
5794
  ) {
5795
- if (inspectedValue === this) {
5795
+ cycleProtection++;
5796
+ if (inspectedValue === this || 1e3 < cycleProtection) {
5796
5797
  "function" === typeof reject &&
5797
5798
  reject(Error("Cannot have cyclic thenables."));
5798
5799
  return;
@@ -2080,11 +2080,12 @@ ReactPromise.prototype.then = function (resolve, reject) {
2080
2080
  case "fulfilled":
2081
2081
  if ("function" === typeof resolve) {
2082
2082
  for (
2083
- var inspectedValue = this.value;
2083
+ var inspectedValue = this.value, cycleProtection = 0;
2084
2084
  inspectedValue instanceof ReactPromise;
2085
2085
 
2086
2086
  ) {
2087
- if (inspectedValue === this) {
2087
+ cycleProtection++;
2088
+ if (inspectedValue === this || 1e3 < cycleProtection) {
2088
2089
  "function" === typeof reject &&
2089
2090
  reject(Error("Cannot have cyclic thenables."));
2090
2091
  return;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-server-dom-parcel",
3
3
  "description": "React Server Components bindings for DOM using Parcel. This is intended to be integrated into meta-frameworks. It is not intended to be imported directly.",
4
- "version": "19.2.2",
4
+ "version": "19.2.3",
5
5
  "keywords": [
6
6
  "react"
7
7
  ],
@@ -78,7 +78,7 @@
78
78
  "node": ">=0.10.0"
79
79
  },
80
80
  "peerDependencies": {
81
- "react": "^19.2.2",
82
- "react-dom": "^19.2.2"
81
+ "react": "^19.2.3",
82
+ "react-dom": "^19.2.3"
83
83
  }
84
84
  }