-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DeprecationWarning: punycode module due to tr46 in mongoose dependency chain #14104
Comments
This was fixed upstream with https://jira.mongodb.org/browse/NODE-5709, we will bump mongodb driver to 6.3.0 for the fix. |
What is the ETA for 8.1 to be released? |
@merlinstardust next week |
Hi! Despite this issue seems resolved since quite some time, I still have the issue today.
mongoose version : 8.5.0 (which is superior to the 8.1.0 version that should resolve the sous-jacent problem) What can I do about it ? Thanks a lot for your help. |
@0inp Do you have a |
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: