Fixed dependencies.

This commit is contained in:
Ylian Saint-Hilaire 2019-05-16 19:32:04 -07:00
parent becdf3bc0b
commit b52033d868
3 changed files with 13 additions and 14 deletions

View File

@ -5,7 +5,7 @@
// This code is based on a portion of the webauthn module at: https://www.npmjs.com/package/webauthn // This code is based on a portion of the webauthn module at: https://www.npmjs.com/package/webauthn
'use strict' "use strict"
const crypto = require('crypto'); const crypto = require('crypto');
const cbor = require('cbor'); const cbor = require('cbor');

View File

@ -1730,7 +1730,7 @@ function mainStart(args) {
} }
// Build the list of required modules // Build the list of required modules
var modules = ['ws', 'nedb', 'https', 'yauzl', 'xmldom', 'express', 'archiver', 'multiparty', 'node-forge', 'express-ws', 'compression', 'body-parser', 'connect-redis', 'express-handlebars']; var modules = ['ws', 'cbor', 'nedb', 'https', 'yauzl', 'xmldom', 'ipcheck', 'express', 'archiver', 'multiparty', 'node-forge', 'express-ws', 'compression', 'body-parser', 'connect-redis', 'cookie-session', 'express-handlebars'];
if (require('os').platform() == 'win32') { modules.push('node-windows'); if (sspi == true) { modules.push('node-sspi'); } } // Add Windows modules if (require('os').platform() == 'win32') { modules.push('node-windows'); if (sspi == true) { modules.push('node-sspi'); } } // Add Windows modules
if (ldap == true) { modules.push('ldapauth-fork'); } if (ldap == true) { modules.push('ldapauth-fork'); }
if (config.letsencrypt != null) { modules.push('greenlock'); modules.push('le-store-certbot'); modules.push('le-challenge-fs'); modules.push('le-acme-core'); } // Add Greenlock Modules if (config.letsencrypt != null) { modules.push('greenlock'); modules.push('le-store-certbot'); modules.push('le-challenge-fs'); modules.push('le-acme-core'); } // Add Greenlock Modules

View File

@ -1,6 +1,6 @@
{ {
"name": "meshcentral", "name": "meshcentral",
"version": "0.3.4-l", "version": "0.3.4-p",
"keywords": [ "keywords": [
"Remote Management", "Remote Management",
"Intel AMT", "Intel AMT",
@ -17,24 +17,24 @@
"license": "Apache-2.0", "license": "Apache-2.0",
"files": [ "files": [
"*.js", "*.js",
"sample-config.json",
"license.txt",
"readme.txt",
"amt", "amt",
"bin",
"views",
"agents", "agents",
"public", "public",
"views", "readme.txt",
"bin" "license.txt",
"sample-config.json"
], ],
"dependencies": { "dependencies": {
"archiver": "^3.0.0", "archiver": "^3.0.0",
"body-parser": "^1.18.2", "body-parser": "^1.19.0",
"cbor": "^4.1.5", "cbor": "^4.1.5",
"compression": "^1.7.3", "compression": "^1.7.4",
"connect-redis": "^3.4.0", "connect-redis": "^3.4.1",
"cookie-session": "^2.0.0-beta.3", "cookie-session": "^2.0.0-beta.3",
"express": "^4.16.4", "express": "^4.16.4",
"express-handlebars": "^3.0.0", "express-handlebars": "^3.1.0",
"express-ws": "^4.0.0", "express-ws": "^4.0.0",
"ipcheck": "^0.1.0", "ipcheck": "^0.1.0",
"meshcentral": "*", "meshcentral": "*",
@ -42,8 +42,7 @@
"multiparty": "^4.2.1", "multiparty": "^4.2.1",
"nedb": "^1.8.0", "nedb": "^1.8.0",
"node-forge": "^0.7.6", "node-forge": "^0.7.6",
"node-windows": "^0.1.14", "ws": "^6.2.1",
"ws": "^6.1.2",
"xmldom": "^0.1.27", "xmldom": "^0.1.27",
"yauzl": "^2.10.0" "yauzl": "^2.10.0"
}, },