reserved-email-addresses-list
Advanced tools
Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "reserved-email-addresses-list", | ||
"description": "List of 1250+ email addresses reserved for security concerns", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"author": "Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com/)", | ||
@@ -6,0 +6,0 @@ "bugs": { |
@@ -47,3 +47,3 @@ # reserved-email-addresses-list | ||
const str = 'Admin '.toLowerCase().trim(); | ||
const match = reservedEmailAddresssesList.find(addr => addr === str || addr.startsWith(str) || addr.endsWith(str))) | ||
const match = reservedEmailAddresssesList.find(addr => addr === str || str.startsWith(addr) || str.endsWith(addr))) | ||
@@ -50,0 +50,0 @@ if (match) throw new Error(`${str} matched a reserved email address of ${match}`); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package