From 555641b35ca86127032178385e79a21971b2c2f1 Mon Sep 17 00:00:00 2001 From: Ylian Saint-Hilaire Date: Thu, 14 Oct 2021 22:37:11 -0700 Subject: [PATCH] Fixed cookie-session dependency. --- dependencies.txt | 2 +- meshcentral.js | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dependencies.txt b/dependencies.txt index 7ad08f24..fffb520d 100644 --- a/dependencies.txt +++ b/dependencies.txt @@ -1,7 +1,7 @@ "body-parser": "^1.19.0", "cbor": "~5.2.0", "compression": "^1.7.4", - "cookie-session": "^2.0.0-beta.3", + "cookie-session": "^1.4.0", "express": "^4.17.0", "express-handlebars": "^3.1.0", "express-ws": "^4.0.0", diff --git a/meshcentral.js b/meshcentral.js index 1e3ac3d4..095662ee 100644 --- a/meshcentral.js +++ b/meshcentral.js @@ -3321,7 +3321,7 @@ function mainStart() { } // Build the list of required modules - var modules = ['ws@5.2.3', 'cbor@5.2.0', '@yetzt/nedb', 'https', 'yauzl', 'ipcheck', 'express', 'archiver@4.0.2', 'multiparty', 'node-forge', 'express-ws@4.0.0', 'compression', 'body-parser', 'cookie-session', 'express-handlebars']; + var modules = ['ws@5.2.3', 'cbor@5.2.0', '@yetzt/nedb', 'https', 'yauzl', 'ipcheck', 'express', 'archiver@4.0.2', 'multiparty', 'node-forge', 'express-ws@4.0.0', 'compression', 'body-parser', 'cookie-session@1.4.0', 'express-handlebars']; if (require('os').platform() == 'win32') { modules.push('node-windows@0.1.4'); modules.push('loadavg-windows'); if (sspi == true) { modules.push('node-sspi'); } } // Add Windows modules if (ldap == true) { modules.push('ldapauth-fork'); } if (mstsc == true) { modules.push('node-rdpjs-2'); } diff --git a/package.json b/package.json index 452c29ac..4224bc20 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "body-parser": "^1.19.0", "cbor": "~5.2.0", "compression": "^1.7.4", - "cookie-session": "^2.0.0-beta.3", + "cookie-session": "^1.4.0", "express": "^4.17.0", "express-handlebars": "^3.1.0", "express-ws": "^4.0.0",