doc: graduate WHATWG URL from Experimental
PR-URL: https://github.com/nodejs/node/pull/12710 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
This commit is contained in:
parent
72785dd9d2
commit
10754b60d0
@ -253,8 +253,6 @@ The formatting process operates as follows:
|
|||||||
added: v7.6.0
|
added: v7.6.0
|
||||||
-->
|
-->
|
||||||
|
|
||||||
> Stability: 1 - Experimental
|
|
||||||
|
|
||||||
* `URL` {URL} A [WHATWG URL][] object
|
* `URL` {URL} A [WHATWG URL][] object
|
||||||
* `options` {Object}
|
* `options` {Object}
|
||||||
* `auth` {boolean} `true` if the serialized URL string should include the
|
* `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'
|
// Prints 'https://你好你好?abc'
|
||||||
```
|
```
|
||||||
|
|
||||||
*Note*: This variation of the `url.format()` method is currently considered to
|
|
||||||
be experimental.
|
|
||||||
|
|
||||||
## url.parse(urlString[, parseQueryString[, slashesDenoteHost]])
|
## url.parse(urlString[, parseQueryString[, slashesDenoteHost]])
|
||||||
<!-- YAML
|
<!-- YAML
|
||||||
added: v0.1.25
|
added: v0.1.25
|
||||||
@ -365,10 +360,8 @@ forward slash (`/`) character is encoded as `%3C`.
|
|||||||
added: v7.0.0
|
added: v7.0.0
|
||||||
-->
|
-->
|
||||||
|
|
||||||
> Stability: 1 - Experimental
|
The `url` module provides an implementation of the [WHATWG URL Standard][] as
|
||||||
|
an alternative to the existing `url.parse()` API.
|
||||||
The `url` module provides an *experimental* implementation of the
|
|
||||||
[WHATWG URL Standard][] as an alternative to the existing `url.parse()` API.
|
|
||||||
|
|
||||||
```js
|
```js
|
||||||
const URL = require('url').URL;
|
const URL = require('url').URL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user