mm_config 2.3.1 → 2.3.3

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 +8 -0
  2. package/package.json +3 -3
package/index.js CHANGED
@@ -55,6 +55,14 @@ Config.prototype.setOptions = function (options) {
55
55
  $.push(this.options, options, true);
56
56
  };
57
57
 
58
+ /**
59
+ * 获取配置
60
+ * @returns {object} 配置对象
61
+ */
62
+ Config.prototype.getOptions = function () {
63
+ return this.options;
64
+ };
65
+
58
66
  /**
59
67
  * 初始化配置(连接文件)
60
68
  * @param {object} conn - 已连接的文件对象
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mm_config",
3
- "version": "2.3.1",
3
+ "version": "2.3.3",
4
4
  "description": "Super Meimei Configuration Synchronizer - Automatically sync configuration changes to JSON files",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -40,10 +40,10 @@
40
40
  "LICENSE"
41
41
  ],
42
42
  "dependencies": {
43
- "mm_expand": "^2.2.8"
43
+ "mm_expand": "^2.2.9"
44
44
  },
45
45
  "devDependencies": {
46
- "eslint": "^10.2.0",
46
+ "eslint": "^10.2.1",
47
47
  "eslint-plugin-jsdoc": "^62.9.0",
48
48
  "mm_eslint": "^1.7.1"
49
49
  }