Skip to content

Commit a56b4d5

Browse files
committed
Move reference link for valid postal code list
1 parent 7fb912a commit a56b4d5

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

src/lib/isPostalCode.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ const patterns = {
5656
NO: fourDigit,
5757
NP: /^(10|21|22|32|33|34|44|45|56|57)\d{3}$|^(977)$/i,
5858
NZ: fourDigit,
59+
// https://www.pakpost.gov.pk/postcodes.php
5960
PK: fiveDigit,
6061
PL: /^\d{2}\-\d{3}$/,
6162
PR: /^00[679]\d{2}([ -]\d{4})?$/,

test/validators.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11176,7 +11176,6 @@ describe('Validators', () => {
1117611176
],
1117711177
},
1117811178
{
11179-
// https://www.pakpost.gov.pk/postcodes.php
1118011179
locale: 'PK',
1118111180
valid: [
1118211181
'25000',

0 commit comments

Comments
 (0)