naturaltts-validation
Advanced tools
Comparing version 1.0.3 to 1.0.4
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports["default"] = void 0; | ||
var EMAIL_REGEX = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/; | ||
@@ -24,3 +28,3 @@ var PASSWORD_REGEX = /^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*#?&])[A-Za-z\d@$!%*#?&]{8,}$/; | ||
var validateUsername = validateValue(USERNAME_REGEX); | ||
module["export"] = { | ||
var _default = { | ||
validatePassword: validatePassword, | ||
@@ -30,1 +34,2 @@ validateEmail: validateEmail, | ||
}; | ||
exports["default"] = _default; |
{ | ||
"name": "naturaltts-validation", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"main": "./lib/index.js", | ||
@@ -5,0 +5,0 @@ "repository": "git@github.com:Werter12/naturaltts-validation.git", |
2597
28