Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Please upgrade zod package #4545 #4559

Closed
wants to merge 2 commits into from

Conversation

hieumoscow
Copy link

Fixes #4545

Description

Updated zod to 3.22.4 to mitigate https://security.snyk.io/vuln/SNYK-JS-ZOD-5925617

Specific Changes

  • Changed check(item) to safeParse(item).success per zod's new version
  • Modified tests to match the new zod's error messages

Testing

@hieumoscow hieumoscow requested a review from a team as a code owner November 7, 2023 18:50
@tracyboehrer
Copy link
Member

@ceciliaavila @sw-joelmut For comparison with yours.

@tracyboehrer
Copy link
Member

@hieumoscow Thank you for submitting this. We had almost completed a PR and testing when you did. The other PR was included in the 4.21.1 release. Can you verify that release solves your issue before I close this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgate zod package
2 participants