@player-ui/beacon-plugin 0.9.1-next.1 → 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.
@@ -4474,15 +4474,6 @@ var BeaconPlugin = function() {
4474
4474
  ]);
4475
4475
  return Parser;
4476
4476
  }();
4477
- function unpackAndPush(item, initial) {
4478
- if (Array.isArray(item)) {
4479
- item.forEach(function(i) {
4480
- unpackAndPush(i, initial);
4481
- });
4482
- } else {
4483
- initial.push(item);
4484
- }
4485
- }
4486
4477
  var withContext = function(model) {
4487
4478
  return {
4488
4479
  get: function(binding, options) {
@@ -4703,14 +4694,7 @@ var BeaconPlugin = function() {
4703
4694
  var newValues = resolvedAST.values.map(function(mValue) {
4704
4695
  var mTree = _this.computeTree(mValue, rawParentToPassIn, dataChanges, cacheUpdate, resolveOptions, resolvedAST, prevASTMap);
4705
4696
  if (mTree.value !== void 0 && mTree.value !== null) {
4706
- var _mTree_node_parent;
4707
- 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)) {
4708
- mTree.value.forEach(function(v) {
4709
- unpackAndPush(v, childValue);
4710
- });
4711
- } else {
4712
- childValue.push(mTree.value);
4713
- }
4697
+ childValue.push(mTree.value);
4714
4698
  }
4715
4699
  mTree.dependencies.forEach(function(bindingDep) {
4716
4700
  return childDependencies.add(bindingDep);