From cc9a2d109cfd8e2b9153b7f009f71badd08be93b Mon Sep 17 00:00:00 2001 From: Simon Smith Date: Sat, 27 Sep 2025 11:39:42 +0100 Subject: [PATCH] update packages Signed-off-by: Simon Smith --- dependencies.txt | 5 +++-- meshcentral.js | 2 +- package-lock.json | 36 ++++++++++++++++++++++-------------- package.json | 5 +++-- 4 files changed, 29 insertions(+), 19 deletions(-) diff --git a/dependencies.txt b/dependencies.txt index e98b5c31..4076e8b2 100644 --- a/dependencies.txt +++ b/dependencies.txt @@ -1,4 +1,4 @@ - "@seald-io/nedb": "4.0.4", + "@seald-io/nedb": "4.1.2", "archiver": "7.0.1", "body-parser": "1.20.3", "cbor": "5.2.0", @@ -11,7 +11,8 @@ "minimist": "1.2.8", "multiparty": "4.2.3", "node-forge": "1.3.1", + "otplib": "12.0.1", "ua-client-hints-js": "0.1.2", "ua-parser-js": "1.0.40", - "ws": "8.18.0", + "ws": "8.18.3", "yauzl": "2.10.0" \ No newline at end of file diff --git a/meshcentral.js b/meshcentral.js index d3abafb0..096634a1 100644 --- a/meshcentral.js +++ b/meshcentral.js @@ -4325,7 +4325,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.1', 'body-parser@1.20.3', 'cbor@5.2.0', 'compression@1.8.1', 'cookie-session@2.1.1', 'express@4.21.2', 'express-handlebars@7.1.3', 'express-ws@5.0.2', 'ipcheck@0.1.0', 'minimist@1.2.8', 'multiparty@4.2.3', '@seald-io/nedb', 'node-forge@1.3.1', 'ua-parser-js@1.0.40', 'ua-client-hints-js@0.1.2', 'ws@8.18.0', 'yauzl@2.10.0']; + var modules = ['archiver@7.0.1', 'body-parser@1.20.3', 'cbor@5.2.0', 'compression@1.8.1', 'cookie-session@2.1.1', 'express@4.21.2', 'express-handlebars@7.1.3', 'express-ws@5.0.2', 'ipcheck@0.1.0', 'minimist@1.2.8', 'multiparty@4.2.3', '@seald-io/nedb@4.1.2', 'node-forge@1.3.1', 'ua-parser-js@1.0.40', 'ua-client-hints-js@0.1.2', 'ws@8.18.3', '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.16.0'); } diff --git a/package-lock.json b/package-lock.json index a5fea881..a3782161 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,15 +1,15 @@ { "name": "meshcentral", - "version": "1.1.50", + "version": "1.1.51", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "meshcentral", - "version": "1.1.50", + "version": "1.1.51", "license": "Apache-2.0", "dependencies": { - "@seald-io/nedb": "4.0.4", + "@seald-io/nedb": "4.1.2", "archiver": "7.0.1", "body-parser": "1.20.3", "cbor": "5.2.0", @@ -22,10 +22,10 @@ "minimist": "1.2.8", "multiparty": "4.2.3", "node-forge": "1.3.1", - "otplib": "12.0.1", + "otplib": "^12.0.1", "ua-client-hints-js": "0.1.2", "ua-parser-js": "1.0.40", - "ws": "8.18.0", + "ws": "8.18.3", "yauzl": "2.10.0" }, "bin": { @@ -54,12 +54,14 @@ "node_modules/@otplib/core": { "version": "12.0.1", "resolved": "https://registry.npmjs.org/@otplib/core/-/core-12.0.1.tgz", - "integrity": "sha512-4sGntwbA/AC+SbPhbsziRiD+jNDdIzsZ3JUyfZwjtKyc/wufl1pnSIaG4Uqx8ymPagujub0o92kgBnB89cuAMA==" + "integrity": "sha512-4sGntwbA/AC+SbPhbsziRiD+jNDdIzsZ3JUyfZwjtKyc/wufl1pnSIaG4Uqx8ymPagujub0o92kgBnB89cuAMA==", + "license": "MIT" }, "node_modules/@otplib/plugin-crypto": { "version": "12.0.1", "resolved": "https://registry.npmjs.org/@otplib/plugin-crypto/-/plugin-crypto-12.0.1.tgz", "integrity": "sha512-qPuhN3QrT7ZZLcLCyKOSNhuijUi9G5guMRVrxq63r9YNOxxQjPm59gVxLM+7xGnHnM6cimY57tuKsjK7y9LM1g==", + "license": "MIT", "dependencies": { "@otplib/core": "^12.0.1" } @@ -68,6 +70,7 @@ "version": "12.0.1", "resolved": "https://registry.npmjs.org/@otplib/plugin-thirty-two/-/plugin-thirty-two-12.0.1.tgz", "integrity": "sha512-MtT+uqRso909UkbrrYpJ6XFjj9D+x2Py7KjTO9JDPhL0bJUYVu5kFP4TFZW4NFAywrAtFRxOVY261u0qwb93gA==", + "license": "MIT", "dependencies": { "@otplib/core": "^12.0.1", "thirty-two": "^1.0.2" @@ -77,6 +80,7 @@ "version": "12.0.1", "resolved": "https://registry.npmjs.org/@otplib/preset-default/-/preset-default-12.0.1.tgz", "integrity": "sha512-xf1v9oOJRyXfluBhMdpOkr+bsE+Irt+0D5uHtvg6x1eosfmHCsCC6ej/m7FXiWqdo0+ZUI6xSKDhJwc8yfiOPQ==", + "license": "MIT", "dependencies": { "@otplib/core": "^12.0.1", "@otplib/plugin-crypto": "^12.0.1", @@ -87,6 +91,7 @@ "version": "12.0.1", "resolved": "https://registry.npmjs.org/@otplib/preset-v11/-/preset-v11-12.0.1.tgz", "integrity": "sha512-9hSetMI7ECqbFiKICrNa4w70deTUfArtwXykPUvSHWOdzOlfa9ajglu7mNCntlvxycTiOAXkQGwjQCzzDEMRMg==", + "license": "MIT", "dependencies": { "@otplib/core": "^12.0.1", "@otplib/plugin-crypto": "^12.0.1", @@ -108,13 +113,14 @@ "integrity": "sha512-qv3jnwoakeax2razYaMsGI/luWdliBLHTdC6jU55hQt1hcFqzauH/HsBollQ7IR4ySTtYhT+xyHoijpA16C+tA==" }, "node_modules/@seald-io/nedb": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/@seald-io/nedb/-/nedb-4.0.4.tgz", - "integrity": "sha512-CUNcMio7QUHTA+sIJ/DC5JzVNNsHe743TPmC4H5Gij9zDLMbmrCT2li3eVB72/gF63BPS8pWEZrjlAMRKA8FDw==", + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/@seald-io/nedb/-/nedb-4.1.2.tgz", + "integrity": "sha512-bDr6TqjBVS2rDyYM9CPxAnotj5FuNL9NF8o7h7YyFXM7yruqT4ddr+PkSb2mJvvw991bqdftazkEo38gykvaww==", + "license": "MIT", "dependencies": { "@seald-io/binary-search-tree": "^1.0.3", - "localforage": "^1.9.0", - "util": "^0.12.4" + "localforage": "^1.10.0", + "util": "^0.12.5" } }, "node_modules/abort-controller": { @@ -1501,6 +1507,7 @@ "version": "12.0.1", "resolved": "https://registry.npmjs.org/otplib/-/otplib-12.0.1.tgz", "integrity": "sha512-xDGvUOQjop7RDgxTQ+o4pOol0/3xSZzawTiPKRrHnQWAy0WjhNs/5HdIDJCrqC4MBynmjXgULc6YfioaxZeFgg==", + "license": "MIT", "dependencies": { "@otplib/core": "^12.0.1", "@otplib/preset-default": "^12.0.1", @@ -2283,9 +2290,10 @@ } }, "node_modules/ws": { - "version": "8.18.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.18.0.tgz", - "integrity": "sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==", + "version": "8.18.3", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.18.3.tgz", + "integrity": "sha512-PEIGCY5tSlUt50cqyMXfCzX+oOPqN0vuGqWzbcJ2xvnkzkq46oOpz7dQaTDBdfICb4N14+GARUDw2XV2N4tvzg==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, diff --git a/package.json b/package.json index 18ac1f0b..4a5b81da 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "sample-config-advanced.json" ], "dependencies": { - "@seald-io/nedb": "4.0.4", + "@seald-io/nedb": "4.1.2", "archiver": "7.0.1", "body-parser": "1.20.3", "cbor": "5.2.0", @@ -50,9 +50,10 @@ "minimist": "1.2.8", "multiparty": "4.2.3", "node-forge": "1.3.1", + "otplib": "12.0.1", "ua-client-hints-js": "0.1.2", "ua-parser-js": "1.0.40", - "ws": "8.18.0", + "ws": "8.18.3", "yauzl": "2.10.0" }, "engines": {