Deprecation warnings with v4.0.2

Just did a fresh install of node js v22.4.1 and of node red v4.0.2 and I am getting the following:

(node:7332) [DEP0059] DeprecationWarning: The util.log API is deprecated. Please use console.log() with a custom formatter or a third-party logger instead. (Use node --trace-deprecation ...` to show where the warning was created)

(node:7332) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.

Any help would be welcomed.

thanks

These are simply warnings about dependencies, you can ignore them.

Dependencies get updated with new releases but some dependencies are buried several layers deep so Node-RED is dependent on dependency authors to also update. Dependency logjams can be difficult at times. :slight_smile:

There's a ticket Usage of deprecated functions · Issue #4723 · node-red/node-red · GitHub that mentions util.log, I don't see upstream work mentioned there.

And there's a ticket about punycode Deprecation warning about 'punycode' (when running on Node.js v21.1.0) · Issue #4424 · node-red/node-red · GitHub, which does rely on upstream work.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.