Unverified Commit e5d604f3 authored by Jiachi Liu's avatar Jiachi Liu Committed by GitHub

Upgrade vendored react (#62326)

### React upstream changes

- https://github.com/facebook/react/pull/28333
- https://github.com/facebook/react/pull/28334
- https://github.com/facebook/react/pull/28378
- https://github.com/facebook/react/pull/28377
- https://github.com/facebook/react/pull/28376
- https://github.com/facebook/react/pull/28338
- https://github.com/facebook/react/pull/28331
- https://github.com/facebook/react/pull/28336
- https://github.com/facebook/react/pull/28320
- https://github.com/facebook/react/pull/28317
- https://github.com/facebook/react/pull/28375
- https://github.com/facebook/react/pull/28367
- https://github.com/facebook/react/pull/28380
- https://github.com/facebook/react/pull/28368
- https://github.com/facebook/react/pull/28343
- https://github.com/facebook/react/pull/28355
- https://github.com/facebook/react/pull/28374
- https://github.com/facebook/react/pull/28362
- https://github.com/facebook/react/pull/28344
- https://github.com/facebook/react/pull/28339
- https://github.com/facebook/react/pull/28353
- https://github.com/facebook/react/pull/28346
- https://github.com/facebook/react/pull/25790
- https://github.com/facebook/react/pull/28352
- https://github.com/facebook/react/pull/28326
- https://github.com/facebook/react/pull/27688
- https://github.com/facebook/react/pull/28329
- https://github.com/facebook/react/pull/28332
- https://github.com/facebook/react/pull/28340
- https://github.com/facebook/react/pull/28327
- https://github.com/facebook/react/pull/28325
- https://github.com/facebook/react/pull/28324
- https://github.com/facebook/react/pull/28309
- https://github.com/facebook/react/pull/28310
- https://github.com/facebook/react/pull/28307
- https://github.com/facebook/react/pull/28306
- https://github.com/facebook/react/pull/28315
- https://github.com/facebook/react/pull/28318
- https://github.com/facebook/react/pull/28226
- https://github.com/facebook/react/pull/28308
- https://github.com/facebook/react/pull/27563
- https://github.com/facebook/react/pull/28297
- https://github.com/facebook/react/pull/28286
- https://github.com/facebook/react/pull/28284
- https://github.com/facebook/react/pull/28275
- https://github.com/facebook/react/pull/28145
- https://github.com/facebook/react/pull/28301
- https://github.com/facebook/react/pull/28224
- https://github.com/facebook/react/pull/28152
- https://github.com/facebook/react/pull/28296
- https://github.com/facebook/react/pull/28294
- https://github.com/facebook/react/pull/28279
- https://github.com/facebook/react/pull/28273
- https://github.com/facebook/react/pull/28269
- https://github.com/facebook/react/pull/28376
- https://github.com/facebook/react/pull/28338
- https://github.com/facebook/react/pull/28331
- https://github.com/facebook/react/pull/28336
- https://github.com/facebook/react/pull/28320
- https://github.com/facebook/react/pull/28317
- https://github.com/facebook/react/pull/28375
- https://github.com/facebook/react/pull/28367
- https://github.com/facebook/react/pull/28380
- https://github.com/facebook/react/pull/28368
- https://github.com/facebook/react/pull/28343
- https://github.com/facebook/react/pull/28355
- https://github.com/facebook/react/pull/28374
- https://github.com/facebook/react/pull/28362
- https://github.com/facebook/react/pull/28344
- https://github.com/facebook/react/pull/28339
- https://github.com/facebook/react/pull/28353
- https://github.com/facebook/react/pull/28346
- https://github.com/facebook/react/pull/25790
- https://github.com/facebook/react/pull/28352
- https://github.com/facebook/react/pull/28326
- https://github.com/facebook/react/pull/27688
- https://github.com/facebook/react/pull/28329
- https://github.com/facebook/react/pull/28332
- https://github.com/facebook/react/pull/28340
- https://github.com/facebook/react/pull/28327
- https://github.com/facebook/react/pull/28325
- https://github.com/facebook/react/pull/28324
- https://github.com/facebook/react/pull/28309
- https://github.com/facebook/react/pull/28310
- https://github.com/facebook/react/pull/28307
- https://github.com/facebook/react/pull/28306
- https://github.com/facebook/react/pull/28315
- https://github.com/facebook/react/pull/28318
- https://github.com/facebook/react/pull/28226
- https://github.com/facebook/react/pull/28308
- https://github.com/facebook/react/pull/27563
- https://github.com/facebook/react/pull/28297
- https://github.com/facebook/react/pull/28286
- https://github.com/facebook/react/pull/28284
- https://github.com/facebook/react/pull/28275
- https://github.com/facebook/react/pull/28145
- https://github.com/facebook/react/pull/28301
- https://github.com/facebook/react/pull/28224
- https://github.com/facebook/react/pull/28152
- https://github.com/facebook/react/pull/28296
- https://github.com/facebook/react/pull/28294
- https://github.com/facebook/react/pull/28279
- https://github.com/facebook/react/pull/28273
- https://github.com/facebook/react/pull/28269

Closes NEXT-2542


Disable ppr test for strict mode for now, @acdlite will check it and
we'll sync again
parent b0c6b006
......@@ -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-ba5e6a832-20240208",
"react-builtin": "npm:react@18.3.0-canary-a515d753b-20240220",
"react-dom": "18.2.0",
"react-dom-17": "npm:react-dom@17.0.2",
"react-dom-builtin": "npm:react-dom@18.3.0-canary-ba5e6a832-20240208",
"react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-ba5e6a832-20240208",
"react-experimental-builtin": "npm:react@0.0.0-experimental-ba5e6a832-20240208",
"react-server-dom-turbopack": "18.3.0-canary-ba5e6a832-20240208",
"react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-ba5e6a832-20240208",
"react-server-dom-webpack": "18.3.0-canary-ba5e6a832-20240208",
"react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-ba5e6a832-20240208",
"react-dom-builtin": "npm:react-dom@18.3.0-canary-a515d753b-20240220",
"react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-a515d753b-20240220",
"react-experimental-builtin": "npm:react@0.0.0-experimental-a515d753b-20240220",
"react-server-dom-turbopack": "18.3.0-canary-a515d753b-20240220",
"react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-a515d753b-20240220",
"react-server-dom-webpack": "18.3.0-canary-a515d753b-20240220",
"react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-a515d753b-20240220",
"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-ba5e6a832-20240208",
"scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-ba5e6a832-20240208",
"scheduler-builtin": "npm:scheduler@0.24.0-canary-a515d753b-20240220",
"scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-a515d753b-20240220",
"seedrandom": "3.0.5",
"selenium-webdriver": "4.0.0-beta.4",
"semver": "7.3.7",
......
......@@ -55,7 +55,7 @@ function printWarning(level, format, args) {
}
}
var ReactVersion = '18.3.0-experimental-ba5e6a832-20240208';
var ReactVersion = '18.3.0-experimental-a515d753b-20240220';
var Internals = {
usingClientEntryPoint: false,
......
......@@ -12,7 +12,7 @@
var React = require("next/dist/compiled/react-experimental");
var ReactVersion = '18.3.0-experimental-ba5e6a832-20240208';
var ReactVersion = '18.3.0-experimental-a515d753b-20240220';
const Internals = {
usingClientEntryPoint: false,
......
......@@ -14,6 +14,6 @@ exports.preinit=function(b,a){var c=l.current;if(c&&"string"===typeof b&&a&&"str
exports.preinitModule=function(b,a){var c=l.current;if(c&&"string"===typeof b)if("object"===typeof a&&null!==a){if(null==a.as||"script"===a.as){var d=k(a.as,a.crossOrigin);c.preinitModuleScript(b,{crossOrigin:d,integrity:"string"===typeof a.integrity?a.integrity:void 0,nonce:"string"===typeof a.nonce?a.nonce:void 0})}}else null==a&&c.preinitModuleScript(b)};
exports.preload=function(b,a){var c=l.current;if(c&&"string"===typeof b&&"object"===typeof a&&null!==a&&"string"===typeof a.as){var d=a.as,g=k(d,a.crossOrigin);c.preload(b,d,{crossOrigin:g,integrity:"string"===typeof a.integrity?a.integrity:void 0,nonce:"string"===typeof a.nonce?a.nonce:void 0,type:"string"===typeof a.type?a.type:void 0,fetchPriority:"string"===typeof a.fetchPriority?a.fetchPriority:void 0,referrerPolicy:"string"===typeof a.referrerPolicy?a.referrerPolicy:void 0,imageSrcSet:"string"===
typeof a.imageSrcSet?a.imageSrcSet:void 0,imageSizes:"string"===typeof a.imageSizes?a.imageSizes:void 0})}};exports.preloadModule=function(b,a){var c=l.current;if(c&&"string"===typeof b)if(a){var d=k(a.as,a.crossOrigin);c.preloadModule(b,{as:"string"===typeof a.as&&"script"!==a.as?a.as:void 0,crossOrigin:d,integrity:"string"===typeof a.integrity?a.integrity:void 0})}else c.preloadModule(b)};exports.unstable_batchedUpdates=function(b,a){return b(a)};exports.useFormState=r;exports.useFormStatus=n;
exports.version="18.3.0-experimental-ba5e6a832-20240208";
exports.version="18.3.0-experimental-a515d753b-20240220";
//# sourceMappingURL=react-dom-server-rendering-stub.production.min.js.map
......@@ -42,10 +42,10 @@
},
"dependencies": {
"loose-envify": "^1.1.0",
"scheduler": "0.0.0-experimental-ba5e6a832-20240208"
"scheduler": "0.0.0-experimental-a515d753b-20240220"
},
"peerDependencies": {
"react": "0.0.0-experimental-ba5e6a832-20240208"
"react": "0.0.0-experimental-a515d753b-20240220"
},
"browser": {
"./server.js": "./server.browser.js",
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -55,7 +55,7 @@ function printWarning(level, format, args) {
}
}
var ReactVersion = '18.3.0-canary-ba5e6a832-20240208';
var ReactVersion = '18.3.0-canary-a515d753b-20240220';
var Internals = {
usingClientEntryPoint: false,
......
......@@ -12,7 +12,7 @@
var React = require("next/dist/compiled/react");
var ReactVersion = '18.3.0-canary-ba5e6a832-20240208';
var ReactVersion = '18.3.0-canary-a515d753b-20240220';
const Internals = {
usingClientEntryPoint: false,
......
......@@ -14,6 +14,6 @@ exports.preinit=function(b,a){var c=l.current;if(c&&"string"===typeof b&&a&&"str
exports.preinitModule=function(b,a){var c=l.current;if(c&&"string"===typeof b)if("object"===typeof a&&null!==a){if(null==a.as||"script"===a.as){var d=k(a.as,a.crossOrigin);c.preinitModuleScript(b,{crossOrigin:d,integrity:"string"===typeof a.integrity?a.integrity:void 0,nonce:"string"===typeof a.nonce?a.nonce:void 0})}}else null==a&&c.preinitModuleScript(b)};
exports.preload=function(b,a){var c=l.current;if(c&&"string"===typeof b&&"object"===typeof a&&null!==a&&"string"===typeof a.as){var d=a.as,g=k(d,a.crossOrigin);c.preload(b,d,{crossOrigin:g,integrity:"string"===typeof a.integrity?a.integrity:void 0,nonce:"string"===typeof a.nonce?a.nonce:void 0,type:"string"===typeof a.type?a.type:void 0,fetchPriority:"string"===typeof a.fetchPriority?a.fetchPriority:void 0,referrerPolicy:"string"===typeof a.referrerPolicy?a.referrerPolicy:void 0,imageSrcSet:"string"===
typeof a.imageSrcSet?a.imageSrcSet:void 0,imageSizes:"string"===typeof a.imageSizes?a.imageSizes:void 0})}};exports.preloadModule=function(b,a){var c=l.current;if(c&&"string"===typeof b)if(a){var d=k(a.as,a.crossOrigin);c.preloadModule(b,{as:"string"===typeof a.as&&"script"!==a.as?a.as:void 0,crossOrigin:d,integrity:"string"===typeof a.integrity?a.integrity:void 0})}else c.preloadModule(b)};exports.unstable_batchedUpdates=function(b,a){return b(a)};exports.useFormState=r;exports.useFormStatus=n;
exports.version="18.3.0-canary-ba5e6a832-20240208";
exports.version="18.3.0-canary-a515d753b-20240220";
//# sourceMappingURL=react-dom-server-rendering-stub.production.min.js.map
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -41,10 +41,10 @@
},
"dependencies": {
"loose-envify": "^1.1.0",
"scheduler": "0.24.0-canary-ba5e6a832-20240208"
"scheduler": "0.24.0-canary-a515d753b-20240220"
},
"peerDependencies": {
"react": "18.3.0-canary-ba5e6a832-20240208"
"react": "18.3.0-canary-a515d753b-20240220"
},
"browser": {
"./server.js": "./server.browser.js",
......
......@@ -80,7 +80,7 @@ function ReactElement(type, key, ref, self, source, owner, props) {
*/
function jsx$1(type, config, maybeKey) {
function jsxProd(type, config, maybeKey) {
let propName; // Reserved names are extracted
const props = {};
......@@ -127,12 +127,12 @@ function jsx$1(type, config, maybeKey) {
}
return ReactElement(type, key, ref, undefined, undefined, ReactCurrentOwner.current, props);
}
} // While `jsxDEV` should never be called when running in production, we do
const jsx = jsx$1; // we may want to special case jsxs internally to take advantage of static children.
const jsx = jsxProd; // we may want to special case jsxs internally to take advantage of static children.
// for now we can ship identical prod functions
const jsxs = jsx$1;
const jsxs = jsxProd;
exports.Fragment = REACT_FRAGMENT_TYPE;
exports.jsx = jsx;
......
......@@ -80,7 +80,7 @@ function ReactElement(type, key, ref, self, source, owner, props) {
*/
function jsx$1(type, config, maybeKey) {
function jsxProd(type, config, maybeKey) {
let propName; // Reserved names are extracted
const props = {};
......@@ -127,12 +127,12 @@ function jsx$1(type, config, maybeKey) {
}
return ReactElement(type, key, ref, undefined, undefined, ReactCurrentOwner.current, props);
}
} // While `jsxDEV` should never be called when running in production, we do
const jsx = jsx$1; // we may want to special case jsxs internally to take advantage of static children.
const jsx = jsxProd; // we may want to special case jsxs internally to take advantage of static children.
// for now we can ship identical prod functions
const jsxs = jsx$1;
const jsxs = jsxProd;
exports.Fragment = REACT_FRAGMENT_TYPE;
exports.jsx = jsx;
......
......@@ -80,7 +80,7 @@ function ReactElement(type, key, ref, self, source, owner, props) {
*/
function jsx$1(type, config, maybeKey) {
function jsxProd(type, config, maybeKey) {
let propName; // Reserved names are extracted
const props = {};
......@@ -127,14 +127,15 @@ function jsx$1(type, config, maybeKey) {
}
return ReactElement(type, key, ref, undefined, undefined, ReactCurrentOwner.current, props);
}
} // While `jsxDEV` should never be called when running in production, we do
// These are implementations of the jsx APIs for React Server runtimes.
const jsx = jsx$1; // we may want to special case jsxs internally to take advantage of static children.
const jsx = jsxProd; // we may want to special case jsxs internally to take advantage of static children.
// for now we can ship identical prod functions
const jsxs = jsx$1;
const jsxs = jsxProd;
const jsxDEV = undefined;
exports.Fragment = REACT_FRAGMENT_TYPE;
exports.jsx = jsx;
exports.jsxDEV = jsxDEV;
exports.jsxs = jsxs;
\ No newline at end of file
......@@ -8,6 +8,6 @@
LICENSE file in the root directory of this source tree.
*/
'use strict';var f=require("next/dist/compiled/react-experimental"),k=Symbol.for("react.element"),l=Symbol.for("react.fragment"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner;
function p(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=""+g);void 0!==a.key&&(e=""+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&"key"!==b&&"ref"!==b&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}exports.Fragment=l;exports.jsx=p;exports.jsxs=p;
function p(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=""+g);void 0!==a.key&&(e=""+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&"key"!==b&&"ref"!==b&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}exports.Fragment=l;exports.jsx=p;exports.jsxDEV=void 0;exports.jsxs=p;
//# sourceMappingURL=react-jsx-runtime.react-server.production.min.js.map
......@@ -151,7 +151,7 @@ const ReactCurrentDispatcher = {
* The current owner is the component who should own any components that are
* currently being constructed.
*/
const ReactCurrentOwner = {
const ReactCurrentOwner$1 = {
/**
* @internal
* @type {ReactComponent}
......@@ -161,7 +161,7 @@ const ReactCurrentOwner = {
const ReactSharedInternals = {
ReactCurrentDispatcher,
ReactCurrentOwner
ReactCurrentOwner: ReactCurrentOwner$1
};
const TaintRegistryObjects$1 = new WeakMap();
......@@ -242,6 +242,8 @@ function getIteratorFn(maybeIterable) {
// $FlowFixMe[method-unbinding]
const hasOwnProperty = Object.prototype.hasOwnProperty;
const ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;
function hasValidRef(config) {
return config.ref !== undefined;
......@@ -273,15 +275,15 @@ function hasValidKey(config) {
*/
function ReactElement(type, key, ref, owner, props) {
function ReactElement(type, key, ref, self, source, owner, props) {
const element = {
// This tag allows us to uniquely identify this as a React Element
$$typeof: REACT_ELEMENT_TYPE,
// Built-in properties that belong on the element
type: type,
key: key,
ref: ref,
props: props,
type,
key,
ref,
props,
// Record the component responsible for creating this element.
_owner: owner
};
......@@ -293,8 +295,8 @@ function ReactElement(type, key, ref, owner, props) {
* See https://reactjs.org/docs/react-api.html#createelement
*/
function createElement(type, config, children) {
function createElement$1(type, config, children) {
let propName; // Reserved names are extracted
const props = {};
......@@ -354,18 +356,19 @@ function createElement$1(type, config, children) {
}
}
return ReactElement(type, key, ref, ReactCurrentOwner.current, props);
const element = ReactElement(type, key, ref, undefined, undefined, ReactCurrentOwner.current, props);
return element;
}
function cloneAndReplaceKey(oldElement, newKey) {
const newElement = ReactElement(oldElement.type, newKey, oldElement.ref, oldElement._owner, oldElement.props);
return newElement;
return ReactElement(oldElement.type, newKey, oldElement.ref, undefined, undefined, oldElement._owner, oldElement.props);
}
/**
* Clone and return a new ReactElement using element as the starting point.
* See https://reactjs.org/docs/react-api.html#cloneelement
*/
function cloneElement$1(element, config, children) {
function cloneElement(element, config, children) {
if (element === null || element === undefined) {
throw Error(formatProdErrorMessage(267, element));
}
......@@ -434,7 +437,8 @@ function cloneElement$1(element, config, children) {
props.children = childArray;
}
return ReactElement(element.type, key, ref, owner, props);
const clonedElement = ReactElement(element.type, key, ref, undefined, undefined, owner, props);
return clonedElement;
}
/**
* Verifies the object is a ReactElement.
......@@ -444,13 +448,11 @@ function cloneElement$1(element, config, children) {
* @final
*/
function isValidElement(object) {
return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
}
const createElement = createElement$1;
const cloneElement = cloneElement$1;
const SEPARATOR = '.';
const SUBSEPARATOR = ':';
/**
......@@ -497,6 +499,72 @@ function getElementKey(element, index) {
return index.toString(36);
}
function noop$1() {}
function resolveThenable(thenable) {
switch (thenable.status) {
case 'fulfilled':
{
const fulfilledValue = thenable.value;
return fulfilledValue;
}
case 'rejected':
{
const rejectedError = thenable.reason;
throw rejectedError;
}
default:
{
if (typeof thenable.status === 'string') {
// Only instrument the thenable if the status if not defined. If
// it's defined, but an unknown value, assume it's been instrumented by
// some custom userspace implementation. We treat it as "pending".
// Attach a dummy listener, to ensure that any lazy initialization can
// happen. Flight lazily parses JSON when the value is actually awaited.
thenable.then(noop$1, noop$1);
} else {
// This is an uncached thenable that we haven't seen before.
// TODO: Detect infinite ping loops caused by uncached promises.
const pendingThenable = thenable;
pendingThenable.status = 'pending';
pendingThenable.then(fulfilledValue => {
if (thenable.status === 'pending') {
const fulfilledThenable = thenable;
fulfilledThenable.status = 'fulfilled';
fulfilledThenable.value = fulfilledValue;
}
}, error => {
if (thenable.status === 'pending') {
const rejectedThenable = thenable;
rejectedThenable.status = 'rejected';
rejectedThenable.reason = error;
}
});
} // Check one more time in case the thenable resolved synchronously.
switch (thenable.status) {
case 'fulfilled':
{
const fulfilledThenable = thenable;
return fulfilledThenable.value;
}
case 'rejected':
{
const rejectedThenable = thenable;
const rejectedError = rejectedThenable.reason;
throw rejectedError;
}
}
}
}
throw thenable;
}
function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
const type = typeof children;
......@@ -524,7 +592,9 @@ function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
break;
case REACT_LAZY_TYPE:
throw Error(formatProdErrorMessage(505));
const payload = children._payload;
const init = children._init;
return mapIntoArray(init(payload), array, escapedPrefix, nameSoFar, callback);
}
}
......@@ -590,13 +660,12 @@ function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
subtreeCount += mapIntoArray(child, array, escapedPrefix, nextName, callback);
}
} else if (type === 'object') {
// eslint-disable-next-line react-internal/safe-string-coercion
const childrenString = String(children);
if (typeof children.then === 'function') {
throw Error(formatProdErrorMessage(505));
}
return mapIntoArray(resolveThenable(children), array, escapedPrefix, nameSoFar, callback);
} // eslint-disable-next-line react-internal/safe-string-coercion
const childrenString = String(children);
throw Error(formatProdErrorMessage(31, childrenString === '[object Object]' ? 'object with keys {' + Object.keys(children).join(', ') + '}' : childrenString));
}
}
......@@ -1012,7 +1081,7 @@ function postpone(reason) {
throw postponeInstance;
}
var ReactVersion = '18.3.0-experimental-ba5e6a832-20240208';
var ReactVersion = '18.3.0-experimental-a515d753b-20240220';
const getPrototypeOf = Object.getPrototypeOf;
......
'use strict';
if (process.env.NODE_ENV === 'production') {
module.exports = require('./cjs/react-jsx-runtime.react-server.production.min.js');
} else {
module.exports = require('./cjs/react-jsx-runtime.react-server.development.js');
}
......@@ -48,7 +48,7 @@
"loose-envify": "^1.1.0"
},
"peerDependencies": {
"react": "0.0.0-experimental-ba5e6a832-20240208",
"react-dom": "0.0.0-experimental-ba5e6a832-20240208"
"react": "0.0.0-experimental-a515d753b-20240220",
"react-dom": "0.0.0-experimental-a515d753b-20240220"
}
}
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment