react-server-dom-webpack 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.
@@ -2473,10 +2473,10 @@
2473
2473
  return hook.checkDCE ? !0 : !1;
2474
2474
  })({
2475
2475
  bundleType: 1,
2476
- version: "19.0.2",
2476
+ version: "19.0.3",
2477
2477
  rendererPackageName: "react-server-dom-webpack",
2478
2478
  currentDispatcherRef: ReactSharedInternals,
2479
- reconcilerVersion: "19.0.2",
2479
+ reconcilerVersion: "19.0.3",
2480
2480
  getCurrentComponentInfo: function () {
2481
2481
  return currentOwnerInDEV;
2482
2482
  }
@@ -3828,11 +3828,12 @@
3828
3828
  case "fulfilled":
3829
3829
  if ("function" === typeof resolve) {
3830
3830
  for (
3831
- var inspectedValue = this.value;
3831
+ var inspectedValue = this.value, cycleProtection = 0;
3832
3832
  inspectedValue instanceof ReactPromise;
3833
3833
 
3834
3834
  ) {
3835
- if (inspectedValue === this) {
3835
+ cycleProtection++;
3836
+ if (inspectedValue === this || 1e3 < cycleProtection) {
3836
3837
  "function" === typeof reject &&
3837
3838
  reject(Error("Cannot have cyclic thenables."));
3838
3839
  return;
@@ -2026,11 +2026,12 @@ ReactPromise.prototype.then = function (resolve, reject) {
2026
2026
  case "fulfilled":
2027
2027
  if ("function" === typeof resolve) {
2028
2028
  for (
2029
- var inspectedValue = this.value;
2029
+ var inspectedValue = this.value, cycleProtection = 0;
2030
2030
  inspectedValue instanceof ReactPromise;
2031
2031
 
2032
2032
  ) {
2033
- if (inspectedValue === this) {
2033
+ cycleProtection++;
2034
+ if (inspectedValue === this || 1e3 < cycleProtection) {
2034
2035
  "function" === typeof reject &&
2035
2036
  reject(Error("Cannot have cyclic thenables."));
2036
2037
  return;
@@ -3858,11 +3858,12 @@
3858
3858
  case "fulfilled":
3859
3859
  if ("function" === typeof resolve) {
3860
3860
  for (
3861
- var inspectedValue = this.value;
3861
+ var inspectedValue = this.value, cycleProtection = 0;
3862
3862
  inspectedValue instanceof ReactPromise;
3863
3863
 
3864
3864
  ) {
3865
- if (inspectedValue === this) {
3865
+ cycleProtection++;
3866
+ if (inspectedValue === this || 1e3 < cycleProtection) {
3866
3867
  "function" === typeof reject &&
3867
3868
  reject(Error("Cannot have cyclic thenables."));
3868
3869
  return;
@@ -2028,11 +2028,12 @@ ReactPromise.prototype.then = function (resolve, reject) {
2028
2028
  case "fulfilled":
2029
2029
  if ("function" === typeof resolve) {
2030
2030
  for (
2031
- var inspectedValue = this.value;
2031
+ var inspectedValue = this.value, cycleProtection = 0;
2032
2032
  inspectedValue instanceof ReactPromise;
2033
2033
 
2034
2034
  ) {
2035
- if (inspectedValue === this) {
2035
+ cycleProtection++;
2036
+ if (inspectedValue === this || 1e3 < cycleProtection) {
2036
2037
  "function" === typeof reject &&
2037
2038
  reject(Error("Cannot have cyclic thenables."));
2038
2039
  return;
@@ -3876,11 +3876,12 @@
3876
3876
  case "fulfilled":
3877
3877
  if ("function" === typeof resolve) {
3878
3878
  for (
3879
- var inspectedValue = this.value;
3879
+ var inspectedValue = this.value, cycleProtection = 0;
3880
3880
  inspectedValue instanceof ReactPromise;
3881
3881
 
3882
3882
  ) {
3883
- if (inspectedValue === this) {
3883
+ cycleProtection++;
3884
+ if (inspectedValue === this || 1e3 < cycleProtection) {
3884
3885
  "function" === typeof reject &&
3885
3886
  reject(Error("Cannot have cyclic thenables."));
3886
3887
  return;
@@ -2064,11 +2064,12 @@ ReactPromise.prototype.then = function (resolve, reject) {
2064
2064
  case "fulfilled":
2065
2065
  if ("function" === typeof resolve) {
2066
2066
  for (
2067
- var inspectedValue = this.value;
2067
+ var inspectedValue = this.value, cycleProtection = 0;
2068
2068
  inspectedValue instanceof ReactPromise;
2069
2069
 
2070
2070
  ) {
2071
- if (inspectedValue === this) {
2071
+ cycleProtection++;
2072
+ if (inspectedValue === this || 1e3 < cycleProtection) {
2072
2073
  "function" === typeof reject &&
2073
2074
  reject(Error("Cannot have cyclic thenables."));
2074
2075
  return;
@@ -3840,11 +3840,12 @@
3840
3840
  case "fulfilled":
3841
3841
  if ("function" === typeof resolve) {
3842
3842
  for (
3843
- var inspectedValue = this.value;
3843
+ var inspectedValue = this.value, cycleProtection = 0;
3844
3844
  inspectedValue instanceof ReactPromise;
3845
3845
 
3846
3846
  ) {
3847
- if (inspectedValue === this) {
3847
+ cycleProtection++;
3848
+ if (inspectedValue === this || 1e3 < cycleProtection) {
3848
3849
  "function" === typeof reject &&
3849
3850
  reject(Error("Cannot have cyclic thenables."));
3850
3851
  return;
@@ -2031,11 +2031,12 @@ ReactPromise.prototype.then = function (resolve, reject) {
2031
2031
  case "fulfilled":
2032
2032
  if ("function" === typeof resolve) {
2033
2033
  for (
2034
- var inspectedValue = this.value;
2034
+ var inspectedValue = this.value, cycleProtection = 0;
2035
2035
  inspectedValue instanceof ReactPromise;
2036
2036
 
2037
2037
  ) {
2038
- if (inspectedValue === this) {
2038
+ cycleProtection++;
2039
+ if (inspectedValue === this || 1e3 < cycleProtection) {
2039
2040
  "function" === typeof reject &&
2040
2041
  reject(Error("Cannot have cyclic thenables."));
2041
2042
  return;
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.2",
4
+ "version": "19.0.3",
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.2",
103
- "react-dom": "^19.0.2",
102
+ "react": "^19.0.3",
103
+ "react-dom": "^19.0.3",
104
104
  "webpack": "^5.59.0"
105
105
  },
106
106
  "dependencies": {