matterbridge 3.0.8-dev-20250622-f9e44a2 → 3.0.8-dev-20250622-9a6255a

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/CHANGELOG.md CHANGED
@@ -14,17 +14,18 @@ If you like this project and find it useful, please consider giving it a star on
14
14
 
15
15
  ### Added
16
16
 
17
- - [DevContainer]: Added support for **Matterbridge Dev Container** with optimized Named Volume for node_modules.
17
+ - [DevContainer]: Added support for the **Matterbridge Dev Container** with an optimized named volume for `node_modules`.
18
18
  - [GitHub]: Added GitHub issue templates for bug reports and feature requests.
19
- - [Systemd]: Added systemd service file for Matterbridge.
20
- - [Eslint]: Refactored ESLint configuration for TypeScript and improve plugin integration.
21
- - [Eslint]: Added plugin eslint-plugin-promise, eslint-plugin-jsdoc and @vitest/eslint-plugin.
22
- - [Vitest]: Added Vitest for TypeScript project test. It will replace Jest that doesn't work correctly with ESM module mock.
23
- - [JSDoc]: Added missed JSDoc, @params and @returns.
19
+ - [Systemd]: Added a systemd service file for Matterbridge.
20
+ - [ESLint]: Refactored ESLint configuration for TypeScript and improved plugin integration.
21
+ - [ESLint]: Added the plugins `eslint-plugin-promise`, `eslint-plugin-jsdoc`, and `@vitest/eslint-plugin`.
22
+ - [Vitest]: Added Vitest for TypeScript project testing. It will replace Jest, which does not work correctly with ESM module mocks.
23
+ - [JSDoc]: Added missing JSDoc comments, including `@param` and `@returns` tags.
24
24
 
25
25
  ### Changed
26
26
 
27
27
  - [package]: Updated dependencies and refactored scripts.
28
+ - [storage]: Bumped `node-storage-manager` to 2.0.0.
28
29
 
29
30
  ### Fixed
30
31
 
@@ -24,7 +24,7 @@ export class MatterbridgePlatform {
24
24
  this.matterbridge = matterbridge;
25
25
  this.log = log;
26
26
  this.config = config;
27
- if (!isValidString(this.config.name) || this.config.name === '')
27
+ if (!isValidString(this.config.name, 1))
28
28
  throw new Error('Platform: the plugin name is missing or invalid.');
29
29
  this.log.debug(`Creating storage for plugin ${this.config.name} in ${path.join(this.matterbridge.matterbridgeDirectory, this.config.name)}`);
30
30
  this.storage = new NodeStorageManager({
@@ -37,7 +37,6 @@ export class MatterbridgePlatform {
37
37
  this.log.debug(`Creating context for plugin ${this.config.name}`);
38
38
  this._contextReady = this.storage.createStorage('context').then((context) => {
39
39
  this.context = context;
40
- this.context.remove('endpointMap');
41
40
  this.log.debug(`Created context for plugin ${this.config.name}`);
42
41
  return;
43
42
  });
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "matterbridge",
3
- "version": "3.0.8-dev-20250622-f9e44a2",
3
+ "version": "3.0.8-dev-20250622-9a6255a",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "matterbridge",
9
- "version": "3.0.8-dev-20250622-f9e44a2",
9
+ "version": "3.0.8-dev-20250622-9a6255a",
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
12
  "@matter/main": "0.14.0",
@@ -15,7 +15,7 @@
15
15
  "glob": "11.0.3",
16
16
  "multer": "2.0.1",
17
17
  "node-ansi-logger": "3.0.1",
18
- "node-persist-manager": "1.0.8",
18
+ "node-persist-manager": "2.0.0",
19
19
  "ws": "8.18.2"
20
20
  },
21
21
  "bin": {
@@ -1374,15 +1374,15 @@
1374
1374
  }
1375
1375
  },
1376
1376
  "node_modules/node-persist-manager": {
1377
- "version": "1.0.8",
1378
- "resolved": "https://registry.npmjs.org/node-persist-manager/-/node-persist-manager-1.0.8.tgz",
1379
- "integrity": "sha512-J0wjdxOloD6aw4s2kljbV3nvHfguWph8LnfmTL+6MZiBsh46wjaIaZd/cHU0HWonrNfktCv7Zuvn0sEH0f2s+A==",
1377
+ "version": "2.0.0",
1378
+ "resolved": "https://registry.npmjs.org/node-persist-manager/-/node-persist-manager-2.0.0.tgz",
1379
+ "integrity": "sha512-jpgOqCCn4ZEnIr4WcvqkyyGmmLJarV6aUyBlDQdG1G84X9UUmOmI1W2OZtc9K0z375CYWhjtGEXaY7GXNiEOfA==",
1380
1380
  "license": "MIT",
1381
1381
  "dependencies": {
1382
- "node-persist": "^4.0.2"
1382
+ "node-persist": "4.0.4"
1383
1383
  },
1384
1384
  "engines": {
1385
- "node": ">=18.0.0"
1385
+ "node": ">=18.0.0 <19.0.0 || >=20.0.0 <21.0.0 || >=22.0.0 <23.0.0 || >=24.0.0 <25.0.0"
1386
1386
  },
1387
1387
  "funding": {
1388
1388
  "type": "buymeacoffee",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "matterbridge",
3
- "version": "3.0.8-dev-20250622-f9e44a2",
3
+ "version": "3.0.8-dev-20250622-9a6255a",
4
4
  "description": "Matterbridge plugin manager for Matter",
5
5
  "author": "https://github.com/Luligu",
6
6
  "license": "Apache-2.0",
@@ -104,7 +104,7 @@
104
104
  "glob": "11.0.3",
105
105
  "multer": "2.0.1",
106
106
  "node-ansi-logger": "3.0.1",
107
- "node-persist-manager": "1.0.8",
107
+ "node-persist-manager": "2.0.0",
108
108
  "ws": "8.18.2"
109
109
  }
110
110
  }