mm_machine 2.7.5 → 2.7.6

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/drive.js +2 -8
  2. package/package.json +3 -3
package/drive.js CHANGED
@@ -630,9 +630,9 @@ Drive.prototype._getName = function (file) {
630
630
  };
631
631
 
632
632
  /**
633
- * 加载前处理
633
+ * 加载处理
634
634
  */
635
- Drive.prototype.loadBefore = function () {
635
+ Drive.prototype._loadCore = function () {
636
636
  try {
637
637
  let module = this.loadScript();
638
638
  if (module) {
@@ -642,12 +642,6 @@ Drive.prototype.loadBefore = function () {
642
642
  this.log('error', `加载前处理失败: `, err);
643
643
  this.is_loaded = false;
644
644
  }
645
- };
646
-
647
- /**
648
- * 加载处理
649
- */
650
- Drive.prototype._loadCore = function () {
651
645
  // this.loadConfig();
652
646
  // this.loadScript();
653
647
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mm_machine",
3
- "version": "2.7.5",
3
+ "version": "2.7.6",
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": {
@@ -39,8 +39,8 @@
39
39
  "mm_tpl": "^2.5.6"
40
40
  },
41
41
  "devDependencies": {
42
- "eslint": "^10.3.0",
43
- "eslint-plugin-jsdoc": "^62.9.0",
42
+ "eslint": "^10.4.1",
43
+ "eslint-plugin-jsdoc": "^63.0.2",
44
44
  "mm_eslint": "^1.7.1"
45
45
  }
46
46
  }