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

fix: override whatwg-url version to prevent punycode warning #4

Merged
merged 1 commit into from
Mar 4, 2024

Conversation

njhale
Copy link
Member

@njhale njhale commented Mar 4, 2024

The openai package transitively depends on an outdated version of whatwg-url, which causes nodejs to print a deprecation warning for punycode when running the vision tool. This will be fixed when openai resolves openai/openai-node#392. Until then, override the version of whatwg-url in order to prevent the deprecation warning.

See openai/openai-node#527 (comment) for details on this stopgap.

The openai package transitively depends on an outdated version of
whatwg-url, which causes nodejs to print a deprecation warning for
punycode when running the vision tool. This will be fixed when openai
resolves openai/openai-node#392. Until then,
override the version of whatwg-url in order to prevent the deprecation
warning.

See openai/openai-node#527 (comment)
for details on this stopgap.

Signed-off-by: Nick Hale <4175918+njhale@users.noreply.github.com>
@njhale njhale merged commit d4e49d3 into main Mar 4, 2024
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.

Replace node-fetch with undici
1 participant