mm_expand 2.2.7 → 2.2.8
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/lib/base.js +2 -3
- package/package.json +1 -1
package/lib/base.js
CHANGED
|
@@ -144,7 +144,6 @@ Base.prototype._initCore = async function (...params) {
|
|
|
144
144
|
return this;
|
|
145
145
|
};
|
|
146
146
|
|
|
147
|
-
|
|
148
147
|
/**
|
|
149
148
|
* 初始化模块 - 内部方法
|
|
150
149
|
* @private
|
|
@@ -161,7 +160,7 @@ Base.prototype._init = async function (...params) {
|
|
|
161
160
|
* @returns {object} 返回当前对象
|
|
162
161
|
*/
|
|
163
162
|
Base.prototype.init = async function (...params) {
|
|
164
|
-
return this._init(...params);
|
|
163
|
+
return await this._init(...params);
|
|
165
164
|
};
|
|
166
165
|
|
|
167
166
|
/**
|
|
@@ -184,7 +183,7 @@ Base.prototype._destroy = async function () {
|
|
|
184
183
|
* 销毁
|
|
185
184
|
*/
|
|
186
185
|
Base.prototype.destroy = async function () {
|
|
187
|
-
return this._destroy();
|
|
186
|
+
return await this._destroy();
|
|
188
187
|
};
|
|
189
188
|
|
|
190
189
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mm_expand",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.8",
|
|
4
4
|
"description": "Super Meimei Prototype Function Extension Module - Enhanced operations for string, array, object, date manipulation with error prevention and simplified business logic.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|