Skip to content

Undocumented url.parse pathname change #30154

@GrosSacASac

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    docIssues and PRs related to the documentations.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