@matterbridge/thread 3.7.8 → 3.7.9-dev-20260510-b77b7f3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,18 +14,16 @@ export default new WorkerWrapper('SystemCheck', async (worker) => {
14
14
  if (process.env.NVM_BIN && process.env.NVM_DIR)
15
15
  logSnackBarError("error", `System Check: NVM is a development tool and is not supported in production. Please install node from https://github.com/nodesource/distributions.`, 0, 'error');
16
16
  const nodeVersion = process.versions.node;
17
- const versionMajor = parseInt(nodeVersion.split('.')[0]);
18
- const versionMinor = parseInt(nodeVersion.split('.')[1]);
19
- const versionPatch = parseInt(nodeVersion.split('.')[2]);
17
+ const [versionMajor, versionMinor, versionPatch] = nodeVersion.split('.').map(Number);
20
18
  worker.logger("debug", `Node.js Version: ${versionMajor}.${versionMinor}.${versionPatch}`);
21
19
  if (versionMajor === 20 && versionMinor < 19)
22
20
  logSnackBarError("error", `System Check: Node.js version < 20.19.0 is not supported. Please upgrade to Node.js LTS version (24.x).`, 0, 'error');
23
21
  if (versionMajor === 22 && versionMinor < 13)
24
22
  logSnackBarError("error", `System Check: Node.js version < 22.13.0 is not supported. Please upgrade to Node.js LTS version (24.x).`, 0, 'error');
25
- if (versionMajor === 21 || versionMajor === 23 || versionMajor === 25)
23
+ if (versionMajor === 21 || versionMajor === 23 || versionMajor === 25 || versionMajor === 27)
26
24
  logSnackBarError("error", `System Check: Node.js odd major versions are not supported. Please upgrade to Node.js LTS version (24.x).`, 0, 'error');
27
25
  if (versionMajor !== 24)
28
- worker.logger("notice", `You are running Node.js ${versionMajor}.${versionMinor}.${versionPatch}. Please consider upgrading to Node.js LTS version (24.x).`);
26
+ worker.logger("notice", `You are running Node.js ${versionMajor}.${versionMinor}.${versionPatch}. Please consider using the Node.js LTS version (24.x).`);
29
27
  const networkInterfaces = os.networkInterfaces();
30
28
  let foundInternal = false;
31
29
  let foundExternal = false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@matterbridge/thread",
3
- "version": "3.7.8",
3
+ "version": "3.7.9-dev-20260510-b77b7f3",
4
4
  "description": "Matterbridge thread library",
5
5
  "author": "https://github.com/Luligu",
6
6
  "homepage": "https://matterbridge.io/",
@@ -60,7 +60,7 @@
60
60
  }
61
61
  },
62
62
  "engines": {
63
- "node": ">=20.19.0 <21.0.0 || >=22.13.0 <23.0.0 || >=24.0.0 <25.0.0"
63
+ "node": ">=20.19.0 <21.0.0 || >=22.13.0 <23.0.0 || >=24.0.0 <25.0.0 || >=26.0.0 <27.0.0"
64
64
  },
65
65
  "files": [
66
66
  "bin",
@@ -69,8 +69,8 @@
69
69
  "CHANGELOG.md"
70
70
  ],
71
71
  "dependencies": {
72
- "@matterbridge/types": "3.7.8",
73
- "@matterbridge/utils": "3.7.8",
72
+ "@matterbridge/types": "3.7.9-dev-20260510-b77b7f3",
73
+ "@matterbridge/utils": "3.7.9-dev-20260510-b77b7f3",
74
74
  "@zip.js/zip.js": "2.8.26",
75
75
  "node-ansi-logger": "3.2.2-dev-20260505-d01e13b"
76
76
  }