Uninstall unused Webpack 4 packages (#27058)

<!--
  Thanks for submitting a pull request!
We appreciate you spending the time to work on these changes. Please
provide enough information so that others can review your pull request.
The three fields below are mandatory.

Before submitting a pull request, please make sure the following is
done:

1. Fork [the repository](https://github.com/facebook/react) and create
your branch from `main`.
  2. Run `yarn` in the repository root.
3. If you've fixed a bug or added code that should be tested, add tests!
4. Ensure the test suite passes (`yarn test`). Tip: `yarn test --watch
TestName` is helpful in development.
5. Run `yarn test --prod` to test in the production environment. It
supports the same options as `yarn test`.
6. If you need a debugger, run `yarn test --debug --watch TestName`,
open `chrome://inspect`, and press "Inspect".
7. Format your code with
[prettier](https://github.com/prettier/prettier) (`yarn prettier`).
8. Make sure your code lints (`yarn lint`). Tip: `yarn linc` to only
check changed files.
  9. Run the [Flow](https://flowtype.org/) type checks (`yarn flow`).
  10. If you haven't already, complete the CLA.

Learn more about contributing:
https://reactjs.org/docs/how-to-contribute.html
-->

## Summary

 - Remove unused webpack 4 dependencies

## How did you test this change?

 - Ran `yarn test --prod`
 - Ran `yarn test`

## Related PRs:
 - https://github.com/facebook/react/pull/26887

DiffTrain build for commit https://github.com/facebook/react/commit/fdb368d9e7430b50b9c506e76ccd46bf0576ef9b.
This commit is contained in:
hoxyq
2023-07-25 18:01:43 +00:00
parent 5ad0dfc73c
commit 900caeebac
7 changed files with 9 additions and 9 deletions
@@ -23982,7 +23982,7 @@ function createFiberRoot(
return root;
}
var ReactVersion = "18.3.0-canary-3ff846d10-20230724";
var ReactVersion = "18.3.0-canary-fdb368d9e-20230725";
// Might add PROFILE later.
@@ -8630,7 +8630,7 @@ var devToolsConfig$jscomp$inline_1032 = {
throw Error("TestRenderer does not support findFiberByHostInstance()");
},
bundleType: 0,
version: "18.3.0-canary-3ff846d10-20230724",
version: "18.3.0-canary-fdb368d9e-20230725",
rendererPackageName: "react-test-renderer"
};
var internals$jscomp$inline_1231 = {
@@ -8661,7 +8661,7 @@ var internals$jscomp$inline_1231 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-canary-3ff846d10-20230724"
reconcilerVersion: "18.3.0-canary-fdb368d9e-20230725"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1232 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -9056,7 +9056,7 @@ var devToolsConfig$jscomp$inline_1074 = {
throw Error("TestRenderer does not support findFiberByHostInstance()");
},
bundleType: 0,
version: "18.3.0-canary-3ff846d10-20230724",
version: "18.3.0-canary-fdb368d9e-20230725",
rendererPackageName: "react-test-renderer"
};
var internals$jscomp$inline_1272 = {
@@ -9087,7 +9087,7 @@ var internals$jscomp$inline_1272 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-canary-3ff846d10-20230724"
reconcilerVersion: "18.3.0-canary-fdb368d9e-20230725"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1273 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -27,7 +27,7 @@ if (
}
"use strict";
var ReactVersion = "18.3.0-canary-3ff846d10-20230724";
var ReactVersion = "18.3.0-canary-fdb368d9e-20230725";
// ATTENTION
// When adding new symbols to this file,
@@ -616,4 +616,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactCurrentDispatcher.current.useTransition();
};
exports.version = "18.3.0-canary-3ff846d10-20230724";
exports.version = "18.3.0-canary-fdb368d9e-20230725";
@@ -619,7 +619,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactCurrentDispatcher.current.useTransition();
};
exports.version = "18.3.0-canary-3ff846d10-20230724";
exports.version = "18.3.0-canary-fdb368d9e-20230725";
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
if (
@@ -1 +1 @@
3ff846d106de9273f59d1e4457793a5fcf625aef
fdb368d9e7430b50b9c506e76ccd46bf0576ef9b