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
Apparently the new WHATWG URL API includes a nonstandard static method originFor. Its presence encourages writing code that is not interoperable between Node.js and browsers. It should be removed.
Activity
jasnell commentedon Dec 21, 2016
Not really removed so much as moved... it should hang off the
require('url')module rather thanrequire('url').URLdomenic commentedon Dec 21, 2016
Hmm, what is the benefit of that over
new URL(...).origin?targos commentedon Jan 2, 2017
Moved to
require('url')in abc1633.