Skip to content

Commit 35073b1

Browse files
committed
Update React Version
1 parent 237d2d7 commit 35073b1

File tree

36 files changed

+100
-72
lines changed

36 files changed

+100
-72
lines changed

packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.browser.development.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2925,10 +2925,10 @@
29252925
return hook.checkDCE ? !0 : !1;
29262926
})({
29272927
bundleType: 1,
2928-
version: "19.2.0-experimental-02186c17-20251211",
2928+
version: "19.2.0-experimental-5e960585-20251211",
29292929
rendererPackageName: "react-server-dom-turbopack",
29302930
currentDispatcherRef: ReactSharedInternals,
2931-
reconcilerVersion: "19.2.0-experimental-02186c17-20251211",
2931+
reconcilerVersion: "19.2.0-experimental-5e960585-20251211",
29322932
getCurrentComponentInfo: function () {
29332933
return currentOwnerInDEV;
29342934
}

packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.browser.development.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4250,11 +4250,12 @@
42504250
case "fulfilled":
42514251
if ("function" === typeof resolve) {
42524252
for (
4253-
var inspectedValue = this.value;
4253+
var inspectedValue = this.value, cycleProtection = 0;
42544254
inspectedValue instanceof ReactPromise;
42554255

42564256
) {
4257-
if (inspectedValue === this) {
4257+
cycleProtection++;
4258+
if (inspectedValue === this || 1e3 < cycleProtection) {
42584259
"function" === typeof reject &&
42594260
reject(Error("Cannot have cyclic thenables."));
42604261
return;

packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.browser.production.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2125,11 +2125,12 @@ ReactPromise.prototype.then = function (resolve, reject) {
21252125
case "fulfilled":
21262126
if ("function" === typeof resolve) {
21272127
for (
2128-
var inspectedValue = this.value;
2128+
var inspectedValue = this.value, cycleProtection = 0;
21292129
inspectedValue instanceof ReactPromise;
21302130

21312131
) {
2132-
if (inspectedValue === this) {
2132+
cycleProtection++;
2133+
if (inspectedValue === this || 1e3 < cycleProtection) {
21332134
"function" === typeof reject &&
21342135
reject(Error("Cannot have cyclic thenables."));
21352136
return;

packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.edge.development.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4354,11 +4354,12 @@
43544354
case "fulfilled":
43554355
if ("function" === typeof resolve) {
43564356
for (
4357-
var inspectedValue = this.value;
4357+
var inspectedValue = this.value, cycleProtection = 0;
43584358
inspectedValue instanceof ReactPromise;
43594359

43604360
) {
4361-
if (inspectedValue === this) {
4361+
cycleProtection++;
4362+
if (inspectedValue === this || 1e3 < cycleProtection) {
43624363
"function" === typeof reject &&
43634364
reject(Error("Cannot have cyclic thenables."));
43644365
return;

packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.edge.production.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2138,11 +2138,12 @@ ReactPromise.prototype.then = function (resolve, reject) {
21382138
case "fulfilled":
21392139
if ("function" === typeof resolve) {
21402140
for (
2141-
var inspectedValue = this.value;
2141+
var inspectedValue = this.value, cycleProtection = 0;
21422142
inspectedValue instanceof ReactPromise;
21432143

21442144
) {
2145-
if (inspectedValue === this) {
2145+
cycleProtection++;
2146+
if (inspectedValue === this || 1e3 < cycleProtection) {
21462147
"function" === typeof reject &&
21472148
reject(Error("Cannot have cyclic thenables."));
21482149
return;

packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.node.development.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4346,11 +4346,12 @@
43464346
case "fulfilled":
43474347
if ("function" === typeof resolve) {
43484348
for (
4349-
var inspectedValue = this.value;
4349+
var inspectedValue = this.value, cycleProtection = 0;
43504350
inspectedValue instanceof ReactPromise;
43514351

43524352
) {
4353-
if (inspectedValue === this) {
4353+
cycleProtection++;
4354+
if (inspectedValue === this || 1e3 < cycleProtection) {
43544355
"function" === typeof reject &&
43554356
reject(Error("Cannot have cyclic thenables."));
43564357
return;

packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.node.production.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2159,11 +2159,12 @@ ReactPromise.prototype.then = function (resolve, reject) {
21592159
case "fulfilled":
21602160
if ("function" === typeof resolve) {
21612161
for (
2162-
var inspectedValue = this.value;
2162+
var inspectedValue = this.value, cycleProtection = 0;
21632163
inspectedValue instanceof ReactPromise;
21642164

21652165
) {
2166-
if (inspectedValue === this) {
2166+
cycleProtection++;
2167+
if (inspectedValue === this || 1e3 < cycleProtection) {
21672168
"function" === typeof reject &&
21682169
reject(Error("Cannot have cyclic thenables."));
21692170
return;

packages/next/src/compiled/react-server-dom-turbopack-experimental/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"neo-async": "^2.6.1"
4949
},
5050
"peerDependencies": {
51-
"react": "0.0.0-experimental-02186c17-20251211",
52-
"react-dom": "0.0.0-experimental-02186c17-20251211"
51+
"react": "0.0.0-experimental-5e960585-20251211",
52+
"react-dom": "0.0.0-experimental-5e960585-20251211"
5353
}
5454
}

packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.browser.development.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2676,10 +2676,10 @@
26762676
return hook.checkDCE ? !0 : !1;
26772677
})({
26782678
bundleType: 1,
2679-
version: "19.2.0-canary-02186c17-20251211",
2679+
version: "19.2.0-canary-5e960585-20251211",
26802680
rendererPackageName: "react-server-dom-turbopack",
26812681
currentDispatcherRef: ReactSharedInternals,
2682-
reconcilerVersion: "19.2.0-canary-02186c17-20251211",
2682+
reconcilerVersion: "19.2.0-canary-5e960585-20251211",
26832683
getCurrentComponentInfo: function () {
26842684
return currentOwnerInDEV;
26852685
}

packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.browser.development.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4071,11 +4071,12 @@
40714071
case "fulfilled":
40724072
if ("function" === typeof resolve) {
40734073
for (
4074-
var inspectedValue = this.value;
4074+
var inspectedValue = this.value, cycleProtection = 0;
40754075
inspectedValue instanceof ReactPromise;
40764076

40774077
) {
4078-
if (inspectedValue === this) {
4078+
cycleProtection++;
4079+
if (inspectedValue === this || 1e3 < cycleProtection) {
40794080
"function" === typeof reject &&
40804081
reject(Error("Cannot have cyclic thenables."));
40814082
return;

0 commit comments

Comments
 (0)