mm_config 2.5.0 → 2.5.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.
Files changed (2) hide show
  1. package/index.js +8 -0
  2. package/package.json +4 -4
package/index.js CHANGED
@@ -185,6 +185,14 @@ Config.prototype.getAsyncProxy = function () {
185
185
  });
186
186
  };
187
187
 
188
+ /**
189
+ * 获取所有配置项
190
+ * @returns {object} 所有配置项
191
+ */
192
+ Config.prototype.all = function () {
193
+ return this.options;
194
+ };
195
+
188
196
  /**
189
197
  * 获取配置值
190
198
  * @param {string} key - 配置键
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mm_config",
3
- "version": "2.5.0",
3
+ "version": "2.5.2",
4
4
  "description": "Super Meimei Configuration Synchronizer - Automatically sync configuration changes to JSON files",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -40,11 +40,11 @@
40
40
  "LICENSE"
41
41
  ],
42
42
  "dependencies": {
43
- "mm_expand": "^2.5.3"
43
+ "mm_expand": "^2.5.4"
44
44
  },
45
45
  "devDependencies": {
46
- "eslint": "^10.8.1",
47
- "eslint-plugin-jsdoc": "^64.1.0",
46
+ "eslint": "^10.9.1",
47
+ "eslint-plugin-jsdoc": "^64.2.1",
48
48
  "mm_eslint": "^1.7.6"
49
49
  }
50
50
  }