-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dependency is-valid-domain
is deprecated
#97
Comments
https://stackoverflow.com/a/78014024 It looks like Or use a different package for domain validation, e.g.: https://www.npmjs.com/package/parse-domain |
This is irrelevant to the entire issue this repo is using directly but none of that is relevant since This repo would need to replace EDIT (i missed that part):
this would be ideal, yes |
Hi,
I came across
devcert
in my dependency tree (through gatsby) after getting a warning about punycode:The
punycode
dependency is used byis-valid-domain
, who use it wrong, producing the error.However,
is-valid-domain
is archived on GitHub and was last updated on npm two years ago.is-valid-domain
is used by this package.I'm not entirely sure what the best fix would be. Forking
is-valid-domain
could be an option, then fixing therequire('punycode')
torequire('punycode/')
(which should fix the warning) and then use that fork, is one option.Thanks.
The text was updated successfully, but these errors were encountered: