From 91bc262d9b53f28381f15d5f7a6d4fbc8fdc772d Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 12 Dec 2024 06:16:59 +0000 Subject: [PATCH] Update react monorepo (#3307) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/react](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react) ([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react)) | [`18.3.14` -> `18.3.16`](https://renovatebot.com/diffs/npm/@types%2freact/18.2.79/18.3.16) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2freact/18.3.16?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2freact/18.3.16?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2freact/18.2.79/18.3.16?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2freact/18.2.79/18.3.16?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@types/react](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react) ([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react)) | [`18.3.14` -> `18.3.16`](https://renovatebot.com/diffs/npm/@types%2freact/18.3.14/18.3.16) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2freact/18.3.16?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2freact/18.3.16?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2freact/18.3.14/18.3.16?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2freact/18.3.14/18.3.16?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@types/react-dom](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-dom) ([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom)) | [`18.3.2` -> `18.3.5`](https://renovatebot.com/diffs/npm/@types%2freact-dom/18.2.25/18.3.5) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2freact-dom/18.3.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2freact-dom/18.3.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2freact-dom/18.2.25/18.3.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2freact-dom/18.2.25/18.3.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@types/react-dom](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-dom) ([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom)) | [`18.3.2` -> `18.3.5`](https://renovatebot.com/diffs/npm/@types%2freact-dom/18.3.2/18.3.5) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2freact-dom/18.3.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2freact-dom/18.3.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2freact-dom/18.3.2/18.3.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2freact-dom/18.3.2/18.3.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [eslint-plugin-react-hooks](https://react.dev/) ([source](https://redirect.github.com/facebook/react/tree/HEAD/packages/eslint-plugin-react-hooks)) | [`5.0.0-next-fecc288b7-20221025` -> `5.1.0`](https://renovatebot.com/diffs/npm/eslint-plugin-react-hooks/5.0.0-next-fecc288b7-20221025/5.1.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/eslint-plugin-react-hooks/5.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/eslint-plugin-react-hooks/5.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/eslint-plugin-react-hooks/5.0.0-next-fecc288b7-20221025/5.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint-plugin-react-hooks/5.0.0-next-fecc288b7-20221025/5.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [eslint-plugin-react-hooks](https://react.dev/) ([source](https://redirect.github.com/facebook/react/tree/HEAD/packages/eslint-plugin-react-hooks)) | [`4.6.0` -> `4.6.2`](https://renovatebot.com/diffs/npm/eslint-plugin-react-hooks/4.6.0/4.6.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/eslint-plugin-react-hooks/4.6.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/eslint-plugin-react-hooks/4.6.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/eslint-plugin-react-hooks/4.6.0/4.6.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint-plugin-react-hooks/4.6.0/4.6.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [react](https://react.dev/) ([source](https://redirect.github.com/facebook/react/tree/HEAD/packages/react)) | [`18.2.0` -> `18.3.1`](https://renovatebot.com/diffs/npm/react/18.2.0/18.3.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/react/18.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react/18.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react/18.2.0/18.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react/18.2.0/18.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [react-dom](https://react.dev/) ([source](https://redirect.github.com/facebook/react/tree/HEAD/packages/react-dom)) | [`18.2.0` -> `18.3.1`](https://renovatebot.com/diffs/npm/react-dom/18.2.0/18.3.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/react-dom/18.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-dom/18.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-dom/18.2.0/18.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-dom/18.2.0/18.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [react-is](https://react.dev/) ([source](https://redirect.github.com/facebook/react/tree/HEAD/packages/react-is)) | [`18.2.0` -> `18.3.1`](https://renovatebot.com/diffs/npm/react-is/18.2.0/18.3.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/react-is/18.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-is/18.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-is/18.2.0/18.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-is/18.2.0/18.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [react-refresh](https://react.dev/) ([source](https://redirect.github.com/facebook/react/tree/HEAD/packages/react)) | [`0.14.0` -> `0.16.0`](https://renovatebot.com/diffs/npm/react-refresh/0.14.0/0.16.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/react-refresh/0.16.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-refresh/0.16.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-refresh/0.14.0/0.16.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-refresh/0.14.0/0.16.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
facebook/react (eslint-plugin-react-hooks) ### [`v5.1.0`](https://redirect.github.com/facebook/react/compare/eslint-plugin-react-hooks@5.0.0...63cde684f5340b1ca73f6244501aac1c3d2c92a8) [Compare Source](https://redirect.github.com/facebook/react/compare/eslint-plugin-react-hooks@5.0.0...63cde684f5340b1ca73f6244501aac1c3d2c92a8) ### [`v5.0.0`](https://redirect.github.com/facebook/react/blob/HEAD/packages/eslint-plugin-react-hooks/CHANGELOG.md#500) [Compare Source](https://redirect.github.com/facebook/react/compare/fecc288b7dce182fbc3056b3f98a445a95fb1e68...eslint-plugin-react-hooks@5.0.0) - **New Violations:** Component names now need to start with an uppercase letter instead of a non-lowercase letter. This means `_Button` or `_component` are no longer valid. ([@​kassens](https://redirect.github.com/kassens)) in [#​25162](https://redirect.github.com/facebook/react/pull/25162) - Consider dispatch from `useActionState` stable. ([@​eps1lon](https://redirect.github.com/eps1lon) in [#​29665](https://redirect.github.com/facebook/react/pull/29665)) - Add support for ESLint v9. ([@​eps1lon](https://redirect.github.com/eps1lon) in [#​28773](https://redirect.github.com/facebook/react/pull/28773)) - Accept `as` expression in callback. ([@​StyleShit](https://redirect.github.com/StyleShit) in [#​28202](https://redirect.github.com/facebook/react/pull/28202)) - Accept `as` expressions in deps array. ([@​StyleShit](https://redirect.github.com/StyleShit) in [#​28189](https://redirect.github.com/facebook/react/pull/28189)) - Treat `React.use()` the same as `use()`. ([@​kassens](https://redirect.github.com/kassens) in [#​27769](https://redirect.github.com/facebook/react/pull/27769)) - Move `use()` lint to non-experimental. ([@​kassens](https://redirect.github.com/kassens) in [#​27768](https://redirect.github.com/facebook/react/pull/27768)) - Support Flow `as` expressions. ([@​cpojer](https://redirect.github.com/cpojer) in [#​27590](https://redirect.github.com/facebook/react/pull/27590)) - Allow `useEffect(fn, undefined)`. ([@​kassens](https://redirect.github.com/kassens) in [#​27525](https://redirect.github.com/facebook/react/pull/27525)) - Disallow hooks in async functions. ([@​acdlite](https://redirect.github.com/acdlite) in [#​27045](https://redirect.github.com/facebook/react/pull/27045)) - Rename experimental `useEvent` to `useEffectEvent`. ([@​sebmarkbage](https://redirect.github.com/sebmarkbage) in [#​25881](https://redirect.github.com/facebook/react/pull/25881)) - Lint for presence of `useEvent` functions in dependency lists. ([@​poteto](https://redirect.github.com/poteto) in [#​25512](https://redirect.github.com/facebook/react/pull/25512)) - Check `useEvent` references instead. ([@​poteto](https://redirect.github.com/poteto) in [#​25319](https://redirect.github.com/facebook/react/pull/25319)) - Update `RulesOfHooks` with `useEvent` rules. ([@​poteto](https://redirect.github.com/poteto) in [#​25285](https://redirect.github.com/facebook/react/pull/25285))
facebook/react (react) ### [`v18.3.1`](https://redirect.github.com/facebook/react/compare/a87edf62d7d69705ddbcec9a24f0780b3db7535f...a87edf62d7d69705ddbcec9a24f0780b3db7535f) [Compare Source](https://redirect.github.com/facebook/react/compare/v18.3.0...v18.3.1) ### [`v18.3.0`](https://redirect.github.com/facebook/react/compare/v18.2.0...a87edf62d7d69705ddbcec9a24f0780b3db7535f) [Compare Source](https://redirect.github.com/facebook/react/compare/v18.2.0...v18.3.0)
facebook/react (react-dom) ### [`v18.3.1`](https://redirect.github.com/facebook/react/compare/a87edf62d7d69705ddbcec9a24f0780b3db7535f...a87edf62d7d69705ddbcec9a24f0780b3db7535f) [Compare Source](https://redirect.github.com/facebook/react/compare/v18.3.0...v18.3.1) ### [`v18.3.0`](https://redirect.github.com/facebook/react/compare/v18.2.0...a87edf62d7d69705ddbcec9a24f0780b3db7535f) [Compare Source](https://redirect.github.com/facebook/react/compare/v18.2.0...v18.3.0)
facebook/react (react-is) ### [`v18.3.1`](https://redirect.github.com/facebook/react/compare/a87edf62d7d69705ddbcec9a24f0780b3db7535f...a87edf62d7d69705ddbcec9a24f0780b3db7535f) [Compare Source](https://redirect.github.com/facebook/react/compare/v18.3.0...v18.3.1) ### [`v18.3.0`](https://redirect.github.com/facebook/react/compare/v18.2.0...a87edf62d7d69705ddbcec9a24f0780b3db7535f) [Compare Source](https://redirect.github.com/facebook/react/compare/v18.2.0...v18.3.0)
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/X-oss-byte/Nextjs). --- package.json | 8 ++++---- packages/next-swc/crates/next-core/js/package.json | 4 ++-- packages/next/package.json | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 2c24944a96..d3c641f12c 100644 --- a/package.json +++ b/package.json @@ -95,8 +95,8 @@ "@types/jest": "29.5.14", "@types/node": "20.17.10", "@types/node-fetch": "2.6.12", - "@types/react": "18.3.14", - "@types/react-dom": "18.3.2", + "@types/react": "18.3.16", + "@types/react-dom": "18.3.5", "@types/relay-runtime": "14.1.24", "@types/selenium-webdriver": "4.1.27", "@types/sharp": "0.32.0", @@ -239,8 +239,8 @@ "@babel/parser": "7.26.3", "@babel/types": "7.26.3", "@babel/traverse": "7.26.4", - "@types/react": "18.3.14", - "@types/react-dom": "18.3.2" + "@types/react": "18.3.16", + "@types/react-dom": "18.3.5" }, "engines": { "node": ">=16.14.0", diff --git a/packages/next-swc/crates/next-core/js/package.json b/packages/next-swc/crates/next-core/js/package.json index f311046b0b..3d422715ea 100644 --- a/packages/next-swc/crates/next-core/js/package.json +++ b/packages/next-swc/crates/next-core/js/package.json @@ -25,8 +25,8 @@ "devDependencies": { "@types/node": "^20.12.7", "@types/platform": "^1.3.4", - "@types/react": "18.3.14", - "@types/react-dom": "18.3.2", + "@types/react": "18.3.16", + "@types/react-dom": "18.3.5", "@vercel/ncc": "^0.38.0", "find-up": "^7.0.0" } diff --git a/packages/next/package.json b/packages/next/package.json index 06b40ecb9e..ce4deb91b5 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -178,8 +178,8 @@ "@types/micromatch": "4.0.9", "@types/path-to-regexp": "1.7.0", "@types/platform": "1.3.6", - "@types/react": "18.3.14", - "@types/react-dom": "18.3.2", + "@types/react": "18.3.16", + "@types/react-dom": "18.3.5", "@types/react-is": "18.3.1", "@types/semver": "7.5.8", "@types/send": "0.17.4",