#7617: fix: resolve punycode deprecation warning via pnpm override
Cluster:
OpenClaw Plugin Enhancements
## Summary
Adds `whatwg-url@^14.0.0` to pnpm overrides to eliminate the Node.js DEP0040 deprecation warning that appears on every CLI invocation.
## Problem
Every OpenClaw command shows:
```
(node:36930) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
```
This is caused by outdated transitive dependencies (`tr46`, `whatwg-url`) that still use the deprecated Node.js built-in `punycode` module.
## Solution
Override `whatwg-url` to `^14.0.0` which uses the userland `punycode.js` package instead of the deprecated Node.js built-in.
This is safe because:
- OpenClaw already requires Node.js ≥22.12.0, and whatwg-url@14.0.0 requires Node.js ≥18
- The high-level URL parsing API remains unchanged
- This is the standard ecosystem fix for punycode deprecation
## Testing
Verified locally: ran `pnpm install` and confirmed deprecation warning no longer appears on CLI commands.
Fixes #7551
---
🤖 *Built together with Claude. Fully tested, code reviewed and understood.*
Most Similar PRs
#4243: fix: resolve Node.js punycode deprecation warning
by dylanneve1 · 2026-01-29
71.9%
#18961: fix: detect pnpm package manager in openclaw update
by norci · 2026-02-17
68.0%
#20055: fix(plugins): strip workspace:* dev-deps before npm install
by openperf · 2026-02-18
66.8%
#17237: fix(update): guard post-install imports after npm global update
by tdjackey · 2026-02-15
64.6%
#23337: fix: move @discordjs/opus to optionalDependencies [AI-assisted 🤖]
by davidmckenzie · 2026-02-22
64.6%
#19941: fix(nostr): move openclaw from devDependencies to peerDependencies
by AustinEral · 2026-02-18
63.6%
#22692: fix(memory-lancedb): [P1] add missing runtime deps — plugin broken ...
by mahsumaktas · 2026-02-21
63.2%
#22406: Fix update detection for Companion App npm-prefix installs
by graysurf · 2026-02-21
63.2%
#8500: fix: Remove workspace:* from devDependencies in voice-call plugin
by ImBIOS · 2026-02-04
63.1%
#19619: fix(deps): bump fast-xml-parser override to 5.3.6 to fix DoS vulnerab…
by Ilannuko · 2026-02-18
63.0%