You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deprecation Warning: punycode module usage in connect-mongo
Issue Description
I'm encountering a deprecation warning related to the use of the punycode module when using the connect-mongo package. The warning message is as follows:
(node:77064) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
Dependency Tree
The punycode module is being used indirectly through the dependency chain of connect-mongo. Here is the relevant portion of the dependency tree:
Steps to Reproduce
Install connect-mongo in an Express project.
Run the project and observe the deprecation warning in the console.
Expected Behavior
No deprecation warnings should be present, and the punycode module should be replaced with a suitable userland alternative.
Environment
Node.js version: 21.7.1
connect-mongo version: 5.1.0
Operating System: [your operating system]
Suggested Solution
Investigate the possibility of updating the dependencies or using alternative packages that do not rely on the deprecated punycode module.
Additional Information
This issue affects the stability and future compatibility of projects using connect-mongo, as reliance on deprecated modules may lead to unexpected behavior or security vulnerabilities.
Thank you for your attention to this matter. If any additional information is required, please let me know.
The text was updated successfully, but these errors were encountered:
Deprecation Warning:
punycode
module usage inconnect-mongo
Issue Description
I'm encountering a deprecation warning related to the use of the
punycode
module when using theconnect-mongo
package. The warning message is as follows:(node:77064) [DEP0040] DeprecationWarning: The
punycode
module is deprecated. Please use a userland alternative instead.Dependency Tree
The
punycode
module is being used indirectly through the dependency chain ofconnect-mongo
. Here is the relevant portion of the dependency tree:Steps to Reproduce
connect-mongo
in an Express project.Expected Behavior
No deprecation warnings should be present, and the
punycode
module should be replaced with a suitable userland alternative.Environment
connect-mongo
version: 5.1.0Suggested Solution
Investigate the possibility of updating the dependencies or using alternative packages that do not rely on the deprecated
punycode
module.Additional Information
This issue affects the stability and future compatibility of projects using
connect-mongo
, as reliance on deprecated modules may lead to unexpected behavior or security vulnerabilities.Thank you for your attention to this matter. If any additional information is required, please let me know.
The text was updated successfully, but these errors were encountered: