Fixed dependencies.

Ylian Saint-Hilaire committed May 16, 2019 at 19:32 UTC b52033d868ccfc9784d487716de86488c3f0a9d1
3 files changed +13 -14
Webauthn.js
+1 -1
@@ -5,7 +5,7 @@
5
6 // This code is based on a portion of the webauthn module at: https://www.npmjs.com/package/webauthn
7
8 -'use strict'
8 +"use strict"
9
10 const crypto = require('crypto');
11 const cbor = require('cbor');
meshcentral.js
+1 -1
@@ -1730,7 +1730,7 @@ function mainStart(args) {
1730 }
1731
1732 // Build the list of required modules
1733 - var modules = ['ws', 'nedb', 'https', 'yauzl', 'xmldom', 'express', 'archiver', 'multiparty', 'node-forge', 'express-ws', 'compression', 'body-parser', 'connect-redis', 'express-handlebars'];
1733 + 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'];
1734 if (require('os').platform() == 'win32') { modules.push('node-windows'); if (sspi == true) { modules.push('node-sspi'); } } // Add Windows modules
1735 if (ldap == true) { modules.push('ldapauth-fork'); }
1736 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
package.json
+11 -12
@@ -1,6 +1,6 @@
1 {
2 "name": "meshcentral",
3 - "version": "0.3.4-l",
3 + "version": "0.3.4-p",
4 "keywords": [
5 "Remote Management",
6 "Intel AMT",
@@ -17,24 +17,24 @@
17 "license": "Apache-2.0",
18 "files": [
19 "*.js",
20 - "sample-config.json",
21 - "license.txt",
22 - "readme.txt",
20 "amt",
21 + "bin",
22 + "views",
23 "agents",
24 "public",
26 - "views",
27 - "bin"
25 + "readme.txt",
26 + "license.txt",
27 + "sample-config.json"
28 ],
29 "dependencies": {
30 "archiver": "^3.0.0",
31 - "body-parser": "^1.18.2",
31 + "body-parser": "^1.19.0",
32 "cbor": "^4.1.5",
33 - "compression": "^1.7.3",
34 - "connect-redis": "^3.4.0",
33 + "compression": "^1.7.4",
34 + "connect-redis": "^3.4.1",
35 "cookie-session": "^2.0.0-beta.3",
36 "express": "^4.16.4",
37 - "express-handlebars": "^3.0.0",
37 + "express-handlebars": "^3.1.0",
38 "express-ws": "^4.0.0",
39 "ipcheck": "^0.1.0",
40 "meshcentral": "*",
@@ -42,8 +42,7 @@
42 "multiparty": "^4.2.1",
43 "nedb": "^1.8.0",
44 "node-forge": "^0.7.6",
45 - "node-windows": "^0.1.14",
46 - "ws": "^6.1.2",
45 + "ws": "^6.2.1",
46 "xmldom": "^0.1.27",
47 "yauzl": "^2.10.0"
48 },