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
If you need to use this in the browser, use version 4: npm i normalize-url@4
I scanned the index.js of version 7 and it seems to me that there are no Node-specific APIs involved. I also did a quick check which seems to work at first glance:
Activity
sindresorhus commentedon Jul 14, 2021
It depends on which browsers you need to support. See: #105
charbugs commentedon Jul 14, 2021
Thanks for the pointer!
loynoir commentedon Aug 7, 2021
Hi, @sindresorhus
Is js-regexp-lookbehind the only limitation prevent using v7 in browser?
Might be better to document the reason behind
changes in test workflow
loynoir commentedon Aug 9, 2021
For any seeing this, after I migrate
test.jsfromavatomocha+chai, I would sayQ: Can I use sindresorhus/normalize-url@7.0.0 in the browser?
A: