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

Use node-fetch-native to fix warning from JBrowse CLI on node 21+ #4318

Merged
merged 1 commit into from
Mar 28, 2024

Conversation

cmdcolin
Copy link
Collaborator

This adds a new package, node-fetch-native, for running fetch commands in the CLI. It removes the punycode warning, which while minor, is confusing when running the CLI

it forces the use of the polyfill, as the actual native gives errors with streams. Likely this should get fixed at some point, as our code is therefore overfitting to "non standard fetch behavior" regarding streams, but this PR does work

Fixes #4163

@cmdcolin cmdcolin merged commit 842e61e into main Mar 28, 2024
10 checks passed
@cmdcolin cmdcolin deleted the node-fetch-native branch March 28, 2024 14:30
@cmdcolin cmdcolin added the bug Something isn't working label Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Try to remove punycode warning from jbrowse CLI
1 participant