node-libs-browser icon indicating copy to clipboard operation
node-libs-browser copied to clipboard

Support WHATWG URL

Open nezed opened this issue 6 years ago • 5 comments

It seems like there is no activity in

  • https://github.com/defunctzombie/node-url/issues/37
  • https://github.com/webpack/webpack/issues/5372

And i propose to replace node-url with

nezed avatar Sep 08 '17 12:09 nezed

url-parse is so much more popular. Has a fancy test suite.

mightyiam avatar Oct 23 '17 19:10 mightyiam

Node v7+ includes a browser-compatible URL class. For folks who want to use the built-in class, is there a way to ignore the url dependency installed by node-libs-browser?

sawyerh avatar Jan 23 '18 23:01 sawyerh

@sawyerh I got around this by using the universal-url package.

jaibatrik avatar Oct 01 '18 20:10 jaibatrik

in node v11, url.parse is deprecated. so recommended url.URL class. we need change package or update node-url package.

wh1tecat-nya avatar Feb 27 '19 08:02 wh1tecat-nya

If anyone is looking for up-to-date implementation, I’ve created package which includes latest Node features.

niksy avatar Nov 13 '21 17:11 niksy