@matterbridge/core 3.7.8 → 3.7.9-dev-20260511-08f27eb

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.
@@ -57,10 +57,10 @@ export function getPlatformMatterbridge() {
57
57
  matterbridgePluginDirectory: path.join(HOMEDIR, 'Matterbridge'),
58
58
  matterbridgeCertDirectory: path.join(HOMEDIR, '.mattercert'),
59
59
  globalModulesDirectory: path.join(HOMEDIR, 'node_modules'),
60
- matterbridgeVersion: '3.7.8',
61
- matterbridgeLatestVersion: '3.7.8',
62
- matterbridgeDevVersion: '3.7.8',
63
- frontendVersion: '3.7.8',
60
+ matterbridgeVersion: '3.7.9',
61
+ matterbridgeLatestVersion: '3.7.9',
62
+ matterbridgeDevVersion: '3.7.9',
63
+ frontendVersion: '3.7.9',
64
64
  bridgeMode: '',
65
65
  restartMode: '',
66
66
  virtualMode: 'mounted_switch',
@@ -109,7 +109,7 @@ export async function createMatterbridgeEnvironment() {
109
109
  matterbridge = await Matterbridge.loadInstance(false);
110
110
  expect(matterbridge).toBeDefined();
111
111
  expect(matterbridge).toBeInstanceOf(Matterbridge);
112
- matterbridge.matterbridgeVersion = '3.7.8';
112
+ matterbridge.matterbridgeVersion = '3.7.9';
113
113
  matterbridge.bridgeMode = 'bridge';
114
114
  matterbridge.rootDirectory = path.join(HOMEDIR);
115
115
  matterbridge.homeDirectory = path.join(HOMEDIR);
@@ -659,7 +659,7 @@ export class Matterbridge extends EventEmitter {
659
659
  `running on ${this.systemInformation.osType} (v.${this.systemInformation.osRelease}) platform ${this.systemInformation.osPlatform} arch ${this.systemInformation.osArch}`);
660
660
  const minNodeVersion = 20;
661
661
  const nodeVersion = process.versions.node;
662
- const versionMajor = parseInt(nodeVersion.split('.')[0]);
662
+ const [versionMajor] = nodeVersion.split('.').map(Number);
663
663
  if (versionMajor < minNodeVersion) {
664
664
  this.log.error(`Node version ${versionMajor} is not supported. Please upgrade to ${minNodeVersion} or above.`);
665
665
  throw new Error(`Node version ${versionMajor} is not supported. Please upgrade to ${minNodeVersion} or above.`);
@@ -939,9 +939,7 @@ export class Matterbridge extends EventEmitter {
939
939
  }
940
940
  }
941
941
  this.systemInformation.nodeVersion = process.versions.node;
942
- const versionMajor = parseInt(this.systemInformation.nodeVersion.split('.')[0]);
943
- const versionMinor = parseInt(this.systemInformation.nodeVersion.split('.')[1]);
944
- const versionPatch = parseInt(this.systemInformation.nodeVersion.split('.')[2]);
942
+ const [versionMajor, versionMinor, versionPatch] = this.systemInformation.nodeVersion.split('.').map(Number);
945
943
  this.systemInformation.hostname = os.hostname();
946
944
  this.systemInformation.user = os.userInfo().username;
947
945
  this.systemInformation.osType = os.type();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@matterbridge/core",
3
- "version": "3.7.8",
3
+ "version": "3.7.9-dev-20260511-08f27eb",
4
4
  "description": "Matterbridge core library",
5
5
  "author": "https://github.com/Luligu",
6
6
  "homepage": "https://matterbridge.io/",
@@ -120,7 +120,7 @@
120
120
  }
121
121
  },
122
122
  "engines": {
123
- "node": ">=20.19.0 <21.0.0 || >=22.13.0 <23.0.0 || >=24.0.0 <25.0.0"
123
+ "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"
124
124
  },
125
125
  "files": [
126
126
  "bin",
@@ -130,10 +130,10 @@
130
130
  ],
131
131
  "dependencies": {
132
132
  "@matter/main": "0.16.11",
133
- "@matterbridge/dgram": "3.7.8",
134
- "@matterbridge/thread": "3.7.8",
135
- "@matterbridge/types": "3.7.8",
136
- "@matterbridge/utils": "3.7.8",
133
+ "@matterbridge/dgram": "3.7.9-dev-20260511-08f27eb",
134
+ "@matterbridge/thread": "3.7.9-dev-20260511-08f27eb",
135
+ "@matterbridge/types": "3.7.9-dev-20260511-08f27eb",
136
+ "@matterbridge/utils": "3.7.9-dev-20260511-08f27eb",
137
137
  "escape-html": "1.0.3",
138
138
  "express": "5.2.1",
139
139
  "express-rate-limit": "8.5.0",