validator
Here are 1,731 public repositories matching this topic...
-
Updated
Jul 6, 2022 - TypeScript
-
Updated
Jul 7, 2022 - TypeScript
-
Updated
Jul 7, 2022 - TypeScript
-
Updated
Jul 4, 2022 - TypeScript
-
Updated
Jul 7, 2022 - Go
-
Updated
Jul 3, 2022 - PHP
Middleware fail fast
I managed to find a way to fail-fast the validation chain with bail, but what about failing fast the middleware list?
Say, I have
.post(
'/somewhere',
body('name').exists(),
body('phoneNumber').exists(),
handleStuff
)If the name validation fails, I don't care to check phoneNumber anymore... Wasn't able to find a way to fail fast in this case. In the case
-
Updated
Jan 20, 2022 - Go
-
Updated
Jun 21, 2022 - Vue
-
Updated
Jul 4, 2022 - PHP
-
Updated
Jul 7, 2022 - C#
-
Updated
Jul 7, 2022 - TypeScript
-
Updated
Apr 27, 2022 - Dart
Discussed in NaturalIntelligence/fast-xml-parser#463
Originally posted by YvesMarcoux May 17, 2022
Some options (like isArray) are call-backs that take a jpath argument. The separator in such paths seems to be the dot (.).
The problem is that the dot is legitimate in XML names, in particular element names. T
-
Updated
Jul 5, 2022 - PHP
-
Updated
Jul 4, 2022 - Go
Update README.md
We need to update our README.md file before the 1.0 release.
Here is an example of current error message:
The 'email_address' field must not be empty.
Is there a way to pass field label into schema so the error message is displayed like so:
The 'Email Address' field must not be empty.
I know we can use custom messages for each field but curious if there's a lazier approach here :)
-
Updated
Jun 11, 2022 - Go
-
Updated
Jul 4, 2022 - Java
-
Updated
May 13, 2022 - JavaScript
-
Updated
Jun 29, 2022 - Go
-
Updated
Mar 26, 2022 - JavaScript
- Guidance on adding a linter new rule-action (if none of the existing ones can perform the action, or be extended)
- Expand on guidelines re: keeping commits to logical areas of the code / individual packages where possible
- Use of
conventional-commitstandard going forward - Advice not to include any
package-lock.jsonchanges PRs, for security reasons. File will be regene
Improve this page
Add a description, image, and links to the validator topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the validator topic, visit your repo's landing page and select "manage topics."

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

I would like to give this to the people who are new and would like to start contributing to validator.js.
The current version in
isMobilePhone validation, we have less than 195 phone validations i.eIn the code https://github.com/validatorjs/validator.js/blob/master/src/lib/isMobilePhone.js, the validations exist from line 5 to line 119, which means we have probably 119 - 5 countries phone