diff --git a/lib/isPostalCode.js b/lib/isPostalCode.js index 0d9564396..d8c7a48a4 100644 --- a/lib/isPostalCode.js +++ b/lib/isPostalCode.js @@ -67,6 +67,7 @@ var patterns = { RU: sixDigit, SA: fiveDigit, SE: /^\d{3}\s?\d{2}$/, + SK: /^\d{3}\s?\d{2}$/, TW: /^\d{3}(\d{2})?$/, US: /^\d{5}(-\d{4})?$/, ZA: fourDigit, diff --git a/src/lib/isPostalCode.js b/src/lib/isPostalCode.js index cd0e5eeac..b3240f17f 100644 --- a/src/lib/isPostalCode.js +++ b/src/lib/isPostalCode.js @@ -38,6 +38,7 @@ const patterns = { RU: sixDigit, SA: fiveDigit, SE: /^\d{3}\s?\d{2}$/, + SK: /^\d{3}\s?\d{2}$/, TW: /^\d{3}(\d{2})?$/, US: /^\d{5}(-\d{4})?$/, ZA: fourDigit,