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

Commit

Permalink
Update proposal
Browse files Browse the repository at this point in the history
  • Loading branch information
jasnell committed Jul 25, 2016
1 parent a0a8922 commit 05e5e81
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions XXX-url.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,18 @@ the URL standard and fails to pass 160 of the WHATWG URL parsing tests.
This proposal is to implement the WHATWG URL Standard by modifying the existing
`url` module to provide an implementation of the `URL` object and associated
APIs. Doing so improves the robustness of URL parsing, provides consistency
with browser js code, and can eventually allow the reduction of node.js specific
with browser JS code, and can eventually allow the reduction of node.js specific
APIs.

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

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

The current implementation can be found at:

Expand Down

0 comments on commit 05e5e81

Please sign in to comment.