Skip to content

[CLI] DeprecationWarning: The punycode module is deprecated. #10992

Closed
@Philipp91

Description

Operating system

Linux

Joplin version

3.0.1

Desktop version info

No response

Current behaviour

$ joplin version

(node:104841) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Joplin CLI Client

Copyright © 2016-2024 Laurent Cozic
joplin 3.0.1 (prod, linux)

Expected behaviour

No warning.

Logs

With --trace-deprecation:

(node:105403) [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 Module._load (node:internal/modules/cjs/loader:1063:17)
at wrapModuleLoad (node:internal/modules/cjs/loader:212:19)
at Module.require (node:internal/modules/cjs/loader:1297:12)
at require (node:internal/modules/helpers:123:16)
at Object.<anonymous> (/home/philipp/.nvm/versions/node/v22.3.0/lib/node_modules/joplin/node_modules/markdown-it/lib/index.js:14:20)
at Module._compile (node:internal/modules/cjs/loader:1460:14)

The solution should be to update to markdown-it v14 (markdown-it/markdown-it@beed9ae).

Metadata

Assignees

Labels

bugIt's a bugdesktopAll desktop platformshighHigh priority issues

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions