Skip to content
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

[FIX]:NodeJS 20 Deprecation Warning DEP0170 #218 #296

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Sakibdevlekar
Copy link

Fix Deprecation Warning for MongoDB URL Parsing in winston-mongodb

Issue
The recent Node.js version 20 and MongoDB driver updates have introduced a deprecation warning in winston-mongodb due to the use of deprecated APIs in the MongoDB driver.

Changes Made
Updated the MongoDB URL parsing in winston-mongodb to resolve the deprecation warning.
Used the latest MongoDB driver version to ensure compatibility and compliance with Node.js updates.

Additional Notes
Tested the changes locally with Node.js version 20 and verified that the deprecation warning is no longer triggered.
Ensured backward compatibility with previous Node.js and MongoDB versions.
Updated dependencies and added necessary documentation or comments related to the fix.

Reviewer Instructions:
Please review the changes and ensure compatibility with different Node.js and MongoDB versions. Verify that the deprecation warning is resolved and no new issues are introduced. Any feedback or suggestions are highly appreciated.
@DABH

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant