Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added few more invaild types of mail #2489

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -215,7 +215,8 @@ Remember, validating can be troublesome sometimes. See [A list of articles about

## Contributing

We welcome contributions from the community! If you're interested in contributing to this project, please read our [Contribution Guide](CONTRIBUTING.md) to get started.

Community contributions are highly valued! If you’re interested in helping us improve this project, please check out our [Contribution Guide](CONTRIBUTING.md) to get started.

## License

54 changes: 54 additions & 0 deletions test/validators.test.js
Original file line number Diff line number Diff line change
@@ -74,6 +74,60 @@
'"[email protected]',
'"foo"[email protected]',
'foo"bar"@gmail.com',
'plainaddress',

Check failure on line 77 in test/validators.test.js

GitHub Actions / Run tests on Node.js 12

Expected indentation of 8 spaces but found 10

Check failure on line 77 in test/validators.test.js

GitHub Actions / Run tests on Node.js 14

Expected indentation of 8 spaces but found 10

Check failure on line 77 in test/validators.test.js

GitHub Actions / Run tests on Node.js 8

Expected indentation of 8 spaces but found 10

Check failure on line 77 in test/validators.test.js

GitHub Actions / Run tests on Node.js 20

Expected indentation of 8 spaces but found 10

Check failure on line 77 in test/validators.test.js

GitHub Actions / Run tests on Node.js 18

Expected indentation of 8 spaces but found 10

Check failure on line 77 in test/validators.test.js

GitHub Actions / Run tests on Node.js 16

Expected indentation of 8 spaces but found 10

Check failure on line 77 in test/validators.test.js

GitHub Actions / Run tests on Node.js 10

Expected indentation of 8 spaces but found 10
'@missingusername.com',

Check failure on line 78 in test/validators.test.js

GitHub Actions / Run tests on Node.js 12

Expected indentation of 8 spaces but found 10

Check failure on line 78 in test/validators.test.js

GitHub Actions / Run tests on Node.js 14

Expected indentation of 8 spaces but found 10

Check failure on line 78 in test/validators.test.js

GitHub Actions / Run tests on Node.js 8

Expected indentation of 8 spaces but found 10

Check failure on line 78 in test/validators.test.js

GitHub Actions / Run tests on Node.js 20

Expected indentation of 8 spaces but found 10

Check failure on line 78 in test/validators.test.js

GitHub Actions / Run tests on Node.js 18

Expected indentation of 8 spaces but found 10

Check failure on line 78 in test/validators.test.js

GitHub Actions / Run tests on Node.js 16

Expected indentation of 8 spaces but found 10

Check failure on line 78 in test/validators.test.js

GitHub Actions / Run tests on Node.js 10

Expected indentation of 8 spaces but found 10
'[email protected]',

Check failure on line 79 in test/validators.test.js

GitHub Actions / Run tests on Node.js 12

Expected indentation of 8 spaces but found 10

Check failure on line 79 in test/validators.test.js

GitHub Actions / Run tests on Node.js 14

Expected indentation of 8 spaces but found 10

Check failure on line 79 in test/validators.test.js

GitHub Actions / Run tests on Node.js 8

Expected indentation of 8 spaces but found 10

Check failure on line 79 in test/validators.test.js

GitHub Actions / Run tests on Node.js 20

Expected indentation of 8 spaces but found 10

Check failure on line 79 in test/validators.test.js

GitHub Actions / Run tests on Node.js 18

Expected indentation of 8 spaces but found 10

Check failure on line 79 in test/validators.test.js

GitHub Actions / Run tests on Node.js 16

Expected indentation of 8 spaces but found 10

Check failure on line 79 in test/validators.test.js

GitHub Actions / Run tests on Node.js 10

Expected indentation of 8 spaces but found 10
'[email protected]',

Check failure on line 80 in test/validators.test.js

GitHub Actions / Run tests on Node.js 12

Expected indentation of 8 spaces but found 10

Check failure on line 80 in test/validators.test.js

GitHub Actions / Run tests on Node.js 14

Expected indentation of 8 spaces but found 10

Check failure on line 80 in test/validators.test.js

GitHub Actions / Run tests on Node.js 8

Expected indentation of 8 spaces but found 10

Check failure on line 80 in test/validators.test.js

GitHub Actions / Run tests on Node.js 20

Expected indentation of 8 spaces but found 10

Check failure on line 80 in test/validators.test.js

GitHub Actions / Run tests on Node.js 18

Expected indentation of 8 spaces but found 10

Check failure on line 80 in test/validators.test.js

GitHub Actions / Run tests on Node.js 16

Expected indentation of 8 spaces but found 10

Check failure on line 80 in test/validators.test.js

GitHub Actions / Run tests on Node.js 10

Expected indentation of 8 spaces but found 10
'[email protected]',

Check failure on line 81 in test/validators.test.js

GitHub Actions / Run tests on Node.js 12

Expected indentation of 8 spaces but found 10

Check failure on line 81 in test/validators.test.js

GitHub Actions / Run tests on Node.js 14

Expected indentation of 8 spaces but found 10

Check failure on line 81 in test/validators.test.js

GitHub Actions / Run tests on Node.js 8

Expected indentation of 8 spaces but found 10

Check failure on line 81 in test/validators.test.js

GitHub Actions / Run tests on Node.js 20

Expected indentation of 8 spaces but found 10

Check failure on line 81 in test/validators.test.js

GitHub Actions / Run tests on Node.js 18

Expected indentation of 8 spaces but found 10

Check failure on line 81 in test/validators.test.js

GitHub Actions / Run tests on Node.js 16

Expected indentation of 8 spaces but found 10

Check failure on line 81 in test/validators.test.js

GitHub Actions / Run tests on Node.js 10

Expected indentation of 8 spaces but found 10
'[email protected]',

Check failure on line 82 in test/validators.test.js

GitHub Actions / Run tests on Node.js 12

Expected indentation of 8 spaces but found 10

Check failure on line 82 in test/validators.test.js

GitHub Actions / Run tests on Node.js 14

Expected indentation of 8 spaces but found 10

Check failure on line 82 in test/validators.test.js

GitHub Actions / Run tests on Node.js 8

Expected indentation of 8 spaces but found 10

Check failure on line 82 in test/validators.test.js

GitHub Actions / Run tests on Node.js 20

Expected indentation of 8 spaces but found 10

Check failure on line 82 in test/validators.test.js

GitHub Actions / Run tests on Node.js 18

Expected indentation of 8 spaces but found 10

Check failure on line 82 in test/validators.test.js

GitHub Actions / Run tests on Node.js 16

Expected indentation of 8 spaces but found 10

Check failure on line 82 in test/validators.test.js

GitHub Actions / Run tests on Node.js 10

Expected indentation of 8 spaces but found 10
'[email protected]',

Check failure on line 83 in test/validators.test.js

GitHub Actions / Run tests on Node.js 12

Expected indentation of 8 spaces but found 10

Check failure on line 83 in test/validators.test.js

GitHub Actions / Run tests on Node.js 14

Expected indentation of 8 spaces but found 10

Check failure on line 83 in test/validators.test.js

GitHub Actions / Run tests on Node.js 8

Expected indentation of 8 spaces but found 10

Check failure on line 83 in test/validators.test.js

GitHub Actions / Run tests on Node.js 20

Expected indentation of 8 spaces but found 10

Check failure on line 83 in test/validators.test.js

GitHub Actions / Run tests on Node.js 18

Expected indentation of 8 spaces but found 10

Check failure on line 83 in test/validators.test.js

GitHub Actions / Run tests on Node.js 16

Expected indentation of 8 spaces but found 10

Check failure on line 83 in test/validators.test.js

GitHub Actions / Run tests on Node.js 10

Expected indentation of 8 spaces but found 10
'user@[email protected]',

Check failure on line 84 in test/validators.test.js

GitHub Actions / Run tests on Node.js 12

Expected indentation of 8 spaces but found 10

Check failure on line 84 in test/validators.test.js

GitHub Actions / Run tests on Node.js 14

Expected indentation of 8 spaces but found 10

Check failure on line 84 in test/validators.test.js

GitHub Actions / Run tests on Node.js 8

Expected indentation of 8 spaces but found 10

Check failure on line 84 in test/validators.test.js

GitHub Actions / Run tests on Node.js 20

Expected indentation of 8 spaces but found 10

Check failure on line 84 in test/validators.test.js

GitHub Actions / Run tests on Node.js 18

Expected indentation of 8 spaces but found 10

Check failure on line 84 in test/validators.test.js

GitHub Actions / Run tests on Node.js 16

Expected indentation of 8 spaces but found 10

Check failure on line 84 in test/validators.test.js

GitHub Actions / Run tests on Node.js 10

Expected indentation of 8 spaces but found 10
'[email protected]',

Check failure on line 85 in test/validators.test.js

GitHub Actions / Run tests on Node.js 12

Expected indentation of 8 spaces but found 10

Check failure on line 85 in test/validators.test.js

GitHub Actions / Run tests on Node.js 14

Expected indentation of 8 spaces but found 10

Check failure on line 85 in test/validators.test.js

GitHub Actions / Run tests on Node.js 8

Expected indentation of 8 spaces but found 10

Check failure on line 85 in test/validators.test.js

GitHub Actions / Run tests on Node.js 20

Expected indentation of 8 spaces but found 10

Check failure on line 85 in test/validators.test.js

GitHub Actions / Run tests on Node.js 18

Expected indentation of 8 spaces but found 10

Check failure on line 85 in test/validators.test.js

GitHub Actions / Run tests on Node.js 16

Expected indentation of 8 spaces but found 10

Check failure on line 85 in test/validators.test.js

GitHub Actions / Run tests on Node.js 10

Expected indentation of 8 spaces but found 10
'[email protected]',

Check failure on line 86 in test/validators.test.js

GitHub Actions / Run tests on Node.js 12

Expected indentation of 8 spaces but found 10

Check failure on line 86 in test/validators.test.js

GitHub Actions / Run tests on Node.js 14

Expected indentation of 8 spaces but found 10

Check failure on line 86 in test/validators.test.js

GitHub Actions / Run tests on Node.js 8

Expected indentation of 8 spaces but found 10

Check failure on line 86 in test/validators.test.js

GitHub Actions / Run tests on Node.js 20

Expected indentation of 8 spaces but found 10

Check failure on line 86 in test/validators.test.js

GitHub Actions / Run tests on Node.js 18

Expected indentation of 8 spaces but found 10

Check failure on line 86 in test/validators.test.js

GitHub Actions / Run tests on Node.js 16

Expected indentation of 8 spaces but found 10

Check failure on line 86 in test/validators.test.js

GitHub Actions / Run tests on Node.js 10

Expected indentation of 8 spaces but found 10
'[email protected]',
'username@domain_com.com',
'[email protected]',
'username@domain,com',
'username@domain;com',
'username@domain#com',
'username@domain$com',
'username@domain!com',
'username@domain%com',
'username@domain^com',
'username@domain&com',
'username@domain*com',
'username@domain(com',
'username@domain)com',
'username@domain=com',
'username@domain+com',
'username@domain|com',
'username@domain~com',
'username@domain/com',
'username@domain\com',
'username@domain:com',
'username@domain"com',
'username@domain\'com',
'username@domain`com',
'username@[email protected]',
'[email protected]..',
'[email protected]',
'user@domaincom',
'user@domain com',
'user@domain\tcom',
'user@domain\ncom',
'user@domain\0com',
'user@domain\u2028com',
'user@domain\u2029com',
'user@[email protected]',
'[email protected]..',
'[email protected]',
'user@domain_com',
'[email protected]',
'[email protected]',
'[email protected]',
'user@localhost',
'[email protected]',
'[email protected]'
],
});
});
Loading