jquense / yup

Dead simple Object schema validation
MIT License
22.72k stars 925 forks source link

Fix freeze string().url() regex #2245

Open thomscoder opened 2 weeks ago

thomscoder commented 2 weeks ago

Fix #2244 The new regex is a safer version it should cover all the cases, please let me know if i left out something. I added the tests with the ReDOS string that in current version would cause jest to hang.