Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

punycode deprecation warning #209

Open
thomaswinkler opened this issue Jan 27, 2025 · 1 comment
Open

punycode deprecation warning #209

thomaswinkler opened this issue Jan 27, 2025 · 1 comment

Comments

@thomaswinkler
Copy link
Collaborator

Seeing punycode deprecation warnings coming from @c8y/client cross-fetch dependency. Currently there is no fix available for @c8y/client addressing the issue.

(node:7279) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
    at node:punycode:3:9
    at BuiltinModule.compileForInternalLoader (node:internal/bootstrap/realm:399:7)
    at BuiltinModule.compileForPublicLoader (node:internal/bootstrap/realm:338:10)
    at loadBuiltinModule (node:internal/modules/helpers:114:7)
    at Function._load (node:internal/modules/cjs/loader:1100:17)
    at TracingChannel.traceSync (node:diagnostics_channel:315:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:218:24)
    at Module.require (node:internal/modules/cjs/loader:1340:12)
    at require (node:internal/modules/helpers:141:16)
    at Object.<anonymous> (/Users/twi/Projects/cumulocity-cypress/node_modules/whatwg-url/lib/url-state-machine.js:2:18)
@thomaswinkler
Copy link
Collaborator Author

cross-fetch 4.1.0 seems to fix the issue.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant