-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When using the openai package in my Node.js project, I encounter the following deprecation warning:
After investigating, I found that the openai package relies on node-fetch@2.7.0, which in turn depends on whatwg-url@5.0.0. The whatwg-url package is causing the warning as it depends on the deprecated punycode module.
To Reproduce
-
Install openai@latest in a Node.js project.
-
Run any script importing the openai package.
-
Observe the deprecation warning related to punycode.
Code snippets
No response
OS
Fedora
Node version
22.11.0
Library version
4.73.1
brianmcd, kingyue737, rafma0, fmendez, Greenheart and 8 more
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working