From 41acc7ff6420875e146f1e59bb5bd86e3011badf Mon Sep 17 00:00:00 2001 From: Cory Lynch Date: Sat, 7 Sep 2019 19:56:01 -0400 Subject: [PATCH] Fix deprecation warning --- mongo-ranger.js | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/mongo-ranger.js b/mongo-ranger.js index d9bfac8..df914f4 100644 --- a/mongo-ranger.js +++ b/mongo-ranger.js @@ -18,6 +18,7 @@ async function main(options) { client = new MongoClient(uri, { useNewUrlParser: true, + useUnifiedTopology: true, appname: "mongo-ranger" }); diff --git a/package.json b/package.json index d9094c5..989b002 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mongo-ranger", - "version": "1.1.1", + "version": "1.1.2", "description": "A MongoDB data browser for the console", "main": "index.js", "bin": "index.js",