react-server-dom-webpack 19.1.3 → 19.1.4

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.
@@ -2721,10 +2721,10 @@
2721
2721
  return hook.checkDCE ? !0 : !1;
2722
2722
  })({
2723
2723
  bundleType: 1,
2724
- version: "19.1.3",
2724
+ version: "19.1.4",
2725
2725
  rendererPackageName: "react-server-dom-webpack",
2726
2726
  currentDispatcherRef: ReactSharedInternals,
2727
- reconcilerVersion: "19.1.3",
2727
+ reconcilerVersion: "19.1.4",
2728
2728
  getCurrentComponentInfo: function () {
2729
2729
  return currentOwnerInDEV;
2730
2730
  }
@@ -4096,11 +4096,12 @@
4096
4096
  case "fulfilled":
4097
4097
  if ("function" === typeof resolve) {
4098
4098
  for (
4099
- var inspectedValue = this.value;
4099
+ var inspectedValue = this.value, cycleProtection = 0;
4100
4100
  inspectedValue instanceof ReactPromise;
4101
4101
 
4102
4102
  ) {
4103
- if (inspectedValue === this) {
4103
+ cycleProtection++;
4104
+ if (inspectedValue === this || 1e3 < cycleProtection) {
4104
4105
  "function" === typeof reject &&
4105
4106
  reject(Error("Cannot have cyclic thenables."));
4106
4107
  return;
@@ -2012,11 +2012,12 @@ ReactPromise.prototype.then = function (resolve, reject) {
2012
2012
  case "fulfilled":
2013
2013
  if ("function" === typeof resolve) {
2014
2014
  for (
2015
- var inspectedValue = this.value;
2015
+ var inspectedValue = this.value, cycleProtection = 0;
2016
2016
  inspectedValue instanceof ReactPromise;
2017
2017
 
2018
2018
  ) {
2019
- if (inspectedValue === this) {
2019
+ cycleProtection++;
2020
+ if (inspectedValue === this || 1e3 < cycleProtection) {
2020
2021
  "function" === typeof reject &&
2021
2022
  reject(Error("Cannot have cyclic thenables."));
2022
2023
  return;
@@ -4166,11 +4166,12 @@
4166
4166
  case "fulfilled":
4167
4167
  if ("function" === typeof resolve) {
4168
4168
  for (
4169
- var inspectedValue = this.value;
4169
+ var inspectedValue = this.value, cycleProtection = 0;
4170
4170
  inspectedValue instanceof ReactPromise;
4171
4171
 
4172
4172
  ) {
4173
- if (inspectedValue === this) {
4173
+ cycleProtection++;
4174
+ if (inspectedValue === this || 1e3 < cycleProtection) {
4174
4175
  "function" === typeof reject &&
4175
4176
  reject(Error("Cannot have cyclic thenables."));
4176
4177
  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;
@@ -4165,11 +4165,12 @@
4165
4165
  case "fulfilled":
4166
4166
  if ("function" === typeof resolve) {
4167
4167
  for (
4168
- var inspectedValue = this.value;
4168
+ var inspectedValue = this.value, cycleProtection = 0;
4169
4169
  inspectedValue instanceof ReactPromise;
4170
4170
 
4171
4171
  ) {
4172
- if (inspectedValue === this) {
4172
+ cycleProtection++;
4173
+ if (inspectedValue === this || 1e3 < cycleProtection) {
4173
4174
  "function" === typeof reject &&
4174
4175
  reject(Error("Cannot have cyclic thenables."));
4175
4176
  return;
@@ -2039,11 +2039,12 @@ ReactPromise.prototype.then = function (resolve, reject) {
2039
2039
  case "fulfilled":
2040
2040
  if ("function" === typeof resolve) {
2041
2041
  for (
2042
- var inspectedValue = this.value;
2042
+ var inspectedValue = this.value, cycleProtection = 0;
2043
2043
  inspectedValue instanceof ReactPromise;
2044
2044
 
2045
2045
  ) {
2046
- if (inspectedValue === this) {
2046
+ cycleProtection++;
2047
+ if (inspectedValue === this || 1e3 < cycleProtection) {
2047
2048
  "function" === typeof reject &&
2048
2049
  reject(Error("Cannot have cyclic thenables."));
2049
2050
  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.1.3",
4
+ "version": "19.1.4",
5
5
  "keywords": [
6
6
  "react"
7
7
  ],
@@ -84,8 +84,8 @@
84
84
  "node": ">=0.10.0"
85
85
  },
86
86
  "peerDependencies": {
87
- "react": "^19.1.3",
88
- "react-dom": "^19.1.3",
87
+ "react": "^19.1.4",
88
+ "react-dom": "^19.1.4",
89
89
  "webpack": "^5.59.0"
90
90
  },
91
91
  "dependencies": {