Skip to content

Remove env detection code in lib/punycode.js #4848

@stevemao

Description

@stevemao

I realize some modules like readable-stream is maintained internally but punycode is maintained externally. Should we maintain them internally only? Reasons are:

  1. Consistency.
  2. https://github.com/nodejs/node/blob/master/lib/punycode.js#L5-L16 exports the module depends on the environment which is not needed here in node.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionIssues that look for answers.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions