@player-ui/metrics-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.
@@ -4486,15 +4486,6 @@ var MetricsPlugin = function() {
4486
4486
  ]);
4487
4487
  return Parser;
4488
4488
  }();
4489
- function unpackAndPush(item, initial) {
4490
- if (Array.isArray(item)) {
4491
- item.forEach(function(i) {
4492
- unpackAndPush(i, initial);
4493
- });
4494
- } else {
4495
- initial.push(item);
4496
- }
4497
- }
4498
4489
  var withContext = function(model) {
4499
4490
  return {
4500
4491
  get: function(binding, options) {
@@ -4715,14 +4706,7 @@ var MetricsPlugin = function() {
4715
4706
  var newValues = resolvedAST.values.map(function(mValue) {
4716
4707
  var mTree = _this.computeTree(mValue, rawParentToPassIn, dataChanges, cacheUpdate, resolveOptions, resolvedAST, prevASTMap);
4717
4708
  if (mTree.value !== void 0 && mTree.value !== null) {
4718
- var _mTree_node_parent;
4719
- 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)) {
4720
- mTree.value.forEach(function(v) {
4721
- unpackAndPush(v, childValue);
4722
- });
4723
- } else {
4724
- childValue.push(mTree.value);
4725
- }
4709
+ childValue.push(mTree.value);
4726
4710
  }
4727
4711
  mTree.dependencies.forEach(function(bindingDep) {
4728
4712
  return childDependencies.add(bindingDep);