From 8803d2b46e66ad831aec7979f2b7f0243057e48f Mon Sep 17 00:00:00 2001 From: Zack Tanner <1939140+ztanner@users.noreply.github.com> Date: Wed, 18 Dec 2024 19:49:32 -0800 Subject: [PATCH] Backport (v14): Upgrade React from 14898b6a9 to 178c267a4e (#74115) Updates React from 14898b6a9 to 178c267a4e. ### React upstream changes - https://github.com/facebook/react/pull/31842 - https://github.com/facebook/react/pull/31841 --- package.json | 20 +-- ...t-dom-server-legacy.browser.development.js | 2 +- ...ct-dom-server-legacy.browser.production.js | 2 +- ...om-server-legacy.browser.production.min.js | 2 +- ...eact-dom-server-legacy.node.development.js | 2 +- ...react-dom-server-legacy.node.production.js | 2 +- ...t-dom-server-legacy.node.production.min.js | 2 +- ...t-dom-server-rendering-stub.development.js | 2 +- ...ct-dom-server-rendering-stub.production.js | 2 +- ...om-server-rendering-stub.production.min.js | 2 +- .../react-dom-server.browser.development.js | 2 +- .../react-dom-server.browser.production.js | 2 +- ...react-dom-server.browser.production.min.js | 2 +- .../cjs/react-dom-server.bun.production.js | 2 +- .../cjs/react-dom-server.edge.development.js | 2 +- .../cjs/react-dom-server.edge.production.js | 2 +- .../react-dom-server.edge.production.min.js | 2 +- .../cjs/react-dom-server.node.development.js | 2 +- .../cjs/react-dom-server.node.production.js | 2 +- .../react-dom-server.node.production.min.js | 2 +- .../react-dom-unstable_testing.development.js | 2 +- .../react-dom-unstable_testing.production.js | 2 +- ...act-dom-unstable_testing.production.min.js | 6 +- .../cjs/react-dom.development.js | 2 +- .../cjs/react-dom.production.js | 2 +- .../cjs/react-dom.production.min.js | 6 +- .../cjs/react-dom.profiling.js | 2 +- .../cjs/react-dom.profiling.min.js | 6 +- .../react-dom-experimental/package.json | 4 +- ...t-dom-server-legacy.browser.development.js | 2 +- ...ct-dom-server-legacy.browser.production.js | 2 +- ...om-server-legacy.browser.production.min.js | 2 +- ...eact-dom-server-legacy.node.development.js | 2 +- ...react-dom-server-legacy.node.production.js | 2 +- ...t-dom-server-legacy.node.production.min.js | 2 +- ...t-dom-server-rendering-stub.development.js | 2 +- ...ct-dom-server-rendering-stub.production.js | 2 +- ...om-server-rendering-stub.production.min.js | 2 +- .../react-dom-server.browser.development.js | 2 +- .../react-dom-server.browser.production.js | 2 +- ...react-dom-server.browser.production.min.js | 2 +- .../cjs/react-dom-server.bun.production.js | 2 +- .../cjs/react-dom-server.edge.development.js | 2 +- .../cjs/react-dom-server.edge.production.js | 2 +- .../react-dom-server.edge.production.min.js | 2 +- .../cjs/react-dom-server.node.development.js | 2 +- .../cjs/react-dom-server.node.production.js | 2 +- .../react-dom-server.node.production.min.js | 2 +- .../react-dom/cjs/react-dom.development.js | 2 +- .../react-dom/cjs/react-dom.production.js | 2 +- .../react-dom/cjs/react-dom.production.min.js | 6 +- .../react-dom/cjs/react-dom.profiling.js | 2 +- .../react-dom/cjs/react-dom.profiling.min.js | 6 +- .../next/src/compiled/react-dom/package.json | 4 +- .../cjs/react.development.js | 2 +- .../cjs/react.production.js | 2 +- .../cjs/react.production.min.js | 2 +- .../cjs/react.react-server.development.js | 2 +- .../cjs/react.react-server.production.js | 2 +- .../cjs/react.react-server.production.min.js | 2 +- ...om-turbopack-server.browser.development.js | 16 ++- ...dom-turbopack-server.browser.production.js | 16 ++- ...turbopack-server.browser.production.min.js | 130 ++++++++--------- ...r-dom-turbopack-server.edge.development.js | 16 ++- ...er-dom-turbopack-server.edge.production.js | 16 ++- ...om-turbopack-server.edge.production.min.js | 30 ++-- ...r-dom-turbopack-server.node.development.js | 16 ++- ...er-dom-turbopack-server.node.production.js | 16 ++- ...om-turbopack-server.node.production.min.js | 28 ++-- ...opack-server.node.unbundled.development.js | 16 ++- ...bopack-server.node.unbundled.production.js | 16 ++- ...ck-server.node.unbundled.production.min.js | 28 ++-- .../package.json | 4 +- ...om-turbopack-server.browser.development.js | 16 ++- ...dom-turbopack-server.browser.production.js | 16 ++- ...turbopack-server.browser.production.min.js | 14 +- ...r-dom-turbopack-server.edge.development.js | 16 ++- ...er-dom-turbopack-server.edge.production.js | 16 ++- ...om-turbopack-server.edge.production.min.js | 126 ++++++++--------- ...r-dom-turbopack-server.node.development.js | 16 ++- ...er-dom-turbopack-server.node.production.js | 16 ++- ...om-turbopack-server.node.production.min.js | 130 ++++++++--------- ...opack-server.node.unbundled.development.js | 16 ++- ...bopack-server.node.unbundled.production.js | 16 ++- ...ck-server.node.unbundled.production.min.js | 124 ++++++++-------- .../react-server-dom-turbopack/package.json | 4 +- ...-dom-webpack-server.browser.development.js | 16 ++- ...r-dom-webpack-server.browser.production.js | 16 ++- ...m-webpack-server.browser.production.min.js | 130 ++++++++--------- ...ver-dom-webpack-server.edge.development.js | 16 ++- ...rver-dom-webpack-server.edge.production.js | 16 ++- ...-dom-webpack-server.edge.production.min.js | 30 ++-- ...ver-dom-webpack-server.node.development.js | 16 ++- ...rver-dom-webpack-server.node.production.js | 16 ++- ...-dom-webpack-server.node.production.min.js | 28 ++-- ...bpack-server.node.unbundled.development.js | 16 ++- ...ebpack-server.node.unbundled.production.js | 16 ++- ...ck-server.node.unbundled.production.min.js | 28 ++-- .../package.json | 4 +- ...-dom-webpack-server.browser.development.js | 16 ++- ...r-dom-webpack-server.browser.production.js | 16 ++- ...m-webpack-server.browser.production.min.js | 14 +- ...ver-dom-webpack-server.edge.development.js | 16 ++- ...rver-dom-webpack-server.edge.production.js | 16 ++- ...-dom-webpack-server.edge.production.min.js | 126 ++++++++--------- ...ver-dom-webpack-server.node.development.js | 16 ++- ...rver-dom-webpack-server.node.production.js | 16 ++- ...-dom-webpack-server.node.production.min.js | 132 +++++++++--------- ...bpack-server.node.unbundled.development.js | 16 ++- ...ebpack-server.node.unbundled.production.js | 16 ++- ...ck-server.node.unbundled.production.min.js | 126 ++++++++--------- .../react-server-dom-webpack/package.json | 4 +- .../compiled/react/cjs/react.development.js | 2 +- .../compiled/react/cjs/react.production.js | 2 +- .../react/cjs/react.production.min.js | 2 +- .../cjs/react.react-server.development.js | 2 +- .../cjs/react.react-server.production.js | 2 +- .../cjs/react.react-server.production.min.js | 2 +- pnpm-lock.yaml | 104 +++++++------- 119 files changed, 1239 insertions(+), 791 deletions(-) diff --git a/package.json b/package.json index 72cdfffcdde1b..b2fbaf678315a 100644 --- a/package.json +++ b/package.json @@ -198,16 +198,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-14898b6a9-20240318", + "react-builtin": "npm:react@18.3.0-canary-178c267a4e-20241218", "react-dom": "18.2.0", "react-dom-17": "npm:react-dom@17.0.2", - "react-dom-builtin": "npm:react-dom@18.3.0-canary-14898b6a9-20240318", - "react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-14898b6a9-20240318", - "react-experimental-builtin": "npm:react@0.0.0-experimental-14898b6a9-20240318", - "react-server-dom-turbopack": "18.3.0-canary-14898b6a9-20240318", - "react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-14898b6a9-20240318", - "react-server-dom-webpack": "18.3.0-canary-14898b6a9-20240318", - "react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-14898b6a9-20240318", + "react-dom-builtin": "npm:react-dom@18.3.0-canary-178c267a4e-20241218", + "react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-178c267a4e-20241218", + "react-experimental-builtin": "npm:react@0.0.0-experimental-178c267a4e-20241218", + "react-server-dom-turbopack": "18.3.0-canary-178c267a4e-20241218", + "react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-178c267a4e-20241218", + "react-server-dom-webpack": "18.3.0-canary-178c267a4e-20241218", + "react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-178c267a4e-20241218", "react-ssr-prepass": "1.0.8", "react-virtualized": "9.22.3", "relay-compiler": "13.0.2", @@ -217,8 +217,8 @@ "resolve-from": "5.0.0", "sass": "1.54.0", "satori": "0.10.9", - "scheduler-builtin": "npm:scheduler@0.24.0-canary-14898b6a9-20240318", - "scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-14898b6a9-20240318", + "scheduler-builtin": "npm:scheduler@0.24.0-canary-178c267a4e-20241218", + "scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-178c267a4e-20241218", "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 bd07a7b8066b7..080f926e044e5 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-14898b6a9-20240318'; +var ReactVersion = '18.3.0-experimental-178c267a4e-20241218'; var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.js index 29bb83f9278a5..fbef12c609fdd 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.js @@ -30,7 +30,7 @@ function formatProdErrorMessage(code) { return "Minified React error #" + code + "; visit " + url + " for the full message or " + 'use the non-minified dev environment for full errors and additional ' + 'helpful warnings.'; } -var ReactVersion = '18.3.0-experimental-14898b6a9-20240318'; +var ReactVersion = '18.3.0-experimental-178c267a4e-20241218'; // ATTENTION // When adding new symbols to this file, 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 4934a8bf84267..992455a265841 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 @@ -210,6 +210,6 @@ function $c(a){if(!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.dest function If(a,b){try{var c=a.abortableTasks;if(0 { // If this chunk was already resolved or errored, it won't // trigger an error but if it wasn't then we need to @@ -3019,6 +3027,10 @@ function getChunk(response, id) { if (backingEntry != null) { // We assume that this is a string entry for now. chunk = createResolvedModelChunk(response, backingEntry); + } else if (response._closed) { + // We have already errored the response and we're not going to get + // anything more streaming in so this will immediately error. + chunk = createErroredChunk(response, response._closedReason); } else { // We're still waiting on this entry to stream in. chunk = createPendingChunk(response); @@ -3239,7 +3251,9 @@ function createResponse(bundlerConfig, formFieldPrefix) { } return value; - } + }, + _closed: false, + _closedReason: null }; return response; } diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.browser.production.min.js b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.browser.production.min.js index f59a0085d49ef..443fd988ce216 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.browser.production.min.js +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.browser.production.min.js @@ -8,75 +8,75 @@ LICENSE file in the root directory of this source tree. */ 'use strict';var aa=require("react"),ba=require("react-dom"),l=null,p=0;function q(a,b){if(0!==b.byteLength)if(2048=a.length?a:a.slice(0,10)+"...");case "object":if(Sa(a))return"[...]";if(null!==a&&a.$$typeof===Wa)return"client";a=Ua(a);return"Object"===a?"{...}":a;case "function":return a.$$typeof===Wa?"client":(a=a.displayName||a.name)?"function "+a:"function";default:return String(a)}} -function Xa(a){if("string"===typeof a)return a;switch(a){case ya:return"Suspense";case za:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case xa:return Xa(a.render);case Aa:return Xa(a.type);case B:var b=a._payload;a=a._init;try{return Xa(a(b))}catch(c){}}return""}var Wa=Symbol.for("react.client.reference"); -function H(a,b){var c=Ua(a);if("Object"!==c&&"Array"!==c)return c;c=-1;var e=0;if(Sa(a)){var d="[";for(var g=0;gf.length&&40>d.length+f.length?d+f:d+"..."}d+="]"}else if(a.$$typeof===A)d="<"+Xa(a.type)+"/>";else{if(a.$$typeof===Wa)return"client";d="{";g=Object.keys(a);for(f=0;fh.length&&40>d.length+h.length?d+h:d+"..."}d+="}"}return void 0===b?d:-1=a.length?a:a.slice(0,10)+"...");case "object":if(Ta(a))return"[...]";if(null!==a&&a.$$typeof===Xa)return"client";a=Va(a);return"Object"===a?"{...}":a;case "function":return a.$$typeof===Xa?"client":(a=a.displayName||a.name)?"function "+a:"function";default:return String(a)}} +function Ya(a){if("string"===typeof a)return a;switch(a){case za:return"Suspense";case Aa:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case ya:return Ya(a.render);case Ba:return Ya(a.type);case A:var b=a._payload;a=a._init;try{return Ya(a(b))}catch(c){}}return""}var Xa=Symbol.for("react.client.reference"); +function G(a,b){var c=Va(a);if("Object"!==c&&"Array"!==c)return c;c=-1;var e=0;if(Ta(a)){var d="[";for(var g=0;gf.length&&40>d.length+f.length?d+f:d+"..."}d+="]"}else if(a.$$typeof===z)d="<"+Ya(a.type)+"/>";else{if(a.$$typeof===Xa)return"client";d="{";g=Object.keys(a);for(f=0;fh.length&&40>d.length+h.length?d+h:d+"..."}d+="}"}return void 0===b?d:-1 { // If this chunk was already resolved or errored, it won't // trigger an error but if it wasn't then we need to @@ -3042,6 +3050,10 @@ function getChunk(response, id) { if (backingEntry != null) { // We assume that this is a string entry for now. chunk = createResolvedModelChunk(response, backingEntry); + } else if (response._closed) { + // We have already errored the response and we're not going to get + // anything more streaming in so this will immediately error. + chunk = createErroredChunk(response, response._closedReason); } else { // We're still waiting on this entry to stream in. chunk = createPendingChunk(response); @@ -3262,7 +3274,9 @@ function createResponse(bundlerConfig, formFieldPrefix) { } return value; - } + }, + _closed: false, + _closedReason: null }; return response; } diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.edge.production.min.js b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.edge.production.min.js index 12b1f75d10056..bc0c3680063d1 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.edge.production.min.js +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.edge.production.min.js @@ -9,12 +9,12 @@ */ 'use strict';var aa=require("react"),ba=require("react-dom"),n=null,p=0;function ca(a,b){if(0!==b.byteLength)if(2048 { // If this chunk was already resolved or errored, it won't // trigger an error but if it wasn't then we need to @@ -3148,6 +3156,10 @@ function getChunk(response, id) { if (backingEntry != null) { // We assume that this is a string entry for now. chunk = createResolvedModelChunk(response, backingEntry); + } else if (response._closed) { + // We have already errored the response and we're not going to get + // anything more streaming in so this will immediately error. + chunk = createErroredChunk(response, response._closedReason); } else { // We're still waiting on this entry to stream in. chunk = createPendingChunk(response); @@ -3368,7 +3380,9 @@ function createResponse(bundlerConfig, formFieldPrefix) { } return value; - } + }, + _closed: false, + _closedReason: null }; return response; } diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.node.production.min.js b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.node.production.min.js index 26f0495057df0..a792bc25b0a4b 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.node.production.min.js +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.node.production.min.js @@ -9,8 +9,8 @@ */ 'use strict';var aa=require("util");require("crypto");var ba=require("async_hooks"),ca=require("react"),da=require("react-dom"),l=null,n=0,q=!0;function r(a,b){a=a.write(b);q=q&&a} function ea(a,b){if("string"===typeof b){if(0!==b.length)if(2048<3*b.length)0 { // If this chunk was already resolved or errored, it won't // trigger an error but if it wasn't then we need to @@ -3077,6 +3085,10 @@ function getChunk(response, id) { if (backingEntry != null) { // We assume that this is a string entry for now. chunk = createResolvedModelChunk(response, backingEntry); + } else if (response._closed) { + // We have already errored the response and we're not going to get + // anything more streaming in so this will immediately error. + chunk = createErroredChunk(response, response._closedReason); } else { // We're still waiting on this entry to stream in. chunk = createPendingChunk(response); @@ -3297,7 +3309,9 @@ function createResponse(bundlerConfig, formFieldPrefix) { } return value; - } + }, + _closed: false, + _closedReason: null }; return response; } diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.node.unbundled.production.min.js b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.node.unbundled.production.min.js index b90980158d3ed..66b81a5ed6b28 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.node.unbundled.production.min.js +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.node.unbundled.production.min.js @@ -9,8 +9,8 @@ */ 'use strict';var aa=require("util");require("crypto");var ba=require("async_hooks"),ca=require("react"),da=require("react-dom"),l=null,n=0,q=!0;function r(a,b){a=a.write(b);q=q&&a} function ea(a,b){if("string"===typeof b){if(0!==b.length)if(2048<3*b.length)0 { // If this chunk was already resolved or errored, it won't // trigger an error but if it wasn't then we need to @@ -2740,6 +2748,10 @@ function getChunk(response, id) { if (backingEntry != null) { // We assume that this is a string entry for now. chunk = createResolvedModelChunk(response, backingEntry); + } else if (response._closed) { + // We have already errored the response and we're not going to get + // anything more streaming in so this will immediately error. + chunk = createErroredChunk(response, response._closedReason); } else { // We're still waiting on this entry to stream in. chunk = createPendingChunk(response); @@ -2960,7 +2972,9 @@ function createResponse(bundlerConfig, formFieldPrefix) { } return value; - } + }, + _closed: false, + _closedReason: null }; return response; } diff --git a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.browser.production.min.js b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.browser.production.min.js index e400d1614d538..a4b558ecb2121 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.browser.production.min.js +++ b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.browser.production.min.js @@ -39,10 +39,10 @@ function fb(a){switch(a.status){case "fulfilled":case "rejected":break;default:" function gb(a,b,c,d,e){var f=b.thenableState;b.thenableState=null;Ga=0;F=f;d=d(e,void 0);if("object"===typeof d&&null!==d&&"function"===typeof d.then){e=d;if("fulfilled"===e.status)return e.value;d=fb(d)}e=b.keyPath;f=b.implicitSlot;null!==c?b.keyPath=null===e?c:e+","+c:null===e&&(b.implicitSlot=!0);a=O(a,b,P,"",d);b.keyPath=e;b.implicitSlot=f;return a} function hb(a,b,c,d,e,f){if(null!==e&&void 0!==e)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof c)return c.$$typeof===r?[A,c,d,f]:gb(a,b,d,c,f);if("string"===typeof c)return[A,c,d,f];if("symbol"===typeof c)return c===ua&&null===d?(d=b.implicitSlot,null===b.keyPath&&(b.implicitSlot=!0),a=O(a,b,P,"",f.children),b.implicitSlot=d,a):[A,c,d,f];if(null!=c&&"object"===typeof c){if(c.$$typeof===r)return[A,c,d,f];switch(c.$$typeof){case C:var g= c._init;c=g(c._payload);return hb(a,b,c,d,e,f);case wa:return gb(a,b,d,c.render,f);case za:return hb(a,b,c.type,d,e,f)}}throw Error("Unsupported Server Component type: "+Ta(c));}function db(a,b){var c=a.pingedTasks;c.push(b);1===c.length&&(a.flushScheduled=null!==a.destination,ib(a))} -function K(a,b,c,d,e){a.pendingChunks++;var f=a.nextChunkId++;"object"===typeof b&&null!==b&&a.writtenObjects.set(b,f);var g={id:f,status:0,model:b,keyPath:c,implicitSlot:d,ping:function(){return db(a,g)},toJSON:function(k,h){var m=g.keyPath,y=g.implicitSlot;try{var v=O(a,g,this,k,h)}catch(X){if(k=X===Ca?Fa():X,h=g.model,h="object"===typeof h&&null!==h&&(h.$$typeof===A||h.$$typeof===C),"object"===typeof k&&null!==k&&"function"===typeof k.then){v=K(a,g.model,g.keyPath,g.implicitSlot,a.abortableTasks); +function K(a,b,c,d,e){a.pendingChunks++;var f=a.nextChunkId++;"object"===typeof b&&null!==b&&a.writtenObjects.set(b,f);var g={id:f,status:0,model:b,keyPath:c,implicitSlot:d,ping:function(){return db(a,g)},toJSON:function(k,h){var m=g.keyPath,y=g.implicitSlot;try{var v=O(a,g,this,k,h)}catch(Y){if(k=Y===Ca?Fa():Y,h=g.model,h="object"===typeof h&&null!==h&&(h.$$typeof===A||h.$$typeof===C),"object"===typeof k&&null!==k&&"function"===typeof k.then){v=K(a,g.model,g.keyPath,g.implicitSlot,a.abortableTasks); var B=v.ping;k.then(B,B);v.thenableState=Ha();g.keyPath=m;g.implicitSlot=y;v=h?"$L"+v.id.toString(16):Q(v.id)}else if(g.keyPath=m,g.implicitSlot=y,h)a.pendingChunks++,m=a.nextChunkId++,y=L(a,k),M(a,m,y),v="$L"+m.toString(16);else throw k;}return v},thenableState:null};e.add(g);return g}function Q(a){return"$"+a.toString(16)}function jb(a,b,c){a=J(c);b=b.toString(16)+":"+a+"\n";return q.encode(b)} function kb(a,b,c,d){var e=d.$$async?d.$$id+"#async":d.$$id,f=a.writtenClientReferences,g=f.get(e);if(void 0!==g)return b[0]===A&&"1"===c?"$L"+g.toString(16):Q(g);try{var k=a.bundlerConfig,h=d.$$id;g="";var m=k[h];if(m)g=m.name;else{var y=h.lastIndexOf("#");-1!==y&&(g=h.slice(y+1),m=k[h.slice(0,y)]);if(!m)throw Error('Could not find the module "'+h+'" in the React Client Manifest. This is probably a bug in the React Server Components bundler.');}var v=!0===d.$$async?[m.id,m.chunks,g,1]:[m.id,m.chunks, -g];a.pendingChunks++;var B=a.nextChunkId++,X=J(v),Ab=B.toString(16)+":I"+X+"\n",Bb=q.encode(Ab);a.completedImportChunks.push(Bb);f.set(e,B);return b[0]===A&&"1"===c?"$L"+B.toString(16):Q(B)}catch(Cb){return a.pendingChunks++,b=a.nextChunkId++,c=L(a,Cb),M(a,b,c),Q(b)}}function R(a,b){b=K(a,b,null,!1,a.abortableTasks);lb(a,b);return b.id}var S=!1; +g];a.pendingChunks++;var B=a.nextChunkId++,Y=J(v),Ab=B.toString(16)+":I"+Y+"\n",Bb=q.encode(Ab);a.completedImportChunks.push(Bb);f.set(e,B);return b[0]===A&&"1"===c?"$L"+B.toString(16):Q(B)}catch(Cb){return a.pendingChunks++,b=a.nextChunkId++,c=L(a,Cb),M(a,b,c),Q(b)}}function R(a,b){b=K(a,b,null,!1,a.abortableTasks);lb(a,b);return b.id}var S=!1; function O(a,b,c,d,e){b.model=e;if(e===A)return"$";if(null===e)return null;if("object"===typeof e){switch(e.$$typeof){case A:c=a.writtenObjects;d=c.get(e);if(void 0!==d)if(S===e)S=null;else return-1===d?(a=R(a,e),Q(a)):Q(d);else c.set(e,-1);return hb(a,b,e.type,e.key,e.ref,e.props);case C:return b.thenableState=null,c=e._init,e=c(e._payload),O(a,b,P,"",e)}if(e.$$typeof===r)return kb(a,c,d,e);c=a.writtenObjects;d=c.get(e);if("function"===typeof e.then){if(void 0!==d)if(S===e)S=null;else return"$@"+ d.toString(16);a=cb(a,b,e);c.set(e,a);return"$@"+a.toString(16)}if(void 0!==d)if(S===e)S=null;else return-1===d?(a=R(a,e),Q(a)):Q(d);else c.set(e,-1);if(Qa(e))return e;if(e instanceof Map){e=Array.from(e);for(b=0;b { // If this chunk was already resolved or errored, it won't // trigger an error but if it wasn't then we need to @@ -2763,6 +2771,10 @@ function getChunk(response, id) { if (backingEntry != null) { // We assume that this is a string entry for now. chunk = createResolvedModelChunk(response, backingEntry); + } else if (response._closed) { + // We have already errored the response and we're not going to get + // anything more streaming in so this will immediately error. + chunk = createErroredChunk(response, response._closedReason); } else { // We're still waiting on this entry to stream in. chunk = createPendingChunk(response); @@ -2983,7 +2995,9 @@ function createResponse(bundlerConfig, formFieldPrefix) { } return value; - } + }, + _closed: false, + _closedReason: null }; return response; } diff --git a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.edge.production.min.js b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.edge.production.min.js index f1f175aa48d17..6819442ab3bd6 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.edge.production.min.js +++ b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.edge.production.min.js @@ -7,71 +7,71 @@ This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree. */ -'use strict';var aa=require("react"),ba=require("react-dom"),m=null,n=0;function p(a,b){if(0!==b.byteLength)if(2048=a.length?a:a.slice(0,10)+"...");case "object":if(Ra(a))return"[...]";if(null!==a&&a.$$typeof===Va)return"client";a=Ta(a);return"Object"===a?"{...}":a;case "function":return a.$$typeof===Va?"client":(a=a.displayName||a.name)?"function "+a:"function";default:return String(a)}} -function I(a){if("string"===typeof a)return a;switch(a){case ya:return"Suspense";case za:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case xa:return I(a.render);case Aa:return I(a.type);case D:var b=a._payload;a=a._init;try{return I(a(b))}catch(c){}}return""}var Va=Symbol.for("react.client.reference"); -function J(a,b){var c=Ta(a);if("Object"!==c&&"Array"!==c)return c;c=-1;var d=0;if(Ra(a)){var e="[";for(var f=0;fg.length&&40>e.length+g.length?e+g:e+"..."}e+="]"}else if(a.$$typeof===B)e="<"+I(a.type)+"/>";else{if(a.$$typeof===Va)return"client";e="{";f=Object.keys(a);for(g=0;gh.length&&40>e.length+h.length?e+h:e+"..."}e+="}"}return void 0===b?e:-1=a.length?a:a.slice(0,10)+"...");case "object":if(Sa(a))return"[...]";if(null!==a&&a.$$typeof===Wa)return"client";a=Ua(a);return"Object"===a?"{...}":a;case "function":return a.$$typeof===Wa?"client":(a=a.displayName||a.name)?"function "+a:"function";default:return String(a)}} +function I(a){if("string"===typeof a)return a;switch(a){case za:return"Suspense";case Aa:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case ya:return I(a.render);case Ba:return I(a.type);case D:var b=a._payload;a=a._init;try{return I(a(b))}catch(c){}}return""}var Wa=Symbol.for("react.client.reference"); +function J(a,b){var c=Ua(a);if("Object"!==c&&"Array"!==c)return c;c=-1;var d=0;if(Sa(a)){var e="[";for(var f=0;fg.length&&40>e.length+g.length?e+g:e+"..."}e+="]"}else if(a.$$typeof===B)e="<"+I(a.type)+"/>";else{if(a.$$typeof===Wa)return"client";e="{";f=Object.keys(a);for(g=0;gh.length&&40>e.length+h.length?e+h:e+"..."}e+="}"}return void 0===b?e:-1 { // If this chunk was already resolved or errored, it won't // trigger an error but if it wasn't then we need to @@ -2875,6 +2883,10 @@ function getChunk(response, id) { if (backingEntry != null) { // We assume that this is a string entry for now. chunk = createResolvedModelChunk(response, backingEntry); + } else if (response._closed) { + // We have already errored the response and we're not going to get + // anything more streaming in so this will immediately error. + chunk = createErroredChunk(response, response._closedReason); } else { // We're still waiting on this entry to stream in. chunk = createPendingChunk(response); @@ -3095,7 +3107,9 @@ function createResponse(bundlerConfig, formFieldPrefix) { } return value; - } + }, + _closed: false, + _closedReason: null }; return response; } diff --git a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.production.min.js b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.production.min.js index 9dabe7c0a8219..c2edb76032cb4 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.production.min.js +++ b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.production.min.js @@ -7,75 +7,75 @@ This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree. */ -'use strict';var aa=require("util");require("crypto");var ba=require("async_hooks"),ca=require("react"),da=require("react-dom"),l=null,m=0,q=!0;function r(a,b){a=a.write(b);q=q&&a} -function u(a,b){if("string"===typeof b){if(0!==b.length)if(2048<3*b.length)0=a.length?a:a.slice(0,10)+"...");case "object":if(Ta(a))return"[...]";if(null!==a&&a.$$typeof===Xa)return"client";a=Va(a);return"Object"===a?"{...}":a;case "function":return a.$$typeof===Xa?"client":(a=a.displayName||a.name)?"function "+a:"function";default:return String(a)}} -function I(a){if("string"===typeof a)return a;switch(a){case Aa:return"Suspense";case Ba:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case za:return I(a.render);case Ca:return I(a.type);case D:var b=a._payload;a=a._init;try{return I(a(b))}catch(c){}}return""}var Xa=Symbol.for("react.client.reference"); -function J(a,b){var c=Va(a);if("Object"!==c&&"Array"!==c)return c;c=-1;var d=0;if(Ta(a)){var e="[";for(var f=0;fg.length&&40>e.length+g.length?e+g:e+"..."}e+="]"}else if(a.$$typeof===B)e="<"+I(a.type)+"/>";else{if(a.$$typeof===Xa)return"client";e="{";f=Object.keys(a);for(g=0;gh.length&&40>e.length+h.length?e+h:e+"..."}e+="}"}return void 0===b?e:-1=a.length?a:a.slice(0,10)+"...");case "object":if(Ua(a))return"[...]";if(null!==a&&a.$$typeof===Ya)return"client";a=Wa(a);return"Object"===a?"{...}":a;case "function":return a.$$typeof===Ya?"client":(a=a.displayName||a.name)?"function "+a:"function";default:return String(a)}} +function I(a){if("string"===typeof a)return a;switch(a){case Ba:return"Suspense";case Ca:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case Aa:return I(a.render);case Da:return I(a.type);case D:var b=a._payload;a=a._init;try{return I(a(b))}catch(c){}}return""}var Ya=Symbol.for("react.client.reference"); +function J(a,b){var c=Wa(a);if("Object"!==c&&"Array"!==c)return c;c=-1;var d=0;if(Ua(a)){var e="[";for(var f=0;fg.length&&40>e.length+g.length?e+g:e+"..."}e+="]"}else if(a.$$typeof===B)e="<"+I(a.type)+"/>";else{if(a.$$typeof===Ya)return"client";e="{";f=Object.keys(a);for(g=0;gh.length&&40>e.length+h.length?e+h:e+"..."}e+="}"}return void 0===b?e:-1 { // If this chunk was already resolved or errored, it won't // trigger an error but if it wasn't then we need to @@ -2804,6 +2812,10 @@ function getChunk(response, id) { if (backingEntry != null) { // We assume that this is a string entry for now. chunk = createResolvedModelChunk(response, backingEntry); + } else if (response._closed) { + // We have already errored the response and we're not going to get + // anything more streaming in so this will immediately error. + chunk = createErroredChunk(response, response._closedReason); } else { // We're still waiting on this entry to stream in. chunk = createPendingChunk(response); @@ -3024,7 +3036,9 @@ function createResponse(bundlerConfig, formFieldPrefix) { } return value; - } + }, + _closed: false, + _closedReason: null }; return response; } diff --git a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.unbundled.production.min.js b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.unbundled.production.min.js index 2302470110fc6..39045e2fe4b00 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.unbundled.production.min.js +++ b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.unbundled.production.min.js @@ -7,72 +7,72 @@ This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree. */ -'use strict';var aa=require("util");require("crypto");var ba=require("async_hooks"),ca=require("react"),da=require("react-dom"),l=null,m=0,q=!0;function r(a,b){a=a.write(b);q=q&&a} -function u(a,b){if("string"===typeof b){if(0!==b.length)if(2048<3*b.length)0=a.length?a:a.slice(0,10)+"...");case "object":if(Ta(a))return"[...]";if(null!==a&&a.$$typeof===Xa)return"client";a=Va(a);return"Object"===a?"{...}":a;case "function":return a.$$typeof===Xa?"client":(a=a.displayName||a.name)?"function "+a:"function";default:return String(a)}} -function I(a){if("string"===typeof a)return a;switch(a){case Aa:return"Suspense";case Ba:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case za:return I(a.render);case Ca:return I(a.type);case D:var b=a._payload;a=a._init;try{return I(a(b))}catch(c){}}return""}var Xa=Symbol.for("react.client.reference"); -function J(a,b){var c=Va(a);if("Object"!==c&&"Array"!==c)return c;c=-1;var d=0;if(Ta(a)){var e="[";for(var f=0;fg.length&&40>e.length+g.length?e+g:e+"..."}e+="]"}else if(a.$$typeof===B)e="<"+I(a.type)+"/>";else{if(a.$$typeof===Xa)return"client";e="{";f=Object.keys(a);for(g=0;gh.length&&40>e.length+h.length?e+h:e+"..."}e+="}"}return void 0===b?e:-1=a.length?a:a.slice(0,10)+"...");case "object":if(Ua(a))return"[...]";if(null!==a&&a.$$typeof===Ya)return"client";a=Wa(a);return"Object"===a?"{...}":a;case "function":return a.$$typeof===Ya?"client":(a=a.displayName||a.name)?"function "+a:"function";default:return String(a)}} +function I(a){if("string"===typeof a)return a;switch(a){case Ba:return"Suspense";case Ca:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case Aa:return I(a.render);case Da:return I(a.type);case D:var b=a._payload;a=a._init;try{return I(a(b))}catch(c){}}return""}var Ya=Symbol.for("react.client.reference"); +function J(a,b){var c=Wa(a);if("Object"!==c&&"Array"!==c)return c;c=-1;var d=0;if(Ua(a)){var e="[";for(var f=0;fg.length&&40>e.length+g.length?e+g:e+"..."}e+="]"}else if(a.$$typeof===B)e="<"+I(a.type)+"/>";else{if(a.$$typeof===Ya)return"client";e="{";f=Object.keys(a);for(g=0;gh.length&&40>e.length+h.length?e+h:e+"..."}e+="}"}return void 0===b?e:-1 { // If this chunk was already resolved or errored, it won't // trigger an error but if it wasn't then we need to @@ -3044,6 +3052,10 @@ function getChunk(response, id) { if (backingEntry != null) { // We assume that this is a string entry for now. chunk = createResolvedModelChunk(response, backingEntry); + } else if (response._closed) { + // We have already errored the response and we're not going to get + // anything more streaming in so this will immediately error. + chunk = createErroredChunk(response, response._closedReason); } else { // We're still waiting on this entry to stream in. chunk = createPendingChunk(response); @@ -3264,7 +3276,9 @@ function createResponse(bundlerConfig, formFieldPrefix) { } return value; - } + }, + _closed: false, + _closedReason: null }; return response; } diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.browser.production.min.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.browser.production.min.js index ec0619c5b18d1..9eadb7a27adc6 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.browser.production.min.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.browser.production.min.js @@ -8,76 +8,76 @@ LICENSE file in the root directory of this source tree. */ 'use strict';var aa=require("react"),ba=require("react-dom"),l=null,p=0;function q(a,b){if(0!==b.byteLength)if(2048=a.length?a:a.slice(0,10)+"...");case "object":if(Sa(a))return"[...]";if(null!==a&&a.$$typeof===Wa)return"client";a=Ua(a);return"Object"===a?"{...}":a;case "function":return a.$$typeof===Wa?"client":(a=a.displayName||a.name)?"function "+a:"function";default:return String(a)}} -function Xa(a){if("string"===typeof a)return a;switch(a){case ya:return"Suspense";case za:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case xa:return Xa(a.render);case Aa:return Xa(a.type);case B:var b=a._payload;a=a._init;try{return Xa(a(b))}catch(c){}}return""}var Wa=Symbol.for("react.client.reference"); -function H(a,b){var c=Ua(a);if("Object"!==c&&"Array"!==c)return c;c=-1;var e=0;if(Sa(a)){var d="[";for(var g=0;gf.length&&40>d.length+f.length?d+f:d+"..."}d+="]"}else if(a.$$typeof===A)d="<"+Xa(a.type)+"/>";else{if(a.$$typeof===Wa)return"client";d="{";g=Object.keys(a);for(f=0;fk.length&&40>d.length+k.length?d+k:d+"..."}d+="}"}return void 0===b?d:-1=a.length?a:a.slice(0,10)+"...");case "object":if(Ta(a))return"[...]";if(null!==a&&a.$$typeof===Xa)return"client";a=Va(a);return"Object"===a?"{...}":a;case "function":return a.$$typeof===Xa?"client":(a=a.displayName||a.name)?"function "+a:"function";default:return String(a)}} +function Ya(a){if("string"===typeof a)return a;switch(a){case za:return"Suspense";case Aa:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case ya:return Ya(a.render);case Ba:return Ya(a.type);case A:var b=a._payload;a=a._init;try{return Ya(a(b))}catch(c){}}return""}var Xa=Symbol.for("react.client.reference"); +function G(a,b){var c=Va(a);if("Object"!==c&&"Array"!==c)return c;c=-1;var e=0;if(Ta(a)){var d="[";for(var g=0;gf.length&&40>d.length+f.length?d+f:d+"..."}d+="]"}else if(a.$$typeof===z)d="<"+Ya(a.type)+"/>";else{if(a.$$typeof===Xa)return"client";d="{";g=Object.keys(a);for(f=0;fk.length&&40>d.length+k.length?d+k:d+"..."}d+="}"}return void 0===b?d:-1 { // If this chunk was already resolved or errored, it won't // trigger an error but if it wasn't then we need to @@ -3048,6 +3056,10 @@ function getChunk(response, id) { if (backingEntry != null) { // We assume that this is a string entry for now. chunk = createResolvedModelChunk(response, backingEntry); + } else if (response._closed) { + // We have already errored the response and we're not going to get + // anything more streaming in so this will immediately error. + chunk = createErroredChunk(response, response._closedReason); } else { // We're still waiting on this entry to stream in. chunk = createPendingChunk(response); @@ -3268,7 +3280,9 @@ function createResponse(bundlerConfig, formFieldPrefix) { } return value; - } + }, + _closed: false, + _closedReason: null }; return response; } diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.edge.production.min.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.edge.production.min.js index 6bf00efcf862b..07c6e7f241393 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.edge.production.min.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.edge.production.min.js @@ -9,12 +9,12 @@ */ 'use strict';var aa=require("react"),ba=require("react-dom"),n=null,p=0;function ca(a,b){if(0!==b.byteLength)if(2048 { // If this chunk was already resolved or errored, it won't // trigger an error but if it wasn't then we need to @@ -3154,6 +3162,10 @@ function getChunk(response, id) { if (backingEntry != null) { // We assume that this is a string entry for now. chunk = createResolvedModelChunk(response, backingEntry); + } else if (response._closed) { + // We have already errored the response and we're not going to get + // anything more streaming in so this will immediately error. + chunk = createErroredChunk(response, response._closedReason); } else { // We're still waiting on this entry to stream in. chunk = createPendingChunk(response); @@ -3374,7 +3386,9 @@ function createResponse(bundlerConfig, formFieldPrefix) { } return value; - } + }, + _closed: false, + _closedReason: null }; return response; } diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.production.min.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.production.min.js index c2ae8975cffc9..fd1d8ad9abb52 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.production.min.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.production.min.js @@ -9,8 +9,8 @@ */ 'use strict';var aa=require("util");require("crypto");var ba=require("async_hooks"),ca=require("react"),da=require("react-dom"),l=null,n=0,q=!0;function r(a,b){a=a.write(b);q=q&&a} function ea(a,b){if("string"===typeof b){if(0!==b.length)if(2048<3*b.length)0 { // If this chunk was already resolved or errored, it won't // trigger an error but if it wasn't then we need to @@ -3081,6 +3089,10 @@ function getChunk(response, id) { if (backingEntry != null) { // We assume that this is a string entry for now. chunk = createResolvedModelChunk(response, backingEntry); + } else if (response._closed) { + // We have already errored the response and we're not going to get + // anything more streaming in so this will immediately error. + chunk = createErroredChunk(response, response._closedReason); } else { // We're still waiting on this entry to stream in. chunk = createPendingChunk(response); @@ -3301,7 +3313,9 @@ function createResponse(bundlerConfig, formFieldPrefix) { } return value; - } + }, + _closed: false, + _closedReason: null }; return response; } diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.unbundled.production.min.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.unbundled.production.min.js index 92b9be2c184fb..5c6c8fe6bbe4d 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.unbundled.production.min.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.unbundled.production.min.js @@ -9,8 +9,8 @@ */ 'use strict';var aa=require("util");require("crypto");var ba=require("async_hooks"),ca=require("react"),da=require("react-dom"),l=null,n=0,q=!0;function r(a,b){a=a.write(b);q=q&&a} function ea(a,b){if("string"===typeof b){if(0!==b.length)if(2048<3*b.length)0 { // If this chunk was already resolved or errored, it won't // trigger an error but if it wasn't then we need to @@ -2765,6 +2773,10 @@ function getChunk(response, id) { if (backingEntry != null) { // We assume that this is a string entry for now. chunk = createResolvedModelChunk(response, backingEntry); + } else if (response._closed) { + // We have already errored the response and we're not going to get + // anything more streaming in so this will immediately error. + chunk = createErroredChunk(response, response._closedReason); } else { // We're still waiting on this entry to stream in. chunk = createPendingChunk(response); @@ -2985,7 +2997,9 @@ function createResponse(bundlerConfig, formFieldPrefix) { } return value; - } + }, + _closed: false, + _closedReason: null }; return response; } diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.browser.production.min.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.browser.production.min.js index bae295f6c8bf3..14c84b5578ac8 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.browser.production.min.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.browser.production.min.js @@ -39,10 +39,10 @@ function fb(a){switch(a.status){case "fulfilled":case "rejected":break;default:" function gb(a,b,c,d,e){var g=b.thenableState;b.thenableState=null;Ga=0;F=g;d=d(e,void 0);if("object"===typeof d&&null!==d&&"function"===typeof d.then){e=d;if("fulfilled"===e.status)return e.value;d=fb(d)}e=b.keyPath;g=b.implicitSlot;null!==c?b.keyPath=null===e?c:e+","+c:null===e&&(b.implicitSlot=!0);a=O(a,b,P,"",d);b.keyPath=e;b.implicitSlot=g;return a} function hb(a,b,c,d,e,g){if(null!==e&&void 0!==e)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof c)return c.$$typeof===r?[A,c,d,g]:gb(a,b,d,c,g);if("string"===typeof c)return[A,c,d,g];if("symbol"===typeof c)return c===ua&&null===d?(d=b.implicitSlot,null===b.keyPath&&(b.implicitSlot=!0),a=O(a,b,P,"",g.children),b.implicitSlot=d,a):[A,c,d,g];if(null!=c&&"object"===typeof c){if(c.$$typeof===r)return[A,c,d,g];switch(c.$$typeof){case C:var f= c._init;c=f(c._payload);return hb(a,b,c,d,e,g);case wa:return gb(a,b,d,c.render,g);case za:return hb(a,b,c.type,d,e,g)}}throw Error("Unsupported Server Component type: "+Ta(c));}function db(a,b){var c=a.pingedTasks;c.push(b);1===c.length&&(a.flushScheduled=null!==a.destination,ib(a))} -function K(a,b,c,d,e){a.pendingChunks++;var g=a.nextChunkId++;"object"===typeof b&&null!==b&&a.writtenObjects.set(b,g);var f={id:g,status:0,model:b,keyPath:c,implicitSlot:d,ping:function(){return db(a,f)},toJSON:function(h,k){var m=f.keyPath,y=f.implicitSlot;try{var v=O(a,f,this,h,k)}catch(X){if(h=X===Ca?Fa():X,k=f.model,k="object"===typeof k&&null!==k&&(k.$$typeof===A||k.$$typeof===C),"object"===typeof h&&null!==h&&"function"===typeof h.then){v=K(a,f.model,f.keyPath,f.implicitSlot,a.abortableTasks); +function K(a,b,c,d,e){a.pendingChunks++;var g=a.nextChunkId++;"object"===typeof b&&null!==b&&a.writtenObjects.set(b,g);var f={id:g,status:0,model:b,keyPath:c,implicitSlot:d,ping:function(){return db(a,f)},toJSON:function(h,k){var m=f.keyPath,y=f.implicitSlot;try{var v=O(a,f,this,h,k)}catch(Y){if(h=Y===Ca?Fa():Y,k=f.model,k="object"===typeof k&&null!==k&&(k.$$typeof===A||k.$$typeof===C),"object"===typeof h&&null!==h&&"function"===typeof h.then){v=K(a,f.model,f.keyPath,f.implicitSlot,a.abortableTasks); var B=v.ping;h.then(B,B);v.thenableState=Ha();f.keyPath=m;f.implicitSlot=y;v=k?"$L"+v.id.toString(16):Q(v.id)}else if(f.keyPath=m,f.implicitSlot=y,k)a.pendingChunks++,m=a.nextChunkId++,y=L(a,h),M(a,m,y),v="$L"+m.toString(16);else throw h;}return v},thenableState:null};e.add(f);return f}function Q(a){return"$"+a.toString(16)}function jb(a,b,c){a=J(c);b=b.toString(16)+":"+a+"\n";return q.encode(b)} function kb(a,b,c,d){var e=d.$$async?d.$$id+"#async":d.$$id,g=a.writtenClientReferences,f=g.get(e);if(void 0!==f)return b[0]===A&&"1"===c?"$L"+f.toString(16):Q(f);try{var h=a.bundlerConfig,k=d.$$id;f="";var m=h[k];if(m)f=m.name;else{var y=k.lastIndexOf("#");-1!==y&&(f=k.slice(y+1),m=h[k.slice(0,y)]);if(!m)throw Error('Could not find the module "'+k+'" in the React Client Manifest. This is probably a bug in the React Server Components bundler.');}var v=!0===d.$$async?[m.id,m.chunks,f,1]:[m.id,m.chunks, -f];a.pendingChunks++;var B=a.nextChunkId++,X=J(v),Cb=B.toString(16)+":I"+X+"\n",Db=q.encode(Cb);a.completedImportChunks.push(Db);g.set(e,B);return b[0]===A&&"1"===c?"$L"+B.toString(16):Q(B)}catch(Eb){return a.pendingChunks++,b=a.nextChunkId++,c=L(a,Eb),M(a,b,c),Q(b)}}function R(a,b){b=K(a,b,null,!1,a.abortableTasks);lb(a,b);return b.id}var S=!1; +f];a.pendingChunks++;var B=a.nextChunkId++,Y=J(v),Cb=B.toString(16)+":I"+Y+"\n",Db=q.encode(Cb);a.completedImportChunks.push(Db);g.set(e,B);return b[0]===A&&"1"===c?"$L"+B.toString(16):Q(B)}catch(Eb){return a.pendingChunks++,b=a.nextChunkId++,c=L(a,Eb),M(a,b,c),Q(b)}}function R(a,b){b=K(a,b,null,!1,a.abortableTasks);lb(a,b);return b.id}var S=!1; function O(a,b,c,d,e){b.model=e;if(e===A)return"$";if(null===e)return null;if("object"===typeof e){switch(e.$$typeof){case A:c=a.writtenObjects;d=c.get(e);if(void 0!==d)if(S===e)S=null;else return-1===d?(a=R(a,e),Q(a)):Q(d);else c.set(e,-1);return hb(a,b,e.type,e.key,e.ref,e.props);case C:return b.thenableState=null,c=e._init,e=c(e._payload),O(a,b,P,"",e)}if(e.$$typeof===r)return kb(a,c,d,e);c=a.writtenObjects;d=c.get(e);if("function"===typeof e.then){if(void 0!==d)if(S===e)S=null;else return"$@"+ d.toString(16);a=cb(a,b,e);c.set(e,a);return"$@"+a.toString(16)}if(void 0!==d)if(S===e)S=null;else return-1===d?(a=R(a,e),Q(a)):Q(d);else c.set(e,-1);if(Qa(e))return e;if(e instanceof Map){e=Array.from(e);for(b=0;b { // If this chunk was already resolved or errored, it won't // trigger an error but if it wasn't then we need to @@ -2769,6 +2777,10 @@ function getChunk(response, id) { if (backingEntry != null) { // We assume that this is a string entry for now. chunk = createResolvedModelChunk(response, backingEntry); + } else if (response._closed) { + // We have already errored the response and we're not going to get + // anything more streaming in so this will immediately error. + chunk = createErroredChunk(response, response._closedReason); } else { // We're still waiting on this entry to stream in. chunk = createPendingChunk(response); @@ -2989,7 +3001,9 @@ function createResponse(bundlerConfig, formFieldPrefix) { } return value; - } + }, + _closed: false, + _closedReason: null }; return response; } diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.production.min.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.production.min.js index 2666ec2669515..a5ab37322fe43 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.production.min.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.production.min.js @@ -7,72 +7,72 @@ This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree. */ -'use strict';var aa=require("react"),ba=require("react-dom"),m=null,n=0;function p(a,b){if(0!==b.byteLength)if(2048=a.length?a:a.slice(0,10)+"...");case "object":if(Ra(a))return"[...]";if(null!==a&&a.$$typeof===Va)return"client";a=Ta(a);return"Object"===a?"{...}":a;case "function":return a.$$typeof===Va?"client":(a=a.displayName||a.name)?"function "+a:"function";default:return String(a)}} -function I(a){if("string"===typeof a)return a;switch(a){case ya:return"Suspense";case za:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case xa:return I(a.render);case Aa:return I(a.type);case D:var b=a._payload;a=a._init;try{return I(a(b))}catch(c){}}return""}var Va=Symbol.for("react.client.reference"); -function J(a,b){var c=Ta(a);if("Object"!==c&&"Array"!==c)return c;c=-1;var d=0;if(Ra(a)){var e="[";for(var g=0;gf.length&&40>e.length+f.length?e+f:e+"..."}e+="]"}else if(a.$$typeof===B)e="<"+I(a.type)+"/>";else{if(a.$$typeof===Va)return"client";e="{";g=Object.keys(a);for(f=0;fk.length&&40>e.length+k.length?e+k:e+"..."}e+="}"}return void 0===b?e:-1=a.length?a:a.slice(0,10)+"...");case "object":if(Sa(a))return"[...]";if(null!==a&&a.$$typeof===Wa)return"client";a=Ua(a);return"Object"===a?"{...}":a;case "function":return a.$$typeof===Wa?"client":(a=a.displayName||a.name)?"function "+a:"function";default:return String(a)}} +function I(a){if("string"===typeof a)return a;switch(a){case za:return"Suspense";case Aa:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case ya:return I(a.render);case Ba:return I(a.type);case D:var b=a._payload;a=a._init;try{return I(a(b))}catch(c){}}return""}var Wa=Symbol.for("react.client.reference"); +function J(a,b){var c=Ua(a);if("Object"!==c&&"Array"!==c)return c;c=-1;var d=0;if(Sa(a)){var e="[";for(var g=0;gf.length&&40>e.length+f.length?e+f:e+"..."}e+="]"}else if(a.$$typeof===B)e="<"+I(a.type)+"/>";else{if(a.$$typeof===Wa)return"client";e="{";g=Object.keys(a);for(f=0;fk.length&&40>e.length+k.length?e+k:e+"..."}e+="}"}return void 0===b?e:-1 { // If this chunk was already resolved or errored, it won't // trigger an error but if it wasn't then we need to @@ -2881,6 +2889,10 @@ function getChunk(response, id) { if (backingEntry != null) { // We assume that this is a string entry for now. chunk = createResolvedModelChunk(response, backingEntry); + } else if (response._closed) { + // We have already errored the response and we're not going to get + // anything more streaming in so this will immediately error. + chunk = createErroredChunk(response, response._closedReason); } else { // We're still waiting on this entry to stream in. chunk = createPendingChunk(response); @@ -3101,7 +3113,9 @@ function createResponse(bundlerConfig, formFieldPrefix) { } return value; - } + }, + _closed: false, + _closedReason: null }; return response; } diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.production.min.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.production.min.js index bd12edc7623f5..a75e5a087fc79 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.production.min.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.production.min.js @@ -7,76 +7,76 @@ This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree. */ -'use strict';var aa=require("util");require("crypto");var ba=require("async_hooks"),ca=require("react"),da=require("react-dom"),l=null,m=0,q=!0;function r(a,b){a=a.write(b);q=q&&a} -function u(a,b){if("string"===typeof b){if(0!==b.length)if(2048<3*b.length)0=a.length?a:a.slice(0,10)+"...");case "object":if(Ta(a))return"[...]";if(null!==a&&a.$$typeof===Xa)return"client";a=Va(a);return"Object"===a?"{...}":a;case "function":return a.$$typeof===Xa?"client":(a=a.displayName||a.name)?"function "+a:"function";default:return String(a)}} -function I(a){if("string"===typeof a)return a;switch(a){case Aa:return"Suspense";case Ba:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case za:return I(a.render);case Ca:return I(a.type);case D:var b=a._payload;a=a._init;try{return I(a(b))}catch(c){}}return""}var Xa=Symbol.for("react.client.reference"); -function J(a,b){var c=Va(a);if("Object"!==c&&"Array"!==c)return c;c=-1;var d=0;if(Ta(a)){var e="[";for(var f=0;fg.length&&40>e.length+g.length?e+g:e+"..."}e+="]"}else if(a.$$typeof===B)e="<"+I(a.type)+"/>";else{if(a.$$typeof===Xa)return"client";e="{";f=Object.keys(a);for(g=0;gh.length&&40>e.length+h.length?e+h:e+"..."}e+="}"}return void 0===b?e:-1=a.length?a:a.slice(0,10)+"...");case "object":if(Ua(a))return"[...]";if(null!==a&&a.$$typeof===Ya)return"client";a=Wa(a);return"Object"===a?"{...}":a;case "function":return a.$$typeof===Ya?"client":(a=a.displayName||a.name)?"function "+a:"function";default:return String(a)}} +function I(a){if("string"===typeof a)return a;switch(a){case Ba:return"Suspense";case Ca:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case Aa:return I(a.render);case Da:return I(a.type);case D:var b=a._payload;a=a._init;try{return I(a(b))}catch(c){}}return""}var Ya=Symbol.for("react.client.reference"); +function J(a,b){var c=Wa(a);if("Object"!==c&&"Array"!==c)return c;c=-1;var d=0;if(Ua(a)){var e="[";for(var f=0;fg.length&&40>e.length+g.length?e+g:e+"..."}e+="]"}else if(a.$$typeof===B)e="<"+I(a.type)+"/>";else{if(a.$$typeof===Ya)return"client";e="{";f=Object.keys(a);for(g=0;gh.length&&40>e.length+h.length?e+h:e+"..."}e+="}"}return void 0===b?e:-1 { // If this chunk was already resolved or errored, it won't // trigger an error but if it wasn't then we need to @@ -2808,6 +2816,10 @@ function getChunk(response, id) { if (backingEntry != null) { // We assume that this is a string entry for now. chunk = createResolvedModelChunk(response, backingEntry); + } else if (response._closed) { + // We have already errored the response and we're not going to get + // anything more streaming in so this will immediately error. + chunk = createErroredChunk(response, response._closedReason); } else { // We're still waiting on this entry to stream in. chunk = createPendingChunk(response); @@ -3028,7 +3040,9 @@ function createResponse(bundlerConfig, formFieldPrefix) { } return value; - } + }, + _closed: false, + _closedReason: null }; return response; } diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.unbundled.production.min.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.unbundled.production.min.js index 0a09961a103f1..a2ca54e91b882 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.unbundled.production.min.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.unbundled.production.min.js @@ -7,73 +7,73 @@ This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree. */ -'use strict';var aa=require("util");require("crypto");var ba=require("async_hooks"),ca=require("react"),da=require("react-dom"),l=null,m=0,q=!0;function r(a,b){a=a.write(b);q=q&&a} -function u(a,b){if("string"===typeof b){if(0!==b.length)if(2048<3*b.length)0=a.length?a:a.slice(0,10)+"...");case "object":if(Ta(a))return"[...]";if(null!==a&&a.$$typeof===Xa)return"client";a=Va(a);return"Object"===a?"{...}":a;case "function":return a.$$typeof===Xa?"client":(a=a.displayName||a.name)?"function "+a:"function";default:return String(a)}} -function I(a){if("string"===typeof a)return a;switch(a){case Aa:return"Suspense";case Ba:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case za:return I(a.render);case Ca:return I(a.type);case D:var b=a._payload;a=a._init;try{return I(a(b))}catch(c){}}return""}var Xa=Symbol.for("react.client.reference"); -function J(a,b){var c=Va(a);if("Object"!==c&&"Array"!==c)return c;c=-1;var d=0;if(Ta(a)){var e="[";for(var f=0;fg.length&&40>e.length+g.length?e+g:e+"..."}e+="]"}else if(a.$$typeof===B)e="<"+I(a.type)+"/>";else{if(a.$$typeof===Xa)return"client";e="{";f=Object.keys(a);for(g=0;gh.length&&40>e.length+h.length?e+h:e+"..."}e+="}"}return void 0===b?e:-1=a.length?a:a.slice(0,10)+"...");case "object":if(Ua(a))return"[...]";if(null!==a&&a.$$typeof===Ya)return"client";a=Wa(a);return"Object"===a?"{...}":a;case "function":return a.$$typeof===Ya?"client":(a=a.displayName||a.name)?"function "+a:"function";default:return String(a)}} +function I(a){if("string"===typeof a)return a;switch(a){case Ba:return"Suspense";case Ca:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case Aa:return I(a.render);case Da:return I(a.type);case D:var b=a._payload;a=a._init;try{return I(a(b))}catch(c){}}return""}var Ya=Symbol.for("react.client.reference"); +function J(a,b){var c=Wa(a);if("Object"!==c&&"Array"!==c)return c;c=-1;var d=0;if(Ua(a)){var e="[";for(var f=0;fg.length&&40>e.length+g.length?e+g:e+"..."}e+="]"}else if(a.$$typeof===B)e="<"+I(a.type)+"/>";else{if(a.$$typeof===Ya)return"client";e="{";f=Object.keys(a);for(g=0;gh.length&&40>e.length+h.length?e+h:e+"..."}e+="}"}return void 0===b?e:-1 { console['error'](error); }; -var ReactVersion = '18.3.0-canary-14898b6a9-20240318'; +var ReactVersion = '18.3.0-canary-178c267a4e-20241218'; // Patch fetch const Children = { diff --git a/packages/next/src/compiled/react/cjs/react.react-server.production.min.js b/packages/next/src/compiled/react/cjs/react.react-server.production.min.js index c509c64f7ddda..59b8641037346 100644 --- a/packages/next/src/compiled/react/cjs/react.react-server.production.min.js +++ b/packages/next/src/compiled/react/cjs/react.react-server.production.min.js @@ -26,6 +26,6 @@ k}return{$$typeof:y,type:a.type,key:e,ref:f,props:c,_owner:g}}; exports.createElement=function(a,b,d){var c,e={},f=null,g=null;if(null!=b)for(c in void 0!==b.ref&&(g=b.ref),void 0!==b.key&&(f=""+b.key),b)J.call(b,c)&&"key"!==c&&"ref"!==c&&"__self"!==c&&"__source"!==c&&(e[c]=b[c]);var k=arguments.length-2;if(1===k)e.children=d;else if(1=0.10.0'} dev: true - /react-server-dom-turbopack@0.0.0-experimental-14898b6a9-20240318(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-1SI6pzwGxORoRQQGb/ocPKsISLWBmiLlBHxMzd9eBYhT6UItFBat80ms6/01BCNUwTDqU9EkTxbCW5+MfZD4Yg==} + /react-server-dom-turbopack@0.0.0-experimental-178c267a4e-20241218(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-KLadcw81wNGuMfK4xlE/0Y73hrHfV7FBrlHkpLKFXBE/GhbL7G+xtA3E0KThGxkDtkEfhUzf+qipZrri4+SDZA==} engines: {node: '>=0.10.0'} peerDependencies: - react: 0.0.0-experimental-14898b6a9-20240318 - react-dom: 0.0.0-experimental-14898b6a9-20240318 + react: 0.0.0-experimental-178c267a4e-20241218 + react-dom: 0.0.0-experimental-178c267a4e-20241218 dependencies: acorn-loose: 8.3.0 loose-envify: 1.4.0 @@ -21153,12 +21153,12 @@ packages: react-dom: 18.2.0(react@18.2.0) dev: true - /react-server-dom-turbopack@18.3.0-canary-14898b6a9-20240318(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-zFYhm6LZuafnkHv+yZzG8eKPYR2WWTqrarZJy3K98f1N98FifLUfQ87YqegI7R+RPMVCK4yitT1Gz9ixGwVO8w==} + /react-server-dom-turbopack@18.3.0-canary-178c267a4e-20241218(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-oDuDbS3uYZBxw1lV/VL1nWyBs2nkCgSkjp+L6sYmD39In9xFx9TJByd+xK433gSXu63UpEBUuLSK7Wb45lQV3g==} engines: {node: '>=0.10.0'} peerDependencies: - react: 18.3.0-canary-14898b6a9-20240318 - react-dom: 18.3.0-canary-14898b6a9-20240318 + react: 18.3.0-canary-178c267a4e-20241218 + react-dom: 18.3.0-canary-178c267a4e-20241218 dependencies: acorn-loose: 8.3.0 loose-envify: 1.4.0 @@ -21167,12 +21167,12 @@ packages: react-dom: 18.2.0(react@18.2.0) dev: true - /react-server-dom-webpack@0.0.0-experimental-14898b6a9-20240318(react-dom@18.2.0)(react@18.2.0)(webpack@5.90.0): - resolution: {integrity: sha512-u1EXAjHvUVzGyiXoeF8BsRvuZzzra73HOLUyJoftQkyleJQzubN/Xn2P0oHJ+k0JW7k9Fu0DyTNy3OpJfCCY9g==} + /react-server-dom-webpack@0.0.0-experimental-178c267a4e-20241218(react-dom@18.2.0)(react@18.2.0)(webpack@5.90.0): + resolution: {integrity: sha512-VvZQRIsStA3fKzwKXqqiksyWshARKnCM5t1wLOjtZPpUrw9QHwHD8XSgDLXgii5rQ7EbFXb0JD7scxVsOxeaVg==} engines: {node: '>=0.10.0'} peerDependencies: - react: 0.0.0-experimental-14898b6a9-20240318 - react-dom: 0.0.0-experimental-14898b6a9-20240318 + react: 0.0.0-experimental-178c267a4e-20241218 + react-dom: 0.0.0-experimental-178c267a4e-20241218 webpack: 5.90.0 dependencies: acorn-loose: 8.3.0 @@ -21183,12 +21183,12 @@ packages: webpack: 5.90.0(@swc/core@1.4.4) dev: true - /react-server-dom-webpack@18.3.0-canary-14898b6a9-20240318(react-dom@18.2.0)(react@18.2.0)(webpack@5.90.0): - resolution: {integrity: sha512-MmdQVyifrCbmxQzILpLBS1nrS13g7vu6eL8K/bDIwvwyYxVC98VXYlHtez04NHPOUTeprFDOO9fzV8A9xv4Izw==} + /react-server-dom-webpack@18.3.0-canary-178c267a4e-20241218(react-dom@18.2.0)(react@18.2.0)(webpack@5.90.0): + resolution: {integrity: sha512-qEhcgCdbo5pCklmri0KMfe97DmG5VD1eSWIcfC2WMJiqaMB8tHjd/FZQ1gGzxjVvyA0Jwwe6oZGOWISUYn1Hvw==} engines: {node: '>=0.10.0'} peerDependencies: - react: 18.3.0-canary-14898b6a9-20240318 - react-dom: 18.3.0-canary-14898b6a9-20240318 + react: 18.3.0-canary-178c267a4e-20241218 + react-dom: 18.3.0-canary-178c267a4e-20241218 webpack: 5.90.0 dependencies: acorn-loose: 8.3.0 @@ -21226,8 +21226,8 @@ packages: react-lifecycles-compat: 3.0.4 dev: true - /react@0.0.0-experimental-14898b6a9-20240318: - resolution: {integrity: sha512-5by1ncbJ4MZtUXfbYS8yspDmbnDUDVyhBWPBCwzp6QcAZ2sfcenAYbmfm6X0yMsSRn17NUp79pSvziMXK3zjfQ==} + /react@0.0.0-experimental-178c267a4e-20241218: + resolution: {integrity: sha512-k0bIilPSar49ZNvWA/BypU2rNYFrTvTe1ySubzMlxAywu6MS22S366w7HR75N/Jl6T/LV4fcxsN7BponwUOo7Q==} engines: {node: '>=0.10.0'} dependencies: loose-envify: 1.4.0 @@ -21247,8 +21247,8 @@ packages: dependencies: loose-envify: 1.4.0 - /react@18.3.0-canary-14898b6a9-20240318: - resolution: {integrity: sha512-v7DaMx1oNRNNHjqS3htQ5ZHo3klcaX8qyN391ymlAJLVs6FR97q4YdvL7juB0Z1BO718JuYAxzDehozvwKZwUw==} + /react@18.3.0-canary-178c267a4e-20241218: + resolution: {integrity: sha512-J/nkUsklmfohWLxms4MhiKRvShauw7+/BaT0ZkppS8INFDsUOjLuTMsx76t3dXnNyNwV8HVMW+3K7onybQEs7Q==} engines: {node: '>=0.10.0'} dependencies: loose-envify: 1.4.0 @@ -22242,8 +22242,8 @@ packages: xmlchars: 2.2.0 dev: true - /scheduler@0.0.0-experimental-14898b6a9-20240318: - resolution: {integrity: sha512-wrngcElPY3EDYwk4YK1j+i5sDRrSK8ngvlmyOKYl3Xv2Cv3z1mVAeRA2P2vw7iaMMt8wGiVFiu0dTINbfnD/9g==} + /scheduler@0.0.0-experimental-178c267a4e-20241218: + resolution: {integrity: sha512-v/I9spuL4gljRUfZR/zfL9Wa8BNOT7xwOMHjYfLGSPdK/Hpi7Xdjw7FeNPVrvkvmxP3+azFN2wqUgwVDKSGQhg==} dependencies: loose-envify: 1.4.0 dev: true @@ -22260,8 +22260,8 @@ packages: dependencies: loose-envify: 1.4.0 - /scheduler@0.24.0-canary-14898b6a9-20240318: - resolution: {integrity: sha512-ifDO3bUdooS4OlxvGxMyoDEC/aq14MvJLDd0thjrUSZGeLJA7WBc+sr9NZxIxrXfVqMl1GTGGPwXqRJZDNW76w==} + /scheduler@0.24.0-canary-178c267a4e-20241218: + resolution: {integrity: sha512-7r/ApTr658/eYhcntoLdGUVZf1ufp8ouzW2Qxeauj2QtsWSQw9C7UDnLx17qvEjbtqbavALfvrdwy500WC/FAQ==} dependencies: loose-envify: 1.4.0 dev: true