Cap mongodb at 4.1.0 in response to whatwg-url err
Noah Zalev committed
Aug 28, 2021 at 13:23 UTC
354280298a150c949cd817655b9a37c2b3ca115d
1 file changed
+1
-1
meshcentral.js
+1
-1
@@ -3231,7 +3231,7 @@ function mainStart() {
3231
if (config.settings.mqtt != null) { modules.push('aedes@0.39.0'); } // Add MQTT Modules
3232
if (config.settings.mysql != null) { modules.push('mysql'); } // Add MySQL.
3233
//if (config.settings.mysql != null) { modules.push('@mysql/xdevapi'); } // Add MySQL, official driver (https://dev.mysql.com/doc/dev/connector-nodejs/8.0/)
3234
- if (config.settings.mongodb != null) { modules.push('mongodb'); modules.push('saslprep'); } // Add MongoDB, official driver.
3234
+ if (config.settings.mongodb != null) { modules.push('mongodb@4.1.0'); modules.push('saslprep'); } // Add MongoDB, official driver.
3235
if (config.settings.mariadb != null) { modules.push('mariadb'); } // Add MariaDB, official driver.
3236
if (config.settings.vault != null) { modules.push('node-vault'); } // Add official HashiCorp's Vault module.
3237
if (config.settings.plugins != null) { modules.push('semver'); } // Required for version compat testing and update checks