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
There are a few environments that have become popular in the last few years that provide a native URL class - this includes v8 Isolates (cloudflare workers), and most/all modern browsers.
This library fails in these environments due to require('url'), which is unnecessary in those environments.
It should be fairly straightforward to detect the native URL object and fall back to a require only if it is not present, which would easily add support to a few new platforms.
The text was updated successfully, but these errors were encountered:
There are a few environments that have become popular in the last few years that provide a native URL class - this includes v8 Isolates (cloudflare workers), and most/all modern browsers.
This library fails in these environments due to
require('url')
, which is unnecessary in those environments.It should be fairly straightforward to detect the native URL object and fall back to a
require
only if it is not present, which would easily add support to a few new platforms.The text was updated successfully, but these errors were encountered: