cnpm / cnpmcore

Private NPM Registry for Enterprise
https://npmmirror.com
MIT License
573 stars 78 forks source link

DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead #684

Open fengmk2 opened 1 month ago

fengmk2 commented 1 month ago
(node:67976) [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:398:7)
    at BuiltinModule.compileForPublicLoader (node:internal/bootstrap/realm:337:10)
    at loadBuiltinModule (node:internal/modules/helpers:96:7)
    at Function.Module._load (node:internal/modules/cjs/loader:1037:17)
    at Module.require (node:internal/modules/cjs/loader:1271:19)
    at require (node:internal/modules/helpers:123:16)
    at Object.<anonymous> (/Users/fengmk2/git/github.com/cnpm/cnpmcore/node_modules/_whatwg-url@5.0.0@whatwg-url/lib/url-state-machine.js:2:18)
    at Module._compile (node:internal/modules/cjs/loader:1434:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1518:10)

npm ls whatwg-url    
cnpmcore@3.57.0 /Users/fengmk2/git/github.com/cnpm/cnpmcore
├─┬ @elastic/elasticsearch@8.11.0 -> ./node_modules/_@elastic_elasticsearch@8.11.0@@elastic/elasticsearch
│ └─┬ node-fetch@2.6.11 -> ./node_modules/_node-fetch@2.6.11@node-fetch
│   └── whatwg-url@5.0.0 -> ./node_modules/_whatwg-url@5.0.0@whatwg-url
├─┬ @simplewebauthn/server@7.3.1 -> ./node_modules/_@simplewebauthn_server@7.3.1@@simplewebauthn/server
│ └─┬ cross-fetch@3.1.6 -> ./node_modules/_cross-fetch@3.1.6@cross-fetch
│   └─┬ node-fetch@2.6.11 -> ./node_modules/_node-fetch@2.6.11@node-fetch
│     └── whatwg-url@5.0.0 deduped -> ./node_modules/_whatwg-url@5.0.0@whatwg-url
└── whatwg-url@5.0.0 extraneous -> ./node_modules/_whatwg-url@5.0.0@whatwg-url