fabian-hiller / valibot

The modular and type safe schema library for validating structural data 🤖
https://valibot.dev
MIT License
6.33k stars 204 forks source link

Feat: Add CIDR related actions #849

Open L-Mario564 opened 1 month ago

L-Mario564 commented 1 month ago

Addresses #342.

This PR adds 3 actions:

These actions are for validating that an IP address is in CIDR notation.

The regular expressions added were verified with https://makenowjust-labs.github.io/recheck/playground/ and https://devina.io/redos-checker and both mark them as safe.

Some tests were added and the actions themselves have been added to the docs website.

fabian-hiller commented 1 month ago

Thank you for this contribution! I will try to review and merge it next week.

fabian-hiller commented 3 weeks ago

I did not forget this PR. Sorry for the delay. I will try to review it soon.

fabian-hiller commented 3 weeks ago

I just want to let you know that I am focusing on our v1 release first before reviewing this PR.

L-Mario564 commented 3 weeks ago

I just want to let you know that I am focusing on our v1 release first before reviewing this PR.

Sounds good. Thanks for the updates. 🙂