react-server-dom-webpack 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.
@@ -4882,10 +4882,10 @@
4882
4882
  return hook.checkDCE ? !0 : !1;
4883
4883
  })({
4884
4884
  bundleType: 1,
4885
- version: "19.2.2",
4885
+ version: "19.2.3",
4886
4886
  rendererPackageName: "react-server-dom-webpack",
4887
4887
  currentDispatcherRef: ReactSharedInternals,
4888
- reconcilerVersion: "19.2.2",
4888
+ reconcilerVersion: "19.2.3",
4889
4889
  getCurrentComponentInfo: function () {
4890
4890
  return currentOwnerInDEV;
4891
4891
  }
@@ -5278,11 +5278,12 @@
5278
5278
  case "fulfilled":
5279
5279
  if ("function" === typeof resolve) {
5280
5280
  for (
5281
- var inspectedValue = this.value;
5281
+ var inspectedValue = this.value, cycleProtection = 0;
5282
5282
  inspectedValue instanceof ReactPromise;
5283
5283
 
5284
5284
  ) {
5285
- if (inspectedValue === this) {
5285
+ cycleProtection++;
5286
+ if (inspectedValue === this || 1e3 < cycleProtection) {
5286
5287
  "function" === typeof reject &&
5287
5288
  reject(Error("Cannot have cyclic thenables."));
5288
5289
  return;
@@ -2268,11 +2268,12 @@ ReactPromise.prototype.then = function (resolve, reject) {
2268
2268
  case "fulfilled":
2269
2269
  if ("function" === typeof resolve) {
2270
2270
  for (
2271
- var inspectedValue = this.value;
2271
+ var inspectedValue = this.value, cycleProtection = 0;
2272
2272
  inspectedValue instanceof ReactPromise;
2273
2273
 
2274
2274
  ) {
2275
- if (inspectedValue === this) {
2275
+ cycleProtection++;
2276
+ if (inspectedValue === this || 1e3 < cycleProtection) {
2276
2277
  "function" === typeof reject &&
2277
2278
  reject(Error("Cannot have cyclic thenables."));
2278
2279
  return;
@@ -5341,11 +5341,12 @@
5341
5341
  case "fulfilled":
5342
5342
  if ("function" === typeof resolve) {
5343
5343
  for (
5344
- var inspectedValue = this.value;
5344
+ var inspectedValue = this.value, cycleProtection = 0;
5345
5345
  inspectedValue instanceof ReactPromise;
5346
5346
 
5347
5347
  ) {
5348
- if (inspectedValue === this) {
5348
+ cycleProtection++;
5349
+ if (inspectedValue === this || 1e3 < cycleProtection) {
5349
5350
  "function" === typeof reject &&
5350
5351
  reject(Error("Cannot have cyclic thenables."));
5351
5352
  return;
@@ -2264,11 +2264,12 @@ ReactPromise.prototype.then = function (resolve, reject) {
2264
2264
  case "fulfilled":
2265
2265
  if ("function" === typeof resolve) {
2266
2266
  for (
2267
- var inspectedValue = this.value;
2267
+ var inspectedValue = this.value, cycleProtection = 0;
2268
2268
  inspectedValue instanceof ReactPromise;
2269
2269
 
2270
2270
  ) {
2271
- if (inspectedValue === this) {
2271
+ cycleProtection++;
2272
+ if (inspectedValue === this || 1e3 < cycleProtection) {
2272
2273
  "function" === typeof reject &&
2273
2274
  reject(Error("Cannot have cyclic thenables."));
2274
2275
  return;
@@ -5967,11 +5967,12 @@
5967
5967
  case "fulfilled":
5968
5968
  if ("function" === typeof resolve) {
5969
5969
  for (
5970
- var inspectedValue = this.value;
5970
+ var inspectedValue = this.value, cycleProtection = 0;
5971
5971
  inspectedValue instanceof ReactPromise;
5972
5972
 
5973
5973
  ) {
5974
- if (inspectedValue === this) {
5974
+ cycleProtection++;
5975
+ if (inspectedValue === this || 1e3 < cycleProtection) {
5975
5976
  "function" === typeof reject &&
5976
5977
  reject(Error("Cannot have cyclic thenables."));
5977
5978
  return;
@@ -2293,11 +2293,12 @@ ReactPromise.prototype.then = function (resolve, reject) {
2293
2293
  case "fulfilled":
2294
2294
  if ("function" === typeof resolve) {
2295
2295
  for (
2296
- var inspectedValue = this.value;
2296
+ var inspectedValue = this.value, cycleProtection = 0;
2297
2297
  inspectedValue instanceof ReactPromise;
2298
2298
 
2299
2299
  ) {
2300
- if (inspectedValue === this) {
2300
+ cycleProtection++;
2301
+ if (inspectedValue === this || 1e3 < cycleProtection) {
2301
2302
  "function" === typeof reject &&
2302
2303
  reject(Error("Cannot have cyclic thenables."));
2303
2304
  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.2.2",
4
+ "version": "19.2.3",
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.2.2",
88
- "react-dom": "^19.2.2",
87
+ "react": "^19.2.3",
88
+ "react-dom": "^19.2.3",
89
89
  "webpack": "^5.59.0"
90
90
  },
91
91
  "dependencies": {