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

feat(#2758): z.string().ipRange() - add support for IP address range #3754

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

wataryooou
Copy link
Contributor

@wataryooou wataryooou commented Sep 14, 2024

This pull request fixes #2758 adding IP Address range (CIDR) validation in zod string.

  • Basic implementation
  • Choose what type of ip
  • Add IPv4/IPv6 address range
  • Add ipRange to docs

relate: #3820

Copy link

netlify bot commented Sep 14, 2024

Deploy Preview for guileless-rolypoly-866f8a ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 45428a3
🔍 Latest deploy log https://app.netlify.com/sites/guileless-rolypoly-866f8a/deploys/671df544144b1b0008c11ab3
😎 Deploy Preview https://deploy-preview-3754--guileless-rolypoly-866f8a.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@wataryooou wataryooou marked this pull request as draft October 27, 2024 03:57
@wataryooou wataryooou marked this pull request as ready for review October 27, 2024 08:11
@Tamas-hi
Copy link

Tamas-hi commented Nov 8, 2024

This looks really good, I was just in need for this exact functionality.
Is there any chance this can land in a release?

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.

Support IP Range Validation
2 participants