Skip to content

chore(deps-dev): bump @types/react-dom from 18.3.7 to 19.2.3#17

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/types/react-dom-19.2.3
Open

chore(deps-dev): bump @types/react-dom from 18.3.7 to 19.2.3#17
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/types/react-dom-19.2.3

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot Bot commented on behalf of github Mar 5, 2026

Bumps @types/react-dom from 18.3.7 to 19.2.3.

Commits

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Summary by cubic

Bump @types/react-dom from 18.3.7 to 19.2.3 to align with React 19 DOM typings and improve type checks. Dev-only; no runtime impact.

Written for commit e8b35be. Summary will update on new commits.

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Mar 5, 2026
Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 1 file

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="package.json">

<violation number="1" location="package.json:56">
P1: Major version mismatch: `@types/react-dom` is bumped to v19 while `react-dom`, `react`, and `@types/react` are all on v18. The v19 type definitions expect React 19 APIs and have a peer dependency on `@types/react@^19`. This will likely cause type errors during `pnpm lint` (`tsc --noEmit`) and may break the build. Either upgrade the entire React stack to v19, or keep `@types/react-dom` on v18 to match the rest of the project.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

Comment thread package.json
"@types/node": "^20.11.0",
"@types/react": "^18.2.0",
"@types/react-dom": "^18.2.0",
"@types/react-dom": "^19.2.3",
Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot Mar 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1: Major version mismatch: @types/react-dom is bumped to v19 while react-dom, react, and @types/react are all on v18. The v19 type definitions expect React 19 APIs and have a peer dependency on @types/react@^19. This will likely cause type errors during pnpm lint (tsc --noEmit) and may break the build. Either upgrade the entire React stack to v19, or keep @types/react-dom on v18 to match the rest of the project.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At package.json, line 56:

<comment>Major version mismatch: `@types/react-dom` is bumped to v19 while `react-dom`, `react`, and `@types/react` are all on v18. The v19 type definitions expect React 19 APIs and have a peer dependency on `@types/react@^19`. This will likely cause type errors during `pnpm lint` (`tsc --noEmit`) and may break the build. Either upgrade the entire React stack to v19, or keep `@types/react-dom` on v18 to match the rest of the project.</comment>

<file context>
@@ -53,7 +53,7 @@
     "@types/node": "^20.11.0",
     "@types/react": "^18.2.0",
-    "@types/react-dom": "^18.2.0",
+    "@types/react-dom": "^19.2.3",
     "@types/react-window": "^2.0.0",
     "@types/uuid": "^11.0.0",
</file context>
Suggested change
"@types/react-dom": "^19.2.3",
"@types/react-dom": "^18.2.0",
Fix with Cubic

Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) from 18.3.7 to 19.2.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

---
updated-dependencies:
- dependency-name: "@types/react-dom"
  dependency-version: 19.2.3
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/types/react-dom-19.2.3 branch from 7ec2c2b to e8b35be Compare March 17, 2026 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants