Updated archiver to 5.3.1, #4008
Ylian Saint-Hilaire committed
May 18, 2022 at 11:19 UTC
71034c8b537e83f548b4029f6e719f32d460395b
3 files changed
+3
-1
dependencies.txt
+1
@@ -1,3 +1,4 @@
1
+ "archiver": "^5.3.1",
2
"body-parser": "^1.19.0",
3
"cbor": "~5.2.0",
4
"compression": "^1.7.4",
meshcentral.js
+1
-1
@@ -3520,7 +3520,7 @@ function mainStart() {
3520
}
3521
3522
// Build the list of required modules
3523
- 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'];
3523
+ var modules = ['ws@5.2.3', 'cbor@5.2.0', '@yetzt/nedb', 'https', 'yauzl', 'ipcheck', 'express', 'archiver@5.3.1', 'multiparty', 'node-forge', 'express-ws@4.0.0', 'compression', 'body-parser', 'cookie-session@1.4.0', 'express-handlebars'];
3524
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
3525
if (ldap == true) { modules.push('ldapauth-fork'); }
3526
if (ssh == true) { if (nodeVersion < 11) { addServerWarning('MeshCentral SSH support requires NodeJS 11 or higher.', 1); } else { modules.push('ssh2'); } }
package.json
+1
@@ -37,6 +37,7 @@
37
"sample-config-advanced.json"
38
],
39
"dependencies": {
40
+ "archiver": "^5.3.1",
41
"body-parser": "^1.19.0",
42
"cbor": "~5.2.0",
43
"compression": "^1.7.4",