Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: graduate WHATWG URL from Experimental #12710

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
doc: graduate WHATWG URL from Experimental
  • Loading branch information
jasnell committed May 29, 2017
commit d7aad0d2d59da63f3544b6d2749fd32108df05dc
11 changes: 2 additions & 9 deletions doc/api/url.md
Original file line number Diff line number Diff line change
@@ -253,8 +253,6 @@ The formatting process operates as follows:
added: v7.6.0
-->

> Stability: 1 - Experimental

* `URL` {URL} A [WHATWG URL][] object
* `options` {Object}
* `auth` {boolean} `true` if the serialized URL string should include the
@@ -290,9 +288,6 @@ console.log(url.format(myURL, {fragment: false, unicode: true, auth: false}));
// Prints 'https://你好你好?abc'
```

*Note*: This variation of the `url.format()` method is currently considered to
be experimental.

## url.parse(urlString[, parseQueryString[, slashesDenoteHost]])
<!-- YAML
added: v0.1.25
@@ -365,10 +360,8 @@ forward slash (`/`) character is encoded as `%3C`.
added: v7.0.0
-->

> Stability: 1 - Experimental

The `url` module provides an *experimental* implementation of the
[WHATWG URL Standard][] as an alternative to the existing `url.parse()` API.
The `url` module provides an implementation of the [WHATWG URL Standard][] as
an alternative to the existing `url.parse()` API.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Maybe remove existing.


```js
const URL = require('url').URL;