Skip to content

Dependency is-valid-domain is deprecated #97

Open
@TobiasDeBruijn

Description

@TobiasDeBruijn

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions