pnpm 6.24.0-1 → 6.24.0
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.
- package/dist/pnpm.cjs +227 -237
- package/package.json +29 -29
package/dist/pnpm.cjs
CHANGED
|
@@ -3167,7 +3167,7 @@ var require_lib4 = __commonJS({
|
|
|
3167
3167
|
var load_json_file_1 = __importDefault(require_load_json_file());
|
|
3168
3168
|
var defaultManifest = {
|
|
3169
3169
|
name: "pnpm" != null && true ? "pnpm" : "pnpm",
|
|
3170
|
-
version: "6.24.0
|
|
3170
|
+
version: "6.24.0" != null && true ? "6.24.0" : "0.0.0"
|
|
3171
3171
|
};
|
|
3172
3172
|
var pkgJson;
|
|
3173
3173
|
if (require.main == null) {
|
|
@@ -33458,6 +33458,134 @@ var require_archy = __commonJS({
|
|
|
33458
33458
|
}
|
|
33459
33459
|
});
|
|
33460
33460
|
|
|
33461
|
+
// ../../node_modules/.pnpm/is-fullwidth-code-point@3.0.0/node_modules/is-fullwidth-code-point/index.js
|
|
33462
|
+
var require_is_fullwidth_code_point = __commonJS({
|
|
33463
|
+
"../../node_modules/.pnpm/is-fullwidth-code-point@3.0.0/node_modules/is-fullwidth-code-point/index.js"(exports2, module2) {
|
|
33464
|
+
"use strict";
|
|
33465
|
+
var isFullwidthCodePoint = (codePoint) => {
|
|
33466
|
+
if (Number.isNaN(codePoint)) {
|
|
33467
|
+
return false;
|
|
33468
|
+
}
|
|
33469
|
+
if (codePoint >= 4352 && (codePoint <= 4447 || codePoint === 9001 || codePoint === 9002 || 11904 <= codePoint && codePoint <= 12871 && codePoint !== 12351 || 12880 <= codePoint && codePoint <= 19903 || 19968 <= codePoint && codePoint <= 42182 || 43360 <= codePoint && codePoint <= 43388 || 44032 <= codePoint && codePoint <= 55203 || 63744 <= codePoint && codePoint <= 64255 || 65040 <= codePoint && codePoint <= 65049 || 65072 <= codePoint && codePoint <= 65131 || 65281 <= codePoint && codePoint <= 65376 || 65504 <= codePoint && codePoint <= 65510 || 110592 <= codePoint && codePoint <= 110593 || 127488 <= codePoint && codePoint <= 127569 || 131072 <= codePoint && codePoint <= 262141)) {
|
|
33470
|
+
return true;
|
|
33471
|
+
}
|
|
33472
|
+
return false;
|
|
33473
|
+
};
|
|
33474
|
+
module2.exports = isFullwidthCodePoint;
|
|
33475
|
+
module2.exports.default = isFullwidthCodePoint;
|
|
33476
|
+
}
|
|
33477
|
+
});
|
|
33478
|
+
|
|
33479
|
+
// ../../node_modules/.pnpm/emoji-regex@8.0.0/node_modules/emoji-regex/index.js
|
|
33480
|
+
var require_emoji_regex = __commonJS({
|
|
33481
|
+
"../../node_modules/.pnpm/emoji-regex@8.0.0/node_modules/emoji-regex/index.js"(exports2, module2) {
|
|
33482
|
+
"use strict";
|
|
33483
|
+
module2.exports = function() {
|
|
33484
|
+
return /\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA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u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g;
|
|
33485
|
+
};
|
|
33486
|
+
}
|
|
33487
|
+
});
|
|
33488
|
+
|
|
33489
|
+
// ../../node_modules/.pnpm/string-width@4.2.3/node_modules/string-width/index.js
|
|
33490
|
+
var require_string_width = __commonJS({
|
|
33491
|
+
"../../node_modules/.pnpm/string-width@4.2.3/node_modules/string-width/index.js"(exports2, module2) {
|
|
33492
|
+
"use strict";
|
|
33493
|
+
var stripAnsi = require_strip_ansi();
|
|
33494
|
+
var isFullwidthCodePoint = require_is_fullwidth_code_point();
|
|
33495
|
+
var emojiRegex = require_emoji_regex();
|
|
33496
|
+
var stringWidth = (string) => {
|
|
33497
|
+
if (typeof string !== "string" || string.length === 0) {
|
|
33498
|
+
return 0;
|
|
33499
|
+
}
|
|
33500
|
+
string = stripAnsi(string);
|
|
33501
|
+
if (string.length === 0) {
|
|
33502
|
+
return 0;
|
|
33503
|
+
}
|
|
33504
|
+
string = string.replace(emojiRegex(), " ");
|
|
33505
|
+
let width = 0;
|
|
33506
|
+
for (let i = 0; i < string.length; i++) {
|
|
33507
|
+
const code = string.codePointAt(i);
|
|
33508
|
+
if (code <= 31 || code >= 127 && code <= 159) {
|
|
33509
|
+
continue;
|
|
33510
|
+
}
|
|
33511
|
+
if (code >= 768 && code <= 879) {
|
|
33512
|
+
continue;
|
|
33513
|
+
}
|
|
33514
|
+
if (code > 65535) {
|
|
33515
|
+
i++;
|
|
33516
|
+
}
|
|
33517
|
+
width += isFullwidthCodePoint(code) ? 2 : 1;
|
|
33518
|
+
}
|
|
33519
|
+
return width;
|
|
33520
|
+
};
|
|
33521
|
+
module2.exports = stringWidth;
|
|
33522
|
+
module2.exports.default = stringWidth;
|
|
33523
|
+
}
|
|
33524
|
+
});
|
|
33525
|
+
|
|
33526
|
+
// ../../node_modules/.pnpm/cli-columns@4.0.0/node_modules/cli-columns/index.js
|
|
33527
|
+
var require_cli_columns = __commonJS({
|
|
33528
|
+
"../../node_modules/.pnpm/cli-columns@4.0.0/node_modules/cli-columns/index.js"(exports2, module2) {
|
|
33529
|
+
"use strict";
|
|
33530
|
+
var stringWidth = require_string_width();
|
|
33531
|
+
var stripAnsi = require_strip_ansi();
|
|
33532
|
+
var concat = Array.prototype.concat;
|
|
33533
|
+
var defaults2 = {
|
|
33534
|
+
character: " ",
|
|
33535
|
+
newline: "\n",
|
|
33536
|
+
padding: 2,
|
|
33537
|
+
sort: true,
|
|
33538
|
+
width: 0
|
|
33539
|
+
};
|
|
33540
|
+
function byPlainText(a, b) {
|
|
33541
|
+
const plainA = stripAnsi(a);
|
|
33542
|
+
const plainB = stripAnsi(b);
|
|
33543
|
+
if (plainA === plainB) {
|
|
33544
|
+
return 0;
|
|
33545
|
+
}
|
|
33546
|
+
if (plainA > plainB) {
|
|
33547
|
+
return 1;
|
|
33548
|
+
}
|
|
33549
|
+
return -1;
|
|
33550
|
+
}
|
|
33551
|
+
function makeArray() {
|
|
33552
|
+
return [];
|
|
33553
|
+
}
|
|
33554
|
+
function makeList(count) {
|
|
33555
|
+
return Array.apply(null, Array(count));
|
|
33556
|
+
}
|
|
33557
|
+
function padCell(fullWidth, character, value) {
|
|
33558
|
+
const valueWidth = stringWidth(value);
|
|
33559
|
+
const filler = makeList(fullWidth - valueWidth + 1);
|
|
33560
|
+
return value + filler.join(character);
|
|
33561
|
+
}
|
|
33562
|
+
function toRows(rows, cell, i) {
|
|
33563
|
+
rows[i % rows.length].push(cell);
|
|
33564
|
+
return rows;
|
|
33565
|
+
}
|
|
33566
|
+
function toString(arr) {
|
|
33567
|
+
return arr.join("");
|
|
33568
|
+
}
|
|
33569
|
+
function columns(values2, options) {
|
|
33570
|
+
values2 = concat.apply([], values2);
|
|
33571
|
+
options = Object.assign({}, defaults2, options);
|
|
33572
|
+
let cells = values2.filter(Boolean).map(String);
|
|
33573
|
+
if (options.sort !== false) {
|
|
33574
|
+
cells = cells.sort(byPlainText);
|
|
33575
|
+
}
|
|
33576
|
+
const termWidth = options.width || process.stdout.columns;
|
|
33577
|
+
const cellWidth = Math.max.apply(null, cells.map(stringWidth)) + options.padding;
|
|
33578
|
+
const columnCount = Math.floor(termWidth / cellWidth) || 1;
|
|
33579
|
+
const rowCount = Math.ceil(cells.length / columnCount) || 1;
|
|
33580
|
+
if (columnCount === 1) {
|
|
33581
|
+
return cells.join(options.newline);
|
|
33582
|
+
}
|
|
33583
|
+
return cells.map(padCell.bind(null, cellWidth, options.character)).reduce(toRows, makeList(rowCount).map(makeArray)).map(toString).join(options.newline);
|
|
33584
|
+
}
|
|
33585
|
+
module2.exports = columns;
|
|
33586
|
+
}
|
|
33587
|
+
});
|
|
33588
|
+
|
|
33461
33589
|
// ../render-peer-issues/lib/index.js
|
|
33462
33590
|
var require_lib17 = __commonJS({
|
|
33463
33591
|
"../render-peer-issues/lib/index.js"(exports2) {
|
|
@@ -33468,42 +33596,44 @@ var require_lib17 = __commonJS({
|
|
|
33468
33596
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
33469
33597
|
var archy_1 = __importDefault(require_archy());
|
|
33470
33598
|
var chalk_1 = __importDefault(require_source());
|
|
33471
|
-
|
|
33599
|
+
var cli_columns_1 = __importDefault(require_cli_columns());
|
|
33600
|
+
function default_1(peerDependencyIssuesByProjects, opts) {
|
|
33601
|
+
var _a;
|
|
33472
33602
|
const projects = {};
|
|
33473
|
-
for (const [
|
|
33474
|
-
|
|
33475
|
-
|
|
33476
|
-
|
|
33477
|
-
if (!mergedPeers.conflicts.includes(peerName) && mergedPeers.intersections[peerName] == null) {
|
|
33603
|
+
for (const [projectId, { bad, missing, conflicts, intersections }] of Object.entries(peerDependencyIssuesByProjects)) {
|
|
33604
|
+
projects[projectId] = { dependencies: {}, peerIssues: [] };
|
|
33605
|
+
for (const [peerName, issues] of Object.entries(missing)) {
|
|
33606
|
+
if (!conflicts.includes(peerName) && intersections[peerName] == null) {
|
|
33478
33607
|
continue;
|
|
33479
33608
|
}
|
|
33480
|
-
|
|
33481
|
-
projects[projectId]
|
|
33609
|
+
for (const issue of issues) {
|
|
33610
|
+
createTree(projects[projectId], issue.parents, `${chalk_1.default.red("\u2715 missing peer")} ${formatNameAndRange(peerName, issue.wantedRange)}`);
|
|
33482
33611
|
}
|
|
33483
|
-
createTree(projects[projectId], issue.location.parents, `${chalk_1.default.red("\u2715 missing peer")} ${formatNameAndRange(peerName, issue.wantedRange)}`);
|
|
33484
33612
|
}
|
|
33485
|
-
|
|
33486
|
-
|
|
33487
|
-
|
|
33488
|
-
const projectId = issue.location.projectId;
|
|
33489
|
-
if (!projects[projectId]) {
|
|
33490
|
-
projects[projectId] = { dependencies: {}, peerIssues: [] };
|
|
33613
|
+
for (const [peerName, issues] of Object.entries(bad)) {
|
|
33614
|
+
for (const { parents, foundVersion, wantedRange } of issues) {
|
|
33615
|
+
createTree(projects[projectId], parents, `${chalk_1.default.red("\u2715 unmet peer")} ${formatNameAndRange(peerName, wantedRange)}: found ${foundVersion}`);
|
|
33491
33616
|
}
|
|
33492
|
-
createTree(projects[projectId], issue.location.parents, `${chalk_1.default.red("\u2715 unmet peer")} ${formatNameAndRange(peerName, issue.wantedRange)}: found ${issue.foundVersion}`);
|
|
33493
33617
|
}
|
|
33494
33618
|
}
|
|
33495
|
-
|
|
33496
|
-
|
|
33497
|
-
|
|
33498
|
-
|
|
33499
|
-
|
|
33619
|
+
const cliColumnsOptions = {
|
|
33620
|
+
newline: "\n ",
|
|
33621
|
+
width: ((_a = opts === null || opts === void 0 ? void 0 : opts.width) !== null && _a !== void 0 ? _a : process.stdout.columns) - 2
|
|
33622
|
+
};
|
|
33623
|
+
return Object.entries(projects).filter(([, project]) => Object.keys(project.dependencies).length > 0).sort(([projectKey1], [projectKey2]) => projectKey1.localeCompare(projectKey2)).map(([projectKey, project]) => {
|
|
33624
|
+
let summary = "";
|
|
33625
|
+
const { conflicts, intersections } = peerDependencyIssuesByProjects[projectKey];
|
|
33626
|
+
if (conflicts.length) {
|
|
33627
|
+
summary += chalk_1.default.red(`\u2715 Conflicting peer dependencies:
|
|
33628
|
+
${(0, cli_columns_1.default)(conflicts, cliColumnsOptions)}`);
|
|
33500
33629
|
}
|
|
33501
|
-
|
|
33502
|
-
|
|
33503
|
-
|
|
33630
|
+
if (Object.keys(intersections).length) {
|
|
33631
|
+
summary += `Peer dependencies that should be installed:
|
|
33632
|
+
${(0, cli_columns_1.default)(Object.entries(intersections).map(([name, version]) => formatNameAndRange(name, version)), cliColumnsOptions)}`;
|
|
33504
33633
|
}
|
|
33505
|
-
|
|
33506
|
-
|
|
33634
|
+
const title = chalk_1.default.white(projectKey);
|
|
33635
|
+
return `${(0, archy_1.default)(toArchyData(title, project))}${summary}`;
|
|
33636
|
+
}).join("\n\n");
|
|
33507
33637
|
}
|
|
33508
33638
|
exports2.default = default_1;
|
|
33509
33639
|
function formatNameAndRange(name, range) {
|
|
@@ -36522,7 +36652,7 @@ ${foundSettings.join("\n")}`;
|
|
|
36522
36652
|
function reportPeerDependencyIssuesError(err, msg) {
|
|
36523
36653
|
return {
|
|
36524
36654
|
title: err.message,
|
|
36525
|
-
body: (0, render_peer_issues_1.default)(msg.
|
|
36655
|
+
body: (0, render_peer_issues_1.default)(msg.issuesByProjects)
|
|
36526
36656
|
};
|
|
36527
36657
|
}
|
|
36528
36658
|
}
|
|
@@ -36662,7 +36792,7 @@ var require_reportPeerDependencyIssues = __commonJS({
|
|
|
36662
36792
|
exports2.default = (log$) => {
|
|
36663
36793
|
return log$.peerDependencyIssues.pipe((0, operators_1.take)(1), (0, operators_1.map)((log2) => Rx.of({
|
|
36664
36794
|
msg: `${(0, formatWarn_1.default)("Issues with peer dependencies found")}
|
|
36665
|
-
${(0, render_peer_issues_1.default)(log2)}`
|
|
36795
|
+
${(0, render_peer_issues_1.default)(log2.issuesByProjects)}`
|
|
36666
36796
|
})));
|
|
36667
36797
|
};
|
|
36668
36798
|
}
|
|
@@ -40009,71 +40139,6 @@ var require_reportSummary = __commonJS({
|
|
|
40009
40139
|
}
|
|
40010
40140
|
});
|
|
40011
40141
|
|
|
40012
|
-
// ../../node_modules/.pnpm/is-fullwidth-code-point@3.0.0/node_modules/is-fullwidth-code-point/index.js
|
|
40013
|
-
var require_is_fullwidth_code_point = __commonJS({
|
|
40014
|
-
"../../node_modules/.pnpm/is-fullwidth-code-point@3.0.0/node_modules/is-fullwidth-code-point/index.js"(exports2, module2) {
|
|
40015
|
-
"use strict";
|
|
40016
|
-
var isFullwidthCodePoint = (codePoint) => {
|
|
40017
|
-
if (Number.isNaN(codePoint)) {
|
|
40018
|
-
return false;
|
|
40019
|
-
}
|
|
40020
|
-
if (codePoint >= 4352 && (codePoint <= 4447 || codePoint === 9001 || codePoint === 9002 || 11904 <= codePoint && codePoint <= 12871 && codePoint !== 12351 || 12880 <= codePoint && codePoint <= 19903 || 19968 <= codePoint && codePoint <= 42182 || 43360 <= codePoint && codePoint <= 43388 || 44032 <= codePoint && codePoint <= 55203 || 63744 <= codePoint && codePoint <= 64255 || 65040 <= codePoint && codePoint <= 65049 || 65072 <= codePoint && codePoint <= 65131 || 65281 <= codePoint && codePoint <= 65376 || 65504 <= codePoint && codePoint <= 65510 || 110592 <= codePoint && codePoint <= 110593 || 127488 <= codePoint && codePoint <= 127569 || 131072 <= codePoint && codePoint <= 262141)) {
|
|
40021
|
-
return true;
|
|
40022
|
-
}
|
|
40023
|
-
return false;
|
|
40024
|
-
};
|
|
40025
|
-
module2.exports = isFullwidthCodePoint;
|
|
40026
|
-
module2.exports.default = isFullwidthCodePoint;
|
|
40027
|
-
}
|
|
40028
|
-
});
|
|
40029
|
-
|
|
40030
|
-
// ../../node_modules/.pnpm/emoji-regex@8.0.0/node_modules/emoji-regex/index.js
|
|
40031
|
-
var require_emoji_regex = __commonJS({
|
|
40032
|
-
"../../node_modules/.pnpm/emoji-regex@8.0.0/node_modules/emoji-regex/index.js"(exports2, module2) {
|
|
40033
|
-
"use strict";
|
|
40034
|
-
module2.exports = function() {
|
|
40035
|
-
return /\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\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\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70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|
40037
|
-
}
|
|
40038
|
-
});
|
|
40039
|
-
|
|
40040
|
-
// ../../node_modules/.pnpm/string-width@4.2.3/node_modules/string-width/index.js
|
|
40041
|
-
var require_string_width = __commonJS({
|
|
40042
|
-
"../../node_modules/.pnpm/string-width@4.2.3/node_modules/string-width/index.js"(exports2, module2) {
|
|
40043
|
-
"use strict";
|
|
40044
|
-
var stripAnsi = require_strip_ansi();
|
|
40045
|
-
var isFullwidthCodePoint = require_is_fullwidth_code_point();
|
|
40046
|
-
var emojiRegex = require_emoji_regex();
|
|
40047
|
-
var stringWidth = (string) => {
|
|
40048
|
-
if (typeof string !== "string" || string.length === 0) {
|
|
40049
|
-
return 0;
|
|
40050
|
-
}
|
|
40051
|
-
string = stripAnsi(string);
|
|
40052
|
-
if (string.length === 0) {
|
|
40053
|
-
return 0;
|
|
40054
|
-
}
|
|
40055
|
-
string = string.replace(emojiRegex(), " ");
|
|
40056
|
-
let width = 0;
|
|
40057
|
-
for (let i = 0; i < string.length; i++) {
|
|
40058
|
-
const code = string.codePointAt(i);
|
|
40059
|
-
if (code <= 31 || code >= 127 && code <= 159) {
|
|
40060
|
-
continue;
|
|
40061
|
-
}
|
|
40062
|
-
if (code >= 768 && code <= 879) {
|
|
40063
|
-
continue;
|
|
40064
|
-
}
|
|
40065
|
-
if (code > 65535) {
|
|
40066
|
-
i++;
|
|
40067
|
-
}
|
|
40068
|
-
width += isFullwidthCodePoint(code) ? 2 : 1;
|
|
40069
|
-
}
|
|
40070
|
-
return width;
|
|
40071
|
-
};
|
|
40072
|
-
module2.exports = stringWidth;
|
|
40073
|
-
module2.exports.default = stringWidth;
|
|
40074
|
-
}
|
|
40075
|
-
});
|
|
40076
|
-
|
|
40077
40142
|
// ../../node_modules/.pnpm/widest-line@3.1.0/node_modules/widest-line/index.js
|
|
40078
40143
|
var require_widest_line = __commonJS({
|
|
40079
40144
|
"../../node_modules/.pnpm/widest-line@3.1.0/node_modules/widest-line/index.js"(exports2, module2) {
|
|
@@ -113729,38 +113794,33 @@ var require_dist12 = __commonJS({
|
|
|
113729
113794
|
}
|
|
113730
113795
|
});
|
|
113731
113796
|
|
|
113732
|
-
// ../resolve-dependencies/lib/
|
|
113733
|
-
var
|
|
113734
|
-
"../resolve-dependencies/lib/
|
|
113797
|
+
// ../resolve-dependencies/lib/mergePeers.js
|
|
113798
|
+
var require_mergePeers = __commonJS({
|
|
113799
|
+
"../resolve-dependencies/lib/mergePeers.js"(exports2) {
|
|
113735
113800
|
"use strict";
|
|
113736
113801
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
113737
|
-
exports2.
|
|
113802
|
+
exports2.mergePeers = void 0;
|
|
113738
113803
|
var semver_range_intersect_1 = require_dist12();
|
|
113739
|
-
function
|
|
113740
|
-
const
|
|
113741
|
-
|
|
113742
|
-
|
|
113743
|
-
|
|
113744
|
-
|
|
113745
|
-
|
|
113746
|
-
|
|
113747
|
-
|
|
113748
|
-
|
|
113749
|
-
|
|
113750
|
-
|
|
113751
|
-
|
|
113752
|
-
|
|
113753
|
-
|
|
113754
|
-
if (intersection === null) {
|
|
113755
|
-
mergedPeersByProjects[projectPath].conflicts.push(peerName);
|
|
113756
|
-
} else {
|
|
113757
|
-
mergedPeersByProjects[projectPath].intersections[peerName] = intersection;
|
|
113758
|
-
}
|
|
113804
|
+
function mergePeers(missingPeers) {
|
|
113805
|
+
const conflicts = [];
|
|
113806
|
+
const intersections = {};
|
|
113807
|
+
for (const [peerName, ranges] of Object.entries(missingPeers)) {
|
|
113808
|
+
if (ranges.every(({ optional }) => optional))
|
|
113809
|
+
continue;
|
|
113810
|
+
if (ranges.length === 1) {
|
|
113811
|
+
intersections[peerName] = ranges[0].wantedRange;
|
|
113812
|
+
continue;
|
|
113813
|
+
}
|
|
113814
|
+
const intersection = (0, semver_range_intersect_1.intersect)(...ranges.map(({ wantedRange }) => wantedRange));
|
|
113815
|
+
if (intersection === null) {
|
|
113816
|
+
conflicts.push(peerName);
|
|
113817
|
+
} else {
|
|
113818
|
+
intersections[peerName] = intersection;
|
|
113759
113819
|
}
|
|
113760
113820
|
}
|
|
113761
|
-
return
|
|
113821
|
+
return { conflicts, intersections };
|
|
113762
113822
|
}
|
|
113763
|
-
exports2.
|
|
113823
|
+
exports2.mergePeers = mergePeers;
|
|
113764
113824
|
}
|
|
113765
113825
|
});
|
|
113766
113826
|
|
|
@@ -113780,7 +113840,7 @@ var require_resolvePeers = __commonJS({
|
|
|
113780
113840
|
var pick_1 = __importDefault(require_pick());
|
|
113781
113841
|
var scan_1 = __importDefault(require_scan4());
|
|
113782
113842
|
var semver_12 = __importDefault(require_semver2());
|
|
113783
|
-
var
|
|
113843
|
+
var mergePeers_1 = require_mergePeers();
|
|
113784
113844
|
var nodeIdUtils_1 = require_nodeIdUtils();
|
|
113785
113845
|
function default_1(opts) {
|
|
113786
113846
|
const depGraph = {};
|
|
@@ -113788,27 +113848,30 @@ var require_resolvePeers = __commonJS({
|
|
|
113788
113848
|
const _createPkgsByName = createPkgsByName.bind(null, opts.dependenciesTree);
|
|
113789
113849
|
const rootProject = opts.projects.length > 1 ? opts.projects.find(({ id }) => id === ".") : null;
|
|
113790
113850
|
const rootPkgsByName = rootProject == null ? {} : _createPkgsByName(rootProject);
|
|
113791
|
-
const
|
|
113792
|
-
const
|
|
113793
|
-
|
|
113794
|
-
for (const { directNodeIdsByAlias, topParents, rootDir } of opts.projects) {
|
|
113851
|
+
const peerDependencyIssuesByProjects = {};
|
|
113852
|
+
for (const { directNodeIdsByAlias, topParents, rootDir, id } of opts.projects) {
|
|
113853
|
+
const peerDependencyIssues = { bad: {}, missing: {} };
|
|
113795
113854
|
const pkgsByName = {
|
|
113796
113855
|
...rootPkgsByName,
|
|
113797
113856
|
..._createPkgsByName({ directNodeIdsByAlias, topParents })
|
|
113798
113857
|
};
|
|
113799
113858
|
resolvePeersOfChildren(directNodeIdsByAlias, pkgsByName, {
|
|
113800
|
-
badPeers,
|
|
113801
|
-
missingPeers,
|
|
113802
113859
|
dependenciesTree: opts.dependenciesTree,
|
|
113803
113860
|
depGraph,
|
|
113804
113861
|
lockfileDir: opts.lockfileDir,
|
|
113805
|
-
missingPeersByProject,
|
|
113806
113862
|
pathsByNodeId,
|
|
113807
113863
|
peersCache: new Map(),
|
|
113864
|
+
peerDependencyIssues,
|
|
113808
113865
|
purePkgs: new Set(),
|
|
113809
113866
|
rootDir,
|
|
113810
113867
|
virtualStoreDir: opts.virtualStoreDir
|
|
113811
113868
|
});
|
|
113869
|
+
if (!(0, isEmpty_1.default)(peerDependencyIssues.bad) || !(0, isEmpty_1.default)(peerDependencyIssues.missing)) {
|
|
113870
|
+
peerDependencyIssuesByProjects[id] = {
|
|
113871
|
+
...peerDependencyIssues,
|
|
113872
|
+
...(0, mergePeers_1.mergePeers)(peerDependencyIssues.missing)
|
|
113873
|
+
};
|
|
113874
|
+
}
|
|
113812
113875
|
}
|
|
113813
113876
|
Object.values(depGraph).forEach((node) => {
|
|
113814
113877
|
node.children = Object.keys(node.children).reduce((acc, alias) => {
|
|
@@ -113827,11 +113890,7 @@ var require_resolvePeers = __commonJS({
|
|
|
113827
113890
|
return {
|
|
113828
113891
|
dependenciesGraph: depGraph,
|
|
113829
113892
|
dependenciesByProjectId,
|
|
113830
|
-
|
|
113831
|
-
bad: badPeers,
|
|
113832
|
-
missing: missingPeers,
|
|
113833
|
-
missingMergedByProjects: (0, mergePeersByProjects_1.mergePeersByProjects)(missingPeersByProject)
|
|
113834
|
-
}
|
|
113893
|
+
peerDependencyIssuesByProjects
|
|
113835
113894
|
};
|
|
113836
113895
|
}
|
|
113837
113896
|
exports2.default = default_1;
|
|
@@ -113900,9 +113959,7 @@ var require_resolvePeers = __commonJS({
|
|
|
113900
113959
|
lockfileDir: ctx.lockfileDir,
|
|
113901
113960
|
nodeId,
|
|
113902
113961
|
parentPkgs,
|
|
113903
|
-
|
|
113904
|
-
missingPeers: ctx.missingPeers,
|
|
113905
|
-
missingPeersByProject: ctx.missingPeersByProject,
|
|
113962
|
+
peerDependencyIssues: ctx.peerDependencyIssues,
|
|
113906
113963
|
resolvedPackage,
|
|
113907
113964
|
rootDir: ctx.rootDir
|
|
113908
113965
|
});
|
|
@@ -114004,39 +114061,33 @@ var require_resolvePeers = __commonJS({
|
|
|
114004
114061
|
const optionalPeer = ((_b = (_a = ctx.resolvedPackage.peerDependenciesMeta) === null || _a === void 0 ? void 0 : _a[peerName]) === null || _b === void 0 ? void 0 : _b.optional) === true;
|
|
114005
114062
|
if (!resolved) {
|
|
114006
114063
|
missingPeers.push(peerName);
|
|
114007
|
-
|
|
114008
|
-
ctx.
|
|
114009
|
-
|
|
114010
|
-
|
|
114011
|
-
|
|
114012
|
-
|
|
114013
|
-
|
|
114014
|
-
|
|
114015
|
-
|
|
114064
|
+
const location = getLocationFromNodeId({
|
|
114065
|
+
dependenciesTree: ctx.dependenciesTree,
|
|
114066
|
+
nodeId: ctx.nodeId,
|
|
114067
|
+
pkg: ctx.resolvedPackage
|
|
114068
|
+
});
|
|
114069
|
+
if (!ctx.peerDependencyIssues.missing[peerName]) {
|
|
114070
|
+
ctx.peerDependencyIssues.missing[peerName] = [];
|
|
114071
|
+
}
|
|
114072
|
+
ctx.peerDependencyIssues.missing[peerName].push({
|
|
114073
|
+
parents: location.parents,
|
|
114016
114074
|
optional: optionalPeer,
|
|
114017
114075
|
wantedRange: peerVersionRange
|
|
114018
|
-
};
|
|
114019
|
-
ctx.missingPeers[peerName].push(issue);
|
|
114020
|
-
if (!ctx.missingPeersByProject[issue.location.projectId]) {
|
|
114021
|
-
ctx.missingPeersByProject[issue.location.projectId] = {};
|
|
114022
|
-
}
|
|
114023
|
-
if (!ctx.missingPeersByProject[issue.location.projectId][peerName]) {
|
|
114024
|
-
ctx.missingPeersByProject[issue.location.projectId][peerName] = [];
|
|
114025
|
-
}
|
|
114026
|
-
ctx.missingPeersByProject[issue.location.projectId][peerName].push({ range: peerVersionRange, optional: optionalPeer });
|
|
114076
|
+
});
|
|
114027
114077
|
continue;
|
|
114028
114078
|
}
|
|
114029
114079
|
if (!semver_12.default.satisfies(resolved.version, peerVersionRange, { loose: true })) {
|
|
114030
|
-
|
|
114031
|
-
ctx.
|
|
114032
|
-
|
|
114033
|
-
|
|
114034
|
-
|
|
114035
|
-
|
|
114036
|
-
|
|
114037
|
-
|
|
114038
|
-
|
|
114080
|
+
const location = getLocationFromNodeId({
|
|
114081
|
+
dependenciesTree: ctx.dependenciesTree,
|
|
114082
|
+
nodeId: ctx.nodeId,
|
|
114083
|
+
pkg: ctx.resolvedPackage
|
|
114084
|
+
});
|
|
114085
|
+
if (!ctx.peerDependencyIssues.bad[peerName]) {
|
|
114086
|
+
ctx.peerDependencyIssues.bad[peerName] = [];
|
|
114087
|
+
}
|
|
114088
|
+
ctx.peerDependencyIssues.bad[peerName].push({
|
|
114039
114089
|
foundVersion: resolved.version,
|
|
114090
|
+
parents: location.parents,
|
|
114040
114091
|
optional: optionalPeer,
|
|
114041
114092
|
wantedRange: peerVersionRange
|
|
114042
114093
|
});
|
|
@@ -114844,7 +114895,7 @@ var require_lib91 = __commonJS({
|
|
|
114844
114895
|
topParents
|
|
114845
114896
|
};
|
|
114846
114897
|
}));
|
|
114847
|
-
const { dependenciesGraph, dependenciesByProjectId,
|
|
114898
|
+
const { dependenciesGraph, dependenciesByProjectId, peerDependencyIssuesByProjects } = (0, resolvePeers_1.default)({
|
|
114848
114899
|
dependenciesTree,
|
|
114849
114900
|
lockfileDir: opts.lockfileDir,
|
|
114850
114901
|
projects: projectsToLink,
|
|
@@ -114890,7 +114941,7 @@ var require_lib91 = __commonJS({
|
|
|
114890
114941
|
outdatedDependencies,
|
|
114891
114942
|
linkedDependenciesByProjectId,
|
|
114892
114943
|
newLockfile,
|
|
114893
|
-
|
|
114944
|
+
peerDependencyIssuesByProjects,
|
|
114894
114945
|
waitTillAllFetchingsFinish,
|
|
114895
114946
|
wantedToBeSkippedPackageIds
|
|
114896
114947
|
};
|
|
@@ -116067,19 +116118,21 @@ var require_reportPeerDependencyIssues2 = __commonJS({
|
|
|
116067
116118
|
var error_1 = __importDefault(require_lib8());
|
|
116068
116119
|
var core_loggers_1 = require_lib10();
|
|
116069
116120
|
var isEmpty_1 = __importDefault(require_isEmpty2());
|
|
116070
|
-
function default_1(
|
|
116071
|
-
if ((0, isEmpty_1.default)(
|
|
116121
|
+
function default_1(peerDependencyIssuesByProjects, opts) {
|
|
116122
|
+
if (Object.values(peerDependencyIssuesByProjects).every((peerIssuesOfProject) => (0, isEmpty_1.default)(peerIssuesOfProject.bad) && ((0, isEmpty_1.default)(peerIssuesOfProject.missing) || peerIssuesOfProject.conflicts.length === 0 && Object.keys(peerIssuesOfProject.intersections).length === 0)))
|
|
116072
116123
|
return;
|
|
116073
116124
|
if (opts.strictPeerDependencies) {
|
|
116074
|
-
throw new PeerDependencyIssuesError(
|
|
116125
|
+
throw new PeerDependencyIssuesError(peerDependencyIssuesByProjects);
|
|
116075
116126
|
}
|
|
116076
|
-
core_loggers_1.peerDependencyIssuesLogger.debug(
|
|
116127
|
+
core_loggers_1.peerDependencyIssuesLogger.debug({
|
|
116128
|
+
issuesByProjects: peerDependencyIssuesByProjects
|
|
116129
|
+
});
|
|
116077
116130
|
}
|
|
116078
116131
|
exports2.default = default_1;
|
|
116079
116132
|
var PeerDependencyIssuesError = class extends error_1.default {
|
|
116080
116133
|
constructor(issues) {
|
|
116081
116134
|
super("PEER_DEP_ISSUES", "Unmet peer dependencies");
|
|
116082
|
-
this.
|
|
116135
|
+
this.issuesByProjects = issues;
|
|
116083
116136
|
}
|
|
116084
116137
|
};
|
|
116085
116138
|
exports2.PeerDependencyIssuesError = PeerDependencyIssuesError;
|
|
@@ -116580,7 +116633,7 @@ var require_install = __commonJS({
|
|
|
116580
116633
|
}
|
|
116581
116634
|
}), {});
|
|
116582
116635
|
}
|
|
116583
|
-
let { dependenciesGraph, dependenciesByProjectId, finishLockfileUpdates, linkedDependenciesByProjectId, newLockfile, outdatedDependencies,
|
|
116636
|
+
let { dependenciesGraph, dependenciesByProjectId, finishLockfileUpdates, linkedDependenciesByProjectId, newLockfile, outdatedDependencies, peerDependencyIssuesByProjects, wantedToBeSkippedPackageIds, waitTillAllFetchingsFinish } = await (0, resolve_dependencies_1.default)(projects, {
|
|
116584
116637
|
currentLockfile: ctx.currentLockfile,
|
|
116585
116638
|
defaultUpdateDepth: opts.update || opts.updateMatching != null ? opts.depth : -1,
|
|
116586
116639
|
dryRun: opts.lockfileOnly,
|
|
@@ -116775,7 +116828,7 @@ var require_install = __commonJS({
|
|
|
116775
116828
|
await waitTillAllFetchingsFinish();
|
|
116776
116829
|
core_loggers_1.summaryLogger.debug({ prefix: opts.lockfileDir });
|
|
116777
116830
|
await opts.storeController.close();
|
|
116778
|
-
(0, reportPeerDependencyIssues_1.default)(
|
|
116831
|
+
(0, reportPeerDependencyIssues_1.default)(peerDependencyIssuesByProjects, {
|
|
116779
116832
|
lockfileDir: opts.lockfileDir,
|
|
116780
116833
|
strictPeerDependencies: opts.strictPeerDependencies
|
|
116781
116834
|
});
|
|
@@ -116841,7 +116894,7 @@ var require_getPeerDependencyIssues = __commonJS({
|
|
|
116841
116894
|
wantedDependencies: (0, getWantedDependencies_1.default)(project.manifest)
|
|
116842
116895
|
}));
|
|
116843
116896
|
const preferredVersions = ctx.wantedLockfile.packages ? (0, getPreferredVersions_1.getPreferredVersionsFromLockfile)(ctx.wantedLockfile.packages) : void 0;
|
|
116844
|
-
const {
|
|
116897
|
+
const { peerDependencyIssuesByProjects, waitTillAllFetchingsFinish } = await (0, resolve_dependencies_1.default)(projectsToResolve, {
|
|
116845
116898
|
currentLockfile: ctx.currentLockfile,
|
|
116846
116899
|
defaultUpdateDepth: -1,
|
|
116847
116900
|
dryRun: true,
|
|
@@ -116872,7 +116925,7 @@ var require_getPeerDependencyIssues = __commonJS({
|
|
|
116872
116925
|
workspacePackages: (_e = opts.workspacePackages) !== null && _e !== void 0 ? _e : {}
|
|
116873
116926
|
});
|
|
116874
116927
|
await waitTillAllFetchingsFinish();
|
|
116875
|
-
return
|
|
116928
|
+
return peerDependencyIssuesByProjects;
|
|
116876
116929
|
}
|
|
116877
116930
|
exports2.getPeerDependencyIssues = getPeerDependencyIssues;
|
|
116878
116931
|
}
|
|
@@ -177062,69 +177115,6 @@ var require_renderParseable = __commonJS({
|
|
|
177062
177115
|
}
|
|
177063
177116
|
});
|
|
177064
177117
|
|
|
177065
|
-
// ../../node_modules/.pnpm/cli-columns@4.0.0/node_modules/cli-columns/index.js
|
|
177066
|
-
var require_cli_columns = __commonJS({
|
|
177067
|
-
"../../node_modules/.pnpm/cli-columns@4.0.0/node_modules/cli-columns/index.js"(exports2, module2) {
|
|
177068
|
-
"use strict";
|
|
177069
|
-
var stringWidth = require_string_width();
|
|
177070
|
-
var stripAnsi = require_strip_ansi();
|
|
177071
|
-
var concat = Array.prototype.concat;
|
|
177072
|
-
var defaults2 = {
|
|
177073
|
-
character: " ",
|
|
177074
|
-
newline: "\n",
|
|
177075
|
-
padding: 2,
|
|
177076
|
-
sort: true,
|
|
177077
|
-
width: 0
|
|
177078
|
-
};
|
|
177079
|
-
function byPlainText(a, b) {
|
|
177080
|
-
const plainA = stripAnsi(a);
|
|
177081
|
-
const plainB = stripAnsi(b);
|
|
177082
|
-
if (plainA === plainB) {
|
|
177083
|
-
return 0;
|
|
177084
|
-
}
|
|
177085
|
-
if (plainA > plainB) {
|
|
177086
|
-
return 1;
|
|
177087
|
-
}
|
|
177088
|
-
return -1;
|
|
177089
|
-
}
|
|
177090
|
-
function makeArray() {
|
|
177091
|
-
return [];
|
|
177092
|
-
}
|
|
177093
|
-
function makeList(count) {
|
|
177094
|
-
return Array.apply(null, Array(count));
|
|
177095
|
-
}
|
|
177096
|
-
function padCell(fullWidth, character, value) {
|
|
177097
|
-
const valueWidth = stringWidth(value);
|
|
177098
|
-
const filler = makeList(fullWidth - valueWidth + 1);
|
|
177099
|
-
return value + filler.join(character);
|
|
177100
|
-
}
|
|
177101
|
-
function toRows(rows, cell, i) {
|
|
177102
|
-
rows[i % rows.length].push(cell);
|
|
177103
|
-
return rows;
|
|
177104
|
-
}
|
|
177105
|
-
function toString(arr) {
|
|
177106
|
-
return arr.join("");
|
|
177107
|
-
}
|
|
177108
|
-
function columns(values2, options) {
|
|
177109
|
-
values2 = concat.apply([], values2);
|
|
177110
|
-
options = Object.assign({}, defaults2, options);
|
|
177111
|
-
let cells = values2.filter(Boolean).map(String);
|
|
177112
|
-
if (options.sort !== false) {
|
|
177113
|
-
cells = cells.sort(byPlainText);
|
|
177114
|
-
}
|
|
177115
|
-
const termWidth = options.width || process.stdout.columns;
|
|
177116
|
-
const cellWidth = Math.max.apply(null, cells.map(stringWidth)) + options.padding;
|
|
177117
|
-
const columnCount = Math.floor(termWidth / cellWidth) || 1;
|
|
177118
|
-
const rowCount = Math.ceil(cells.length / columnCount) || 1;
|
|
177119
|
-
if (columnCount === 1) {
|
|
177120
|
-
return cells.join(options.newline);
|
|
177121
|
-
}
|
|
177122
|
-
return cells.map(padCell.bind(null, cellWidth, options.character)).reduce(toRows, makeList(rowCount).map(makeArray)).map(toString).join(options.newline);
|
|
177123
|
-
}
|
|
177124
|
-
module2.exports = columns;
|
|
177125
|
-
}
|
|
177126
|
-
});
|
|
177127
|
-
|
|
177128
177118
|
// ../list/lib/renderTree.js
|
|
177129
177119
|
var require_renderTree = __commonJS({
|
|
177130
177120
|
"../list/lib/renderTree.js"(exports2) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pnpm",
|
|
3
3
|
"description": "Fast, disk space efficient package manager",
|
|
4
|
-
"version": "6.24.0
|
|
4
|
+
"version": "6.24.0",
|
|
5
5
|
"bin": {
|
|
6
6
|
"pnpm": "bin/pnpm.cjs",
|
|
7
7
|
"pnpx": "bin/pnpx.cjs"
|
|
@@ -22,44 +22,44 @@
|
|
|
22
22
|
"@pnpm/assert-project": "workspace:*",
|
|
23
23
|
"@pnpm/byline": "^1.0.0",
|
|
24
24
|
"@pnpm/cli-meta": "workspace:2.0.0",
|
|
25
|
-
"@pnpm/cli-utils": "workspace:0.6.
|
|
26
|
-
"@pnpm/client": "workspace:6.0.
|
|
25
|
+
"@pnpm/cli-utils": "workspace:0.6.37",
|
|
26
|
+
"@pnpm/client": "workspace:6.0.9",
|
|
27
27
|
"@pnpm/command": "workspace:2.0.0",
|
|
28
|
-
"@pnpm/common-cli-options-help": "workspace:0.
|
|
29
|
-
"@pnpm/config": "workspace:13.
|
|
28
|
+
"@pnpm/common-cli-options-help": "workspace:0.8.0",
|
|
29
|
+
"@pnpm/config": "workspace:13.7.0",
|
|
30
30
|
"@pnpm/constants": "workspace:5.0.0",
|
|
31
|
-
"@pnpm/core-loggers": "workspace:6.0
|
|
32
|
-
"@pnpm/default-reporter": "workspace:8.
|
|
31
|
+
"@pnpm/core-loggers": "workspace:6.1.0",
|
|
32
|
+
"@pnpm/default-reporter": "workspace:8.5.0",
|
|
33
33
|
"@pnpm/file-reporter": "workspace:2.0.0",
|
|
34
|
-
"@pnpm/filter-workspace-packages": "workspace:4.4.
|
|
34
|
+
"@pnpm/filter-workspace-packages": "workspace:4.4.9",
|
|
35
35
|
"@pnpm/find-workspace-dir": "workspace:3.0.1",
|
|
36
|
-
"@pnpm/find-workspace-packages": "workspace:3.1.
|
|
37
|
-
"@pnpm/lockfile-types": "workspace:3.1.
|
|
36
|
+
"@pnpm/find-workspace-packages": "workspace:3.1.29",
|
|
37
|
+
"@pnpm/lockfile-types": "workspace:3.1.2",
|
|
38
38
|
"@pnpm/logger": "^4.0.0",
|
|
39
|
-
"@pnpm/modules-yaml": "workspace:9.0.
|
|
39
|
+
"@pnpm/modules-yaml": "workspace:9.0.7",
|
|
40
40
|
"@pnpm/nopt": "^0.2.1",
|
|
41
41
|
"@pnpm/parse-cli-args": "workspace:4.3.0",
|
|
42
|
-
"@pnpm/pick-registry-for-package": "workspace:2.0.
|
|
43
|
-
"@pnpm/plugin-commands-audit": "workspace:5.1.
|
|
44
|
-
"@pnpm/plugin-commands-env": "workspace:1.
|
|
45
|
-
"@pnpm/plugin-commands-installation": "workspace:8.0.
|
|
46
|
-
"@pnpm/plugin-commands-listing": "workspace:4.0.
|
|
47
|
-
"@pnpm/plugin-commands-outdated": "workspace:5.0.
|
|
48
|
-
"@pnpm/plugin-commands-publishing": "workspace:4.2.
|
|
49
|
-
"@pnpm/plugin-commands-rebuild": "workspace:5.3.
|
|
50
|
-
"@pnpm/plugin-commands-script-runners": "workspace:4.5.
|
|
51
|
-
"@pnpm/plugin-commands-server": "workspace:3.0.
|
|
52
|
-
"@pnpm/plugin-commands-setup": "workspace:1.1.
|
|
53
|
-
"@pnpm/plugin-commands-store": "workspace:4.0.
|
|
54
|
-
"@pnpm/prepare": "workspace:0.0.
|
|
55
|
-
"@pnpm/read-package-json": "workspace:5.0.
|
|
56
|
-
"@pnpm/read-project-manifest": "workspace:2.0.
|
|
42
|
+
"@pnpm/pick-registry-for-package": "workspace:2.0.7",
|
|
43
|
+
"@pnpm/plugin-commands-audit": "workspace:5.1.27",
|
|
44
|
+
"@pnpm/plugin-commands-env": "workspace:1.3.0",
|
|
45
|
+
"@pnpm/plugin-commands-installation": "workspace:8.0.3",
|
|
46
|
+
"@pnpm/plugin-commands-listing": "workspace:4.0.28",
|
|
47
|
+
"@pnpm/plugin-commands-outdated": "workspace:5.0.37",
|
|
48
|
+
"@pnpm/plugin-commands-publishing": "workspace:4.2.34",
|
|
49
|
+
"@pnpm/plugin-commands-rebuild": "workspace:5.3.6",
|
|
50
|
+
"@pnpm/plugin-commands-script-runners": "workspace:4.5.6",
|
|
51
|
+
"@pnpm/plugin-commands-server": "workspace:3.0.54",
|
|
52
|
+
"@pnpm/plugin-commands-setup": "workspace:1.1.22",
|
|
53
|
+
"@pnpm/plugin-commands-store": "workspace:4.0.38",
|
|
54
|
+
"@pnpm/prepare": "workspace:0.0.29",
|
|
55
|
+
"@pnpm/read-package-json": "workspace:5.0.7",
|
|
56
|
+
"@pnpm/read-project-manifest": "workspace:2.0.8",
|
|
57
57
|
"@pnpm/run-npm": "workspace:3.1.0",
|
|
58
58
|
"@pnpm/store-path": "^5.0.0",
|
|
59
59
|
"@pnpm/tabtab": "^0.1.2",
|
|
60
60
|
"@pnpm/ts-execution-runtime": "workspace:1.0.0",
|
|
61
|
-
"@pnpm/types": "workspace:7.
|
|
62
|
-
"@pnpm/write-project-manifest": "workspace:2.0.
|
|
61
|
+
"@pnpm/types": "workspace:7.7.0",
|
|
62
|
+
"@pnpm/write-project-manifest": "workspace:2.0.7",
|
|
63
63
|
"@types/cross-spawn": "^6.0.2",
|
|
64
64
|
"@types/is-ci": "^3.0.0",
|
|
65
65
|
"@types/is-windows": "^1.0.0",
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"p-defer": "^3.0.0",
|
|
93
93
|
"path-exists": "^4.0.0",
|
|
94
94
|
"path-name": "^1.0.0",
|
|
95
|
-
"pkgs-graph": "workspace:6.1.
|
|
95
|
+
"pkgs-graph": "workspace:6.1.3",
|
|
96
96
|
"ps-list": "^7.2.0",
|
|
97
97
|
"ramda": "^0.27.1",
|
|
98
98
|
"read-yaml-file": "^2.1.0",
|