@matterbridge/core 3.9.2-dev-20260625-9f0a35e → 3.9.2-dev-20260626-9977f44
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.
- package/dist/matterbridge.js +6 -5
- package/package.json +5 -5
package/dist/matterbridge.js
CHANGED
|
@@ -718,13 +718,11 @@ export class Matterbridge extends EventEmitter {
|
|
|
718
718
|
this.devices.logLevel = this.log.logLevel;
|
|
719
719
|
for (const plugin of this.plugins) {
|
|
720
720
|
const isLocal = fs.existsSync(plugin.path) && this.globalModulesDirectory.length > 0 && !plugin.path.startsWith(this.globalModulesDirectory);
|
|
721
|
+
const isLinked = fs.existsSync(path.join(path.dirname(plugin.path), 'node_modules', 'matterbridge'));
|
|
721
722
|
this.log.debug(`Parsing plugin ${plg}${plugin.name}${db} from path ${CYAN}${plugin.path}${db} ` +
|
|
722
|
-
`with version ${CYAN}${plugin.version}${db} type ${CYAN}${plugin.type}${db} local ${CYAN}${isLocal}${db} ` +
|
|
723
|
+
`with version ${CYAN}${plugin.version}${db} type ${CYAN}${plugin.type}${db} local ${CYAN}${isLocal}${db} linked ${CYAN}${isLinked}${db} ` +
|
|
723
724
|
`private ${CYAN}${plugin.private}${db} tarball ${CYAN}${plugin.tarballPath}${db}.`);
|
|
724
|
-
if ((isLocal &&
|
|
725
|
-
fs.existsSync(plugin.path) &&
|
|
726
|
-
!fs.existsSync(path.join(path.dirname(plugin.path), 'node_modules', 'matterbridge')) &&
|
|
727
|
-
!hasAnyParameter('add', 'remove', 'enable', 'disable', 'reset', 'factoryreset', 'systemcheck')) ||
|
|
725
|
+
if ((isLocal && fs.existsSync(plugin.path) && !isLinked && !hasAnyParameter('add', 'remove', 'enable', 'disable', 'reset', 'factoryreset', 'systemcheck')) ||
|
|
728
726
|
process.env.MATTERBRIDGE_LINK_LOCAL_PLUGINS === 'jest') {
|
|
729
727
|
const { execSync } = await import('node:child_process');
|
|
730
728
|
try {
|
|
@@ -1076,6 +1074,9 @@ export class Matterbridge extends EventEmitter {
|
|
|
1076
1074
|
}
|
|
1077
1075
|
this.systemInformation.nodeVersion = process.versions.node;
|
|
1078
1076
|
const [versionMajor, versionMinor, versionPatch] = this.systemInformation.nodeVersion.split('.').map(Number);
|
|
1077
|
+
if (process.versions.bun) {
|
|
1078
|
+
this.systemInformation.bunVersion = process.versions.bun;
|
|
1079
|
+
}
|
|
1079
1080
|
this.systemInformation.hostname = os.hostname();
|
|
1080
1081
|
this.systemInformation.user = os.userInfo().username;
|
|
1081
1082
|
this.systemInformation.osType = os.type();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@matterbridge/core",
|
|
3
|
-
"version": "3.9.2-dev-
|
|
3
|
+
"version": "3.9.2-dev-20260626-9977f44",
|
|
4
4
|
"description": "Matterbridge core library",
|
|
5
5
|
"author": "https://github.com/Luligu",
|
|
6
6
|
"homepage": "https://matterbridge.io/",
|
|
@@ -130,10 +130,10 @@
|
|
|
130
130
|
],
|
|
131
131
|
"dependencies": {
|
|
132
132
|
"@matter/main": "0.17.4-alpha.0-20260624-ef5aefa3b",
|
|
133
|
-
"@matterbridge/dgram": "3.9.2-dev-
|
|
134
|
-
"@matterbridge/thread": "3.9.2-dev-
|
|
135
|
-
"@matterbridge/types": "3.9.2-dev-
|
|
136
|
-
"@matterbridge/utils": "3.9.2-dev-
|
|
133
|
+
"@matterbridge/dgram": "3.9.2-dev-20260626-9977f44",
|
|
134
|
+
"@matterbridge/thread": "3.9.2-dev-20260626-9977f44",
|
|
135
|
+
"@matterbridge/types": "3.9.2-dev-20260626-9977f44",
|
|
136
|
+
"@matterbridge/utils": "3.9.2-dev-20260626-9977f44",
|
|
137
137
|
"escape-html": "1.0.3",
|
|
138
138
|
"express": "5.2.1",
|
|
139
139
|
"express-rate-limit": "8.5.2",
|