UNPKG

bit-bin

Version:

<a href="https://opensource.org/licenses/Apache-2.0"><img alt="apache" src="https://img.shields.io/badge/License-Apache%202.0-blue.svg"></a> <a href="https://github.com/teambit/bit/blob/master/CONTRIBUTING.md"><img alt="prs" src="https://img.shields.io/b

27 lines (20 loc) 641 B
"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 = rawScopeResults => { 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 rawScopeResults.map(paintBareComponent).join('\n'); }; exports.default = _default;