Skip to content

Fix crash on edge runtimes #996 #1098

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dominictobias-bullish
Copy link

Changes

This library crashes on edge runtimes such as Vercel and Cloudflare because it tries to reference process.version which doesn't exist and causes an exception.

References

Please include relevant links supporting this change such as a:

#996

Testing

Please describe how this can be tested by reviewers. Be specific about anything not tested and reasons why. If this library has unit and/or integration testing, tests should be added for new functionality and existing tests should complete without errors.

  • This change adds unit test coverage
  • This change adds integration test coverage

Checklist

@dominictobias-bullish dominictobias-bullish requested a review from a team as a code owner April 3, 2025 03:59
@dominictobias-bullish
Copy link
Author

Hi, can you review this please? It's a real pain in the anus. I don't want to run a fork or patch just for such a minor issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant