@player-ui/stage-revert-data-plugin 0.9.1-next.0 → 0.9.1-next.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.
@@ -4390,15 +4390,6 @@ var StageRevertDataPlugin = function() {
4390
4390
  ]);
4391
4391
  return Parser;
4392
4392
  }();
4393
- function unpackAndPush(item, initial) {
4394
- if (Array.isArray(item)) {
4395
- item.forEach(function(i) {
4396
- unpackAndPush(i, initial);
4397
- });
4398
- } else {
4399
- initial.push(item);
4400
- }
4401
- }
4402
4393
  var withContext = function(model) {
4403
4394
  return {
4404
4395
  get: function(binding, options) {
@@ -4619,14 +4610,7 @@ var StageRevertDataPlugin = function() {
4619
4610
  var newValues = resolvedAST.values.map(function(mValue) {
4620
4611
  var mTree = _this.computeTree(mValue, rawParentToPassIn, dataChanges, cacheUpdate, resolveOptions, resolvedAST, prevASTMap);
4621
4612
  if (mTree.value !== void 0 && mTree.value !== null) {
4622
- var _mTree_node_parent;
4623
- if (((_mTree_node_parent = mTree.node.parent) === null || _mTree_node_parent === void 0 ? void 0 : _mTree_node_parent.type) === "multi-node" && Array.isArray(mTree.value)) {
4624
- mTree.value.forEach(function(v) {
4625
- unpackAndPush(v, childValue);
4626
- });
4627
- } else {
4628
- childValue.push(mTree.value);
4629
- }
4613
+ childValue.push(mTree.value);
4630
4614
  }
4631
4615
  mTree.dependencies.forEach(function(bindingDep) {
4632
4616
  return childDependencies.add(bindingDep);