diff --git a/package.json b/package.json index d96e55fddf486..bb26f1d70949e 100644 --- a/package.json +++ b/package.json @@ -193,16 +193,16 @@ "random-seed": "0.3.0", "react": "18.2.0", "react-17": "npm:react@17.0.2", - "react-builtin": "npm:react@18.3.0-canary-a9985529f-20231025", + "react-builtin": "npm:react@18.3.0-canary-8c8ee9ee6-20231026", "react-dom": "18.2.0", "react-dom-17": "npm:react-dom@17.0.2", - "react-dom-builtin": "npm:react-dom@18.3.0-canary-a9985529f-20231025", - "react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-a9985529f-20231025", - "react-experimental-builtin": "npm:react@0.0.0-experimental-a9985529f-20231025", - "react-server-dom-turbopack": "18.3.0-canary-a9985529f-20231025", - "react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-a9985529f-20231025", - "react-server-dom-webpack": "18.3.0-canary-a9985529f-20231025", - "react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-a9985529f-20231025", + "react-dom-builtin": "npm:react-dom@18.3.0-canary-8c8ee9ee6-20231026", + "react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-8c8ee9ee6-20231026", + "react-experimental-builtin": "npm:react@0.0.0-experimental-8c8ee9ee6-20231026", + "react-server-dom-turbopack": "18.3.0-canary-8c8ee9ee6-20231026", + "react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-8c8ee9ee6-20231026", + "react-server-dom-webpack": "18.3.0-canary-8c8ee9ee6-20231026", + "react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-8c8ee9ee6-20231026", "react-ssr-prepass": "1.0.8", "react-virtualized": "9.22.3", "relay-compiler": "13.0.2", @@ -212,8 +212,8 @@ "resolve-from": "5.0.0", "sass": "1.54.0", "satori": "0.10.6", - "scheduler-builtin": "npm:scheduler@0.24.0-canary-a9985529f-20231025", - "scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-a9985529f-20231025", + "scheduler-builtin": "npm:scheduler@0.24.0-canary-8c8ee9ee6-20231026", + "scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-8c8ee9ee6-20231026", "seedrandom": "3.0.5", "selenium-webdriver": "4.0.0-beta.4", "semver": "7.3.7", diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js index 08b984abd60e7..616c376dc1666 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js @@ -17,7 +17,7 @@ if (process.env.NODE_ENV !== "production") { var React = require("next/dist/compiled/react-experimental"); var ReactDOM = require('react-dom'); -var ReactVersion = '18.3.0-experimental-a9985529f-20231025'; +var ReactVersion = '18.3.0-experimental-8c8ee9ee6-20231026'; var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; @@ -10803,7 +10803,7 @@ function retryReplayTask(request, task) { // component suspends again, the thenable state will be restored. var prevThenableState = task.thenableState; task.thenableState = null; - renderNodeDestructive(request, task, prevThenableState, task.node, -1); + renderNodeDestructive(request, task, prevThenableState, task.node, task.childIndex); if (task.replay.pendingTasks === 1 && task.replay.nodes.length > 0) { throw new Error("Couldn't find all resumable slots by key/index during replaying. " + "The tree doesn't match so React will fallback to client rendering."); diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.min.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.min.js index ed1599f38295e..7641181327a64 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.min.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.min.js @@ -166,7 +166,7 @@ function Pe(a,b,c){var d=a.blockedBoundary,e=a.blockedSegment;null!==e&&(e.statu b,c)}),d.fallbackAbortableTasks.clear();b.allPendingTasks--;0===b.allPendingTasks&&(a=b.onAllReady,a())}function Ge(a,b){if(0===b.chunks.length&&1===b.children.length&&null===b.children[0].boundary){var c=b.children[0];c.id=b.id;c.parentFlushed=!0;1===c.status&&Ge(a,c)}else a.completedSegments.push(b)} function Oe(a,b,c){if(null===b){if(null!==c&&c.parentFlushed){if(null!==a.completedRootSegment)throw Error(p(389));a.completedRootSegment=c}a.pendingRootTasks--;0===a.pendingRootTasks&&(a.onShellError=te,b=a.onShellReady,b())}else b.pendingTasks--,4!==b.status&&(0===b.pendingTasks?(0===b.status&&(b.status=1),null!==c&&c.parentFlushed&&1===c.status&&Ge(b,c),b.parentFlushed&&a.completedBoundaries.push(b),1===b.status&&(b.fallbackAbortableTasks.forEach(Ne,a),b.fallbackAbortableTasks.clear())):null!== c&&c.parentFlushed&&1===c.status&&(Ge(b,c),1===b.completedSegments.length&&b.parentFlushed&&a.partialBoundaries.push(b)));a.allPendingTasks--;0===a.allPendingTasks&&(a=a.onAllReady,a())} -function ye(a){if(2!==a.status){var b=od,c=qe.current;qe.current=oe;var d=re.current;re.current=pe;var e=N;N=a;var f=ne;ne=a.resumableState;try{var g=a.pingedTasks,h;for(h=0;h 0) { throw new Error("Couldn't find all resumable slots by key/index during replaying. " + "The tree doesn't match so React will fallback to client rendering."); diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.production.min.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.production.min.js index 69bc318df1fb9..afc51fd4d489d 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.production.min.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.production.min.js @@ -176,7 +176,7 @@ function Qe(a,b,c){var d=a.blockedBoundary,e=a.blockedSegment;null!==e&&(e.statu b,c)}),d.fallbackAbortableTasks.clear();b.allPendingTasks--;0===b.allPendingTasks&&(a=b.onAllReady,a())}function He(a,b){if(0===b.chunks.length&&1===b.children.length&&null===b.children[0].boundary){var c=b.children[0];c.id=b.id;c.parentFlushed=!0;1===c.status&&He(a,c)}else a.completedSegments.push(b)} function Pe(a,b,c){if(null===b){if(null!==c&&c.parentFlushed){if(null!==a.completedRootSegment)throw Error("There can only be one root segment. This is a bug in React.");a.completedRootSegment=c}a.pendingRootTasks--;0===a.pendingRootTasks&&(a.onShellError=ue,b=a.onShellReady,b())}else b.pendingTasks--,4!==b.status&&(0===b.pendingTasks?(0===b.status&&(b.status=1),null!==c&&c.parentFlushed&&1===c.status&&He(b,c),b.parentFlushed&&a.completedBoundaries.push(b),1===b.status&&(b.fallbackAbortableTasks.forEach(Oe, a),b.fallbackAbortableTasks.clear())):null!==c&&c.parentFlushed&&1===c.status&&(He(b,c),1===b.completedSegments.length&&b.parentFlushed&&a.partialBoundaries.push(b)));a.allPendingTasks--;0===a.allPendingTasks&&(a=a.onAllReady,a())} -function ze(a){if(2!==a.status){var b=pd,c=re.current;re.current=oe;var d=se.current;se.current=qe;var e=M;M=a;var f=ne;ne=a.resumableState;try{var g=a.pingedTasks,h;for(h=0;h 0) { throw new Error("Couldn't find all resumable slots by key/index during replaying. " + "The tree doesn't match so React will fallback to client rendering."); diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.production.min.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.production.min.js index f472b25424ff2..6e53fc21a55a1 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.production.min.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.production.min.js @@ -177,7 +177,7 @@ function Zg(a,b,c){var d=a.blockedBoundary,e=a.blockedSegment;null!==e&&(e.statu b,c)}),d.fallbackAbortableTasks.clear();b.allPendingTasks--;0===b.allPendingTasks&&(a=b.onAllReady,a())}function Qg(a,b){if(0===b.chunks.length&&1===b.children.length&&null===b.children[0].boundary){var c=b.children[0];c.id=b.id;c.parentFlushed=!0;1===c.status&&Qg(a,c)}else a.completedSegments.push(b)} function Yg(a,b,c){if(null===b){if(null!==c&&c.parentFlushed){if(null!==a.completedRootSegment)throw Error(l(389));a.completedRootSegment=c}a.pendingRootTasks--;0===a.pendingRootTasks&&(a.onShellError=Y,b=a.onShellReady,b())}else b.pendingTasks--,4!==b.status&&(0===b.pendingTasks?(0===b.status&&(b.status=1),null!==c&&c.parentFlushed&&1===c.status&&Qg(b,c),b.parentFlushed&&a.completedBoundaries.push(b),1===b.status&&(b.fallbackAbortableTasks.forEach(Xg,a),b.fallbackAbortableTasks.clear())):null!== c&&c.parentFlushed&&1===c.status&&(Qg(b,c),1===b.completedSegments.length&&b.parentFlushed&&a.partialBoundaries.push(b)));a.allPendingTasks--;0===a.allPendingTasks&&(a=a.onAllReady,a())} -function Hg(a){if(2!==a.status){var b=vf,c=xg.current;xg.current=vg;var d=yg.current;yg.current=wg;var e=V;V=a;var f=ug;ug=a.resumableState;try{var g=a.pingedTasks,h;for(h=0;h 0) { throw new Error("Couldn't find all resumable slots by key/index during replaying. " + "The tree doesn't match so React will fallback to client rendering."); diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.production.min.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.production.min.js index 6dba476aff2ac..63a7e4c3726ac 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.production.min.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.production.min.js @@ -186,7 +186,7 @@ function ah(a,b,c){var d=a.blockedBoundary,e=a.blockedSegment;null!==e&&(e.statu b,c)}),d.fallbackAbortableTasks.clear();b.allPendingTasks--;0===b.allPendingTasks&&(a=b.onAllReady,a())}function Sg(a,b){if(0===b.chunks.length&&1===b.children.length&&null===b.children[0].boundary){var c=b.children[0];c.id=b.id;c.parentFlushed=!0;1===c.status&&Sg(a,c)}else a.completedSegments.push(b)} function $g(a,b,c){if(null===b){if(null!==c&&c.parentFlushed){if(null!==a.completedRootSegment)throw Error("There can only be one root segment. This is a bug in React.");a.completedRootSegment=c}a.pendingRootTasks--;0===a.pendingRootTasks&&(a.onShellError=W,b=a.onShellReady,b())}else b.pendingTasks--,4!==b.status&&(0===b.pendingTasks?(0===b.status&&(b.status=1),null!==c&&c.parentFlushed&&1===c.status&&Sg(b,c),b.parentFlushed&&a.completedBoundaries.push(b),1===b.status&&(b.fallbackAbortableTasks.forEach(Zg, a),b.fallbackAbortableTasks.clear())):null!==c&&c.parentFlushed&&1===c.status&&(Sg(b,c),1===b.completedSegments.length&&b.parentFlushed&&a.partialBoundaries.push(b)));a.allPendingTasks--;0===a.allPendingTasks&&(a=a.onAllReady,a())} -function Jg(a){if(2!==a.status){var b=wf,c=yg.current;yg.current=wg;var d=zg.current;zg.current=xg;var e=Hg;Hg=a;var f=vg;vg=a.resumableState;try{var g=a.pingedTasks,h;for(h=0;h 0) { throw new Error("Couldn't find all resumable slots by key/index during replaying. " + "The tree doesn't match so React will fallback to client rendering."); diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.production.min.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.production.min.js index b209ea5a025c0..6f792b94661b5 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.production.min.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.production.min.js @@ -158,7 +158,7 @@ function dh(a,b,c){var d=a.blockedBoundary,e=a.blockedSegment;null!==e&&(e.statu b,c)}),d.fallbackAbortableTasks.clear();b.allPendingTasks--;0===b.allPendingTasks&&(a=b.onAllReady,a())}function Vg(a,b){if(0===b.chunks.length&&1===b.children.length&&null===b.children[0].boundary){var c=b.children[0];c.id=b.id;c.parentFlushed=!0;1===c.status&&Vg(a,c)}else a.completedSegments.push(b)} function ch(a,b,c){if(null===b){if(null!==c&&c.parentFlushed){if(null!==a.completedRootSegment)throw Error("There can only be one root segment. This is a bug in React.");a.completedRootSegment=c}a.pendingRootTasks--;0===a.pendingRootTasks&&(a.onShellError=V,b=a.onShellReady,b())}else b.pendingTasks--,4!==b.status&&(0===b.pendingTasks?(0===b.status&&(b.status=1),null!==c&&c.parentFlushed&&1===c.status&&Vg(b,c),b.parentFlushed&&a.completedBoundaries.push(b),1===b.status&&(b.fallbackAbortableTasks.forEach(bh, a),b.fallbackAbortableTasks.clear())):null!==c&&c.parentFlushed&&1===c.status&&(Vg(b,c),1===b.completedSegments.length&&b.parentFlushed&&a.partialBoundaries.push(b)));a.allPendingTasks--;0===a.allPendingTasks&&(a=a.onAllReady,a())} -function Lg(a){if(2!==a.status){var b=zf,c=Cg.current;Cg.current=Ag;var d=Dg.current;Dg.current=Bg;var e=Jg;Jg=a;var f=zg;zg=a.resumableState;try{var g=a.pingedTasks,h;for(h=0;h 0) { throw new Error("Couldn't find all resumable slots by key/index during replaying. " + "The tree doesn't match so React will fallback to client rendering."); diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.browser.production.min.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.browser.production.min.js index 774ce90a3ee57..182360759b819 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.browser.production.min.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.browser.production.min.js @@ -160,7 +160,7 @@ function Je(a,b,c){var d=a.blockedBoundary,e=a.blockedSegment;null!==e&&(e.statu b,c)}),d.fallbackAbortableTasks.clear();b.allPendingTasks--;0===b.allPendingTasks&&(a=b.onAllReady,a())}function De(a,b){if(0===b.chunks.length&&1===b.children.length&&null===b.children[0].boundary){var c=b.children[0];c.id=b.id;c.parentFlushed=!0;1===c.status&&De(a,c)}else a.completedSegments.push(b)} function Ie(a,b,c){if(null===b){if(null!==c&&c.parentFlushed){if(null!==a.completedRootSegment)throw Error(n(389));a.completedRootSegment=c}a.pendingRootTasks--;0===a.pendingRootTasks&&(a.onShellError=qe,b=a.onShellReady,b())}else b.pendingTasks--,4!==b.status&&(0===b.pendingTasks?(0===b.status&&(b.status=1),null!==c&&c.parentFlushed&&1===c.status&&De(b,c),b.parentFlushed&&a.completedBoundaries.push(b),1===b.status&&(b.fallbackAbortableTasks.forEach(He,a),b.fallbackAbortableTasks.clear())):null!== c&&c.parentFlushed&&1===c.status&&(De(b,c),1===b.completedSegments.length&&b.parentFlushed&&a.partialBoundaries.push(b)));a.allPendingTasks--;0===a.allPendingTasks&&(a=a.onAllReady,a())} -function ve(a){if(2!==a.status){var b=ld,c=ne.current;ne.current=le;var d=oe.current;oe.current=me;var e=P;P=a;var f=ke;ke=a.resumableState;try{var g=a.pingedTasks,h;for(h=0;h 0) { throw new Error("Couldn't find all resumable slots by key/index during replaying. " + "The tree doesn't match so React will fallback to client rendering."); diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.production.min.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.production.min.js index f025af3e19a00..c59cd9402e7b0 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.production.min.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.production.min.js @@ -172,7 +172,7 @@ function Ke(a,b,c){var d=a.blockedBoundary,e=a.blockedSegment;null!==e&&(e.statu b,c)}),d.fallbackAbortableTasks.clear();b.allPendingTasks--;0===b.allPendingTasks&&(a=b.onAllReady,a())}function Ee(a,b){if(0===b.chunks.length&&1===b.children.length&&null===b.children[0].boundary){var c=b.children[0];c.id=b.id;c.parentFlushed=!0;1===c.status&&Ee(a,c)}else a.completedSegments.push(b)} function Je(a,b,c){if(null===b){if(null!==c&&c.parentFlushed){if(null!==a.completedRootSegment)throw Error("There can only be one root segment. This is a bug in React.");a.completedRootSegment=c}a.pendingRootTasks--;0===a.pendingRootTasks&&(a.onShellError=re,b=a.onShellReady,b())}else b.pendingTasks--,4!==b.status&&(0===b.pendingTasks?(0===b.status&&(b.status=1),null!==c&&c.parentFlushed&&1===c.status&&Ee(b,c),b.parentFlushed&&a.completedBoundaries.push(b),1===b.status&&(b.fallbackAbortableTasks.forEach(Ie, a),b.fallbackAbortableTasks.clear())):null!==c&&c.parentFlushed&&1===c.status&&(Ee(b,c),1===b.completedSegments.length&&b.parentFlushed&&a.partialBoundaries.push(b)));a.allPendingTasks--;0===a.allPendingTasks&&(a=a.onAllReady,a())} -function we(a){if(2!==a.status){var b=md,c=oe.current;oe.current=me;var d=pe.current;pe.current=ne;var e=O;O=a;var f=je;je=a.resumableState;try{var g=a.pingedTasks,h;for(h=0;h 0) { throw new Error("Couldn't find all resumable slots by key/index during replaying. " + "The tree doesn't match so React will fallback to client rendering."); diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.production.min.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.production.min.js index f073297de7034..dfb3821884008 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.production.min.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.production.min.js @@ -170,7 +170,7 @@ function Rg(a,b,c){var d=a.blockedBoundary,e=a.blockedSegment;null!==e&&(e.statu b,c)}),d.fallbackAbortableTasks.clear();b.allPendingTasks--;0===b.allPendingTasks&&(a=b.onAllReady,a())}function Lg(a,b){if(0===b.chunks.length&&1===b.children.length&&null===b.children[0].boundary){var c=b.children[0];c.id=b.id;c.parentFlushed=!0;1===c.status&&Lg(a,c)}else a.completedSegments.push(b)} function Qg(a,b,c){if(null===b){if(null!==c&&c.parentFlushed){if(null!==a.completedRootSegment)throw Error(k(389));a.completedRootSegment=c}a.pendingRootTasks--;0===a.pendingRootTasks&&(a.onShellError=xg,b=a.onShellReady,b())}else b.pendingTasks--,4!==b.status&&(0===b.pendingTasks?(0===b.status&&(b.status=1),null!==c&&c.parentFlushed&&1===c.status&&Lg(b,c),b.parentFlushed&&a.completedBoundaries.push(b),1===b.status&&(b.fallbackAbortableTasks.forEach(Pg,a),b.fallbackAbortableTasks.clear())):null!== c&&c.parentFlushed&&1===c.status&&(Lg(b,c),1===b.completedSegments.length&&b.parentFlushed&&a.partialBoundaries.push(b)));a.allPendingTasks--;0===a.allPendingTasks&&(a=a.onAllReady,a())} -function Cg(a){if(2!==a.status){var b=tf,c=ug.current;ug.current=sg;var d=vg.current;vg.current=tg;var e=V;V=a;var f=rg;rg=a.resumableState;try{var g=a.pingedTasks,h;for(h=0;h 0) { throw new Error("Couldn't find all resumable slots by key/index during replaying. " + "The tree doesn't match so React will fallback to client rendering."); diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.production.min.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.production.min.js index e4ea2e89f123c..e10033920e63f 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.production.min.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.production.min.js @@ -181,7 +181,7 @@ function Tg(a,b,c){var d=a.blockedBoundary,e=a.blockedSegment;null!==e&&(e.statu b,c)}),d.fallbackAbortableTasks.clear();b.allPendingTasks--;0===b.allPendingTasks&&(a=b.onAllReady,a())}function Ng(a,b){if(0===b.chunks.length&&1===b.children.length&&null===b.children[0].boundary){var c=b.children[0];c.id=b.id;c.parentFlushed=!0;1===c.status&&Ng(a,c)}else a.completedSegments.push(b)} function Sg(a,b,c){if(null===b){if(null!==c&&c.parentFlushed){if(null!==a.completedRootSegment)throw Error("There can only be one root segment. This is a bug in React.");a.completedRootSegment=c}a.pendingRootTasks--;0===a.pendingRootTasks&&(a.onShellError=yg,b=a.onShellReady,b())}else b.pendingTasks--,4!==b.status&&(0===b.pendingTasks?(0===b.status&&(b.status=1),null!==c&&c.parentFlushed&&1===c.status&&Ng(b,c),b.parentFlushed&&a.completedBoundaries.push(b),1===b.status&&(b.fallbackAbortableTasks.forEach(Rg, a),b.fallbackAbortableTasks.clear())):null!==c&&c.parentFlushed&&1===c.status&&(Ng(b,c),1===b.completedSegments.length&&b.parentFlushed&&a.partialBoundaries.push(b)));a.allPendingTasks--;0===a.allPendingTasks&&(a=a.onAllReady,a())} -function Eg(a){if(2!==a.status){var b=uf,c=vg.current;vg.current=tg;var d=wg.current;wg.current=ug;var e=Cg;Cg=a;var f=sg;sg=a.resumableState;try{var g=a.pingedTasks,h;for(h=0;h 0) { throw new Error("Couldn't find all resumable slots by key/index during replaying. " + "The tree doesn't match so React will fallback to client rendering."); diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.production.min.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.production.min.js index 531fbac4a7767..4d0951ca8c39e 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.production.min.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.production.min.js @@ -147,7 +147,7 @@ function Sg(a,b,c){var d=a.blockedBoundary,e=a.blockedSegment;null!==e&&(e.statu b,c)}),d.fallbackAbortableTasks.clear();b.allPendingTasks--;0===b.allPendingTasks&&(a=b.onAllReady,a())}function Mg(a,b){if(0===b.chunks.length&&1===b.children.length&&null===b.children[0].boundary){var c=b.children[0];c.id=b.id;c.parentFlushed=!0;1===c.status&&Mg(a,c)}else a.completedSegments.push(b)} function Rg(a,b,c){if(null===b){if(null!==c&&c.parentFlushed){if(null!==a.completedRootSegment)throw Error("There can only be one root segment. This is a bug in React.");a.completedRootSegment=c}a.pendingRootTasks--;0===a.pendingRootTasks&&(a.onShellError=yg,b=a.onShellReady,b())}else b.pendingTasks--,4!==b.status&&(0===b.pendingTasks?(0===b.status&&(b.status=1),null!==c&&c.parentFlushed&&1===c.status&&Mg(b,c),b.parentFlushed&&a.completedBoundaries.push(b),1===b.status&&(b.fallbackAbortableTasks.forEach(Qg, a),b.fallbackAbortableTasks.clear())):null!==c&&c.parentFlushed&&1===c.status&&(Mg(b,c),1===b.completedSegments.length&&b.parentFlushed&&a.partialBoundaries.push(b)));a.allPendingTasks--;0===a.allPendingTasks&&(a=a.onAllReady,a())} -function Bg(a){if(2!==a.status){var b=tf,c=vg.current;vg.current=tg;var d=wg.current;wg.current=ug;var e=zg;zg=a;var f=sg;sg=a.resumableState;try{var g=a.pingedTasks,h;for(h=0;h=0.10.0'} dev: true - /react-server-dom-turbopack@0.0.0-experimental-a9985529f-20231025(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-DNam39mI5eYUYSG2q5YXlkH1pAHfNIYLAryen3KR3q4T2VyjbpAlxhltG81U+gxMr7UzfiRw9c7CQeT/TjyJXQ==} + /react-server-dom-turbopack@0.0.0-experimental-8c8ee9ee6-20231026(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-JDU51pk7ncHX/iko73M98FN3IvuzlFpfpgTtevSfhhuQLoI8KFY/TY94td+VHAiTrJA0mCwpC3nA5VW9RuorDg==} engines: {node: '>=0.10.0'} peerDependencies: - react: 0.0.0-experimental-a9985529f-20231025 - react-dom: 0.0.0-experimental-a9985529f-20231025 + react: 0.0.0-experimental-8c8ee9ee6-20231026 + react-dom: 0.0.0-experimental-8c8ee9ee6-20231026 dependencies: acorn-loose: 8.3.0 loose-envify: 1.4.0 @@ -20557,12 +20557,12 @@ packages: react-dom: 18.2.0(react@18.2.0) dev: true - /react-server-dom-turbopack@18.3.0-canary-a9985529f-20231025(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-VfSMLpuvXoT0qtC5GeeGYScimViIWx/Chz91p5g/ZzZLKZZfmhNuJu8z4pPLdxTvRVxErViv9y01m8JCVCXYFw==} + /react-server-dom-turbopack@18.3.0-canary-8c8ee9ee6-20231026(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-D0OpptanWajHU3TLd7Sp8GuhqUKs+iWMMdXnqnTVQMGenlO+ZsKWSbnbkw+CaVFn3U8RTz7maA7Favy+OFigRQ==} engines: {node: '>=0.10.0'} peerDependencies: - react: 18.3.0-canary-a9985529f-20231025 - react-dom: 18.3.0-canary-a9985529f-20231025 + react: 18.3.0-canary-8c8ee9ee6-20231026 + react-dom: 18.3.0-canary-8c8ee9ee6-20231026 dependencies: acorn-loose: 8.3.0 loose-envify: 1.4.0 @@ -20571,12 +20571,12 @@ packages: react-dom: 18.2.0(react@18.2.0) dev: true - /react-server-dom-webpack@0.0.0-experimental-a9985529f-20231025(react-dom@18.2.0)(react@18.2.0)(webpack@5.86.0): - resolution: {integrity: sha512-p06QO2bfHOGraemf6hd7qcNTHoqbC3cALPtEAt0mzVTZ2MIPJlHUEDZKS1abNuPzlF+Z2Qr+drrbjnH+R9dKSw==} + /react-server-dom-webpack@0.0.0-experimental-8c8ee9ee6-20231026(react-dom@18.2.0)(react@18.2.0)(webpack@5.86.0): + resolution: {integrity: sha512-1Ace+AlTkkl67Pzp2YSsL08GRJjFoVVMc3Jpl5gDXpjeEiE+37coCDyv3z8YWFfd2Pxd4cs+JSIHpXddcSwdWw==} engines: {node: '>=0.10.0'} peerDependencies: - react: 0.0.0-experimental-a9985529f-20231025 - react-dom: 0.0.0-experimental-a9985529f-20231025 + react: 0.0.0-experimental-8c8ee9ee6-20231026 + react-dom: 0.0.0-experimental-8c8ee9ee6-20231026 webpack: 5.86.0 dependencies: acorn-loose: 8.3.0 @@ -20587,12 +20587,12 @@ packages: webpack: 5.86.0(@swc/core@1.3.85) dev: true - /react-server-dom-webpack@18.3.0-canary-a9985529f-20231025(react-dom@18.2.0)(react@18.2.0)(webpack@5.86.0): - resolution: {integrity: sha512-8aTR51gzLY/Pr0xQF5ERZfXbex51a0gjOZp96J+FR2U8e8xIowC1HsAihPTEN0dWE5+SrasV7xNHqE3tpDDOQQ==} + /react-server-dom-webpack@18.3.0-canary-8c8ee9ee6-20231026(react-dom@18.2.0)(react@18.2.0)(webpack@5.86.0): + resolution: {integrity: sha512-TaIknRaMmmatAIo/x3FVSfcyR6GPEnx2dB8pjWvv/NrjIq/ufWe8jdOc/7X0aiwLu4LyZQpPZC4Rv5gq5LseSQ==} engines: {node: '>=0.10.0'} peerDependencies: - react: 18.3.0-canary-a9985529f-20231025 - react-dom: 18.3.0-canary-a9985529f-20231025 + react: 18.3.0-canary-8c8ee9ee6-20231026 + react-dom: 18.3.0-canary-8c8ee9ee6-20231026 webpack: 5.86.0 dependencies: acorn-loose: 8.3.0 @@ -20630,8 +20630,8 @@ packages: react-lifecycles-compat: 3.0.4 dev: true - /react@0.0.0-experimental-a9985529f-20231025: - resolution: {integrity: sha512-Ki1CQnU+/YTNJxhV2g+w0xo2blMnDrAK0L/pqMRzw4yuxK+vfyLIJcMZx5qSGx56DntfZj07u/JPQOEogd95rQ==} + /react@0.0.0-experimental-8c8ee9ee6-20231026: + resolution: {integrity: sha512-UP/u7R113QJDwOU6p5bjJLjbUZLdqk8CPY6cE5PThx7pY6qPiNMa3cBSAz8ZBUCap5nXULrfTG86v0W7wtfvxg==} engines: {node: '>=0.10.0'} dependencies: loose-envify: 1.4.0 @@ -20650,8 +20650,8 @@ packages: dependencies: loose-envify: 1.4.0 - /react@18.3.0-canary-a9985529f-20231025: - resolution: {integrity: sha512-V6DSSoK4DoklyzkHFrRn643h2x+L9FqdI+c/Y8/kJsd/FdLudidP2GeJ7Uv78Vm4jZ6FAT41/sbKP4XNGjfTgQ==} + /react@18.3.0-canary-8c8ee9ee6-20231026: + resolution: {integrity: sha512-3k2XzRwl4N/D2hEMzS21eYTh6HvpVdZThIwJQUqcllOfwkfMKrUfqxPiqx6M/wtouvcFE5zILK7no4PQMA4xkA==} engines: {node: '>=0.10.0'} dependencies: loose-envify: 1.4.0 @@ -21711,8 +21711,8 @@ packages: xmlchars: 2.2.0 dev: true - /scheduler@0.0.0-experimental-a9985529f-20231025: - resolution: {integrity: sha512-J8vZxPfQfT5hWTaeqKODl7TOAfWMF/KUHSsy3J43/I912tv/cteq29KKSPVRdZS/XH26LniZ8734UF9FRUanaA==} + /scheduler@0.0.0-experimental-8c8ee9ee6-20231026: + resolution: {integrity: sha512-9TnrWbdXi1ERjtgYsEYvt2yaP2IN9QYEnSzy7l9lbQkjiW27uC7bRlk+dRfLkHaRcsP75mG1q3VjhKnd6pExrQ==} dependencies: loose-envify: 1.4.0 dev: true @@ -21728,8 +21728,8 @@ packages: dependencies: loose-envify: 1.4.0 - /scheduler@0.24.0-canary-a9985529f-20231025: - resolution: {integrity: sha512-KLNXd0AtucHjExwtSHGUqexC6NXmGACt1E7a7GPK3LXBylTj/CZ+OcVwJIq0CvEpfT/MpbmopHarrn4AsT7MCw==} + /scheduler@0.24.0-canary-8c8ee9ee6-20231026: + resolution: {integrity: sha512-Mx4La61XpqM+N+61xP55YUq4UHTx77r03vkbf722V5+BeJVhTh2zXiY42/2O6+Rcj29EzkY0o1b/vooWxz6Zkw==} dependencies: loose-envify: 1.4.0 dev: true