Skip to content

Commit c12af3c

Browse files
committedOct 23, 2018
fix: sync changelog and min version
1 parent d557d44 commit c12af3c

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed
 

‎CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
- New and improved locales
1010
([#899](https://github.com/chriso/validator.js/pull/899),
1111
[#904](https://github.com/chriso/validator.js/pull/904),
12-
[#913](https://github.com/chriso/validator.js/pull/913))
12+
[#913](https://github.com/chriso/validator.js/pull/913),
13+
[#916](https://github.com/chriso/validator.js/pull/916))
1314

1415
#### 10.8.0
1516

‎lib/isMobilePhone.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ var phones = {
5353
'fr-FR': /^(\+?33|0)[67]\d{8}$/,
5454
'he-IL': /^(\+972|0)([23489]|5[012345689]|77)[1-9]\d{6}$/,
5555
'hu-HU': /^(\+?36)(20|30|70)\d{7}$/,
56-
'id-ID': /^(\+?62|0)(0?8?\d\d\s?\d?)([\s?|\d]{7,12})$/,
56+
'id-ID': /^(\+?62|0)8(1[123456789]|2[1238]|3[1238]|5[12356789]|7[78]|9[56789]|8[123456789])([\s?|\d]{5,11})$/,
5757
'it-IT': /^(\+?39)?\s?3\d{2} ?\d{6,7}$/,
5858
'ja-JP': /^(\+?81|0)[789]0[ \-]?[1-9]\d{2}[ \-]?\d{5}$/,
5959
'kk-KZ': /^(\+?7|8)?7\d{9}$/,

‎validator.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1385,7 +1385,7 @@ var phones = {
13851385
'fr-FR': /^(\+?33|0)[67]\d{8}$/,
13861386
'he-IL': /^(\+972|0)([23489]|5[012345689]|77)[1-9]\d{6}$/,
13871387
'hu-HU': /^(\+?36)(20|30|70)\d{7}$/,
1388-
'id-ID': /^(\+?62|0)(0?8?\d\d\s?\d?)([\s?|\d]{7,12})$/,
1388+
'id-ID': /^(\+?62|0)8(1[123456789]|2[1238]|3[1238]|5[12356789]|7[78]|9[56789]|8[123456789])([\s?|\d]{5,11})$/,
13891389
'it-IT': /^(\+?39)?\s?3\d{2} ?\d{6,7}$/,
13901390
'ja-JP': /^(\+?81|0)[789]0[ \-]?[1-9]\d{2}[ \-]?\d{5}$/,
13911391
'kk-KZ': /^(\+?7|8)?7\d{9}$/,

‎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.