mongo-typescript-example icon indicating copy to clipboard operation
mongo-typescript-example copied to clipboard

DepriciationWarnings

Open Aakash310 opened this issue 4 years ago • 0 comments

I am getting these warnings..please tell me how to clear these

(node:11710) DeprecationWarning: current URL string parser is deprecated, and will be removed in a future version. To use the new parser , pass option { useNewUrlParser: true } to MongoClient.connect. (node:11710) DeprecationWarning: current Server Discovery and Monitoring engine is deprecated, and will be removed in a future version. To use the new Server Discover and Monitoring engine, pass option { useUnifiedTopology: true } to the MongoClient constructor.

Aakash310 avatar Apr 03 '20 17:04 Aakash310