validator.js
validator.js copied to clipboard
add Cyprus postal code check
feat: add Cyprus postal code check
Noticed CY postal code validation is missing https://en.wikipedia.org/wiki/Postal_codes_in_Cyprus
Checklist
- [x] PR contains only changes related; no stray files, etc.
- [ ] README updated (where applicable)
- [ ] Tests written (where applicable)
Codecov Report
Merging #2021 (f015b55) into master (86a07ba) will not change coverage. The diff coverage is
n/a.
@@ Coverage Diff @@
## master #2021 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 104 104
Lines 2203 2203
Branches 477 477
=========================================
Hits 2203 2203
| Impacted Files | Coverage Δ | |
|---|---|---|
| src/lib/isPostalCode.js | 100.00% <ø> (ø) |
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
Please add tests
Please add tests
@rubiin thanks, have done