Skip to content

Soft deprecate punycode #5865

Closed
Closed

Description

@benjamingr

Punycode has always been a pretty odd thing in Node IMO.

Not a lot of issues about it, people don't ask about it, no PRs touch it and no issues discuss it.

On the other hand it's around 500 lines of code - the implementation is slow and has a lot of fixes for things like IE8, or detecting the way exports are done from a module.

The docs aren't very up to date either. Also, this is definitely something that can be solved in userland faster anyway.

I think that we should soft-deprecate punycode as a core module and encourage people to install it from npm.

Activity

  1. benjamingr commented on Mar 23, 2016

    @benjamingr
    MemberAuthor

    I would label it with the punycode label but it doesn't look like there is one.

    Also note that stability-index wise we're fine, it's stable but not locked

  2. mscdex commented on Mar 23, 2016

    @mscdex
    Contributor

    It's still used by the url module in core and possibly elsewhere in the ecosystem.

    If performance is a concern, why not fix those issues upstream and node can pull in the new version?

    IMHO I don't see very strong arguments for removing it. You could view the lack of issues surrounding it as a testament to its stability. I also don't think it's something that really needs constant updating since the specs around it have been around for quite some time and the module is just complete.

  3. jasnell commented on Mar 23, 2016

    @jasnell
    Member

    Definitely -1 to removing it.

  4. cjihrig commented on Mar 23, 2016

    @cjihrig
    Contributor

    Also -1 from me. I'm going to go ahead and close this for now.

  5. benjamingr commented on Mar 23, 2016

    @benjamingr
    MemberAuthor

    Good enough. I'll see if I can make some contributions on the implementation.

  6. added a commit that references this issue on Mar 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussIssues opened for discussion and feedback.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions