mm_machine 2.5.4 → 2.5.5

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 +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -487,7 +487,7 @@ Manager.prototype.updateAfter = function () {
487
487
  Manager.prototype.update = async function (dir, clear = true) {
488
488
  if (clear) {
489
489
  // 初始化方法
490
- this.mods = {};
490
+ $.clear(this.mods);
491
491
  }
492
492
 
493
493
  // 查找所有json文件
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mm_machine",
3
- "version": "2.5.4",
3
+ "version": "2.5.5",
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": {