vlc-rpc icon indicating copy to clipboard operation
vlc-rpc copied to clipboard

Punycode is deprecated

Open koknese opened this issue 1 year ago • 2 comments

❯ ./start.sh Did not detect local Node.js executable, attempting to use npm

Usage:

npm install install all the dependencies in your project npm install add the dependency to your project npm test run this project's tests npm run run the script named npm -h quick help on npm -l display usage info for all commands npm help search for help on npm help npm more involved overview

All commands:

access, adduser, audit, bugs, cache, ci, completion,
config, dedupe, deprecate, diff, dist-tag, docs, doctor,
edit, exec, explain, explore, find-dupes, fund, get, help,
help-search, hook, init, install, install-ci-test,
install-test, link, ll, login, logout, ls, org, outdated,
owner, pack, ping, pkg, prefix, profile, prune, publish,
query, rebuild, repo, restart, root, run-script, sbom,
search, set, shrinkwrap, star, stars, start, stop, team,
test, token, uninstall, unpublish, unstar, update, version,
view, whoami

Specify configs in the ini-formatted file: /home/dainis/.npmrc or on the command line via: npm --key=value

More configuration info: npm help config Configuration fields: npm help 7 config

[email protected] /home/dainis/.nvm/versions/node/v22.13.0/lib/node_modules/npm...

[email protected] start node --trace-deprecation ./src/app.js

Connecting to Discord... (node:2256) [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. (/home/dainis/vlc-rpc/node_modules/discord-rpc/node_modules/whatwg-url/lib/url-state-machine.js:2:18) Logged in as arrpc VLC closed; Exiting.

koknese avatar Jan 18 '25 18:01 koknese

Hiya yes I noticed this the other day! This is happening due to nodes core PUNYCODE being deprecated and a new module being used, there is a simple fix for this and I'll get it done asap. Nothing to worry about though, you should be good

greendoescode avatar Jan 18 '25 18:01 greendoescode

This is caused by sub dependencies, one said maintainer of a library doesn't want to update to use the new version of punycode.. so I can't do anything about it. Sorry.

greendoescode avatar Jan 30 '25 10:01 greendoescode