Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

could you get rid of deprecated request library? #34

Open
KSR-Yasuda opened this issue May 7, 2024 · 0 comments
Open

could you get rid of deprecated request library? #34

KSR-Yasuda opened this issue May 7, 2024 · 0 comments

Comments

@KSR-Yasuda
Copy link

The lib request is now deprecated.
Could you change it to another one?

In my env, punycode lib, that is a dependency of request, raises a deprecated warning as below:

% node --trace-deprecation ./my_script.js
(node:12544) [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:104:7)
    at Module._load (node:internal/modules/cjs/loader:1075:17)
    at Module.require (node:internal/modules/cjs/loader:1310:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (MyScriptDir\node_modules\psl\index.js:5:16)
    at Module._compile (node:internal/modules/cjs/loader:1480:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1564:10)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant