Bump react-hook-form from 7.54.2 to 7.81.0 in /js - #183
Conversation
Bumps [react-hook-form](https://github.com/react-hook-form/react-hook-form) from 7.54.2 to 7.81.0. - [Release notes](https://github.com/react-hook-form/react-hook-form/releases) - [Changelog](https://github.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md) - [Commits](react-hook-form/react-hook-form@v7.54.2...v7.81.0) --- updated-dependencies: - dependency-name: react-hook-form dependency-version: 7.81.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
LabelsThe following labels could not be found: Please fix the above issues or remove invalid values from |
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 0 |
AI Reviewer: first review requested successfully. AI can make mistakes. Always validate suggestions.
TIP This summary will be updated as you push new changes.
There was a problem hiding this comment.
Pull Request Overview
The PR successfully updates react-hook-form in the Account and Admin UI applications. However, the requested update for the ui-shared library, as specified in the acceptance criteria, is missing from the submitted file list and must be included before merging.
Critically, the PR leaves several high-risk security vulnerabilities unaddressed in existing dependencies. Specifically, a high-severity Remote Code Execution vulnerability (CVE-2026-6951) was found in simple-git, and an open redirect vulnerability (CVE-2026-40181) was found in react-router-dom. These security flaws should be mitigated as part of this dependency maintenance cycle.
About this PR
- The acceptance criteria require an upgrade of
react-hook-formin thejs/libs/ui-shared/package.jsonfile, but this file was not included in the PR. Please ensure all shared library dependencies are synchronized.
1 comment outside of the diff
js/pnpm-lock.yaml
line 310🔴 HIGH RISK
The version ofsimple-gitused here is subject to a high-severity Remote Code Execution vulnerability (CVE-2026-6951). This security risk should be mitigated by updating to version 3.36.0 or higher.
Test suggestions
- Verify that form submissions and validation logic in the Account and Admin UIs remain functional with the updated library.
- Verify that the security hardening in the 'unset' function correctly prevents prototype pollution via path traversal.
- Smoke test components in the ui-shared library that depend on react-hook-form to ensure cross-package compatibility.
Prompt proposal for missing tests
Consider implementing these tests if applicable:
1. Verify that form submissions and validation logic in the Account and Admin UIs remain functional with the updated library.
2. Verify that the security hardening in the 'unset' function correctly prevents prototype pollution via path traversal.
3. Smoke test components in the ui-shared library that depend on react-hook-form to ensure cross-package compatibility.
TIP Improve review quality by adding custom instructions
TIP How was this review? Give us feedback
| "react-hook-form": "^7.54.2", | ||
| "react-hook-form": "^7.81.0", | ||
| "react-i18next": "^15.4.0", | ||
| "react-router-dom": "^6.29.0", |
There was a problem hiding this comment.
🟡 MEDIUM RISK
Suggestion: Update react-router-dom to address the open redirect vulnerability (CVE-2026-40181) identified in the package.
| "react-router-dom": "^6.29.0", | |
| "react-router-dom": "^6.30.4", |
| "react-hook-form": "^7.54.2", | ||
| "react-hook-form": "^7.81.0", | ||
| "react-i18next": "^15.4.0", | ||
| "react-router-dom": "^6.29.0" |
There was a problem hiding this comment.
🟡 MEDIUM RISK
Suggestion: This dependency is affected by an open redirect vulnerability (CVE-2026-40181). Upgrading to a secure version is recommended to address this security risk.
| "react-router-dom": "^6.29.0" | |
| "react-router-dom": "^6.30.4" |
|
Superseded by #201. |
Bumps react-hook-form from 7.54.2 to 7.81.0.
Release notes
Sourced from react-hook-form's releases.
... (truncated)
Changelog
Sourced from react-hook-form's changelog.
... (truncated)
Commits
46b217e7.81.06595a91🐞 fix #13575 issue: clearErrors changes the name value from form.subscribe (#...cae5dfe👝 close #13577 improve re-render with useFieldArray reset (#13578)5b2b743🏸 improve setValue api with shrink value (#13576)6112441🐞 fix #13569 calling reset triggers subscribe with latest name instead of und...f89388f🐞 fix(flatten): preserve Date values as leaf nodes (#13566)46381faRevert "docs: fix grammar in demo descriptions (#13565)" (#13568)d4c804aRevert "test: remove duplicate UseFieldArray slug (#13564)" (#13567)63ec54ftest: remove duplicate UseFieldArray slug (#13564)08792addocs: fix grammar in demo descriptions (#13565)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 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)