In TS project (node -v : v21.6.2), I have this error:
(node:46176) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[e21] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
at node:punycode:3:9
at BuiltinModule.compileForInternalLoader (node:internal/bootstrap/realm:397:7)
at BuiltinModule.compileForPublicLoader (node:internal/bootstrap/realm:333:10)
at loadBuiltinModule (node:internal/modules/helpers:101:7)
at Function.Module._load (node:internal/modules/cjs/loader:1006:17)
at Module.require (node:internal/modules/cjs/loader:1237:19)
at require (node:internal/modules/helpers:176:18)
at Object.<anonymous> (myApp\node_modules\whatwg-url\lib\url-state-machine.js:2:18)
at Module._compile (node:internal/modules/cjs/loader:1378:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1437:10)
maybe migrate to punycode package (0 dependencies) package and instead of require('punycode') you use require('punycode/')
What is the issue with the URL Standard?
In TS project (node -v : v21.6.2), I have this error:
maybe migrate to
punycode
package (0 dependencies) package and instead ofrequire('punycode')
you userequire('punycode/')