Skip to content

Undocumented url.parse pathname change #30154

Description

@GrosSacASac

Code

var url = require("url")
console.log(url.parse('ws://localhost').pathname)

Node version and output

12.13.0
"/"
10.16.3
null

The change is not visible in the docs

I could submit a PR if you confirm this should be added to the doc

Activity

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

    docIssues and PRs related to Node.js documentation.urlIssues and PRs related to the legacy built-in url module.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions