@player-ui/common-types-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.
@@ -4504,15 +4504,6 @@ var CommonTypesPlugin = function() {
4504
4504
  ]);
4505
4505
  return Parser;
4506
4506
  }();
4507
- function unpackAndPush(item, initial) {
4508
- if (Array.isArray(item)) {
4509
- item.forEach(function(i) {
4510
- unpackAndPush(i, initial);
4511
- });
4512
- } else {
4513
- initial.push(item);
4514
- }
4515
- }
4516
4507
  var withContext = function(model) {
4517
4508
  return {
4518
4509
  get: function(binding, options) {
@@ -4733,14 +4724,7 @@ var CommonTypesPlugin = function() {
4733
4724
  var newValues = resolvedAST.values.map(function(mValue) {
4734
4725
  var mTree = _this.computeTree(mValue, rawParentToPassIn, dataChanges, cacheUpdate, resolveOptions, resolvedAST, prevASTMap);
4735
4726
  if (mTree.value !== void 0 && mTree.value !== null) {
4736
- var _mTree_node_parent;
4737
- 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)) {
4738
- mTree.value.forEach(function(v) {
4739
- unpackAndPush(v, childValue);
4740
- });
4741
- } else {
4742
- childValue.push(mTree.value);
4743
- }
4727
+ childValue.push(mTree.value);
4744
4728
  }
4745
4729
  mTree.dependencies.forEach(function(bindingDep) {
4746
4730
  return childDependencies.add(bindingDep);