From 6405066f08a57cc97dfd3e212426511f996f5304 Mon Sep 17 00:00:00 2001 From: Ylian Saint-Hilaire Date: Thu, 15 Dec 2022 10:54:07 -0800 Subject: [PATCH] Updated mongodb driver version. --- meshcentral.js | 2 +- package.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/meshcentral.js b/meshcentral.js index 2e9f4c63..90ab00be 100644 --- a/meshcentral.js +++ b/meshcentral.js @@ -4002,7 +4002,7 @@ function mainStart() { if (config.settings.mqtt != null) { modules.push('aedes@0.39.0'); } // Add MQTT Modules if (config.settings.mysql != null) { modules.push('mysql'); } // Add MySQL. //if (config.settings.mysql != null) { modules.push('@mysql/xdevapi'); } // Add MySQL, official driver (https://dev.mysql.com/doc/dev/connector-nodejs/8.0/) - if (config.settings.mongodb != null) { modules.push('mongodb@4.9.1'); modules.push('saslprep'); } // Add MongoDB, official driver. + if (config.settings.mongodb != null) { modules.push('mongodb@4.12.1'); modules.push('saslprep'); } // Add MongoDB, official driver. if (config.settings.postgres != null) { modules.push('pg@8.7.1'); modules.push('pgtools@0.3.2'); } // Add Postgres, Postgres driver. if (config.settings.mariadb != null) { modules.push('mariadb'); } // Add MariaDB, official driver. if (config.settings.acebase != null) { modules.push('acebase'); } // Add AceBase, official driver. diff --git a/package.json b/package.json index 63b68274..a5433616 100644 --- a/package.json +++ b/package.json @@ -37,6 +37,7 @@ "sample-config-advanced.json" ], "dependencies": { + "@yetzt/nedb": "^1.8.0", "archiver": "^5.3.1", "body-parser": "^1.19.0", "cbor": "~5.2.0", @@ -47,8 +48,8 @@ "express-ws": "^4.0.0", "ipcheck": "^0.1.0", "minimist": "^1.2.5", + "mongodb": "^4.12.1", "multiparty": "^4.2.1", - "@yetzt/nedb": "^1.8.0", "node-forge": "^1.0.0", "ws": "^5.2.3", "yauzl": "^2.10.0"