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

maintenance: release 2308 prep - v13.11.0 #2252

Closed
wants to merge 22 commits into from
Closed

Conversation

profnandaa
Copy link
Member

@profnandaa profnandaa commented Aug 3, 2023

13.11.0

New Features / Validators

Fixes, New Locales and Enhancements

songyuew and others added 21 commits February 8, 2023 08:45
* feat(isMobilePhone): Add regex for Somalia so-SO
Co-authored-by: cheboi <moscheb96gmail.com>
…5 longer than 8 digits (#2197)

Co-authored-by: Kevin Laframboise <[email protected]>

fixes #2196
* correct isVAT regex for CH

* use checkdigit for swiss isvat

* allow space as number separator, edit test cases

* fix: correct test-case, edit comment

* extract vat matcher for Switzerland (CH)
- adjust number separation rule
- edit comments in test
* Update isJWT.js

fix: Ensure isJWT returns false for 2 part invalid JWT tokens

Previously, the isJWT function would return true for 2 part invalid JWT tokens. This has been fixed by updating the isJWT function to return false for such tokens.

* Update validators.test.js

Added test case for validating JSON web tokens (JWT)

* Update validators.test.js

Removed trailing spaces

* Update validators.test.js

Refactor tests in isjwt and remove redundant test case

* Update validators.test.js

Removed redundant test in isJWT
* refactor(isCreditCard): create allCards dynamically

get rid of the hardcoded allCards variable, which was a manual copy of the existing regExp for card provider.
Replace it with a dynamically created array instead, which will make it easier to maintain, when new providers are added.

* chore: code coverage improvement

add "istanbull ignore else", similarly to how it is was done in:
9ee09a7
* feat(isIBAN): add Morocco (MA) IBAN format

* test(isIBAN): add moroccan IBAN example to test

---------

Co-authored-by: lroudge <[email protected]>
* feat(isMobilePhone): Added regex for Sudan ar-SD

* updated isMobilePhone.js

* Updated tests
…#2235)

* add white and blacklist options to the isIBAN validator

* improve coverage for isIBAN validator

* docs: add an explanation for the options object in the isIBAN validator without formatting it

* fix: remove errors from the isIBAN validator
…ed by default (#2222)

* Add a test that asserts numeric chars in tld are rejected by default.

Signed-off-by: Aalekh Patel <[email protected]>

* Add a new line at the end.

Signed-off-by: Aalekh Patel <[email protected]>

---------

Signed-off-by: Aalekh Patel <[email protected]>
Co-authored-by: Aalekh Patel <[email protected]>
* feat(isEmail) extend isEmail validator to enable allow_underscores option, allowing successful validation of email addresses containing domains with underscores

* doc(isEmail) update README to list new email option allow_underscores

---------

Co-authored-by: Gus Power <[email protected]>
@profnandaa profnandaa changed the title maintenance: release 2308 prep - v13.x.x maintenance: release 2308 prep - v13.11.0 Aug 3, 2023
@profnandaa
Copy link
Member Author

@pano9000 @WikiRik @tux-tn @ezkemboi @daisyndungu -- please have a look at the release notes and sign off.

@ezkemboi
Copy link
Member

ezkemboi commented Aug 4, 2023

Looking at it @profnandaa

@profnandaa
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.