Codesandbox: upgrade to Node.js 18 (#26330)

Turns out Codesandbox didn't support `String.prototype.replaceAll` in
#26329.

This updates the config to use Node.js 18 for Codesandbox builds.

DiffTrain build for [88313ffd57](https://github.com/facebook/react/commit/88313ffd57a5df2666520c9a528eafdf2914d5f2)
This commit is contained in:
kassens
2023-03-06 20:44:54 +00:00
parent 73be0c2e74
commit a1c7473dde
28 changed files with 42 additions and 42 deletions
+1 -1
View File
@@ -1 +1 @@
ba353a50a65b9dc433b3fbcd2efaa8b95b9da460
88313ffd57a5df2666520c9a528eafdf2914d5f2
+1 -1
View File
@@ -1 +1 @@
ba353a50a65b9dc433b3fbcd2efaa8b95b9da460
88313ffd57a5df2666520c9a528eafdf2914d5f2
+1 -1
View File
@@ -27,7 +27,7 @@ if (
}
"use strict";
var ReactVersion = "18.3.0-www-classic-ba353a50a-20230306";
var ReactVersion = "18.3.0-www-classic-88313ffd5-20230306";
// ATTENTION
// When adding new symbols to this file,
+1 -1
View File
@@ -27,7 +27,7 @@ if (
}
"use strict";
var ReactVersion = "18.3.0-www-modern-ba353a50a-20230306";
var ReactVersion = "18.3.0-www-modern-88313ffd5-20230306";
// ATTENTION
// When adding new symbols to this file,
+1 -1
View File
@@ -646,4 +646,4 @@ exports.useSyncExternalStore = function (
);
};
exports.useTransition = useTransition;
exports.version = "18.3.0-www-classic-ba353a50a-20230306";
exports.version = "18.3.0-www-classic-88313ffd5-20230306";
+1 -1
View File
@@ -638,4 +638,4 @@ exports.useSyncExternalStore = function (
);
};
exports.useTransition = useTransition;
exports.version = "18.3.0-www-modern-ba353a50a-20230306";
exports.version = "18.3.0-www-modern-88313ffd5-20230306";
@@ -657,7 +657,7 @@ exports.useSyncExternalStore = function (
);
};
exports.useTransition = useTransition;
exports.version = "18.3.0-www-classic-ba353a50a-20230306";
exports.version = "18.3.0-www-classic-88313ffd5-20230306";
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
if (
@@ -649,7 +649,7 @@ exports.useSyncExternalStore = function (
);
};
exports.useTransition = useTransition;
exports.version = "18.3.0-www-modern-ba353a50a-20230306";
exports.version = "18.3.0-www-modern-88313ffd5-20230306";
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
if (
@@ -69,7 +69,7 @@ function _assertThisInitialized(self) {
return self;
}
var ReactVersion = "18.3.0-www-classic-ba353a50a-20230306";
var ReactVersion = "18.3.0-www-classic-88313ffd5-20230306";
var LegacyRoot = 0;
var ConcurrentRoot = 1;
+1 -1
View File
@@ -69,7 +69,7 @@ function _assertThisInitialized(self) {
return self;
}
var ReactVersion = "18.3.0-www-modern-ba353a50a-20230306";
var ReactVersion = "18.3.0-www-modern-88313ffd5-20230306";
var LegacyRoot = 0;
var ConcurrentRoot = 1;
@@ -9783,7 +9783,7 @@ var slice = Array.prototype.slice,
return null;
},
bundleType: 0,
version: "18.3.0-www-classic-ba353a50a-20230306",
version: "18.3.0-www-classic-88313ffd5-20230306",
rendererPackageName: "react-art"
};
var internals$jscomp$inline_1300 = {
@@ -9814,7 +9814,7 @@ var internals$jscomp$inline_1300 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-www-classic-ba353a50a-20230306"
reconcilerVersion: "18.3.0-next-88313ffd5-20230306"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1301 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -9448,7 +9448,7 @@ var slice = Array.prototype.slice,
return null;
},
bundleType: 0,
version: "18.3.0-www-modern-ba353a50a-20230306",
version: "18.3.0-www-modern-88313ffd5-20230306",
rendererPackageName: "react-art"
};
var internals$jscomp$inline_1280 = {
@@ -9479,7 +9479,7 @@ var internals$jscomp$inline_1280 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-www-modern-ba353a50a-20230306"
reconcilerVersion: "18.3.0-next-88313ffd5-20230306"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1281 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -42124,7 +42124,7 @@ function createFiberRoot(
return root;
}
var ReactVersion = "18.3.0-www-classic-ba353a50a-20230306";
var ReactVersion = "18.3.0-www-classic-88313ffd5-20230306";
function createPortal$1(
children,
+1 -1
View File
@@ -41728,7 +41728,7 @@ function createFiberRoot(
return root;
}
var ReactVersion = "18.3.0-www-modern-ba353a50a-20230306";
var ReactVersion = "18.3.0-www-modern-88313ffd5-20230306";
function createPortal$1(
children,
@@ -15493,7 +15493,7 @@ Internals.Events = [
var devToolsConfig$jscomp$inline_1741 = {
findFiberByHostInstance: getClosestInstanceFromNode,
bundleType: 0,
version: "18.3.0-www-classic-ba353a50a-20230306",
version: "18.3.0-www-classic-88313ffd5-20230306",
rendererPackageName: "react-dom"
};
var internals$jscomp$inline_2108 = {
@@ -15523,7 +15523,7 @@ var internals$jscomp$inline_2108 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-www-classic-ba353a50a-20230306"
reconcilerVersion: "18.3.0-next-88313ffd5-20230306"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2109 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -15779,4 +15779,4 @@ exports.unstable_renderSubtreeIntoContainer = function (
);
};
exports.unstable_runWithPriority = runWithPriority;
exports.version = "18.3.0-www-classic-ba353a50a-20230306";
exports.version = "18.3.0-next-88313ffd5-20230306";
@@ -15022,7 +15022,7 @@ Internals.Events = [
var devToolsConfig$jscomp$inline_1700 = {
findFiberByHostInstance: getClosestInstanceFromNode,
bundleType: 0,
version: "18.3.0-www-modern-ba353a50a-20230306",
version: "18.3.0-www-modern-88313ffd5-20230306",
rendererPackageName: "react-dom"
};
var internals$jscomp$inline_2072 = {
@@ -15053,7 +15053,7 @@ var internals$jscomp$inline_2072 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-www-modern-ba353a50a-20230306"
reconcilerVersion: "18.3.0-next-88313ffd5-20230306"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2073 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -15238,4 +15238,4 @@ exports.unstable_flushControlled = function (fn) {
}
};
exports.unstable_runWithPriority = runWithPriority;
exports.version = "18.3.0-www-modern-ba353a50a-20230306";
exports.version = "18.3.0-next-88313ffd5-20230306";
@@ -16270,7 +16270,7 @@ Internals.Events = [
var devToolsConfig$jscomp$inline_1821 = {
findFiberByHostInstance: getClosestInstanceFromNode,
bundleType: 0,
version: "18.3.0-www-classic-ba353a50a-20230306",
version: "18.3.0-www-classic-88313ffd5-20230306",
rendererPackageName: "react-dom"
};
(function (internals) {
@@ -16314,7 +16314,7 @@ var devToolsConfig$jscomp$inline_1821 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-www-classic-ba353a50a-20230306"
reconcilerVersion: "18.3.0-next-88313ffd5-20230306"
});
assign(Internals, {
ReactBrowserEventEmitter: {
@@ -16557,7 +16557,7 @@ exports.unstable_renderSubtreeIntoContainer = function (
);
};
exports.unstable_runWithPriority = runWithPriority;
exports.version = "18.3.0-www-classic-ba353a50a-20230306";
exports.version = "18.3.0-next-88313ffd5-20230306";
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
if (
@@ -15789,7 +15789,7 @@ Internals.Events = [
var devToolsConfig$jscomp$inline_1780 = {
findFiberByHostInstance: getClosestInstanceFromNode,
bundleType: 0,
version: "18.3.0-www-modern-ba353a50a-20230306",
version: "18.3.0-www-modern-88313ffd5-20230306",
rendererPackageName: "react-dom"
};
(function (internals) {
@@ -15834,7 +15834,7 @@ var devToolsConfig$jscomp$inline_1780 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-www-modern-ba353a50a-20230306"
reconcilerVersion: "18.3.0-next-88313ffd5-20230306"
});
exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Internals;
exports.createPortal = function (children, container) {
@@ -16006,7 +16006,7 @@ exports.unstable_flushControlled = function (fn) {
}
};
exports.unstable_runWithPriority = runWithPriority;
exports.version = "18.3.0-www-modern-ba353a50a-20230306";
exports.version = "18.3.0-next-88313ffd5-20230306";
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
if (
@@ -19,7 +19,7 @@ if (__DEV__) {
var React = require("react");
var ReactDOM = require("react-dom");
var ReactVersion = "18.3.0-www-classic-ba353a50a-20230306";
var ReactVersion = "18.3.0-www-classic-88313ffd5-20230306";
// This refers to a WWW module.
var warningWWW = require("warning");
@@ -19,7 +19,7 @@ if (__DEV__) {
var React = require("react");
var ReactDOM = require("react-dom");
var ReactVersion = "18.3.0-www-modern-ba353a50a-20230306";
var ReactVersion = "18.3.0-www-modern-88313ffd5-20230306";
// This refers to a WWW module.
var warningWWW = require("warning");
@@ -3771,4 +3771,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 = "18.3.0-www-classic-ba353a50a-20230306";
exports.version = "18.3.0-www-classic-88313ffd5-20230306";
@@ -3669,4 +3669,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 = "18.3.0-www-modern-ba353a50a-20230306";
exports.version = "18.3.0-www-modern-88313ffd5-20230306";
@@ -31253,7 +31253,7 @@ function createFiberRoot(
return root;
}
var ReactVersion = "18.3.0-www-classic-ba353a50a-20230306";
var ReactVersion = "18.3.0-www-classic-88313ffd5-20230306";
function createPortal$1(
children,
@@ -37744,7 +37744,7 @@ function createFiberRoot(
return root;
}
var ReactVersion = "18.3.0-www-modern-ba353a50a-20230306";
var ReactVersion = "18.3.0-www-modern-88313ffd5-20230306";
function createPortal$1(
children,
@@ -11524,7 +11524,7 @@ Internals.Events = [
var devToolsConfig$jscomp$inline_1535 = {
findFiberByHostInstance: getClosestInstanceFromNode,
bundleType: 0,
version: "18.3.0-www-classic-ba353a50a-20230306",
version: "18.3.0-www-classic-88313ffd5-20230306",
rendererPackageName: "react-dom"
};
var internals$jscomp$inline_2058 = {
@@ -11554,7 +11554,7 @@ var internals$jscomp$inline_2058 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-www-classic-ba353a50a-20230306"
reconcilerVersion: "18.3.0-next-88313ffd5-20230306"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2059 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -14785,4 +14785,4 @@ exports.unstable_renderSubtreeIntoContainer = function (
);
};
exports.unstable_runWithPriority = runWithPriority;
exports.version = "18.3.0-www-classic-ba353a50a-20230306";
exports.version = "18.3.0-next-88313ffd5-20230306";
@@ -13884,7 +13884,7 @@ Internals.Events = [
var devToolsConfig$jscomp$inline_1652 = {
findFiberByHostInstance: getClosestInstanceFromNode,
bundleType: 0,
version: "18.3.0-www-modern-ba353a50a-20230306",
version: "18.3.0-www-modern-88313ffd5-20230306",
rendererPackageName: "react-dom"
};
var internals$jscomp$inline_2032 = {
@@ -13915,7 +13915,7 @@ var internals$jscomp$inline_2032 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-www-modern-ba353a50a-20230306"
reconcilerVersion: "18.3.0-next-88313ffd5-20230306"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2033 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -14243,4 +14243,4 @@ exports.unstable_flushControlled = function (fn) {
}
};
exports.unstable_runWithPriority = runWithPriority;
exports.version = "18.3.0-www-modern-ba353a50a-20230306";
exports.version = "18.3.0-next-88313ffd5-20230306";
@@ -23769,7 +23769,7 @@ function createFiberRoot(
return root;
}
var ReactVersion = "18.3.0-www-classic-ba353a50a-20230306";
var ReactVersion = "18.3.0-www-classic-88313ffd5-20230306";
// Might add PROFILE later.
@@ -23769,7 +23769,7 @@ function createFiberRoot(
return root;
}
var ReactVersion = "18.3.0-www-modern-ba353a50a-20230306";
var ReactVersion = "18.3.0-www-modern-88313ffd5-20230306";
// Might add PROFILE later.