Skip to content

Conversation

@jorgevrgs
Copy link
Contributor

@jorgevrgs jorgevrgs commented Jun 5, 2024

feat(isPostalCode): add validation for Colombian postal code

  • Updated isPostalCode by adding CO country code
  • Add valid and invalid tests

References:

Checklist

  • PR contains only changes related; no stray files, etc.
  • README updated (where applicable)
  • Tests written (where applicable)
  • References provided in PR (where applicable)

@jorgevrgs jorgevrgs marked this pull request as ready for review June 5, 2024 20:43
Copy link
Member

@rubiin rubiin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

update readme

feat(isPostalCode): add more accurated regexp including state limits

fix(isPostalCode): update state codes

fix(isPostalCode): add missing trailling comma

docs(isPostalCode): add CO to the locale list
@rubiin rubiin requested a review from profnandaa June 6, 2024 16:37
@rubiin rubiin added the ✅ LGTM label Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants