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.2 to 0.0.3

2

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

@@ -6,0 +6,0 @@ "bugs": {

@@ -41,8 +41,10 @@ # reserved-email-addresses-list

The string you are comparing with must be converted to lowercase and trimmed of whitespace. It is also highly recommended that you check for strict equality, starts with, and ends with comparisons as well.
The string you are comparing with must be converted to lowercase, trimmed of whitespace, and strictly converted to alphanumeric characters only.
It is also highly recommended that you check for strict equality, starts with, and ends with comparisons as well.
```js
const reservedEmailAddressesList = require('reserved-email-addresses-list');
const str = 'Admin '.toLowerCase().trim();
const str = 'Admin***!!!'.toLowerCase().replace(/[^0-9a-z]/g, '');
const match = reservedEmailAddresssesList.find(addr => addr === str || str.startsWith(addr) || str.endsWith(addr)))

@@ -49,0 +51,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