"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;

function _constants() {
  const data = require("../../constants");

  _constants = function () {
    return data;
  };

  return data;
}

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

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

exports.default = _default;