-
So, I set up these rules:
```
channel: 'required|numeric',
url: 'required_if:channel,1|url_validation',
```
And it's supposed to check for url when the channel is 1, but the problem is when I sen…
-
-
Need to add validation for Moldova republic of mobile phone numbers.
https://github.com/validatorjs/validator.js/edit/master/src/lib/isMobilePhone.js
`'ro-MD': /^(\+?373|0)((6(0|1|2|6|7|8|9))|(7…
-
Supporting named imports from this package (at least the root "validator" package) is very difficult due to the number of different module systems supported. I opened a PR briefly to attempt this, but…
-
I am trying to pull down the latest NPM (3.13.3) due to the bug in the rules.js for Month (date not valid for value: 2017-10-31).
When I pull this down, I'm expecting to get the latest version, wit…
-
https://github.com/validatorjs/validator.js/blob/f074abdd851d56c8425bc14aec41049eb26b041e/src/lib/isISO8601.js#L5
We have a code that would use maximum date possible in JS
```
let maxDate = new D…
-
https://github.com/axelyung/yarfl/blob/b137e983f6a0868933e56683eb1bc1366d3880f0/src/helpers/checkers.ts#L17
-
When looking at existing solutions, it looks like it can be very complexe to properly validate en email address.
http://emailregex.com/
vs
https://github.com/hapijs/isemail/blob/master/lib/in…
-
v3.22.1
Local server URLs are not seen as valid.
Example here:
[https://codesandbox.io/s/npm-playground-forked-ne791](https://codesandbox.io/s/npm-playground-forked-ne791)
Code example here:…
-
[Related to #2344.]
Hi, `uuid` maintainer here. I happened to notice this project while perusing open issues on the DefinitelyTyped project. The UUID spec has been updated for the first time in a…