You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 24, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Jun 24, 2026. It is now read-only.
relateurl. URL-compatible version is in the repo and has been in the works for a while at 99% completion. Should be finishing it in a few weeks. It's "done" now and will be released soon.
Activity
stevenvachon commentedon Nov 13, 2018
relateurl.
URL-compatible version is in the repo and has been in the works for a whileat 99% completion. Should be finishing it in a few weeks. It's "done" now and will be released soon.guybedford commentedon Dec 4, 2018
As discussed at the meeting - it might be nice to start by seeing if progress can be made on the WhatWG side of things here.
So perhaps we can come up with something we think might work for Node and propose it to WhatWG in an issue there?
I will start with a complete and utter strawman:
Returns the relative url with fragment string of
toURLfromfromURLsuch thatnew URL(result, fromURL)would be the reverse operation.//cc @nex3 who brought this one up in the first place!
If that sounds sensible... let's see what WhatWG think, as it seems like it wouldn't be "unuseful" in browsers.
guybedford commentedon Dec 7, 2018
I've created a WhatWG proposal issue at whatwg/url#421.