pinojs / pino-mongodb

:evergreen_tree: Insert JSON from stdin into MongoDB
MIT License
54 stars 18 forks source link

Deprecation Warning from tr46 Package Related to punycode Module #159

Open santuman opened 7 months ago

santuman commented 7 months ago

Issue

Upon running my node application with --trace-deprecation arg warning is tracked back to tr46 package.

Warning message is as below: (node:18804) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.

mcollina commented 7 months ago

Thanks for reporting! Would you like to send a Pull Request to address this issue?

santuman commented 7 months ago

Sure bumping up mongodb version should fix the issue.

santuman commented 7 months ago

https://github.com/pinojs/pino-mongodb/pull/160