Users have used url.format() for as long as I can remember. It is useful, reasonably ergonomic, has has existed for public use for over 7 years...
The WhatWG url alternative is absolutely not ergonomic or obvious:
String(Object.assign(newURL('<a url>'),{pathname: '/foo'}))I do not agree that deprecating url.format() with no such API alternative is acceptable.
The deprecation was done in #22715
Users have used
url.format()for as long as I can remember. It is useful, reasonably ergonomic, has has existed for public use for over 7 years...The WhatWG url alternative is absolutely not ergonomic or obvious:
I do not agree that deprecating
url.format()with no such API alternative is acceptable.The deprecation was done in #22715