Skip to content

Commit

Permalink
fix: sync changelog and min version
Browse files Browse the repository at this point in the history
  • Loading branch information
chriso committed Oct 21, 2018
1 parent cec8841 commit 8445383
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Expand Up @@ -2,11 +2,14 @@

- Added an option to `isURL()` to reject email-like URLs
([#901](https://github.com/chriso/validator.js/pull/901))
- Added a `strict` option to `isISO8601()`
([#910](https://github.com/chriso/validator.js/pull/910))
- Relaxed `isJWT()` signature requirements
([#906](https://github.com/chriso/validator.js/pull/906))
- New and improved locales
([#899](https://github.com/chriso/validator.js/pull/899),
[#904](https://github.com/chriso/validator.js/pull/904))
[#904](https://github.com/chriso/validator.js/pull/904),
[#913](https://github.com/chriso/validator.js/pull/913))

#### 10.8.0

Expand Down
2 changes: 1 addition & 1 deletion lib/isMobilePhone.js
Expand Up @@ -23,7 +23,7 @@ var phones = {
'ar-TN': /^(\+?216)?[2459]\d{7}$/,
'be-BY': /^(\+?375)?(24|25|29|33|44)\d{7}$/,
'bg-BG': /^(\+?359|0)?8[789]\d{7}$/,
'bn-BD': /\+?(88)?0?1[156789][0-9]{8}\b/,
'bn-BD': /\+?(88)?0?1[356789][0-9]{8}\b/,
'cs-CZ': /^(\+?420)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,
'da-DK': /^(\+?45)?\s?\d{2}\s?\d{2}\s?\d{2}\s?\d{2}$/,
'de-DE': /^(\+?49[ \.\-]?)?([\(]{1}[0-9]{1,6}[\)])?([0-9 \.\-\/]{3,20})((x|ext|extension)[ ]?[0-9]{1,4})?$/,
Expand Down
2 changes: 1 addition & 1 deletion validator.js
Expand Up @@ -1355,7 +1355,7 @@ var phones = {
'ar-TN': /^(\+?216)?[2459]\d{7}$/,
'be-BY': /^(\+?375)?(24|25|29|33|44)\d{7}$/,
'bg-BG': /^(\+?359|0)?8[789]\d{7}$/,
'bn-BD': /\+?(88)?0?1[156789][0-9]{8}\b/,
'bn-BD': /\+?(88)?0?1[356789][0-9]{8}\b/,
'cs-CZ': /^(\+?420)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,
'da-DK': /^(\+?45)?\s?\d{2}\s?\d{2}\s?\d{2}\s?\d{2}$/,
'de-DE': /^(\+?49[ \.\-]?)?([\(]{1}[0-9]{1,6}[\)])?([0-9 \.\-\/]{3,20})((x|ext|extension)[ ]?[0-9]{1,4})?$/,
Expand Down
2 changes: 1 addition & 1 deletion validator.min.js

Large diffs are not rendered by default.

0 comments on commit 8445383

Please sign in to comment.