Skip to content

DeprecationWarning: The punycode module is deprecated #277

@chen56

Description

@chen56
➜  provider-tencentcloud git:(main) ✗ node -v
v22.13.0


➜  provider-tencentcloud git:(main) ✗ tsx  --trace-deprecation examples/01_hello/eager_mode.ts destroy
(node:58711) [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:110:7)
    at Function._load (node:internal/modules/cjs/loader:1095:17)
    at TracingChannel.traceSync (node:diagnostics_channel:322:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)
    at Module.require (node:internal/modules/cjs/loader:1335:12)
    at require (node:internal/modules/helpers:136:16)
    at Object.<anonymous> (/Users/chen/git/chen56/qpa/node_modules/.pnpm/[email protected]/node_modules/whatwg-url/lib/url-state-machine.js:2:18)
➜  provider-tencentcloud git:(main) ✗ 


➜  provider-tencentcloud git:(main) ✗ pnpm why [email protected]

Legend: production dependency, optional only, dev only

@qpa/[email protected] /Users/chen/git/chen56/qpa/packages/provider-tencentcloud

dependencies:
@qpa/cli link:../cli
└─┬ @qpa/core link:../core
  └─┬ tencentcloud-sdk-nodejs 4.1.44
    └─┬ node-fetch 2.7.0
      └── whatwg-url 5.0.0
@qpa/core link:../core
└─┬ tencentcloud-sdk-nodejs 4.1.44
  └─┬ node-fetch 2.7.0
    └── whatwg-url 5.0.0
tencentcloud-sdk-nodejs 4.1.44
└─┬ node-fetch 2.7.0
  └── whatwg-url 5.0.0
➜  provider-tencentcloud git:(main) ✗ tsx  examples/01_hello/eager_mode.ts destroy
(node:58685) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions