We have a lot of behaviors in `/behaviors/common/` but not all of them have decorators. We need to implement them all (with tests for errors messages) in `validators/common.ts` following already written code. Here is a list to track them : - [x] contains - [x] isAfter - [x] isAlpha - [x] isAlphanumeric - [x] isAscii - [x] isBase32 - [x] isBase64 - [x] isBefore - [x] isBIC - [x] isBoolean - [x] isBtcAddress - [x] isByteLength - [x] isCreditCard - [x] isCurrency - [x] isDataURI - [x] isDate - [x] isDecimal - [x] isDivisibleBy - [ ] isEAN - [x] isEmail - [x] isEmpty - [ ] isEthereumAddress - [ ] isFloat - [ ] isFQDN - [ ] isFullWidth - [ ] isHalfWidth - [ ] isHash - [ ] isHexadecimal - [x] isHexColor - [ ] isHSL - [ ] isIBAN - [ ] isIdentityCard - [ ] isIn - [ ] isInt - [ ] isISIN - [ ] isISO31661Alpha2 - [ ] isISO31661Alpha3 - [ ] isISO8601 - [ ] isISBN - [ ] isISRC - [ ] isISSN - [ ] isJSON - [x] isIP - [ ] isIPRange - [ ] isJWT - [ ] isLatLong - [ ] isLocale - [x] isLowerCase - [ ] isMACAddress - [ ] isMagnetURI - [ ] isMimeType - [ ] isMongoId - [ ] isMobilePhone - [ ] isMultibyte - [ ] isNumeric - [ ] isOctal - [ ] isPassportNumber - [x] isPort - [ ] isPostalCode - [ ] isRFC3339 - [ ] isRgbColor - [ ] isSemVer - [ ] isSlug - [ ] isSurrogatePair - [x] isUpperCase - [ ] isURL - [ ] isUUID - [ ] isVariableWidth - [ ] isWhitelisted,
We have a lot of behaviors in
/behaviors/common/but not all of them have decorators.We need to implement them all (with tests for errors messages) in
validators/common.tsfollowing already written code.Here is a list to track them :