Hi,
I came across devcert in my dependency tree (through gatsby) after getting a warning about punycode:
The `punycode` module is deprecated. Please use a userland alternative instead.
The punycode dependency is used by is-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 the require('punycode') to require('punycode/') (which should fix the warning) and then use that fork, is one option.
Thanks.
Hi,
I came across
devcertin my dependency tree (through gatsby) after getting a warning about punycode:The
punycodedependency is used byis-valid-domain, who use it wrong, producing the error.However,
is-valid-domainis archived on GitHub and was last updated on npm two years ago.is-valid-domainis used by this package.I'm not entirely sure what the best fix would be. Forking
is-valid-domaincould be an option, then fixing therequire('punycode')torequire('punycode/')(which should fix the warning) and then use that fork, is one option.Thanks.