node-libs-browser
node-libs-browser copied to clipboard
Support WHATWG URL
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
- jsdom/whatwg-url (but #102)
- or unshiftio/url-parse
url-parse is so much more popular. Has a fancy test suite.
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 I got around this by using the universal-url
package.
in node v11, url.parse is deprecated. so recommended url.URL class. we need change package or update node-url package.
If anyone is looking for up-to-date implementation, I’ve created package which includes latest Node features.