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

Migrate from deprecated punycode nodejs builtin to explicit userland library #43

Open
kubijo opened this issue Nov 30, 2023 · 0 comments

Comments

@kubijo
Copy link

kubijo commented Nov 30, 2023

This library generates deprecation warnings because the compiled module requires a deprecated punycode module.
It is quite possible that you get from somewhere else, but the end product is your module, so some change is needed on your side.

(node:261024) [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:392:7)
    at BuiltinModule.compileForPublicLoader (node:internal/bootstrap/realm:328:10)
    at loadBuiltinModule (node:internal/modules/helpers:101:7)
    at Function.Module._load (node:internal/modules/cjs/loader:1001:17)
    at Module.require (node:internal/modules/cjs/loader:1235:19)
    at require (node:internal/modules/helpers:176:18)
    at Object.call (/node_modules/@turist/fetch/webpack:/@turist/fetch/external node-commonjs "punycode":1:1)
    at __webpack_require__ (/node_modules/@turist/fetch/webpack:/@turist/fetch/webpack/bootstrap:21:1)
    at Object.33 (/node_modules/@turist/fetch/webpack:/@turist/fetch/node_modules/node-fetch/node_modules/whatwg-url/lib/url-state-machine.js:2:1)
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