diff --git a/dependencies.txt b/dependencies.txt index 0870e241..bf62b3b0 100644 --- a/dependencies.txt +++ b/dependencies.txt @@ -5,7 +5,7 @@ "cookie-session": "2.0.0", "express": "4.18.2", "express-handlebars": "5.3.5", - "express-ws": "5.0.2", + "express-ws": "4.0.0", "ipcheck": "0.1.0", "minimist": "1.2.8", "multiparty": "4.2.3", diff --git a/meshcentral.js b/meshcentral.js index 76b4aef4..7c68979a 100644 --- a/meshcentral.js +++ b/meshcentral.js @@ -4008,7 +4008,7 @@ function mainStart() { } // Build the list of required modules - var modules = ['archiver@5.3.2','body-parser@1.20.2','cbor@5.2.0','compression@1.7.4','cookie-session@2.0.0','express@4.18.2','express-handlebars@5.3.5','express-ws@5.0.2','ipcheck@0.1.0','minimist@1.2.8','multiparty@4.2.3','@yetzt/nedb','node-forge@1.3.1','ua-parser-js@1.0.36','ws@8.14.2','yauzl@2.10.0']; + var modules = ['archiver@5.3.2','body-parser@1.20.2','cbor@5.2.0','compression@1.7.4','cookie-session@2.0.0','express@4.18.2','express-handlebars@5.3.5','express-ws@4.0.0','ipcheck@0.1.0','minimist@1.2.8','multiparty@4.2.3','@yetzt/nedb','node-forge@1.3.1','ua-parser-js@1.0.36','ws@8.14.2','yauzl@2.10.0']; if (require('os').platform() == 'win32') { modules.push('node-windows@0.1.14'); modules.push('loadavg-windows'); if (sspi == true) { modules.push('node-sspi'); } } // Add Windows modules if (ldap == true) { modules.push('ldapauth-fork'); } if (ssh == true) { if (nodeVersion < 11) { addServerWarning('MeshCentral SSH support requires NodeJS 11 or higher.', 1); } else { modules.push('ssh2'); } } diff --git a/package.json b/package.json index e74b7e50..df24c15c 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "cookie-session": "2.0.0", "express": "4.18.2", "express-handlebars": "5.3.5", - "express-ws": "5.0.2", + "express-ws": "4.0.0", "ipcheck": "0.1.0", "minimist": "1.2.8", "multiparty": "4.2.3",