'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});

var _constants;

function _load_constants() {
  return _constants = require('../../constants');
}

exports.default = function (listScopeResults) {
  function paintBareComponent(listScopeResult) {
    // $FlowFixMe scope and version properties are always set for scope components
    return `${listScopeResult.id.scope}/${listScopeResult.id.name}${(_constants || _load_constants()).VERSION_DELIMITER}${listScopeResult.id.version}`;
  }

  return listScopeResults.map(paintBareComponent).join('\n');
};