We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2da8eb commit a5debd4Copy full SHA for a5debd4
2 files changed
minfraud/validation.py
@@ -57,7 +57,7 @@ def _ip_address(s: Optional[str]) -> str:
57
def _email_or_md5(s: str) -> str:
58
if re.match(r"^[0-9A-Fa-f]{32}$", s):
59
return s
60
- return validate_email(s, check_deliverability=False).email
+ return validate_email(s, check_deliverability=False).normalized
61
62
63
# based off of:
pyproject.toml
@@ -8,7 +8,7 @@ authors = [
8
dependencies = [
9
"setuptools>=60.0.0",
10
"aiohttp>=3.6.2,<4.0.0",
11
- "email_validator>=1.1.1,<3.0.0",
+ "email_validator>=2.0.0,<3.0.0",
12
"geoip2>=4.7.0,<5.0.0",
13
"requests>=2.24.0,<3.0.0",
14
"voluptuous",
0 commit comments