mm_machine 2.8.7 → 2.8.8

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.
Files changed (2) hide show
  1. package/index.js +3 -2
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -187,9 +187,10 @@ Manager.prototype.getList = function () {
187
187
  for (let i = 0; i < this.infos.length; i++) {
188
188
  let info = this.infos[i];
189
189
  let mod = this.getMod(info.name);
190
- if (mod) {
191
- mod.config.state = info.state;
190
+ if (!mod) {
191
+ continue;
192
192
  }
193
+ mod.config.state = info.state;
193
194
  list.push(mod);
194
195
  }
195
196
  return list;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mm_machine",
3
- "version": "2.8.7",
3
+ "version": "2.8.8",
4
4
  "description": "A flexible Node.js plugin mechanism system for dynamic loading, management and execution of modules. Supports hot reload, lifecycle management, and modern JavaScript features.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -40,7 +40,7 @@
40
40
  },
41
41
  "devDependencies": {
42
42
  "eslint": "^10.6.0",
43
- "eslint-plugin-jsdoc": "^63.0.10",
43
+ "eslint-plugin-jsdoc": "^63.0.12",
44
44
  "mm_eslint": "^1.7.5"
45
45
  }
46
46
  }