Skip to content

Commit 8c9ffb0

Browse files
committed
Update the changelog and min version
1 parent 76834c4 commit 8c9ffb0

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
#### HEAD
2+
3+
- Locale fixes
4+
([#739](https://github.com/chriso/validator.js/pull/739))
5+
16
#### 9.1.0
27

38
- Added an `isISO31661Alpha2()` validator

lib/isPostalCode.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ var sixDigit = /^\d{6}$/;
3737

3838
var patterns = {
3939
AT: fourDigit,
40-
AU: sixDigit,
40+
AU: fourDigit,
4141
BE: fourDigit,
4242
CA: /^[ABCEGHJKLMNPRSTVXY]\d[ABCEGHJ-NPRSTV-Z][\s\-]?\d[ABCEGHJ-NPRSTV-Z]\d$/i,
4343
CH: fourDigit,

validator.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1170,7 +1170,7 @@ var sixDigit = /^\d{6}$/;
11701170

11711171
var patterns = {
11721172
AT: fourDigit,
1173-
AU: sixDigit,
1173+
AU: fourDigit,
11741174
BE: fourDigit,
11751175
CA: /^[ABCEGHJKLMNPRSTVXY]\d[ABCEGHJ-NPRSTV-Z][\s\-]?\d[ABCEGHJ-NPRSTV-Z]\d$/i,
11761176
CH: fourDigit,

0 commit comments

Comments
 (0)