-
Notifications
You must be signed in to change notification settings - Fork 358
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Environment detection broken in Node 18 #460
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This package uses
to detect if it is running in a browser environment. This no longer works in latest Node as
fetch
is now available as a regular Node global. I currently usedelete global.fetch
in my code to work around this, but it would be preferable if it uses a better environment sniffing algorithm, e.g. by checking for for Node-only globals.The text was updated successfully, but these errors were encountered: