Skip to content
#

validator

Here are 1,515 public repositories matching this topic...

ezkemboi
ezkemboi commented Oct 8, 2021

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.e

In 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

express-validator
NeverwinterMoon
NeverwinterMoon commented Oct 12, 2021

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

ycheapopo
ycheapopo commented Jun 24, 2020
  • [ Y] Are you running the latest version?
  • [ Y] Have you included sample input, output, error, and expected output?
  • [ Y] Have you checked if you are using correct configuration?
  • [ N] Did you try online tool?

Description

When a json includes a number, and running the code example appearing in fast-xml-parser site, causes

🔥 ( 持续更新,目前含 200+ 工具类 ) DevUtils 是一个 Android 工具库,主要根据不同功能模块,封装快捷使用的工具类及 API 方法调用。该项目尽可能的便于开发人员,快捷、高效开发安全可靠的项目。

  • Updated Oct 15, 2021
  • Java
MikeRalphson
MikeRalphson commented Jan 19, 2019
  • 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-commit standard going forward
  • Advice not to include any package-lock.json changes 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.

Curate this topic

Add this topic to your repo

To associate your repository with the validator topic, visit your repo's landing page and select "manage topics."

Learn more