@matterbridge/core 3.7.9-dev-20260514-c74337a → 3.7.9-dev-20260514-087d561
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
|
@@ -630,13 +630,14 @@ export class Matterbridge extends EventEmitter {
|
|
|
630
630
|
process.env.MATTERBRIDGE_LINK_LOCAL_PLUGINS === 'jest') {
|
|
631
631
|
const { execSync } = await import('node:child_process');
|
|
632
632
|
try {
|
|
633
|
-
execSync('npm link matterbridge --no-fund --no-audit --silent', { cwd: path.dirname(plugin.path)
|
|
633
|
+
execSync('npm link matterbridge --no-fund --no-audit --silent', { cwd: path.dirname(plugin.path) });
|
|
634
634
|
this.log.info(`Matterbridge linked to plugin ${plg}${plugin.name}${nf}.`);
|
|
635
635
|
}
|
|
636
636
|
catch (error) {
|
|
637
637
|
plugin.error = true;
|
|
638
638
|
plugin.enabled = false;
|
|
639
639
|
inspectError(this.log, `Error linking matterbridge to plugin ${plg}${plugin.name}${er}. The plugin is disabled.`, error);
|
|
640
|
+
continue;
|
|
640
641
|
}
|
|
641
642
|
}
|
|
642
643
|
if ((!isLocal && !fs.existsSync(plugin.path) && !hasAnyParameter('add', 'remove', 'enable', 'disable', 'reset', 'factoryreset', 'systemcheck')) ||
|
|
@@ -860,16 +861,16 @@ export class Matterbridge extends EventEmitter {
|
|
|
860
861
|
for (const plugin of this.plugins) {
|
|
861
862
|
plugin.configJson = await this.plugins.loadConfig(plugin);
|
|
862
863
|
plugin.schemaJson = await this.plugins.loadSchema(plugin);
|
|
864
|
+
if (!plugin.enabled) {
|
|
865
|
+
this.log.info(`Plugin ${plg}${plugin.name}${nf} not enabled`);
|
|
866
|
+
continue;
|
|
867
|
+
}
|
|
863
868
|
if (!(await this.plugins.resolve(plugin.path))) {
|
|
864
869
|
this.log.error(`Plugin ${plg}${plugin.name}${er} not found or not validated. Disabling it.`);
|
|
865
870
|
plugin.enabled = false;
|
|
866
871
|
plugin.error = true;
|
|
867
872
|
continue;
|
|
868
873
|
}
|
|
869
|
-
if (!plugin.enabled) {
|
|
870
|
-
this.log.info(`Plugin ${plg}${plugin.name}${nf} not enabled`);
|
|
871
|
-
continue;
|
|
872
|
-
}
|
|
873
874
|
plugin.error = false;
|
|
874
875
|
plugin.locked = false;
|
|
875
876
|
plugin.loaded = false;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@matterbridge/core",
|
|
3
|
-
"version": "3.7.9-dev-20260514-
|
|
3
|
+
"version": "3.7.9-dev-20260514-087d561",
|
|
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.16.11",
|
|
133
|
-
"@matterbridge/dgram": "3.7.9-dev-20260514-
|
|
134
|
-
"@matterbridge/thread": "3.7.9-dev-20260514-
|
|
135
|
-
"@matterbridge/types": "3.7.9-dev-20260514-
|
|
136
|
-
"@matterbridge/utils": "3.7.9-dev-20260514-
|
|
133
|
+
"@matterbridge/dgram": "3.7.9-dev-20260514-087d561",
|
|
134
|
+
"@matterbridge/thread": "3.7.9-dev-20260514-087d561",
|
|
135
|
+
"@matterbridge/types": "3.7.9-dev-20260514-087d561",
|
|
136
|
+
"@matterbridge/utils": "3.7.9-dev-20260514-087d561",
|
|
137
137
|
"escape-html": "1.0.3",
|
|
138
138
|
"express": "5.2.1",
|
|
139
139
|
"express-rate-limit": "8.5.1",
|