@player-ui/async-node-plugin 0.14.1--canary.720.27482 → 0.14.1-next.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/AsyncNodePlugin.native.js +4 -1
- package/dist/AsyncNodePlugin.native.js.map +1 -1
- package/dist/cjs/index.cjs +4 -1
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/index.legacy-esm.js +4 -1
- package/dist/index.mjs +4 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/__tests__/index.test.ts +128 -1
- package/src/index.ts +4 -6
- package/types/index.d.ts +0 -5
|
@@ -8273,7 +8273,6 @@ var AsyncNodePlugin = function() {
|
|
|
8273
8273
|
var AsyncNodePluginPlugin = /*#__PURE__*/ function() {
|
|
8274
8274
|
function AsyncNodePluginPlugin() {
|
|
8275
8275
|
_class_call_check(this, AsyncNodePluginPlugin);
|
|
8276
|
-
this.asyncNode = new AsyncParallelBailHook();
|
|
8277
8276
|
this.name = "AsyncNode";
|
|
8278
8277
|
}
|
|
8279
8278
|
_create_class(AsyncNodePluginPlugin, [
|
|
@@ -8333,6 +8332,10 @@ var AsyncNodePlugin = function() {
|
|
|
8333
8332
|
}
|
|
8334
8333
|
var resolvedNode = context.nodeResolveCache.get(node.id);
|
|
8335
8334
|
if (resolvedNode !== void 0) {
|
|
8335
|
+
if (resolvedNode.asyncNodesResolved === void 0) {
|
|
8336
|
+
resolvedNode.asyncNodesResolved = [];
|
|
8337
|
+
}
|
|
8338
|
+
resolvedNode.asyncNodesResolved.push(node.id);
|
|
8336
8339
|
return _this.resolveAsyncChildren(resolvedNode, context);
|
|
8337
8340
|
}
|
|
8338
8341
|
if (context.inProgressNodes.has(node.id)) {
|