-
Notifications
You must be signed in to change notification settings - Fork 0
[Snyk] Upgrade zod from 3.23.8 to 3.24.2 #109
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
base: dev
Are you sure you want to change the base?
[Snyk] Upgrade zod from 3.23.8 to 3.24.2 #109
Conversation
Snyk has created this PR to upgrade zod from 3.23.8 to 3.24.2. See this package in npm: zod See this project in Snyk: https://app.snyk.io/org/nerds-github/project/f46aeb9c-67b0-476f-be8c-803dad4ffe08?utm_source=github&utm_medium=referral&page=upgrade-pr
Reviewer's Guide by SourceryThis pull request upgrades the No diagrams generated as the changes look simple and do not need a visual representation. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
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.
We have skipped reviewing this pull request. Here's why:
- It seems to have been created by a bot ('[Snyk]' found in title). We assume it knows what it's doing!
- We don't review packaging changes - Let us know if you'd like us to change this.
Sweep Summary
Implements follow/unfollow functionality in the Android app with UI updates and API integration.
activity_main.xml
that toggles between follow and unfollow states.UserService.kt
and implemented repository methods inUserRepository.kt
andUserRepositoryImpl.kt
.MainViewModel.kt
to manage follow status and button text updates.MainActivity.kt
to trigger the follow/unfollow action and update the UI accordingly.Ask Sweep AI questions about this PR
Snyk has created this PR to upgrade zod from 3.23.8 to 3.24.2.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 19 versions ahead of your current version.
The recommended version was released 2 months ago.
Release notes
Package name: zod
Notes
Support asynchronous checks in
z.custom()
.Commits:
zod-struct
to utilities for Zod (#3921)Commits:
Implement
@ standard-schema/spec
This is the first version of Zod to implement the Standard Schema spec. This is a new community effort among several validation library authors to implement a common interface, with the goal of simplifying the process of integrating schema validators with the rest of the ecosystem. Read more about the project and goals here.
z.string().jwt()
Thanks to @ Mokshit06 and @ Cognition-Labs for this contribution!
To verify that a string is a valid 3-part JWT.
To constrain the JWT to a specific algorithm:
z.string().base64url()
Thank you to @ marvinruder!
To complement the JWT validation, Zod 3.24 implements a standalone
.base64url()
string validation API. (The three elements of JWTs are base64url-encoded JSON strings.)This functionality is available along the standard
z.string().base64()
validator added in Zod 3.23.z.string().cidr()
Thanks to @ wataryooou for their work on this!
A validator for CIDR notation for specifying IP address ranges, e.g.
192.24.12.0/22
.To specify an IP version:
View the full diff from 3.23.8: v3.23.8...v3.24.0
base64url
strings (#3712)frrm
package to documentation (#3818)Commits:
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
Summary by Sourcery
Enhancements: