You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running this snippet throws an Uncaught TypeError: opts.email is undefined exception.
Expected Behavior
A snippet provided in the readme shouldn't fail. Also, the domains, second level domains and top level domains list gets updated globally?
Steps to Reproduce the Problem
Run snippet provided by readme
Environment
Version: 1.11.0
Platform: Linux
Node.js Version: v16.13.1
We've been using mailcheck but as you already know, it is quite outdated. So I thank your for this project, it was way overdue. The thing that I'm wondering is if it would not be best to let the config be overwritten globally, just as Mailcheck used to do it. If that's not the original idea that's fine, but maybe the docs should reflect it by not including a snippet that won't work.
The text was updated successfully, but these errors were encountered:
I think overrides global makes sense in case you just want to have custom ones. You can simply import the constant file POPULAR_TLDS and append that to your custom list.
What is missing is that we don't expose the default secondLevelDomains. Would it that be enough if you were having that? Also what's your use case?
Current Behavior
From the documentation:
Running this snippet throws an
Uncaught TypeError: opts.email is undefined
exception.Expected Behavior
A snippet provided in the readme shouldn't fail. Also, the domains, second level domains and top level domains list gets updated globally?
Steps to Reproduce the Problem
Environment
We've been using mailcheck but as you already know, it is quite outdated. So I thank your for this project, it was way overdue. The thing that I'm wondering is if it would not be best to let the config be overwritten globally, just as Mailcheck used to do it. If that's not the original idea that's fine, but maybe the docs should reflect it by not including a snippet that won't work.
The text was updated successfully, but these errors were encountered: