Skip to content
This repository was archived by the owner on Jul 31, 2018. It is now read-only.

Commit 05e5e81

Browse files
committed
Update proposal
1 parent a0a8922 commit 05e5e81

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

XXX-url.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,18 @@ the URL standard and fails to pass 160 of the WHATWG URL parsing tests.
1414
This proposal is to implement the WHATWG URL Standard by modifying the existing
1515
`url` module to provide an implementation of the `URL` object and associated
1616
APIs. Doing so improves the robustness of URL parsing, provides consistency
17-
with browser js code, and can eventually allow the reduction of node.js specific
17+
with browser JS code, and can eventually allow the reduction of node.js specific
1818
APIs.
1919

20-
Initially, the implementation would be introduced as an undocumented
21-
experimental feature exposed via a new `URL` property in the `url` module.
20+
Initially, the implementation would be introduced as an *undocumented*
21+
experimental feature exposed via a new `URL` property in the `url` module
22+
*and as a global*.
2223

2324
Because the existing `require('url')` module remains, there should be no
24-
backwards compatibility concerns. Once a decision is made to provide official,
25-
documented support for the new URL implementation, a decision would be made
26-
about whether to switch the internal uses of `require('url').parse()` to the
27-
new `URL` implementation.
25+
backwards compatibility concerns. Once the performance of the new URL impl is
26+
on par with the existing `url.parse()` implementation, `url.parse()` will go
27+
through a normal deprecation cycle and the new URL implementation will become
28+
a fully documentation and supported feature.
2829

2930
The current implementation can be found at:
3031

0 commit comments

Comments
 (0)