colinhacks / zod

TypeScript-first schema validation with static type inference
https://zod.dev
MIT License
33.92k stars 1.18k forks source link

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

Open wataryooou opened 1 month ago

wataryooou commented 1 month ago

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

relate: https://github.com/colinhacks/zod/pull/3820

netlify[bot] commented 1 month ago

Deploy Preview for guileless-rolypoly-866f8a ready!

Built without sensitive environment variables

Name Link
Latest commit 45428a3959375fe8a8b5eaa82902ed78ba7dc313
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.

Tamas-hi commented 2 days ago

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