Skip to content

Commit 8445383

Browse files
committedOct 21, 2018
fix: sync changelog and min version
1 parent cec8841 commit 8445383

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed
 

‎CHANGELOG.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,14 @@
22

33
- Added an option to `isURL()` to reject email-like URLs
44
([#901](https://github.com/chriso/validator.js/pull/901))
5+
- Added a `strict` option to `isISO8601()`
6+
([#910](https://github.com/chriso/validator.js/pull/910))
57
- Relaxed `isJWT()` signature requirements
68
([#906](https://github.com/chriso/validator.js/pull/906))
79
- New and improved locales
810
([#899](https://github.com/chriso/validator.js/pull/899),
9-
[#904](https://github.com/chriso/validator.js/pull/904))
11+
[#904](https://github.com/chriso/validator.js/pull/904),
12+
[#913](https://github.com/chriso/validator.js/pull/913))
1013

1114
#### 10.8.0
1215

‎lib/isMobilePhone.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ var phones = {
2323
'ar-TN': /^(\+?216)?[2459]\d{7}$/,
2424
'be-BY': /^(\+?375)?(24|25|29|33|44)\d{7}$/,
2525
'bg-BG': /^(\+?359|0)?8[789]\d{7}$/,
26-
'bn-BD': /\+?(88)?0?1[156789][0-9]{8}\b/,
26+
'bn-BD': /\+?(88)?0?1[356789][0-9]{8}\b/,
2727
'cs-CZ': /^(\+?420)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,
2828
'da-DK': /^(\+?45)?\s?\d{2}\s?\d{2}\s?\d{2}\s?\d{2}$/,
2929
'de-DE': /^(\+?49[ \.\-]?)?([\(]{1}[0-9]{1,6}[\)])?([0-9 \.\-\/]{3,20})((x|ext|extension)[ ]?[0-9]{1,4})?$/,

‎validator.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1355,7 +1355,7 @@ var phones = {
13551355
'ar-TN': /^(\+?216)?[2459]\d{7}$/,
13561356
'be-BY': /^(\+?375)?(24|25|29|33|44)\d{7}$/,
13571357
'bg-BG': /^(\+?359|0)?8[789]\d{7}$/,
1358-
'bn-BD': /\+?(88)?0?1[156789][0-9]{8}\b/,
1358+
'bn-BD': /\+?(88)?0?1[356789][0-9]{8}\b/,
13591359
'cs-CZ': /^(\+?420)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,
13601360
'da-DK': /^(\+?45)?\s?\d{2}\s?\d{2}\s?\d{2}\s?\d{2}$/,
13611361
'de-DE': /^(\+?49[ \.\-]?)?([\(]{1}[0-9]{1,6}[\)])?([0-9 \.\-\/]{3,20})((x|ext|extension)[ ]?[0-9]{1,4})?$/,

‎validator.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
Please sign in to comment.