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
{{ message }}
This repository was archived by the owner on Jul 30, 2022. It is now read-only.
It looks like the wildcard option cannot be used together with the topLevel option.
constisValidDomain=require('is-valid-domain')isValidDomain('ch',{topLevel: true,subdomain: true})// -> trueisValidDomain('*.ch',{topLevel: true,wildcard: true,subdomain: true})// -> false// one from sldMap.json has the same problem:isValidDomain('gov.sg',{topLevel: true,subdomain: true})// -> trueisValidDomain('*.gov.sg',{topLevel: true,wildcard: true,subdomain: true})// -> false
Is this a bug or something that can be supported in the future? Either with those options or a new specific one (e.g. secondLevelWildcard)?
Thank you already for your feedback!