chore(deps): update dependency zod-validation-error to v5#1973
chore(deps): update dependency zod-validation-error to v5#1973simonknittel wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
|
There was a problem hiding this comment.
Pull request overview
Updates the app’s zod-validation-error dependency to the new major version (v5), aligning both the declared dev dependency and the npm override, and regenerating the lockfile accordingly.
Changes:
- Bump
zod-validation-errorfrom4.0.2to5.0.0indevDependencies. - Update npm
overridesto forcezod-validation-error@5.0.0. - Refresh
package-lock.jsonto reflect the upgraded resolved package and integrity.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| app/package.json | Updates zod-validation-error version in devDependencies and overrides. |
| app/package-lock.json | Updates the resolved zod-validation-error package metadata to v5.0.0. |
Files not reviewed (1)
- app/package-lock.json: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| "overrides": { | ||
| "@types/react-dom": "19.2.3", | ||
| "@types/react": "19.2.14", | ||
| "zod-validation-error": "4.0.2" | ||
| "zod-validation-error": "5.0.0" |
There was a problem hiding this comment.
zod-validation-error is being forced to 5.0.0 via overrides, but some transitive deps in package-lock.json declare ranges that do not include v5 (e.g. eslint-plugin-react-hooks depends on ^3.5.0 || ^4.0.0 and eslint-plugin-react-compiler depends on ^3.0.3). This can lead to npm install warnings and potential runtime incompatibilities in those tools. Consider either (a) keeping zod-validation-error on v4 until upstream ranges include v5, or (b) removing the override and letting those packages resolve a compatible version if deduping isn't required.



This PR contains the following updates:
4.0.2→5.0.0Release Notes
causaly/zod-validation-error (zod-validation-error)
v5.0.0Compare Source
Note: This is a major release due to the change in the error messages. Otherwise, it is 100% compatible with the previous version. If you don't really care about the exact wording of the error messages, you can safely upgrade to v.5.0.0 without any code changes.
Major Changes
2c5a3c4: Change error messages to consistently follow theexpected <expectation>, received <realization>format (breaking change).Minor Changes
2c5a3c4: Conditionally report value in error message based onreportInputoption.Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by Renovate Bot.