@matterbridge/core 3.9.2-dev-20260625-e1c152e → 3.9.2

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.
@@ -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 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@matterbridge/core",
3
- "version": "3.9.2-dev-20260625-e1c152e",
3
+ "version": "3.9.2",
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-20260625-e1c152e",
134
- "@matterbridge/thread": "3.9.2-dev-20260625-e1c152e",
135
- "@matterbridge/types": "3.9.2-dev-20260625-e1c152e",
136
- "@matterbridge/utils": "3.9.2-dev-20260625-e1c152e",
133
+ "@matterbridge/dgram": "3.9.2",
134
+ "@matterbridge/thread": "3.9.2",
135
+ "@matterbridge/types": "3.9.2",
136
+ "@matterbridge/utils": "3.9.2",
137
137
  "escape-html": "1.0.3",
138
138
  "express": "5.2.1",
139
139
  "express-rate-limit": "8.5.2",