ming_node 2.2.7 → 2.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/index.js +11 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -3,7 +3,7 @@
3
3
  * By : Minglie
4
4
  * QQ: 934031452
5
5
  * Date :2021.12.01
6
- * version :2.2.7
6
+ * version :2.3.0
7
7
  */
8
8
  var http = require('http');
9
9
  var https = require('https');
@@ -61,6 +61,16 @@
61
61
  M._moduleMap.get(key);
62
62
  }
63
63
 
64
+ M.getGloblePlugin=(pluginKey)=>{
65
+ let plugin=null;
66
+ M._globle_plugin.forEach(u=>{
67
+ if(u.key==pluginKey){
68
+ plugin=u;
69
+ }
70
+ })
71
+ return plugin;
72
+ }
73
+
64
74
 
65
75
  /**
66
76
  * ----------------------客户端START--------------------------------------------
package/package.json CHANGED
@@ -46,5 +46,5 @@
46
46
  "scripts": {
47
47
  "test": "echo \"Error: no test specified\" && exit 1"
48
48
  },
49
- "version": "2.2.7"
49
+ "version": "2.3.0"
50
50
  }