Skip to content

Commit 6fce544

Browse files
committed
Move reference link for valid postal code list
1 parent c64f385 commit 6fce544

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/lib/isPostalCode.js

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

test/validators.test.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12659,7 +12659,6 @@ describe('Validators', () => {
1265912659
],
1266012660
},
1266112661
{
12662-
// https://www.pakpost.gov.pk/postcodes.php
1266312662
locale: 'PK',
1266412663
valid: [
1266512664
'25000',

0 commit comments

Comments
 (0)