fix: resolve punycode deprecation warning via pnpm override#7617
Closed
whoknowsmann wants to merge 1 commit intoopenclaw:mainfrom
Closed
fix: resolve punycode deprecation warning via pnpm override#7617whoknowsmann wants to merge 1 commit intoopenclaw:mainfrom
whoknowsmann wants to merge 1 commit intoopenclaw:mainfrom
Conversation
Add whatwg-url@^14.0.0 override to eliminate Node.js DEP0040 deprecation warning caused by outdated transitive dependencies (tr46, whatwg-url) that still use the deprecated built-in punycode module. Fixes #7551
|
Yes, please add this. Merged this into my local hackable install and it works. |
bfc1ccb to
f92900f
Compare
Contributor
|
Closing as AI-assisted stale-fix triage. Linked issue #7551 ("Punycode deprecation warning from transitive dependencies (tr46, whatwg-url)") is currently closed and was closed on 2026-02-22T19:14:20Z with state reason completed. If this specific implementation is still needed on current main, please reopen #7617 (or open a new focused fix PR) and reference #7551 for fast re-triage. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
whatwg-url@^14.0.0to pnpm overrides to eliminate the Node.js DEP0040 deprecation warning that appears on every CLI invocation.Problem
Every OpenClaw command shows:
This is caused by outdated transitive dependencies (
tr46,whatwg-url) that still use the deprecated Node.js built-inpunycodemodule.Solution
Override
whatwg-urlto^14.0.0which uses the userlandpunycode.jspackage instead of the deprecated Node.js built-in.This is safe because:
Testing
Verified locally: ran
pnpm installand confirmed deprecation warning no longer appears on CLI commands.Fixes #7551
🤖 Built together with Claude. Fully tested, code reviewed and understood.