From 0a64b80654afbecc9f27968b29cf2c0c92a14e74 Mon Sep 17 00:00:00 2001 From: Ylian Saint-Hilaire Date: Sun, 8 Sep 2024 14:48:19 -0700 Subject: [PATCH] Updated express-ws. --- meshcentral.js | 2 +- package.json | 15 ++++++++++++++- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/meshcentral.js b/meshcentral.js index 027555082c..914d2190b6 100644 --- a/meshcentral.js +++ b/meshcentral.js @@ -4120,7 +4120,7 @@ function mainStart() { // Build the list of required modules // NOTE: ALL MODULES MUST HAVE A VERSION NUMBER AND THE VERSION MUST MATCH THAT USED IN Dockerfile - var modules = ['archiver@7.0.0', 'body-parser@1.20.2', 'cbor@5.2.0', 'compression@1.7.4', 'cookie-session@2.0.0', 'express@4.19.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.37', 'ws@8.17.1', 'yauzl@2.10.0']; + var modules = ['archiver@7.0.0', 'body-parser@1.20.2', 'cbor@5.2.0', 'compression@1.7.4', 'cookie-session@2.0.0', 'express@4.19.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.37', 'ws@8.17.1', 'yauzl@2.10.0']; if (require('os').platform() == 'win32') { modules.push('node-windows@0.1.14'); modules.push('loadavg-windows@1.1.1'); if (sspi == true) { modules.push('node-sspi@0.2.10'); } } // Add Windows modules if (ldap == true) { modules.push('ldapauth-fork@5.0.5'); } if (ssh == true) { modules.push('ssh2@1.15.0'); } diff --git a/package.json b/package.json index 98ec0b22b9..9cb73fa3e8 100644 --- a/package.json +++ b/package.json @@ -42,14 +42,27 @@ "body-parser": "1.20.2", "cbor": "5.2.0", "compression": "1.7.4", + "connect-flash": "0.1.1", "cookie-session": "2.0.0", "express": "4.19.2", "express-handlebars": "5.3.5", - "express-ws": "4.0.0", + "express-ws": "5.0.2", "ipcheck": "0.1.0", + "jwt-simple": "0.5.6", + "loadavg-windows": "1.1.1", "minimist": "1.2.8", "multiparty": "4.2.3", "node-forge": "1.3.1", + "node-windows": "0.1.14", + "node-xcs": "0.1.7", + "otplib": "10.2.3", + "passport": "0.7.0", + "passport-azure-oauth2": "0.1.0", + "passport-github2": "0.1.12", + "passport-google-oauth20": "2.0.0", + "passport-saml": "3.2.4", + "passport-twitter": "1.0.4", + "ssh2": "1.15.0", "ua-parser-js": "1.0.37", "ws": "8.17.1", "yauzl": "2.10.0"