chore[devtools]: upgrade to webpack v5 (#26887)

## Summary
- Updated `webpack` (and all related packages) to v5 in
`react-devtools-*` packages.
- I haven't touched any `TODO (Webpack 5)`. Tried to poke it, but each
my attempt failed and parsing hook names feature stopped working. I will
work on this in a separate PR.
- This work is one of prerequisites for updating Firefox extension to
manifests v3

related PRs:
https://github.com/facebook/react/pull/22267
https://github.com/facebook/react/pull/26506

## How did you test this change?
Tested on all surfaces, explicitly checked that parsing hook names
feature still works.

DiffTrain build for commit https://github.com/facebook/react/commit/4ddc019aca8e08fd59cb43de5e0032be77d6174e.
This commit is contained in:
hoxyq
2023-06-14 12:21:33 +00:00
parent a4ddd5a4d9
commit c0fdffd76d
7 changed files with 9 additions and 9 deletions
@@ -23922,7 +23922,7 @@ function createFiberRoot(
return root;
}
var ReactVersion = "18.3.0-canary-f5c249db8-20230614";
var ReactVersion = "18.3.0-canary-4ddc019ac-20230614";
// Might add PROFILE later.
@@ -8617,7 +8617,7 @@ var devToolsConfig$jscomp$inline_1031 = {
throw Error("TestRenderer does not support findFiberByHostInstance()");
},
bundleType: 0,
version: "18.3.0-canary-f5c249db8-20230614",
version: "18.3.0-canary-4ddc019ac-20230614",
rendererPackageName: "react-test-renderer"
};
var internals$jscomp$inline_1230 = {
@@ -8648,7 +8648,7 @@ var internals$jscomp$inline_1230 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-canary-f5c249db8-20230614"
reconcilerVersion: "18.3.0-canary-4ddc019ac-20230614"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1231 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -9043,7 +9043,7 @@ var devToolsConfig$jscomp$inline_1073 = {
throw Error("TestRenderer does not support findFiberByHostInstance()");
},
bundleType: 0,
version: "18.3.0-canary-f5c249db8-20230614",
version: "18.3.0-canary-4ddc019ac-20230614",
rendererPackageName: "react-test-renderer"
};
var internals$jscomp$inline_1271 = {
@@ -9074,7 +9074,7 @@ var internals$jscomp$inline_1271 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-canary-f5c249db8-20230614"
reconcilerVersion: "18.3.0-canary-4ddc019ac-20230614"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1272 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -27,7 +27,7 @@ if (
}
"use strict";
var ReactVersion = "18.3.0-canary-f5c249db8-20230614";
var ReactVersion = "18.3.0-canary-4ddc019ac-20230614";
// ATTENTION
// When adding new symbols to this file,
@@ -642,4 +642,4 @@ exports.useSyncExternalStore = function (
);
};
exports.useTransition = useTransition;
exports.version = "18.3.0-canary-f5c249db8-20230614";
exports.version = "18.3.0-canary-4ddc019ac-20230614";
@@ -645,7 +645,7 @@ exports.useSyncExternalStore = function (
);
};
exports.useTransition = useTransition;
exports.version = "18.3.0-canary-f5c249db8-20230614";
exports.version = "18.3.0-canary-4ddc019ac-20230614";
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
if (
@@ -1 +1 @@
f5c249db8b0bec00faa9633d67814e980c24fbb5
4ddc019aca8e08fd59cb43de5e0032be77d6174e