@xuda.io/account_module 1.2.1865 → 1.2.1867
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.mjs +13 -13
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -3538,20 +3538,20 @@ function isLikelySpamEmail(email) {
|
|
|
3538
3538
|
return false;
|
|
3539
3539
|
}
|
|
3540
3540
|
|
|
3541
|
-
// ────────────────────────────────────────────────
|
|
3542
|
-
// 4. Very short / meaningless / bot-like local parts
|
|
3543
|
-
// ────────────────────────────────────────────────
|
|
3544
|
-
if (localPart.length < 3 || localPart.match(/^[a-z\d]{1,4}$/)) {
|
|
3545
|
-
|
|
3546
|
-
}
|
|
3541
|
+
// // ────────────────────────────────────────────────
|
|
3542
|
+
// // 4. Very short / meaningless / bot-like local parts
|
|
3543
|
+
// // ────────────────────────────────────────────────
|
|
3544
|
+
// if (localPart.length < 3 || localPart.match(/^[a-z\d]{1,4}$/)) {
|
|
3545
|
+
// return true; // e.g. a1@b.com, xyz@temp.com
|
|
3546
|
+
// }
|
|
3547
3547
|
|
|
3548
|
-
// ────────────────────────────────────────────────
|
|
3549
|
-
// 5. Suspicious TLDs sometimes used in spam (2026 context)
|
|
3550
|
-
// ────────────────────────────────────────────────
|
|
3551
|
-
const suspiciousTlds = ['.top', '.xyz', '.club', '.online', '.site', '.fun', '.buzz'];
|
|
3552
|
-
if (suspiciousTlds.some((tld) => domain.endsWith(tld))) {
|
|
3553
|
-
|
|
3554
|
-
}
|
|
3548
|
+
// // ────────────────────────────────────────────────
|
|
3549
|
+
// // 5. Suspicious TLDs sometimes used in spam (2026 context)
|
|
3550
|
+
// // ────────────────────────────────────────────────
|
|
3551
|
+
// const suspiciousTlds = ['.top', '.xyz', '.club', '.online', '.site', '.fun', '.buzz'];
|
|
3552
|
+
// if (suspiciousTlds.some((tld) => domain.endsWith(tld))) {
|
|
3553
|
+
// return true;
|
|
3554
|
+
// }
|
|
3555
3555
|
|
|
3556
3556
|
// Passed most checks → probably not spam
|
|
3557
3557
|
return false;
|