DeprecationWarning: punycode module due to tr46 in mongoose dependency chain #14104
Closed
2 tasks done
Labels
underlying library issue
This issue is a bug with an underlying library, like the MongoDB driver or mongodb-core
Milestone
Prerequisites
Issue
I am encountering a DeprecationWarning for the punycode module in my Node.js application. This warning is traced back to the tr46 package, which is a sub-dependency of the latest release of mongoose, which at the time of writing is 8.0.1. The dependency chain is as follows.
└─┬ mongoose@8.0.1
└─┬ mongodb@6.2.0
└─┬ mongodb-connection-string-url@2.6.0
└─┬ whatwg-url@11.0.0
└─┬ tr46@3.0.0
└── punycode@2.3.1
The error message I received today was:
2023-11-21 09:55:05 (node:1) [DEP0040] DeprecationWarning: The
punycode
module is deprecated. Please use a userland alternative instead.While this is not a bug, it is a warning that I would like to bring to the attention of the team.
The text was updated successfully, but these errors were encountered: