Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

reserved-email-addresses-list

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reserved-email-addresses-list - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

6

package.json
{
"name": "reserved-email-addresses-list",
"description": "List of 1250+ email addresses reserved for security concerns",
"version": "0.0.3",
"version": "0.0.4",
"author": "Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com/)",

@@ -18,3 +18,5 @@ "bugs": {

],
"dependencies": {},
"dependencies": {
"reserved-email-addresses-list": "^0.0.3"
},
"devDependencies": {

@@ -21,0 +23,0 @@ "@commitlint/cli": "latest",

@@ -49,5 +49,9 @@ # reserved-email-addresses-list

const str = 'Admin***!!!'.toLowerCase().replace(/[^0-9a-z]/g, '');
const match = reservedEmailAddresssesList.find(addr => addr === str || str.startsWith(addr) || str.endsWith(addr)))
if (match) throw new Error(`${str} matched a reserved email address of ${match}`);
const reservedMatch = reservedEmailAddressesList.find(
addr => addr === str || str.startsWith(addr) || str.endsWith(addr)
);
if (reservedMatch)
throw new Error(`${str} matched a reserved email address of ${match}`);
```

@@ -54,0 +58,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc