mm_os 5.0.0 → 5.0.2

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/README.md CHANGED
@@ -7,7 +7,8 @@
7
7
  - `OS` 类:初始化日志、管理、适配器、存储与应用加载器
8
8
  - 输入适配器:web / mqtt / socket / websocket
9
9
  - 输出适配器:redis / mongodb / mysql / sqlite / jsondb / file
10
- - 工具与管理:lang / tpl / ret / service / handle / event / api / param / sql / templete / pendant / timer / statics
10
+ - 工具:lang / tpl / ret
11
+ - 管理:service / handle / event / api / param / dao / templete / pendant / timer / statics
11
12
  - `Loader` 类:扫描应用目录,加载应用与插件的配置、生命周期和资源清单
12
13
  - `osAdmin(scope, config)` 按作用域缓存系统实例,相同 `scope` 返回同一实例
13
14
 
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  const OS = require('./lib/os');
2
- const Loader = require('./lib/loader');
2
+ const { Loader } = require('mm_loader');
3
3
  const Admin = require('mm_corejs').Admin;
4
4
 
5
5
  let admin = new Admin();