xhs-mp-pack 2.0.25 → 2.0.26-beta.0
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/dist/base/AsyncQueue.js +3 -2
- package/package.json +4 -4
package/dist/base/AsyncQueue.js
CHANGED
|
@@ -217,8 +217,9 @@ class AsyncQueue {
|
|
|
217
217
|
const error = hookError
|
|
218
218
|
? (0, HookBaseError_1.makeBaseError)(hookError, `AsyncQueue(${this._name}).hooks.result`)
|
|
219
219
|
: err;
|
|
220
|
-
const
|
|
221
|
-
const
|
|
220
|
+
const fallbackCallback = (...args) => console.log("Fallback Callback:", ...args);
|
|
221
|
+
const callback = entry.callback || fallbackCallback;
|
|
222
|
+
const callbacks = entry.callbacks || [];
|
|
222
223
|
entry.state = DONE_STATE;
|
|
223
224
|
entry.callback = undefined;
|
|
224
225
|
entry.callbacks = undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xhs-mp-pack",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.26-beta.0",
|
|
4
4
|
"description": "xhs mp compiler core.",
|
|
5
5
|
"preferGlobal": true,
|
|
6
6
|
"category": "esm",
|
|
@@ -55,9 +55,9 @@
|
|
|
55
55
|
"watchpack": "^2.4.0",
|
|
56
56
|
"webpack-chain": "^6.5.1",
|
|
57
57
|
"webpack-sources": "^3.2.3",
|
|
58
|
-
"xhs-mp-compiler-utils": "2.0.
|
|
59
|
-
"xhs-mp-project": "2.0.
|
|
60
|
-
"xhs-mp-shared-fs": "2.0.
|
|
58
|
+
"xhs-mp-compiler-utils": "2.0.26-beta.0",
|
|
59
|
+
"xhs-mp-project": "2.0.26-beta.0",
|
|
60
|
+
"xhs-mp-shared-fs": "2.0.26-beta.0"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@types/babel__generator": "7.6.3",
|