Skip to content

Commit

Permalink
feat(isLocale): validate isLocale
Browse files Browse the repository at this point in the history
- it validates different languages for different geographical location
- Closes validatorjs#954
  • Loading branch information
ezkemboi committed Jul 28, 2019
1 parent 54bf8c4 commit ce18fae
Show file tree
Hide file tree
Showing 7 changed files with 1,386 additions and 11 deletions.
3 changes: 3 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ var _isFQDN = _interopRequireDefault(require("./lib/isFQDN"));

var _isBoolean = _interopRequireDefault(require("./lib/isBoolean"));

var _isLocale = _interopRequireDefault(require("./lib/isLocale"));

var _isAlpha = _interopRequireWildcard(require("./lib/isAlpha"));

var _isAlphanumeric = _interopRequireWildcard(require("./lib/isAlphanumeric"));
Expand Down Expand Up @@ -200,6 +202,7 @@ var validator = {
isJSON: _isJSON.default,
isEmpty: _isEmpty.default,
isLength: _isLength.default,
isLocale: _isLocale.default,
isByteLength: _isByteLength.default,
isUUID: _isUUID.default,
isMongoId: _isMongoId.default,
Expand Down
Loading

0 comments on commit ce18fae

Please sign in to comment.