Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Comment |
CI Feedback 🧐(Feedback updated until commit 9b6f7d1)A test triggered by this PR failed. Here is an AI-generated analysis of the failure:
|
|
@dependabot rebase |
9b6f7d1 to
361cae1
Compare
|
@dependabot React 19.2.1 has known vulnerabilities - NOT recommended. |
There was a problem hiding this comment.
Pull request overview
Updates React-related dependencies to React 19 generation in a Next.js codebase, refreshing the lockfile accordingly to reflect the new dependency graph.
Changes:
- Bump
reactto^19.2.1 - Bump
@types/reactto^19.2.7 - Regenerate
package-lock.json, updating multiple transitive dependencies
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| package.json | Updates React and React type definitions versions. |
| package-lock.json | Updates the resolved dependency tree to match the new React/type versions. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
package.json
Outdated
| "next": "^15.5.5", | ||
| "playwright": "^1.49.1", | ||
| "react": "^18.3.1", | ||
| "react": "^19.2.1", |
There was a problem hiding this comment.
PR description/release notes mention upgrading React to 19.1.0 (and @types/react to 19.0.12), but package.json is actually set to react@^19.2.1 and @types/react@^19.2.7. Please update the PR description (or the dependency versions) so reviewers know exactly what version is being introduced.
package.json
Outdated
| "react": "^19.2.1", | ||
| "react-dom": "^18.3.1", | ||
| "react-force-graph-2d": "^1.27.0", |
There was a problem hiding this comment.
react is bumped to v19 but react-dom is still ^18.3.1 (and react-dom@18.3.1 peers react@^18.3.1). This combination will typically cause npm ci/dependency resolution to fail (ERESOLVE) and can lead to runtime incompatibilities. Update react-dom to a compatible v19.x range (and keep React + ReactDOM majors aligned), or keep react on v18.
| "@types/node": "^22.15.26", | ||
| "@types/react": "^18.3.18", | ||
| "@types/react": "^19.2.7", | ||
| "@types/react-dom": "^18.3.5", |
There was a problem hiding this comment.
@types/react is bumped to v19 but @types/react-dom remains on v18.3.x; @types/react-dom@18 declares a peer requirement on @types/react@^18.0.0, so this will cause peer dependency conflicts and TypeScript type mismatches. Bump @types/react-dom to the matching v19 types as part of this upgrade.
| "@types/react-dom": "^18.3.5", | |
| "@types/react-dom": "^19.0.0", |
|
@dependabot recreate |
Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react) and [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react). These dependencies needed to be updated together. Updates `react` from 18.3.1 to 19.1.0 - [Release notes](https://github.com/facebook/react/releases) - [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/react/commits/v19.1.0/packages/react) Updates `@types/react` from 18.3.18 to 19.0.12 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react) --- updated-dependencies: - dependency-name: react dependency-type: direct:production update-type: version-update:semver-major - dependency-name: "@types/react" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
361cae1 to
1ab282c
Compare
Bumps react and @types/react. These dependencies needed to be updated together.
Updates
reactfrom 18.3.1 to 19.1.0Release notes
Sourced from react's releases.
... (truncated)
Changelog
Sourced from react's changelog.
... (truncated)
Commits
4a9df08Stop creating Owner Stacks if many have been created recently (#32529)b630219[refactor] move isValidElementType to react-is (#32518)1a19170[refactor] Add element type for Activity (#32499)6aa8254Add ref to Fragment (#32465)e0fe347[flags] remove enableOwnerStacks (#32426)70f1d76[flow] Eliminate usage of global React types in ReactNativeTypes.js (#32330)0d9834cbuild: add support to the rollup build for building typescript packages (#32393)a53da6aAdd useSwipeTransition Hook Behind Experimental Flag (#32373)32b0cadEnable owner stacks in Canary builds (#32053)ed8b68dStop exporting dev-only methods in OSS production builds (#32200)Updates
@types/reactfrom 18.3.18 to 19.0.12Commits
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)