chore: remove deprecated node‑domexception dependency
Confirm this is a Node library issue and not an underlying OpenAI API issue
- [x] This is an issue with the Node library
Describe the bug
Installing @openai/codex (which depends on [email protected]) emits:
npm WARN deprecated [email protected]: Use your platform's native DOMException instead
node-domexception is deprecated and unnecessary on Node ≥ 18.
It pollutes installs with warnings
To Reproduce
try installing npm install -g @openai/codex or npm install openai it'll generate
npm warn deprecated [email protected]: Use your platform's native DOMException instead
Code snippets
OS
Windows and WSL
Node version
Node 22.12.0
Library version
Latest
Thanks for the report, I'm closing this in favour of #1207 as this will also be fixed in the v5, please try it out!
Thanks for the report, I'm closing this in favour of #1207 as this will also be fixed in the v5, please try it out!
But this error is still there, isn't it?