Skip to content

Commit

Permalink
Update React from a26e3f403e to f3e09d6328
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed Jul 10, 2024
1 parent a4c50b5 commit 6aa1ed9
Show file tree
Hide file tree
Showing 123 changed files with 8,180 additions and 5,107 deletions.
2 changes: 1 addition & 1 deletion .react-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
19.0.0-rc-a26e3f403e-20240611
19.0.0-rc-f3e09d6328-20240612
34 changes: 17 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -200,19 +200,19 @@
"pretty-bytes": "5.3.0",
"pretty-ms": "7.0.0",
"random-seed": "0.3.0",
"react": "19.0.0-rc-a26e3f403e-20240611",
"react": "19.0.0-rc-f3e09d6328-20240612",
"react-17": "npm:react@17.0.2",
"react-builtin": "npm:react@19.0.0-rc-a26e3f403e-20240611",
"react-dom": "19.0.0-rc-a26e3f403e-20240611",
"react-builtin": "npm:react@19.0.0-rc-f3e09d6328-20240612",
"react-dom": "19.0.0-rc-f3e09d6328-20240612",
"react-dom-17": "npm:react-dom@17.0.2",
"react-dom-builtin": "npm:react-dom@19.0.0-rc-a26e3f403e-20240611",
"react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-a26e3f403e-20240611",
"react-experimental-builtin": "npm:react@0.0.0-experimental-a26e3f403e-20240611",
"react-is-builtin": "npm:react-is@19.0.0-rc-a26e3f403e-20240611",
"react-server-dom-turbopack": "19.0.0-rc-a26e3f403e-20240611",
"react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-a26e3f403e-20240611",
"react-server-dom-webpack": "19.0.0-rc-a26e3f403e-20240611",
"react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-a26e3f403e-20240611",
"react-dom-builtin": "npm:react-dom@19.0.0-rc-f3e09d6328-20240612",
"react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-f3e09d6328-20240612",
"react-experimental-builtin": "npm:react@0.0.0-experimental-f3e09d6328-20240612",
"react-is-builtin": "npm:react-is@19.0.0-rc-f3e09d6328-20240612",
"react-server-dom-turbopack": "19.0.0-rc-f3e09d6328-20240612",
"react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-f3e09d6328-20240612",
"react-server-dom-webpack": "19.0.0-rc-f3e09d6328-20240612",
"react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-f3e09d6328-20240612",
"react-ssr-prepass": "1.0.8",
"react-virtualized": "9.22.3",
"relay-compiler": "13.0.2",
Expand All @@ -222,8 +222,8 @@
"resolve-from": "5.0.0",
"sass": "1.54.0",
"satori": "0.10.9",
"scheduler-builtin": "npm:scheduler@0.25.0-rc-a26e3f403e-20240611",
"scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-a26e3f403e-20240611",
"scheduler-builtin": "npm:scheduler@0.25.0-rc-f3e09d6328-20240612",
"scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-f3e09d6328-20240612",
"seedrandom": "3.0.5",
"semver": "7.3.7",
"shell-quote": "1.7.3",
Expand Down Expand Up @@ -257,10 +257,10 @@
"@babel/traverse": "7.22.5",
"@types/react": "npm:types-react@19.0.0-rc.0",
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.0",
"react": "19.0.0-rc-a26e3f403e-20240611",
"react-dom": "19.0.0-rc-a26e3f403e-20240611",
"react-is": "19.0.0-rc-a26e3f403e-20240611",
"scheduler": "0.25.0-rc-a26e3f403e-20240611"
"react": "19.0.0-rc-f3e09d6328-20240612",
"react-dom": "19.0.0-rc-f3e09d6328-20240612",
"react-is": "19.0.0-rc-f3e09d6328-20240612",
"scheduler": "0.25.0-rc-f3e09d6328-20240612"
},
"engines": {
"node": ">=18.18.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,14 @@
if ("function" === typeof type)
return type.displayName || type.name || null;
if ("string" === typeof type) return type;
break;
case 29:
type = fiber._debugInfo;
if (null != type)
for (var i = type.length - 1; 0 <= i; i--)
if ("string" === typeof type[i].name) return type[i].name;
if (null !== fiber.return)
return getComponentNameFromFiber(fiber.return);
}
return null;
}
Expand Down Expand Up @@ -5623,7 +5631,16 @@
var fiber = createFiber(29, x, null, returnFiber.mode);
fiber.lanes = lanes;
fiber.return = returnFiber;
fiber._debugInfo = currentDebugInfo;
var debugInfo = (fiber._debugInfo = currentDebugInfo);
fiber._debugOwner = returnFiber._debugOwner;
fiber._debugTask = returnFiber._debugTask;
if (null != debugInfo)
for (var i = debugInfo.length - 1; 0 <= i; i--)
if ("string" === typeof debugInfo[i].stack) {
fiber._debugOwner = debugInfo[i];
fiber._debugTask = debugInfo[i].task;
break;
}
return fiber;
} finally {
currentDebugInfo = prevDebugInfo;
Expand Down Expand Up @@ -23791,14 +23808,6 @@
var didWarnAboutUndefinedDerivedState = new Set();
var didWarnAboutInvalidateContextType = new Set();
var didWarnOnInvalidCallback = new Set();
Object.defineProperty(fakeInternalInstance, "_processChildContext", {
enumerable: !1,
value: function () {
throw Error(
"_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal)."
);
}
});
Object.freeze(fakeInternalInstance);
var classComponentUpdater = {
isMounted: function (component) {
Expand Down Expand Up @@ -24495,11 +24504,11 @@
};
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.0.0-experimental-a26e3f403e-20240611" !== isomorphicReactPackageVersion)
if ("19.0.0-experimental-f3e09d6328-20240612" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-dom: 19.0.0-experimental-a26e3f403e-20240611\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.0.0-experimental-f3e09d6328-20240612\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
Expand Down Expand Up @@ -24554,12 +24563,12 @@
scheduleRoot: scheduleRoot,
setRefreshHandler: setRefreshHandler,
getCurrentFiber: getCurrentFiberForDevTools,
reconcilerVersion: "19.0.0-experimental-a26e3f403e-20240611"
reconcilerVersion: "19.0.0-experimental-f3e09d6328-20240612"
});
})({
findFiberByHostInstance: getClosestInstanceFromNode,
bundleType: 1,
version: "19.0.0-experimental-a26e3f403e-20240611",
version: "19.0.0-experimental-f3e09d6328-20240612",
rendererPackageName: "react-dom"
}) &&
canUseDOM &&
Expand Down Expand Up @@ -24689,7 +24698,7 @@
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.0.0-experimental-a26e3f403e-20240611";
exports.version = "19.0.0-experimental-f3e09d6328-20240612";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14801,14 +14801,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_1647 = React.version;
if (
"19.0.0-experimental-a26e3f403e-20240611" !==
"19.0.0-experimental-f3e09d6328-20240612" !==
isomorphicReactPackageVersion$jscomp$inline_1647
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1647,
"19.0.0-experimental-a26e3f403e-20240611"
"19.0.0-experimental-f3e09d6328-20240612"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
Expand All @@ -14827,7 +14827,7 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
var devToolsConfig$jscomp$inline_1654 = {
findFiberByHostInstance: getClosestInstanceFromNode,
bundleType: 0,
version: "19.0.0-experimental-a26e3f403e-20240611",
version: "19.0.0-experimental-f3e09d6328-20240612",
rendererPackageName: "react-dom"
};
var internals$jscomp$inline_2032 = {
Expand Down Expand Up @@ -14857,7 +14857,7 @@ var internals$jscomp$inline_2032 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "19.0.0-experimental-a26e3f403e-20240611"
reconcilerVersion: "19.0.0-experimental-f3e09d6328-20240612"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2033 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down Expand Up @@ -14963,4 +14963,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.0.0-experimental-a26e3f403e-20240611";
exports.version = "19.0.0-experimental-f3e09d6328-20240612";
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,14 @@
if ("function" === typeof type)
return type.displayName || type.name || null;
if ("string" === typeof type) return type;
break;
case 29:
type = fiber._debugInfo;
if (null != type)
for (var i = type.length - 1; 0 <= i; i--)
if ("string" === typeof type[i].name) return type[i].name;
if (null !== fiber.return)
return getComponentNameFromFiber(fiber.return);
}
return null;
}
Expand Down Expand Up @@ -5631,7 +5639,16 @@
var fiber = createFiber(29, x, null, returnFiber.mode);
fiber.lanes = lanes;
fiber.return = returnFiber;
fiber._debugInfo = currentDebugInfo;
var debugInfo = (fiber._debugInfo = currentDebugInfo);
fiber._debugOwner = returnFiber._debugOwner;
fiber._debugTask = returnFiber._debugTask;
if (null != debugInfo)
for (var i = debugInfo.length - 1; 0 <= i; i--)
if ("string" === typeof debugInfo[i].stack) {
fiber._debugOwner = debugInfo[i];
fiber._debugTask = debugInfo[i].task;
break;
}
return fiber;
} finally {
currentDebugInfo = prevDebugInfo;
Expand Down Expand Up @@ -23848,14 +23865,6 @@
var didWarnAboutUndefinedDerivedState = new Set();
var didWarnAboutInvalidateContextType = new Set();
var didWarnOnInvalidCallback = new Set();
Object.defineProperty(fakeInternalInstance, "_processChildContext", {
enumerable: !1,
value: function () {
throw Error(
"_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal)."
);
}
});
Object.freeze(fakeInternalInstance);
var classComponentUpdater = {
isMounted: function (component) {
Expand Down Expand Up @@ -24552,11 +24561,11 @@
};
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.0.0-experimental-a26e3f403e-20240611" !== isomorphicReactPackageVersion)
if ("19.0.0-experimental-f3e09d6328-20240612" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-dom: 19.0.0-experimental-a26e3f403e-20240611\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.0.0-experimental-f3e09d6328-20240612\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
Expand Down Expand Up @@ -24611,12 +24620,12 @@
scheduleRoot: scheduleRoot,
setRefreshHandler: setRefreshHandler,
getCurrentFiber: getCurrentFiberForDevTools,
reconcilerVersion: "19.0.0-experimental-a26e3f403e-20240611"
reconcilerVersion: "19.0.0-experimental-f3e09d6328-20240612"
});
})({
findFiberByHostInstance: getClosestInstanceFromNode,
bundleType: 1,
version: "19.0.0-experimental-a26e3f403e-20240611",
version: "19.0.0-experimental-f3e09d6328-20240612",
rendererPackageName: "react-dom"
}) &&
canUseDOM &&
Expand Down Expand Up @@ -25076,7 +25085,7 @@
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.0.0-experimental-a26e3f403e-20240611";
exports.version = "19.0.0-experimental-f3e09d6328-20240612";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15511,14 +15511,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_1735 = React.version;
if (
"19.0.0-experimental-a26e3f403e-20240611" !==
"19.0.0-experimental-f3e09d6328-20240612" !==
isomorphicReactPackageVersion$jscomp$inline_1735
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1735,
"19.0.0-experimental-a26e3f403e-20240611"
"19.0.0-experimental-f3e09d6328-20240612"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
Expand All @@ -15537,7 +15537,7 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
var devToolsConfig$jscomp$inline_1742 = {
findFiberByHostInstance: getClosestInstanceFromNode,
bundleType: 0,
version: "19.0.0-experimental-a26e3f403e-20240611",
version: "19.0.0-experimental-f3e09d6328-20240612",
rendererPackageName: "react-dom"
};
(function (internals) {
Expand Down Expand Up @@ -15580,7 +15580,7 @@ var devToolsConfig$jscomp$inline_1742 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "19.0.0-experimental-a26e3f403e-20240611"
reconcilerVersion: "19.0.0-experimental-f3e09d6328-20240612"
});
function noop() {}
function getCrossOriginStringAs(as, input) {
Expand Down Expand Up @@ -15834,7 +15834,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.0.0-experimental-a26e3f403e-20240611";
exports.version = "19.0.0-experimental-f3e09d6328-20240612";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8853,5 +8853,5 @@
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
);
};
exports.version = "19.0.0-experimental-a26e3f403e-20240611";
exports.version = "19.0.0-experimental-f3e09d6328-20240612";
})();
Original file line number Diff line number Diff line change
Expand Up @@ -5887,4 +5887,4 @@ exports.renderToString = function (children, options) {
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
);
};
exports.version = "19.0.0-experimental-a26e3f403e-20240611";
exports.version = "19.0.0-experimental-f3e09d6328-20240612";
Original file line number Diff line number Diff line change
Expand Up @@ -8853,5 +8853,5 @@
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server'
);
};
exports.version = "19.0.0-experimental-a26e3f403e-20240611";
exports.version = "19.0.0-experimental-f3e09d6328-20240612";
})();
Original file line number Diff line number Diff line change
Expand Up @@ -5983,4 +5983,4 @@ exports.renderToString = function (children, options) {
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server'
);
};
exports.version = "19.0.0-experimental-a26e3f403e-20240611";
exports.version = "19.0.0-experimental-f3e09d6328-20240612";
Original file line number Diff line number Diff line change
Expand Up @@ -7756,11 +7756,11 @@
}
function ensureCorrectIsomorphicReactVersion() {
var isomorphicReactPackageVersion = React.version;
if ("19.0.0-experimental-a26e3f403e-20240611" !== isomorphicReactPackageVersion)
if ("19.0.0-experimental-f3e09d6328-20240612" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-dom: 19.0.0-experimental-a26e3f403e-20240611\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.0.0-experimental-f3e09d6328-20240612\nLearn more: https://react.dev/warnings/version-mismatch")
);
}
var React = require("next/dist/compiled/react-experimental"),
Expand Down Expand Up @@ -9453,5 +9453,5 @@
startWork(request);
});
};
exports.version = "19.0.0-experimental-a26e3f403e-20240611";
exports.version = "19.0.0-experimental-f3e09d6328-20240612";
})();
Original file line number Diff line number Diff line change
Expand Up @@ -6384,12 +6384,12 @@ function getPostponedState(request) {
}
function ensureCorrectIsomorphicReactVersion() {
var isomorphicReactPackageVersion = React.version;
if ("19.0.0-experimental-a26e3f403e-20240611" !== isomorphicReactPackageVersion)
if ("19.0.0-experimental-f3e09d6328-20240612" !== isomorphicReactPackageVersion)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion,
"19.0.0-experimental-a26e3f403e-20240611"
"19.0.0-experimental-f3e09d6328-20240612"
)
);
}
Expand Down Expand Up @@ -6594,4 +6594,4 @@ exports.resume = function (children, postponedState, options) {
startWork(request);
});
};
exports.version = "19.0.0-experimental-a26e3f403e-20240611";
exports.version = "19.0.0-experimental-f3e09d6328-20240612";
Loading

0 comments on commit 6aa1ed9

Please sign in to comment.