Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export const isPostalCode = (value) => valid.postalCode(value, 4).isValid;
export const isExpirationDate = (month, year) => valid.expirationDate({ month, year }).isValid;