-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
chore(deps): Upgrade Zod to @latest #8762
Conversation
🦋 Changeset detectedLatest commit: e668df3 The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the contribution!
Not sure what's going on with the CI failure, but it's definitely not your fault! We'll debug that. |
Zod is specifically pinned because of that types issue. I spent quite some time on it before and it seems there's no way to workaround it (
|
@bluwy Thanks for that, I tried digging a little bit, too, but this level of TypeScript is a bit beyond me. Do you know why the pinned version of |
@evadecker can you help to fix the conflicts? |
I reran |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just updating the verb tense of the changeset for consistency! Also, when just using the name of the thing, Zod appears to be capitalized, so did that too.
Docs will be happy with these changes! 🙌
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
I was able to resolve the previous error—
—without unwrapping To do this required explicitly adding The extra |
@evadecker wow great job! I think that works. I'm curious if we'd need to add it as an actual |
Happy to make an edit if that's the case! Not sure why |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bluwy could you please take a look?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One small request, but great work on fixing this! Looks like the move from shiki to shikiji allowed an easier fix here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks so much for the PR @evadecker!
Changes
<= 3.22.2
and a patch was published in Zod3.22.3
3.22.4
to resolve the dependency vulnerabilityTesting
Docs
/cc @withastro/maintainers-docs for feedback!