Skip to content
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

Remove references to os for Edge Runtime compatibility #115

Merged
merged 1 commit into from
Sep 14, 2023

Conversation

jhamon
Copy link
Collaborator

@jhamon jhamon commented Sep 14, 2023

Problem

PR #110 resolved the problem with fs imports that was happening in the Edge Runtime, but feedback on a dev build shows that os imports are still an issue even though the @edge-runtime/jest-environment test build is passing.

This relates to:

Solution

For now, the easiest thing is to just remove references to os. The information it adds to the user-agent header is nice to have, but not essential.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)

@jhamon jhamon marked this pull request as ready for review September 14, 2023 08:35
Copy link
Contributor

@austin-denoble austin-denoble left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. 🚢

@jhamon jhamon merged commit 73536bb into main Sep 14, 2023
@jhamon jhamon deleted the jhamon/remove-os branch September 14, 2023 15:23
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.

3 participants