pnpm 6.24.0 → 6.24.4
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 +915 -808
- package/dist/pnpx.cjs +14 -13
- package/package.json +30 -30
package/dist/pnpm.cjs
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
var __create = Object.create;
|
|
2
3
|
var __defProp = Object.defineProperty;
|
|
3
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -6,18 +7,18 @@ var __getProtoOf = Object.getPrototypeOf;
|
|
|
6
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
8
|
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
|
8
9
|
var __commonJS = (cb, mod) => function __require() {
|
|
9
|
-
return mod || (0, cb[
|
|
10
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
10
11
|
};
|
|
11
|
-
var __reExport = (target, module2, desc) => {
|
|
12
|
+
var __reExport = (target, module2, copyDefault, desc) => {
|
|
12
13
|
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
|
13
14
|
for (let key of __getOwnPropNames(module2))
|
|
14
|
-
if (!__hasOwnProp.call(target, key) && key !== "default")
|
|
15
|
+
if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
|
|
15
16
|
__defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
|
|
16
17
|
}
|
|
17
18
|
return target;
|
|
18
19
|
};
|
|
19
|
-
var
|
|
20
|
-
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default",
|
|
20
|
+
var __toESM = (module2, isNodeMode) => {
|
|
21
|
+
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
|
|
21
22
|
};
|
|
22
23
|
|
|
23
24
|
// ../../node_modules/.pnpm/graceful-fs@4.2.8/node_modules/graceful-fs/polyfills.js
|
|
@@ -2334,7 +2335,7 @@ var require_ansi_styles = __commonJS({
|
|
|
2334
2335
|
return `[${38 + offset};2;${rgb[0]};${rgb[1]};${rgb[2]}m`;
|
|
2335
2336
|
};
|
|
2336
2337
|
function assembleStyles() {
|
|
2337
|
-
const codes = new Map();
|
|
2338
|
+
const codes = /* @__PURE__ */ new Map();
|
|
2338
2339
|
const styles = {
|
|
2339
2340
|
modifier: {
|
|
2340
2341
|
reset: [0, 0],
|
|
@@ -2573,7 +2574,7 @@ var require_templates = __commonJS({
|
|
|
2573
2574
|
var STYLE_REGEX = /(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;
|
|
2574
2575
|
var STRING_REGEX = /^(['"])((?:\\.|(?!\1)[^\\])*)\1$/;
|
|
2575
2576
|
var ESCAPE_REGEX = /\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi;
|
|
2576
|
-
var ESCAPES = new Map([
|
|
2577
|
+
var ESCAPES = /* @__PURE__ */ new Map([
|
|
2577
2578
|
["n", "\n"],
|
|
2578
2579
|
["r", "\r"],
|
|
2579
2580
|
["t", " "],
|
|
@@ -2686,7 +2687,7 @@ var require_chalk = __commonJS({
|
|
|
2686
2687
|
var template = require_templates();
|
|
2687
2688
|
var isSimpleWindowsTerm = process.platform === "win32" && !(process.env.TERM || "").toLowerCase().startsWith("xterm");
|
|
2688
2689
|
var levelMapping = ["ansi", "ansi", "ansi256", "ansi16m"];
|
|
2689
|
-
var skipModels = new Set(["gray"]);
|
|
2690
|
+
var skipModels = /* @__PURE__ */ new Set(["gray"]);
|
|
2690
2691
|
var styles = Object.create(null);
|
|
2691
2692
|
function applyOptions(obj, options) {
|
|
2692
2693
|
options = options || {};
|
|
@@ -2856,7 +2857,7 @@ var require_lib2 = __commonJS({
|
|
|
2856
2857
|
var _jsTokens = require_js_tokens();
|
|
2857
2858
|
var _helperValidatorIdentifier = require_lib();
|
|
2858
2859
|
var _chalk = require_chalk();
|
|
2859
|
-
var sometimesKeywords = new Set(["as", "async", "from", "get", "of", "set"]);
|
|
2860
|
+
var sometimesKeywords = /* @__PURE__ */ new Set(["as", "async", "from", "get", "of", "set"]);
|
|
2860
2861
|
function getDefs(chalk) {
|
|
2861
2862
|
return {
|
|
2862
2863
|
keyword: chalk.cyan,
|
|
@@ -3167,7 +3168,7 @@ var require_lib4 = __commonJS({
|
|
|
3167
3168
|
var load_json_file_1 = __importDefault(require_load_json_file());
|
|
3168
3169
|
var defaultManifest = {
|
|
3169
3170
|
name: "pnpm" != null && true ? "pnpm" : "pnpm",
|
|
3170
|
-
version: "6.24.
|
|
3171
|
+
version: "6.24.4" != null && true ? "6.24.4" : "0.0.0"
|
|
3171
3172
|
};
|
|
3172
3173
|
var pkgJson;
|
|
3173
3174
|
if (require.main == null) {
|
|
@@ -3323,7 +3324,7 @@ var require_ansi_colors = __commonJS({
|
|
|
3323
3324
|
let nl = str.includes("\n");
|
|
3324
3325
|
let n = stack2.length;
|
|
3325
3326
|
if (n > 0 && stack2.includes("unstyle")) {
|
|
3326
|
-
stack2 = [
|
|
3327
|
+
stack2 = [.../* @__PURE__ */ new Set(["unstyle", ...stack2])].reverse();
|
|
3327
3328
|
}
|
|
3328
3329
|
while (n-- > 0)
|
|
3329
3330
|
str = wrap(colors.styles[stack2[n]], str, nl);
|
|
@@ -4018,7 +4019,7 @@ var require_state = __commonJS({
|
|
|
4018
4019
|
this.message = this.message || this.name;
|
|
4019
4020
|
this.symbols = prompt.symbols;
|
|
4020
4021
|
this.styles = prompt.styles;
|
|
4021
|
-
this.required = new Set();
|
|
4022
|
+
this.required = /* @__PURE__ */ new Set();
|
|
4022
4023
|
this.cancelled = false;
|
|
4023
4024
|
this.submitted = false;
|
|
4024
4025
|
}
|
|
@@ -6811,7 +6812,7 @@ var require_interpolate = __commonJS({
|
|
|
6811
6812
|
}
|
|
6812
6813
|
};
|
|
6813
6814
|
var tokenize = async (options = {}, defaults2 = {}, fn2 = (token) => token) => {
|
|
6814
|
-
let unique = new Set();
|
|
6815
|
+
let unique = /* @__PURE__ */ new Set();
|
|
6815
6816
|
let fields = options.fields || [];
|
|
6816
6817
|
let input = options.template;
|
|
6817
6818
|
let tabstops = [];
|
|
@@ -7029,8 +7030,8 @@ var require_snippet = __commonJS({
|
|
|
7029
7030
|
}
|
|
7030
7031
|
async reset(first2) {
|
|
7031
7032
|
this.state.keys = [];
|
|
7032
|
-
this.state.invalid = new Map();
|
|
7033
|
-
this.state.missing = new Set();
|
|
7033
|
+
this.state.invalid = /* @__PURE__ */ new Map();
|
|
7034
|
+
this.state.missing = /* @__PURE__ */ new Set();
|
|
7034
7035
|
this.state.completed = 0;
|
|
7035
7036
|
this.state.values = {};
|
|
7036
7037
|
if (first2 !== true) {
|
|
@@ -12931,7 +12932,7 @@ var require_lib9 = __commonJS({
|
|
|
12931
12932
|
}
|
|
12932
12933
|
return noWriteAccessDirs[0];
|
|
12933
12934
|
}
|
|
12934
|
-
var NODE_RELATED_COMMANDS = new Set(["pnpm", "npm", "node"]);
|
|
12935
|
+
var NODE_RELATED_COMMANDS = /* @__PURE__ */ new Set(["pnpm", "npm", "node"]);
|
|
12935
12936
|
function dirHasNodeRelatedCommand(dir) {
|
|
12936
12937
|
try {
|
|
12937
12938
|
return fs_1.default.readdirSync(dir, { withFileTypes: true }).filter((entry) => !entry.isDirectory()).map(({ name }) => name.toLowerCase()).some((file) => NODE_RELATED_COMMANDS.has(file.split(".")[0]));
|
|
@@ -14352,7 +14353,7 @@ var require_ansi_styles2 = __commonJS({
|
|
|
14352
14353
|
return styles;
|
|
14353
14354
|
};
|
|
14354
14355
|
function assembleStyles() {
|
|
14355
|
-
const codes = new Map();
|
|
14356
|
+
const codes = /* @__PURE__ */ new Map();
|
|
14356
14357
|
const styles = {
|
|
14357
14358
|
modifier: {
|
|
14358
14359
|
reset: [0, 0],
|
|
@@ -14602,7 +14603,7 @@ var require_templates2 = __commonJS({
|
|
|
14602
14603
|
var STYLE_REGEX = /(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;
|
|
14603
14604
|
var STRING_REGEX = /^(['"])((?:\\.|(?!\1)[^\\])*)\1$/;
|
|
14604
14605
|
var ESCAPE_REGEX = /\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi;
|
|
14605
|
-
var ESCAPES = new Map([
|
|
14606
|
+
var ESCAPES = /* @__PURE__ */ new Map([
|
|
14606
14607
|
["n", "\n"],
|
|
14607
14608
|
["r", "\r"],
|
|
14608
14609
|
["t", " "],
|
|
@@ -19438,7 +19439,7 @@ var require_detect_indent = __commonJS({
|
|
|
19438
19439
|
var INDENT_TYPE_SPACE = "space";
|
|
19439
19440
|
var INDENT_TYPE_TAB = "tab";
|
|
19440
19441
|
function makeIndentsMap(string, ignoreSingleSpaces) {
|
|
19441
|
-
const indents = new Map();
|
|
19442
|
+
const indents = /* @__PURE__ */ new Map();
|
|
19442
19443
|
let previousSize = 0;
|
|
19443
19444
|
let previousIndentType;
|
|
19444
19445
|
let key;
|
|
@@ -19927,7 +19928,7 @@ in ${filePath}`;
|
|
|
19927
19928
|
return Promise.resolve(void 0);
|
|
19928
19929
|
};
|
|
19929
19930
|
}
|
|
19930
|
-
var dependencyKeys = new Set([
|
|
19931
|
+
var dependencyKeys = /* @__PURE__ */ new Set([
|
|
19931
19932
|
"dependencies",
|
|
19932
19933
|
"devDependencies",
|
|
19933
19934
|
"optionalDependencies",
|
|
@@ -28385,7 +28386,7 @@ var require_distinct = __commonJS({
|
|
|
28385
28386
|
var noop_1 = require_noop();
|
|
28386
28387
|
function distinct(keySelector, flushes) {
|
|
28387
28388
|
return lift_1.operate(function(source, subscriber) {
|
|
28388
|
-
var distinctKeys = new Set();
|
|
28389
|
+
var distinctKeys = /* @__PURE__ */ new Set();
|
|
28389
28390
|
source.subscribe(new OperatorSubscriber_1.OperatorSubscriber(subscriber, function(value) {
|
|
28390
28391
|
var key = keySelector ? keySelector(value) : value;
|
|
28391
28392
|
if (!distinctKeys.has(key)) {
|
|
@@ -28820,7 +28821,7 @@ var require_groupBy = __commonJS({
|
|
|
28820
28821
|
} else {
|
|
28821
28822
|
duration = elementOrOptions.duration, element = elementOrOptions.element, connector = elementOrOptions.connector;
|
|
28822
28823
|
}
|
|
28823
|
-
var groups = new Map();
|
|
28824
|
+
var groups = /* @__PURE__ */ new Map();
|
|
28824
28825
|
var notify = function(cb) {
|
|
28825
28826
|
groups.forEach(cb);
|
|
28826
28827
|
cb(subscriber);
|
|
@@ -33377,7 +33378,7 @@ var require_reportLifecycleScripts = __commonJS({
|
|
|
33377
33378
|
var ANSI_ESCAPES_LENGTH_OF_PREFIX = (0, outputConstants_1.hlValue)(" ").length - 1;
|
|
33378
33379
|
function createStreamLifecycleOutput(cwd) {
|
|
33379
33380
|
currentColor = 0;
|
|
33380
|
-
const colorByPrefix = new Map();
|
|
33381
|
+
const colorByPrefix = /* @__PURE__ */ new Map();
|
|
33381
33382
|
return streamLifecycleOutput.bind(null, colorByPrefix, cwd);
|
|
33382
33383
|
}
|
|
33383
33384
|
function streamLifecycleOutput(colorByPkg, cwd, logObj) {
|
|
@@ -33611,8 +33612,11 @@ var require_lib17 = __commonJS({
|
|
|
33611
33612
|
}
|
|
33612
33613
|
}
|
|
33613
33614
|
for (const [peerName, issues] of Object.entries(bad)) {
|
|
33614
|
-
for (const
|
|
33615
|
-
createTree(projects[projectId], parents,
|
|
33615
|
+
for (const issue of issues) {
|
|
33616
|
+
createTree(projects[projectId], issue.parents, formatUnmetPeerMessage({
|
|
33617
|
+
peerName,
|
|
33618
|
+
...issue
|
|
33619
|
+
}));
|
|
33616
33620
|
}
|
|
33617
33621
|
}
|
|
33618
33622
|
}
|
|
@@ -33621,23 +33625,34 @@ var require_lib17 = __commonJS({
|
|
|
33621
33625
|
width: ((_a = opts === null || opts === void 0 ? void 0 : opts.width) !== null && _a !== void 0 ? _a : process.stdout.columns) - 2
|
|
33622
33626
|
};
|
|
33623
33627
|
return Object.entries(projects).filter(([, project]) => Object.keys(project.dependencies).length > 0).sort(([projectKey1], [projectKey2]) => projectKey1.localeCompare(projectKey2)).map(([projectKey, project]) => {
|
|
33624
|
-
|
|
33628
|
+
const summaries = [];
|
|
33625
33629
|
const { conflicts, intersections } = peerDependencyIssuesByProjects[projectKey];
|
|
33626
33630
|
if (conflicts.length) {
|
|
33627
|
-
|
|
33628
|
-
${(0, cli_columns_1.default)(conflicts, cliColumnsOptions)}`);
|
|
33631
|
+
summaries.push(chalk_1.default.red(`\u2715 Conflicting peer dependencies:
|
|
33632
|
+
${(0, cli_columns_1.default)(conflicts, cliColumnsOptions)}`));
|
|
33629
33633
|
}
|
|
33630
33634
|
if (Object.keys(intersections).length) {
|
|
33631
|
-
|
|
33632
|
-
${(0, cli_columns_1.default)(Object.entries(intersections).map(([name, version]) => formatNameAndRange(name, version)), cliColumnsOptions)}
|
|
33635
|
+
summaries.push(`Peer dependencies that should be installed:
|
|
33636
|
+
${(0, cli_columns_1.default)(Object.entries(intersections).map(([name, version]) => formatNameAndRange(name, version)), cliColumnsOptions)}`);
|
|
33633
33637
|
}
|
|
33634
33638
|
const title = chalk_1.default.white(projectKey);
|
|
33635
|
-
|
|
33636
|
-
|
|
33639
|
+
let summariesConcatenated = summaries.join("\n");
|
|
33640
|
+
if (summariesConcatenated) {
|
|
33641
|
+
summariesConcatenated += "\n";
|
|
33642
|
+
}
|
|
33643
|
+
return `${(0, archy_1.default)(toArchyData(title, project))}${summariesConcatenated}`;
|
|
33644
|
+
}).join("\n");
|
|
33637
33645
|
}
|
|
33638
33646
|
exports2.default = default_1;
|
|
33647
|
+
function formatUnmetPeerMessage({ foundVersion, peerName, wantedRange, resolvedFrom }) {
|
|
33648
|
+
const nameAndRange = formatNameAndRange(peerName, wantedRange);
|
|
33649
|
+
if (resolvedFrom && resolvedFrom.length > 0) {
|
|
33650
|
+
return `\u2715 unmet peer ${nameAndRange}: found ${foundVersion} in ${resolvedFrom[resolvedFrom.length - 1].name}`;
|
|
33651
|
+
}
|
|
33652
|
+
return `${chalk_1.default.yellowBright("\u2715 unmet peer")} ${nameAndRange}: found ${foundVersion}`;
|
|
33653
|
+
}
|
|
33639
33654
|
function formatNameAndRange(name, range) {
|
|
33640
|
-
if (range.includes(" ")) {
|
|
33655
|
+
if (range.includes(" ") || range === "*") {
|
|
33641
33656
|
return `${name}@"${range}"`;
|
|
33642
33657
|
}
|
|
33643
33658
|
return `${name}@${range}`;
|
|
@@ -34387,7 +34402,7 @@ var require_array_set = __commonJS({
|
|
|
34387
34402
|
var hasNativeMap = typeof Map !== "undefined";
|
|
34388
34403
|
function ArraySet() {
|
|
34389
34404
|
this._array = [];
|
|
34390
|
-
this._set = hasNativeMap ? new Map() : Object.create(null);
|
|
34405
|
+
this._set = hasNativeMap ? /* @__PURE__ */ new Map() : Object.create(null);
|
|
34391
34406
|
}
|
|
34392
34407
|
ArraySet.fromArray = function ArraySet_fromArray(aArray, aAllowDuplicates) {
|
|
34393
34408
|
var set = new ArraySet();
|
|
@@ -37020,7 +37035,7 @@ var require_reportScope = __commonJS({
|
|
|
37020
37035
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
37021
37036
|
var Rx = __importStar2(require_cjs());
|
|
37022
37037
|
var operators_1 = require_operators();
|
|
37023
|
-
var COMMANDS_THAT_REPORT_SCOPE = new Set([
|
|
37038
|
+
var COMMANDS_THAT_REPORT_SCOPE = /* @__PURE__ */ new Set([
|
|
37024
37039
|
"install",
|
|
37025
37040
|
"link",
|
|
37026
37041
|
"prune",
|
|
@@ -38538,7 +38553,7 @@ var require_lru_cache = __commonJS({
|
|
|
38538
38553
|
if (this[DISPOSE] && this[LRU_LIST] && this[LRU_LIST].length) {
|
|
38539
38554
|
this[LRU_LIST].forEach((hit) => this[DISPOSE](hit.key, hit.value));
|
|
38540
38555
|
}
|
|
38541
|
-
this[CACHE] = new Map();
|
|
38556
|
+
this[CACHE] = /* @__PURE__ */ new Map();
|
|
38542
38557
|
this[LRU_LIST] = new Yallist();
|
|
38543
38558
|
this[LENGTH] = 0;
|
|
38544
38559
|
}
|
|
@@ -38769,7 +38784,7 @@ var require_range2 = __commonJS({
|
|
|
38769
38784
|
const compRe = loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR];
|
|
38770
38785
|
const rangeList = range.split(" ").map((comp) => parseComparator(comp, this.options)).join(" ").split(/\s+/).map((comp) => replaceGTE0(comp, this.options)).filter(this.options.loose ? (comp) => !!comp.match(compRe) : () => true).map((comp) => new Comparator(comp, this.options));
|
|
38771
38786
|
const l = rangeList.length;
|
|
38772
|
-
const rangeMap = new Map();
|
|
38787
|
+
const rangeMap = /* @__PURE__ */ new Map();
|
|
38773
38788
|
for (const comp of rangeList) {
|
|
38774
38789
|
if (isNullSet(comp))
|
|
38775
38790
|
return [comp];
|
|
@@ -39488,7 +39503,7 @@ var require_subset = __commonJS({
|
|
|
39488
39503
|
else
|
|
39489
39504
|
dom = [new Comparator(">=0.0.0")];
|
|
39490
39505
|
}
|
|
39491
|
-
const eqSet = new Set();
|
|
39506
|
+
const eqSet = /* @__PURE__ */ new Set();
|
|
39492
39507
|
let gt, lt;
|
|
39493
39508
|
for (const c of sub) {
|
|
39494
39509
|
if (c.operator === ">" || c.operator === ">=")
|
|
@@ -39745,7 +39760,7 @@ var require_Set = __commonJS({
|
|
|
39745
39760
|
var _includes = require_includes();
|
|
39746
39761
|
var _Set = /* @__PURE__ */ function() {
|
|
39747
39762
|
function _Set2() {
|
|
39748
|
-
this._nativeSet = typeof Set === "function" ? new Set() : null;
|
|
39763
|
+
this._nativeSet = typeof Set === "function" ? /* @__PURE__ */ new Set() : null;
|
|
39749
39764
|
this._items = {};
|
|
39750
39765
|
}
|
|
39751
39766
|
_Set2.prototype.add = function(item) {
|
|
@@ -39957,7 +39972,7 @@ var require_pkgsDiff = __commonJS({
|
|
|
39957
39972
|
const deprecationSet$ = log$.deprecation.pipe((0, operators_1.filter)((log2) => log2.prefix === opts.prefix), (0, operators_1.scan)((acc, log2) => {
|
|
39958
39973
|
acc.add(log2.pkgId);
|
|
39959
39974
|
return acc;
|
|
39960
|
-
}, new Set()), (0, operators_1.startWith)(new Set()));
|
|
39975
|
+
}, /* @__PURE__ */ new Set()), (0, operators_1.startWith)(/* @__PURE__ */ new Set()));
|
|
39961
39976
|
const filterPrefix = (0, operators_1.filter)((log2) => log2.prefix === opts.prefix);
|
|
39962
39977
|
const pkgsDiff$ = Rx.combineLatest(log$.root.pipe(filterPrefix), deprecationSet$).pipe((0, operators_1.scan)((pkgsDiff, args2) => {
|
|
39963
39978
|
const rootLog = args2[0];
|
|
@@ -40291,7 +40306,7 @@ var require_wrap_ansi = __commonJS({
|
|
|
40291
40306
|
var stringWidth = require_string_width();
|
|
40292
40307
|
var stripAnsi = require_strip_ansi();
|
|
40293
40308
|
var ansiStyles = require_ansi_styles2();
|
|
40294
|
-
var ESCAPES = new Set([
|
|
40309
|
+
var ESCAPES = /* @__PURE__ */ new Set([
|
|
40295
40310
|
"",
|
|
40296
40311
|
"\x9B"
|
|
40297
40312
|
]);
|
|
@@ -41375,9 +41390,9 @@ var require_dist2 = __commonJS({
|
|
|
41375
41390
|
"use strict";
|
|
41376
41391
|
var mimicFn = require_mimic_fn();
|
|
41377
41392
|
var mapAgeCleaner = require_dist();
|
|
41378
|
-
var decoratorInstanceMap = new WeakMap();
|
|
41379
|
-
var cacheStore = new WeakMap();
|
|
41380
|
-
var mem = (fn2, { cacheKey, cache = new Map(), maxAge } = {}) => {
|
|
41393
|
+
var decoratorInstanceMap = /* @__PURE__ */ new WeakMap();
|
|
41394
|
+
var cacheStore = /* @__PURE__ */ new WeakMap();
|
|
41395
|
+
var mem = (fn2, { cacheKey, cache = /* @__PURE__ */ new Map(), maxAge } = {}) => {
|
|
41381
41396
|
if (typeof maxAge === "number") {
|
|
41382
41397
|
mapAgeCleaner(cache);
|
|
41383
41398
|
}
|
|
@@ -41873,7 +41888,7 @@ var require_onetime = __commonJS({
|
|
|
41873
41888
|
"../../node_modules/.pnpm/onetime@5.1.2/node_modules/onetime/index.js"(exports2, module2) {
|
|
41874
41889
|
"use strict";
|
|
41875
41890
|
var mimicFn = require_mimic_fn2();
|
|
41876
|
-
var calledFunctions = new WeakMap();
|
|
41891
|
+
var calledFunctions = /* @__PURE__ */ new WeakMap();
|
|
41877
41892
|
var onetime = (function_, options = {}) => {
|
|
41878
41893
|
if (typeof function_ !== "function") {
|
|
41879
41894
|
throw new TypeError("Expected a function");
|
|
@@ -43065,7 +43080,7 @@ var require_lib19 = __commonJS({
|
|
|
43065
43080
|
var which_1 = __importDefault(require_which2());
|
|
43066
43081
|
var execa_1 = __importDefault(require_execa());
|
|
43067
43082
|
var path_name_1 = __importDefault(require_path_name());
|
|
43068
|
-
var pathCache = new Map();
|
|
43083
|
+
var pathCache = /* @__PURE__ */ new Map();
|
|
43069
43084
|
function sync(file, args2, options) {
|
|
43070
43085
|
const fileAbsolutePath = getCommandAbsolutePathSync(file, options);
|
|
43071
43086
|
return execa_1.default.sync(fileAbsolutePath, args2, options);
|
|
@@ -44157,7 +44172,7 @@ var require_to_regex_range = __commonJS({
|
|
|
44157
44172
|
let nines = 1;
|
|
44158
44173
|
let zeros = 1;
|
|
44159
44174
|
let stop = countNines(min, nines);
|
|
44160
|
-
let stops = new Set([max]);
|
|
44175
|
+
let stops = /* @__PURE__ */ new Set([max]);
|
|
44161
44176
|
while (min <= stop && stop <= max) {
|
|
44162
44177
|
stops.add(stop);
|
|
44163
44178
|
nines += 1;
|
|
@@ -46463,9 +46478,9 @@ var require_micromatch = __commonJS({
|
|
|
46463
46478
|
var micromatch = (list, patterns, options) => {
|
|
46464
46479
|
patterns = [].concat(patterns);
|
|
46465
46480
|
list = [].concat(list);
|
|
46466
|
-
let omit = new Set();
|
|
46467
|
-
let keep = new Set();
|
|
46468
|
-
let items = new Set();
|
|
46481
|
+
let omit = /* @__PURE__ */ new Set();
|
|
46482
|
+
let keep = /* @__PURE__ */ new Set();
|
|
46483
|
+
let items = /* @__PURE__ */ new Set();
|
|
46469
46484
|
let negatives = 0;
|
|
46470
46485
|
let onResult = (state) => {
|
|
46471
46486
|
items.add(state.output);
|
|
@@ -46509,7 +46524,7 @@ var require_micromatch = __commonJS({
|
|
|
46509
46524
|
micromatch.any = micromatch.isMatch;
|
|
46510
46525
|
micromatch.not = (list, patterns, options = {}) => {
|
|
46511
46526
|
patterns = [].concat(patterns).map(String);
|
|
46512
|
-
let result2 = new Set();
|
|
46527
|
+
let result2 = /* @__PURE__ */ new Set();
|
|
46513
46528
|
let items = [];
|
|
46514
46529
|
let onResult = (state) => {
|
|
46515
46530
|
if (options.onResult)
|
|
@@ -48050,7 +48065,7 @@ var require_sync3 = __commonJS({
|
|
|
48050
48065
|
super(...arguments);
|
|
48051
48066
|
this._scandir = fsScandir.scandirSync;
|
|
48052
48067
|
this._storage = [];
|
|
48053
|
-
this._queue = new Set();
|
|
48068
|
+
this._queue = /* @__PURE__ */ new Set();
|
|
48054
48069
|
}
|
|
48055
48070
|
read() {
|
|
48056
48071
|
this._pushToQueue(this._root, this._settings.basePath);
|
|
@@ -48453,7 +48468,7 @@ var require_entry = __commonJS({
|
|
|
48453
48468
|
constructor(_settings, _micromatchOptions) {
|
|
48454
48469
|
this._settings = _settings;
|
|
48455
48470
|
this._micromatchOptions = _micromatchOptions;
|
|
48456
|
-
this.index = new Map();
|
|
48471
|
+
this.index = /* @__PURE__ */ new Map();
|
|
48457
48472
|
}
|
|
48458
48473
|
getFilter(positive, negative) {
|
|
48459
48474
|
const positiveRe = utils.pattern.convertPatternsToRe(positive, this._micromatchOptions);
|
|
@@ -51088,7 +51103,7 @@ var require_getChangedPackages = __commonJS({
|
|
|
51088
51103
|
var _a, _b, _c;
|
|
51089
51104
|
const repoRoot = path_1.default.resolve((_a = await (0, find_up_1.default)(".git", { cwd: opts.workspaceDir, type: "directory" })) !== null && _a !== void 0 ? _a : opts.workspaceDir, "..");
|
|
51090
51105
|
const changedDirs = (await getChangedDirsSinceCommit(commit, opts.workspaceDir, (_b = opts.testPattern) !== null && _b !== void 0 ? _b : [], (_c = opts.changedFilesIgnorePattern) !== null && _c !== void 0 ? _c : [])).map((changedDir) => ({ ...changedDir, dir: path_1.default.join(repoRoot, changedDir.dir) }));
|
|
51091
|
-
const pkgChangeTypes = new Map();
|
|
51106
|
+
const pkgChangeTypes = /* @__PURE__ */ new Map();
|
|
51092
51107
|
for (const pkgDir of packageDirs) {
|
|
51093
51108
|
pkgChangeTypes.set(pkgDir, void 0);
|
|
51094
51109
|
}
|
|
@@ -51132,7 +51147,7 @@ var require_getChangedPackages = __commonJS({
|
|
|
51132
51147
|
} catch (err) {
|
|
51133
51148
|
throw new error_1.default("FILTER_CHANGED", `Filtering by changed packages failed. ${err.stderr}`);
|
|
51134
51149
|
}
|
|
51135
|
-
const changedDirs = new Map();
|
|
51150
|
+
const changedDirs = /* @__PURE__ */ new Map();
|
|
51136
51151
|
if (!diff) {
|
|
51137
51152
|
return [];
|
|
51138
51153
|
}
|
|
@@ -51338,9 +51353,9 @@ var require_lib29 = __commonJS({
|
|
|
51338
51353
|
async function _filterGraph(pkgGraph, opts, packageSelectors) {
|
|
51339
51354
|
var _a;
|
|
51340
51355
|
const cherryPickedPackages = [];
|
|
51341
|
-
const walkedDependencies = new Set();
|
|
51342
|
-
const walkedDependents = new Set();
|
|
51343
|
-
const walkedDependentsDependencies = new Set();
|
|
51356
|
+
const walkedDependencies = /* @__PURE__ */ new Set();
|
|
51357
|
+
const walkedDependents = /* @__PURE__ */ new Set();
|
|
51358
|
+
const walkedDependentsDependencies = /* @__PURE__ */ new Set();
|
|
51344
51359
|
const graph = pkgGraphToGraph(pkgGraph);
|
|
51345
51360
|
const unmatchedFilters = [];
|
|
51346
51361
|
let reversedGraph;
|
|
@@ -51377,7 +51392,7 @@ var require_lib29 = __commonJS({
|
|
|
51377
51392
|
}
|
|
51378
51393
|
selectEntries(selector, entryPackages);
|
|
51379
51394
|
}
|
|
51380
|
-
const walked = new Set([...walkedDependencies, ...walkedDependents, ...walkedDependentsDependencies]);
|
|
51395
|
+
const walked = /* @__PURE__ */ new Set([...walkedDependencies, ...walkedDependents, ...walkedDependentsDependencies]);
|
|
51381
51396
|
cherryPickedPackages.forEach((cherryPickedPackage) => walked.add(cherryPickedPackage));
|
|
51382
51397
|
return {
|
|
51383
51398
|
selected: Array.from(walked),
|
|
@@ -51625,7 +51640,7 @@ var require_src2 = __commonJS({
|
|
|
51625
51640
|
var require_fetch_blob = __commonJS({
|
|
51626
51641
|
"../../node_modules/.pnpm/fetch-blob@2.1.2/node_modules/fetch-blob/index.js"(exports2, module2) {
|
|
51627
51642
|
var { Readable } = require("stream");
|
|
51628
|
-
var wm = new WeakMap();
|
|
51643
|
+
var wm = /* @__PURE__ */ new WeakMap();
|
|
51629
51644
|
async function* read(parts) {
|
|
51630
51645
|
for (const part of parts) {
|
|
51631
51646
|
if ("stream" in part) {
|
|
@@ -52174,7 +52189,7 @@ var require_dist3 = __commonJS({
|
|
|
52174
52189
|
}
|
|
52175
52190
|
}));
|
|
52176
52191
|
}
|
|
52177
|
-
var redirectStatus = new Set([301, 302, 303, 307, 308]);
|
|
52192
|
+
var redirectStatus = /* @__PURE__ */ new Set([301, 302, 303, 307, 308]);
|
|
52178
52193
|
var isRedirect = (code) => {
|
|
52179
52194
|
return redirectStatus.has(code);
|
|
52180
52195
|
};
|
|
@@ -52398,7 +52413,7 @@ var require_dist3 = __commonJS({
|
|
|
52398
52413
|
super(message2, type);
|
|
52399
52414
|
}
|
|
52400
52415
|
};
|
|
52401
|
-
var supportedSchemas = new Set(["data:", "http:", "https:"]);
|
|
52416
|
+
var supportedSchemas = /* @__PURE__ */ new Set(["data:", "http:", "https:"]);
|
|
52402
52417
|
async function fetch(url2, options_) {
|
|
52403
52418
|
return new Promise((resolve, reject2) => {
|
|
52404
52419
|
const request = new Request(url2, options_);
|
|
@@ -56480,7 +56495,7 @@ var require_cmd_shim = __commonJS({
|
|
|
56480
56495
|
createCmdFile: isWindows(),
|
|
56481
56496
|
fs: require("fs")
|
|
56482
56497
|
};
|
|
56483
|
-
var extensionToProgramMap = new Map([
|
|
56498
|
+
var extensionToProgramMap = /* @__PURE__ */ new Map([
|
|
56484
56499
|
[".js", "node"],
|
|
56485
56500
|
[".cjs", "node"],
|
|
56486
56501
|
[".mjs", "node"],
|
|
@@ -60203,7 +60218,7 @@ var require_validateConfig = __commonJS({
|
|
|
60203
60218
|
dataPath: (dataPath || "") + "",
|
|
60204
60219
|
schemaPath: "#/additionalProperties",
|
|
60205
60220
|
params: {
|
|
60206
|
-
additionalProperty: "" + key0
|
|
60221
|
+
additionalProperty: "" + key0
|
|
60207
60222
|
},
|
|
60208
60223
|
message: "should NOT have additional properties"
|
|
60209
60224
|
};
|
|
@@ -60505,7 +60520,7 @@ var require_validateConfig = __commonJS({
|
|
|
60505
60520
|
dataPath: (dataPath || "") + "",
|
|
60506
60521
|
schemaPath: "#/additionalProperties",
|
|
60507
60522
|
params: {
|
|
60508
|
-
additionalProperty: "" + key0
|
|
60523
|
+
additionalProperty: "" + key0
|
|
60509
60524
|
},
|
|
60510
60525
|
message: "should NOT have additional properties"
|
|
60511
60526
|
};
|
|
@@ -60580,7 +60595,7 @@ var require_validateConfig = __commonJS({
|
|
|
60580
60595
|
dataPath: (dataPath || "") + "",
|
|
60581
60596
|
schemaPath: "#/additionalProperties",
|
|
60582
60597
|
params: {
|
|
60583
|
-
additionalProperty: "" + key0
|
|
60598
|
+
additionalProperty: "" + key0
|
|
60584
60599
|
},
|
|
60585
60600
|
message: "should NOT have additional properties"
|
|
60586
60601
|
};
|
|
@@ -60801,7 +60816,7 @@ var require_validateConfig = __commonJS({
|
|
|
60801
60816
|
dataPath: (dataPath || "") + "",
|
|
60802
60817
|
schemaPath: "#/additionalProperties",
|
|
60803
60818
|
params: {
|
|
60804
|
-
additionalProperty: "" + key0
|
|
60819
|
+
additionalProperty: "" + key0
|
|
60805
60820
|
},
|
|
60806
60821
|
message: "should NOT have additional properties"
|
|
60807
60822
|
};
|
|
@@ -68628,7 +68643,7 @@ var require_writeFile = __commonJS({
|
|
|
68628
68643
|
var fs_1 = require("fs");
|
|
68629
68644
|
var path_1 = __importDefault(require("path"));
|
|
68630
68645
|
var graceful_fs_1 = __importDefault(require_lib14());
|
|
68631
|
-
var dirs = new Set();
|
|
68646
|
+
var dirs = /* @__PURE__ */ new Set();
|
|
68632
68647
|
async function default_1(fileDest, buffer, mode) {
|
|
68633
68648
|
await makeDirForFile(fileDest);
|
|
68634
68649
|
await graceful_fs_1.default.writeFile(fileDest, buffer, { mode });
|
|
@@ -68698,7 +68713,7 @@ var require_lib33 = __commonJS({
|
|
|
68698
68713
|
} });
|
|
68699
68714
|
var writeFile_1 = __importDefault(require_writeFile());
|
|
68700
68715
|
function createCafs(cafsDir, ignore) {
|
|
68701
|
-
const locker = new Map();
|
|
68716
|
+
const locker = /* @__PURE__ */ new Map();
|
|
68702
68717
|
const _writeBufferToCafs = writeBufferToCafs.bind(null, locker, cafsDir);
|
|
68703
68718
|
const addStream = addStreamToCafs.bind(null, _writeBufferToCafs);
|
|
68704
68719
|
const addBuffer = addBufferToCafs.bind(null, _writeBufferToCafs);
|
|
@@ -71675,7 +71690,7 @@ var require_packageRequester = __commonJS({
|
|
|
71675
71690
|
const fetchPackageToStore = fetchToStore.bind(null, {
|
|
71676
71691
|
checkFilesIntegrity: cafs_1.checkFilesIntegrity.bind(null, cafsDir),
|
|
71677
71692
|
fetch,
|
|
71678
|
-
fetchingLocker: new Map(),
|
|
71693
|
+
fetchingLocker: /* @__PURE__ */ new Map(),
|
|
71679
71694
|
getFilePathByModeInCafs: cafs_1.getFilePathByModeInCafs.bind(null, cafsDir),
|
|
71680
71695
|
getFilePathInCafs,
|
|
71681
71696
|
requestsQueue,
|
|
@@ -73555,7 +73570,7 @@ var require_importIndexedDir = __commonJS({
|
|
|
73555
73570
|
}
|
|
73556
73571
|
async function tryImportIndexedDir(importFile, newDir, filenames) {
|
|
73557
73572
|
await (0, make_empty_dir_1.default)(newDir, { recursive: true });
|
|
73558
|
-
const alldirs = new Set();
|
|
73573
|
+
const alldirs = /* @__PURE__ */ new Set();
|
|
73559
73574
|
Object.keys(filenames).forEach((f) => {
|
|
73560
73575
|
const dir = path_1.default.dirname(f);
|
|
73561
73576
|
if (dir === ".")
|
|
@@ -73569,7 +73584,7 @@ var require_importIndexedDir = __commonJS({
|
|
|
73569
73584
|
}));
|
|
73570
73585
|
}
|
|
73571
73586
|
function getUniqueFileMap(fileMap) {
|
|
73572
|
-
const lowercaseFiles = new Map();
|
|
73587
|
+
const lowercaseFiles = /* @__PURE__ */ new Map();
|
|
73573
73588
|
const conflictingFileNames = {};
|
|
73574
73589
|
const uniqueFileMap = {};
|
|
73575
73590
|
for (const filename of Object.keys(fileMap).sort()) {
|
|
@@ -73732,7 +73747,7 @@ var require_prune = __commonJS({
|
|
|
73732
73747
|
await (0, rimraf_1.default)(path_1.default.join(storeDir, "tmp"));
|
|
73733
73748
|
(0, logger_1.globalInfo)("Removed all cached metadata files");
|
|
73734
73749
|
const pkgIndexFiles = [];
|
|
73735
|
-
const removedHashes = new Set();
|
|
73750
|
+
const removedHashes = /* @__PURE__ */ new Set();
|
|
73736
73751
|
const dirs = (await fs_1.promises.readdir(cafsDir, { withFileTypes: true })).filter((entry) => entry.isDirectory()).map((dir) => dir.name);
|
|
73737
73752
|
let fileCounter = 0;
|
|
73738
73753
|
for (const dir of dirs) {
|
|
@@ -77799,14 +77814,14 @@ var require_lib41 = __commonJS({
|
|
|
77799
77814
|
var execa_1 = __importDefault(require_lib19());
|
|
77800
77815
|
var preferred_pm_1 = __importDefault(require_preferred_pm());
|
|
77801
77816
|
async function preparePackage(pkgDir) {
|
|
77802
|
-
var _a, _b, _c;
|
|
77817
|
+
var _a, _b, _c, _d;
|
|
77803
77818
|
const manifest = await (0, read_package_json_1.safeReadPackageFromDir)(pkgDir);
|
|
77804
77819
|
if (((_a = manifest === null || manifest === void 0 ? void 0 : manifest.scripts) === null || _a === void 0 ? void 0 : _a.prepare) != null && manifest.scripts.prepare !== "") {
|
|
77805
77820
|
const pm = (_c = (_b = await (0, preferred_pm_1.default)(pkgDir)) === null || _b === void 0 ? void 0 : _b.name) !== null && _c !== void 0 ? _c : "npm";
|
|
77806
77821
|
try {
|
|
77807
77822
|
await (0, execa_1.default)(pm, ["install"], { cwd: pkgDir });
|
|
77808
77823
|
} catch (err) {
|
|
77809
|
-
throw new error_1.default("PREPARE_PKG_FAILURE",
|
|
77824
|
+
throw new error_1.default("PREPARE_PKG_FAILURE", (_d = err.shortMessage) !== null && _d !== void 0 ? _d : err.message);
|
|
77810
77825
|
}
|
|
77811
77826
|
await (0, rimraf_1.default)(path_1.default.join(pkgDir, "node_modules"));
|
|
77812
77827
|
}
|
|
@@ -80141,7 +80156,7 @@ var require_adm_zip = __commonJS({
|
|
|
80141
80156
|
const getPath = (entry) => sanitize(targetPath, pth.normalize(canonical(entry.entryName.toString())));
|
|
80142
80157
|
const getError = (msg, file) => new Error(msg + ': "' + file + '"');
|
|
80143
80158
|
const dirEntries = [];
|
|
80144
|
-
const fileEntries = new Set();
|
|
80159
|
+
const fileEntries = /* @__PURE__ */ new Set();
|
|
80145
80160
|
_zip.entries.forEach((e) => {
|
|
80146
80161
|
if (e.isDirectory) {
|
|
80147
80162
|
dirEntries.push(e);
|
|
@@ -80378,9 +80393,9 @@ var require_dir_glob = __commonJS({
|
|
|
80378
80393
|
}
|
|
80379
80394
|
});
|
|
80380
80395
|
|
|
80381
|
-
// ../../node_modules/.pnpm/ignore@5.
|
|
80396
|
+
// ../../node_modules/.pnpm/ignore@5.2.0/node_modules/ignore/index.js
|
|
80382
80397
|
var require_ignore = __commonJS({
|
|
80383
|
-
"../../node_modules/.pnpm/ignore@5.
|
|
80398
|
+
"../../node_modules/.pnpm/ignore@5.2.0/node_modules/ignore/index.js"(exports2, module2) {
|
|
80384
80399
|
function makeArray(subject) {
|
|
80385
80400
|
return Array.isArray(subject) ? subject : [subject];
|
|
80386
80401
|
}
|
|
@@ -80396,6 +80411,7 @@ var require_ignore = __commonJS({
|
|
|
80396
80411
|
var KEY_IGNORE = typeof Symbol !== "undefined" ? Symbol.for("node-ignore") : "node-ignore";
|
|
80397
80412
|
var define2 = (object, key, value) => Object.defineProperty(object, key, { value });
|
|
80398
80413
|
var REGEX_REGEXP_RANGE = /([0-z])-([0-z])/g;
|
|
80414
|
+
var RETURN_FALSE = () => false;
|
|
80399
80415
|
var sanitizeRange = (range) => range.replace(REGEX_REGEXP_RANGE, (match, from, to) => from.charCodeAt(0) <= to.charCodeAt(0) ? match : EMPTY);
|
|
80400
80416
|
var cleanRangeBackSlash = (slashes) => {
|
|
80401
80417
|
const { length } = slashes;
|
|
@@ -80469,13 +80485,13 @@ var require_ignore = __commonJS({
|
|
|
80469
80485
|
]
|
|
80470
80486
|
];
|
|
80471
80487
|
var regexCache = Object.create(null);
|
|
80472
|
-
var makeRegex = (pattern,
|
|
80488
|
+
var makeRegex = (pattern, ignoreCase) => {
|
|
80473
80489
|
let source = regexCache[pattern];
|
|
80474
80490
|
if (!source) {
|
|
80475
80491
|
source = REPLACERS.reduce((prev, current) => prev.replace(current[0], current[1].bind(pattern)), pattern);
|
|
80476
80492
|
regexCache[pattern] = source;
|
|
80477
80493
|
}
|
|
80478
|
-
return
|
|
80494
|
+
return ignoreCase ? new RegExp(source, "i") : new RegExp(source);
|
|
80479
80495
|
};
|
|
80480
80496
|
var isString2 = (subject) => typeof subject === "string";
|
|
80481
80497
|
var checkPattern = (pattern) => pattern && isString2(pattern) && !REGEX_TEST_BLANK_LINE.test(pattern) && pattern.indexOf("#") !== 0;
|
|
@@ -80488,7 +80504,7 @@ var require_ignore = __commonJS({
|
|
|
80488
80504
|
this.regex = regex;
|
|
80489
80505
|
}
|
|
80490
80506
|
};
|
|
80491
|
-
var createRule = (pattern,
|
|
80507
|
+
var createRule = (pattern, ignoreCase) => {
|
|
80492
80508
|
const origin = pattern;
|
|
80493
80509
|
let negative = false;
|
|
80494
80510
|
if (pattern.indexOf("!") === 0) {
|
|
@@ -80496,7 +80512,7 @@ var require_ignore = __commonJS({
|
|
|
80496
80512
|
pattern = pattern.substr(1);
|
|
80497
80513
|
}
|
|
80498
80514
|
pattern = pattern.replace(REGEX_REPLACE_LEADING_EXCAPED_EXCLAMATION, "!").replace(REGEX_REPLACE_LEADING_EXCAPED_HASH, "#");
|
|
80499
|
-
const regex = makeRegex(pattern,
|
|
80515
|
+
const regex = makeRegex(pattern, ignoreCase);
|
|
80500
80516
|
return new IgnoreRule(origin, pattern, negative, regex);
|
|
80501
80517
|
};
|
|
80502
80518
|
var throwError = (message2, Ctor) => {
|
|
@@ -80520,11 +80536,14 @@ var require_ignore = __commonJS({
|
|
|
80520
80536
|
checkPath.convert = (p) => p;
|
|
80521
80537
|
var Ignore = class {
|
|
80522
80538
|
constructor({
|
|
80523
|
-
ignorecase = true
|
|
80539
|
+
ignorecase = true,
|
|
80540
|
+
ignoreCase = ignorecase,
|
|
80541
|
+
allowRelativePaths = false
|
|
80524
80542
|
} = {}) {
|
|
80525
80543
|
define2(this, KEY_IGNORE, true);
|
|
80526
80544
|
this._rules = [];
|
|
80527
|
-
this.
|
|
80545
|
+
this._ignoreCase = ignoreCase;
|
|
80546
|
+
this._allowRelativePaths = allowRelativePaths;
|
|
80528
80547
|
this._initCache();
|
|
80529
80548
|
}
|
|
80530
80549
|
_initCache() {
|
|
@@ -80538,7 +80557,7 @@ var require_ignore = __commonJS({
|
|
|
80538
80557
|
return;
|
|
80539
80558
|
}
|
|
80540
80559
|
if (checkPattern(pattern)) {
|
|
80541
|
-
const rule = createRule(pattern, this.
|
|
80560
|
+
const rule = createRule(pattern, this._ignoreCase);
|
|
80542
80561
|
this._added = true;
|
|
80543
80562
|
this._rules.push(rule);
|
|
80544
80563
|
}
|
|
@@ -80575,7 +80594,7 @@ var require_ignore = __commonJS({
|
|
|
80575
80594
|
}
|
|
80576
80595
|
_test(originalPath, cache, checkUnignored, slices) {
|
|
80577
80596
|
const path2 = originalPath && checkPath.convert(originalPath);
|
|
80578
|
-
checkPath(path2, originalPath, throwError);
|
|
80597
|
+
checkPath(path2, originalPath, this._allowRelativePaths ? RETURN_FALSE : throwError);
|
|
80579
80598
|
return this._t(path2, cache, checkUnignored, slices);
|
|
80580
80599
|
}
|
|
80581
80600
|
_t(path2, cache, checkUnignored, slices) {
|
|
@@ -80606,8 +80625,7 @@ var require_ignore = __commonJS({
|
|
|
80606
80625
|
}
|
|
80607
80626
|
};
|
|
80608
80627
|
var factory = (options) => new Ignore(options);
|
|
80609
|
-
var
|
|
80610
|
-
var isPathValid = (path2) => checkPath(path2 && checkPath.convert(path2), path2, returnFalse);
|
|
80628
|
+
var isPathValid = (path2) => checkPath(path2 && checkPath.convert(path2), path2, RETURN_FALSE);
|
|
80611
80629
|
factory.isPathValid = isPathValid;
|
|
80612
80630
|
factory.default = factory;
|
|
80613
80631
|
module2.exports = factory;
|
|
@@ -80759,7 +80777,7 @@ var require_stream_utils = __commonJS({
|
|
|
80759
80777
|
var UniqueStream = class extends ObjectTransform {
|
|
80760
80778
|
constructor() {
|
|
80761
80779
|
super();
|
|
80762
|
-
this._pushed = new Set();
|
|
80780
|
+
this._pushed = /* @__PURE__ */ new Set();
|
|
80763
80781
|
}
|
|
80764
80782
|
_transform(data, encoding, callback) {
|
|
80765
80783
|
if (!this._pushed.has(data)) {
|
|
@@ -83895,7 +83913,6 @@ var require_node3 = __commonJS({
|
|
|
83895
83913
|
exports2.getNodeDir = getNodeDir;
|
|
83896
83914
|
async function installNode(fetch, wantedNodeVersion, versionDir, opts) {
|
|
83897
83915
|
var _a;
|
|
83898
|
-
await fs_1.default.promises.mkdir(versionDir, { recursive: true });
|
|
83899
83916
|
const nodeMirror = (0, getNodeMirror_1.default)(opts.rawConfig, (_a = opts.releaseDir) !== null && _a !== void 0 ? _a : "release");
|
|
83900
83917
|
const { tarball, pkgName } = getNodeJSTarball(wantedNodeVersion, nodeMirror);
|
|
83901
83918
|
if (tarball.endsWith(".zip")) {
|
|
@@ -84512,7 +84529,7 @@ var require_parsePref = __commonJS({
|
|
|
84512
84529
|
var fetch_1 = __importDefault(require_lib31());
|
|
84513
84530
|
var graceful_git_1 = __importDefault(require_graceful_git());
|
|
84514
84531
|
var hosted_git_info_1 = __importDefault(require_hosted_git_info());
|
|
84515
|
-
var gitProtocols = new Set([
|
|
84532
|
+
var gitProtocols = /* @__PURE__ */ new Set([
|
|
84516
84533
|
"git",
|
|
84517
84534
|
"git+http",
|
|
84518
84535
|
"git+https",
|
|
@@ -84896,10 +84913,10 @@ var require_mem = __commonJS({
|
|
|
84896
84913
|
"use strict";
|
|
84897
84914
|
var mimicFn = require_mimic_fn();
|
|
84898
84915
|
var mapAgeCleaner = require_dist();
|
|
84899
|
-
var cacheStore = new WeakMap();
|
|
84916
|
+
var cacheStore = /* @__PURE__ */ new WeakMap();
|
|
84900
84917
|
var mem = (fn2, {
|
|
84901
84918
|
cacheKey,
|
|
84902
|
-
cache = new Map(),
|
|
84919
|
+
cache = /* @__PURE__ */ new Map(),
|
|
84903
84920
|
maxAge
|
|
84904
84921
|
} = {}) => {
|
|
84905
84922
|
if (typeof maxAge === "number") {
|
|
@@ -84944,9 +84961,9 @@ var require_p_memoize = __commonJS({
|
|
|
84944
84961
|
"use strict";
|
|
84945
84962
|
var mem = require_mem();
|
|
84946
84963
|
var mimicFn = require_mimic_fn();
|
|
84947
|
-
var memoizedFunctions = new WeakMap();
|
|
84964
|
+
var memoizedFunctions = /* @__PURE__ */ new WeakMap();
|
|
84948
84965
|
var pMemoize = (fn2, { cachePromiseRejection = false, ...options } = {}) => {
|
|
84949
|
-
const cache = options.cache || new Map();
|
|
84966
|
+
const cache = options.cache || /* @__PURE__ */ new Map();
|
|
84950
84967
|
const cacheKey = options.cacheKey || (([firstArgument]) => firstArgument);
|
|
84951
84968
|
const memoized = mem(fn2, {
|
|
84952
84969
|
...options,
|
|
@@ -85184,7 +85201,7 @@ var require_pickPackage = __commonJS({
|
|
|
85184
85201
|
return null;
|
|
85185
85202
|
}
|
|
85186
85203
|
}
|
|
85187
|
-
var createdDirs = new Set();
|
|
85204
|
+
var createdDirs = /* @__PURE__ */ new Set();
|
|
85188
85205
|
async function saveMeta(pkgMirror, meta) {
|
|
85189
85206
|
const dir = path_1.default.dirname(pkgMirror);
|
|
85190
85207
|
if (!createdDirs.has(dir)) {
|
|
@@ -85743,7 +85760,7 @@ var require_lib48 = __commonJS({
|
|
|
85743
85760
|
};
|
|
85744
85761
|
}
|
|
85745
85762
|
exports2.default = resolveTarball;
|
|
85746
|
-
var GIT_HOSTERS = new Set([
|
|
85763
|
+
var GIT_HOSTERS = /* @__PURE__ */ new Set([
|
|
85747
85764
|
"github.com",
|
|
85748
85765
|
"gitlab.com",
|
|
85749
85766
|
"bitbucket.org"
|
|
@@ -85857,11 +85874,11 @@ var require_npm_bundled = __commonJS({
|
|
|
85857
85874
|
this.root = this.parent.root;
|
|
85858
85875
|
this.packageJsonCache = this.parent.packageJsonCache;
|
|
85859
85876
|
} else {
|
|
85860
|
-
this.result = new Set();
|
|
85877
|
+
this.result = /* @__PURE__ */ new Set();
|
|
85861
85878
|
this.root = this.path;
|
|
85862
|
-
this.packageJsonCache = opt.packageJsonCache || new Map();
|
|
85879
|
+
this.packageJsonCache = opt.packageJsonCache || /* @__PURE__ */ new Map();
|
|
85863
85880
|
}
|
|
85864
|
-
this.seen = new Set();
|
|
85881
|
+
this.seen = /* @__PURE__ */ new Set();
|
|
85865
85882
|
this.didDone = false;
|
|
85866
85883
|
this.children = 0;
|
|
85867
85884
|
this.node_modules = [];
|
|
@@ -86059,7 +86076,7 @@ var require_ignore_walk = __commonJS({
|
|
|
86059
86076
|
this.includeEmpty = !!opts.includeEmpty;
|
|
86060
86077
|
this.root = this.parent ? this.parent.root : this.path;
|
|
86061
86078
|
this.follow = !!opts.follow;
|
|
86062
|
-
this.result = this.parent ? this.parent.result : new Set();
|
|
86079
|
+
this.result = this.parent ? this.parent.result : /* @__PURE__ */ new Set();
|
|
86063
86080
|
this.entries = null;
|
|
86064
86081
|
this.sawError = false;
|
|
86065
86082
|
}
|
|
@@ -86308,7 +86325,7 @@ var require_npm_packlist = __commonJS({
|
|
|
86308
86325
|
this.bundled = opt.bundled || [];
|
|
86309
86326
|
this.bundledScopes = Array.from(new Set(this.bundled.filter((f) => /^@/.test(f)).map((f) => f.split("/")[0])));
|
|
86310
86327
|
const rules = defaultRules.join("\n") + "\n";
|
|
86311
|
-
this.packageJsonCache = opt.packageJsonCache || new Map();
|
|
86328
|
+
this.packageJsonCache = opt.packageJsonCache || /* @__PURE__ */ new Map();
|
|
86312
86329
|
super.onReadIgnoreFile(rootBuiltinRules, rules, (_) => _);
|
|
86313
86330
|
} else {
|
|
86314
86331
|
this.bundled = [];
|
|
@@ -86373,8 +86390,8 @@ var require_npm_packlist = __commonJS({
|
|
|
86373
86390
|
return set2;
|
|
86374
86391
|
}, []);
|
|
86375
86392
|
let n = patterns.length;
|
|
86376
|
-
const set = new Set();
|
|
86377
|
-
const negates = new Set();
|
|
86393
|
+
const set = /* @__PURE__ */ new Set();
|
|
86394
|
+
const negates = /* @__PURE__ */ new Set();
|
|
86378
86395
|
const results = [];
|
|
86379
86396
|
const then = (pattern, negate, er, fileList, i) => {
|
|
86380
86397
|
if (er)
|
|
@@ -87499,8 +87516,9 @@ var require_sortLockfileKeys = __commonJS({
|
|
|
87499
87516
|
dependencies: 11,
|
|
87500
87517
|
optionalDependencies: 12,
|
|
87501
87518
|
devDependencies: 13,
|
|
87502
|
-
|
|
87503
|
-
|
|
87519
|
+
dependenciesMeta: 14,
|
|
87520
|
+
importers: 15,
|
|
87521
|
+
packages: 16
|
|
87504
87522
|
};
|
|
87505
87523
|
function compareWithPriority(priority, left, right) {
|
|
87506
87524
|
const leftPriority = priority[left];
|
|
@@ -87759,7 +87777,7 @@ var require_lib59 = __commonJS({
|
|
|
87759
87777
|
importers: {},
|
|
87760
87778
|
lockfileVersion: semver_12.default.gt((0, comver_to_semver_1.default)(theirs.lockfileVersion.toString()), (0, comver_to_semver_1.default)(ours.lockfileVersion.toString())) ? theirs.lockfileVersion : ours.lockfileVersion
|
|
87761
87779
|
};
|
|
87762
|
-
for (const importerId of Array.from(new Set([...Object.keys(ours.importers), ...Object.keys(theirs.importers)]))) {
|
|
87780
|
+
for (const importerId of Array.from(/* @__PURE__ */ new Set([...Object.keys(ours.importers), ...Object.keys(theirs.importers)]))) {
|
|
87763
87781
|
newLockfile.importers[importerId] = {
|
|
87764
87782
|
specifiers: {}
|
|
87765
87783
|
};
|
|
@@ -87772,7 +87790,7 @@ var require_lib59 = __commonJS({
|
|
|
87772
87790
|
newLockfile.importers[importerId].specifiers = mergeDict((_f = (_e = ours.importers[importerId]) === null || _e === void 0 ? void 0 : _e.specifiers) !== null && _f !== void 0 ? _f : {}, (_h = (_g = theirs.importers[importerId]) === null || _g === void 0 ? void 0 : _g.specifiers) !== null && _h !== void 0 ? _h : {}, takeChangedValue);
|
|
87773
87791
|
}
|
|
87774
87792
|
const packages = {};
|
|
87775
|
-
for (const depPath of Array.from(new Set([...Object.keys((_j = ours.packages) !== null && _j !== void 0 ? _j : {}), ...Object.keys((_k = theirs.packages) !== null && _k !== void 0 ? _k : {})]))) {
|
|
87793
|
+
for (const depPath of Array.from(/* @__PURE__ */ new Set([...Object.keys((_j = ours.packages) !== null && _j !== void 0 ? _j : {}), ...Object.keys((_k = theirs.packages) !== null && _k !== void 0 ? _k : {})]))) {
|
|
87776
87794
|
const ourPkg = (_l = ours.packages) === null || _l === void 0 ? void 0 : _l[depPath];
|
|
87777
87795
|
const theirPkg = (_m = theirs.packages) === null || _m === void 0 ? void 0 : _m[depPath];
|
|
87778
87796
|
const pkg = {
|
|
@@ -87947,7 +87965,8 @@ var require_read = __commonJS({
|
|
|
87947
87965
|
if (typeof (lockfile === null || lockfile === void 0 ? void 0 : lockfile["specifiers"]) !== "undefined") {
|
|
87948
87966
|
lockfile.importers = {
|
|
87949
87967
|
".": {
|
|
87950
|
-
specifiers: lockfile["specifiers"]
|
|
87968
|
+
specifiers: lockfile["specifiers"],
|
|
87969
|
+
dependenciesMeta: lockfile["dependenciesMeta"]
|
|
87951
87970
|
}
|
|
87952
87971
|
};
|
|
87953
87972
|
delete lockfile.specifiers;
|
|
@@ -88895,7 +88914,7 @@ var require_validateConfig2 = __commonJS({
|
|
|
88895
88914
|
dataPath: (dataPath || "") + "",
|
|
88896
88915
|
schemaPath: "#/additionalProperties",
|
|
88897
88916
|
params: {
|
|
88898
|
-
additionalProperty: "" + key0
|
|
88917
|
+
additionalProperty: "" + key0
|
|
88899
88918
|
},
|
|
88900
88919
|
message: "should NOT have additional properties"
|
|
88901
88920
|
};
|
|
@@ -89197,7 +89216,7 @@ var require_validateConfig2 = __commonJS({
|
|
|
89197
89216
|
dataPath: (dataPath || "") + "",
|
|
89198
89217
|
schemaPath: "#/additionalProperties",
|
|
89199
89218
|
params: {
|
|
89200
|
-
additionalProperty: "" + key0
|
|
89219
|
+
additionalProperty: "" + key0
|
|
89201
89220
|
},
|
|
89202
89221
|
message: "should NOT have additional properties"
|
|
89203
89222
|
};
|
|
@@ -89272,7 +89291,7 @@ var require_validateConfig2 = __commonJS({
|
|
|
89272
89291
|
dataPath: (dataPath || "") + "",
|
|
89273
89292
|
schemaPath: "#/additionalProperties",
|
|
89274
89293
|
params: {
|
|
89275
|
-
additionalProperty: "" + key0
|
|
89294
|
+
additionalProperty: "" + key0
|
|
89276
89295
|
},
|
|
89277
89296
|
message: "should NOT have additional properties"
|
|
89278
89297
|
};
|
|
@@ -89493,7 +89512,7 @@ var require_validateConfig2 = __commonJS({
|
|
|
89493
89512
|
dataPath: (dataPath || "") + "",
|
|
89494
89513
|
schemaPath: "#/additionalProperties",
|
|
89495
89514
|
params: {
|
|
89496
|
-
additionalProperty: "" + key0
|
|
89515
|
+
additionalProperty: "" + key0
|
|
89497
89516
|
},
|
|
89498
89517
|
message: "should NOT have additional properties"
|
|
89499
89518
|
};
|
|
@@ -92650,7 +92669,7 @@ var require_copyPromise = __commonJS({
|
|
|
92650
92669
|
}
|
|
92651
92670
|
return updated;
|
|
92652
92671
|
}
|
|
92653
|
-
var isCloneSupportedCache = new WeakMap();
|
|
92672
|
+
var isCloneSupportedCache = /* @__PURE__ */ new WeakMap();
|
|
92654
92673
|
function makeLinkOperation(opFs, destination, source, sourceStat, linkStrategy) {
|
|
92655
92674
|
return async () => {
|
|
92656
92675
|
await opFs.linkPromise(source, destination);
|
|
@@ -93642,7 +93661,7 @@ var require_CustomStatWatcher = __commonJS({
|
|
|
93642
93661
|
constructor(fakeFs, path2, { bigint = false } = {}) {
|
|
93643
93662
|
super();
|
|
93644
93663
|
this.status = Status.Ready;
|
|
93645
|
-
this.changeListeners = new Map();
|
|
93664
|
+
this.changeListeners = /* @__PURE__ */ new Map();
|
|
93646
93665
|
this.startTimeout = null;
|
|
93647
93666
|
this.fakeFs = fakeFs;
|
|
93648
93667
|
this.path = path2;
|
|
@@ -93733,7 +93752,7 @@ var require_watchFile = __commonJS({
|
|
|
93733
93752
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
93734
93753
|
exports2.unwatchAllFiles = exports2.unwatchFile = exports2.watchFile = void 0;
|
|
93735
93754
|
var CustomStatWatcher_1 = require_CustomStatWatcher();
|
|
93736
|
-
var statWatchersByFakeFS = new WeakMap();
|
|
93755
|
+
var statWatchersByFakeFS = /* @__PURE__ */ new WeakMap();
|
|
93737
93756
|
function watchFile(fakeFs, path2, a, b) {
|
|
93738
93757
|
let bigint;
|
|
93739
93758
|
let persistent;
|
|
@@ -93761,7 +93780,7 @@ var require_watchFile = __commonJS({
|
|
|
93761
93780
|
}
|
|
93762
93781
|
let statWatchers = statWatchersByFakeFS.get(fakeFs);
|
|
93763
93782
|
if (typeof statWatchers === `undefined`)
|
|
93764
|
-
statWatchersByFakeFS.set(fakeFs, statWatchers = new Map());
|
|
93783
|
+
statWatchersByFakeFS.set(fakeFs, statWatchers = /* @__PURE__ */ new Map());
|
|
93765
93784
|
let statWatcher = statWatchers.get(path2);
|
|
93766
93785
|
if (typeof statWatcher === `undefined`) {
|
|
93767
93786
|
statWatcher = CustomStatWatcher_1.CustomStatWatcher.create(fakeFs, path2, { bigint });
|
|
@@ -93865,10 +93884,10 @@ var require_ZipFS = __commonJS({
|
|
|
93865
93884
|
constructor(source, opts) {
|
|
93866
93885
|
super();
|
|
93867
93886
|
this.lzSource = null;
|
|
93868
|
-
this.listings = new Map();
|
|
93869
|
-
this.entries = new Map();
|
|
93870
|
-
this.fileSources = new Map();
|
|
93871
|
-
this.fds = new Map();
|
|
93887
|
+
this.listings = /* @__PURE__ */ new Map();
|
|
93888
|
+
this.entries = /* @__PURE__ */ new Map();
|
|
93889
|
+
this.fileSources = /* @__PURE__ */ new Map();
|
|
93890
|
+
this.fds = /* @__PURE__ */ new Map();
|
|
93872
93891
|
this.nextFd = 0;
|
|
93873
93892
|
this.ready = false;
|
|
93874
93893
|
this.readOnly = false;
|
|
@@ -93930,7 +93949,7 @@ var require_ZipFS = __commonJS({
|
|
|
93930
93949
|
} finally {
|
|
93931
93950
|
this.libzip.free(errPtr);
|
|
93932
93951
|
}
|
|
93933
|
-
this.listings.set(path_1.PortablePath.root, new Set());
|
|
93952
|
+
this.listings.set(path_1.PortablePath.root, /* @__PURE__ */ new Set());
|
|
93934
93953
|
const entryCount = this.libzip.getNumEntries(this.zip, 0);
|
|
93935
93954
|
for (let t = 0; t < entryCount; ++t) {
|
|
93936
93955
|
const raw = this.libzip.getName(this.zip, t, 0);
|
|
@@ -94320,7 +94339,7 @@ var require_ZipFS = __commonJS({
|
|
|
94320
94339
|
if (listing)
|
|
94321
94340
|
return listing;
|
|
94322
94341
|
const parentListing = this.registerListing(path_1.ppath.dirname(p));
|
|
94323
|
-
listing = new Set();
|
|
94342
|
+
listing = /* @__PURE__ */ new Set();
|
|
94324
94343
|
parentListing.add(path_1.ppath.basename(p));
|
|
94325
94344
|
this.listings.set(p, listing);
|
|
94326
94345
|
return listing;
|
|
@@ -95624,15 +95643,15 @@ var require_ZipOpenFS = __commonJS({
|
|
|
95624
95643
|
var ZipOpenFS = class extends FakeFS_1.BasePortableFakeFS {
|
|
95625
95644
|
constructor({ libzip, baseFs = new NodeFS_1.NodeFS(), filter: filter2 = null, maxOpenFiles = Infinity, readOnlyArchives = false, useCache = true, maxAge = 5e3, fileExtensions = null }) {
|
|
95626
95645
|
super();
|
|
95627
|
-
this.fdMap = new Map();
|
|
95646
|
+
this.fdMap = /* @__PURE__ */ new Map();
|
|
95628
95647
|
this.nextFd = 3;
|
|
95629
|
-
this.isZip = new Set();
|
|
95630
|
-
this.notZip = new Set();
|
|
95631
|
-
this.realPaths = new Map();
|
|
95648
|
+
this.isZip = /* @__PURE__ */ new Set();
|
|
95649
|
+
this.notZip = /* @__PURE__ */ new Set();
|
|
95650
|
+
this.realPaths = /* @__PURE__ */ new Map();
|
|
95632
95651
|
this.limitOpenFilesTimeout = null;
|
|
95633
95652
|
this.libzipFactory = typeof libzip !== `function` ? () => libzip : libzip;
|
|
95634
95653
|
this.baseFs = baseFs;
|
|
95635
|
-
this.zipInstances = useCache ? new Map() : null;
|
|
95654
|
+
this.zipInstances = useCache ? /* @__PURE__ */ new Map() : null;
|
|
95636
95655
|
this.filter = filter2;
|
|
95637
95656
|
this.maxOpenFiles = maxOpenFiles;
|
|
95638
95657
|
this.readOnlyArchives = readOnlyArchives;
|
|
@@ -96438,7 +96457,7 @@ var require_patchFs = __commonJS({
|
|
|
96438
96457
|
exports2.extendFs = exports2.patchFs = void 0;
|
|
96439
96458
|
var util_1 = require("util");
|
|
96440
96459
|
var URLFS_1 = require_URLFS();
|
|
96441
|
-
var SYNC_IMPLEMENTATIONS = new Set([
|
|
96460
|
+
var SYNC_IMPLEMENTATIONS = /* @__PURE__ */ new Set([
|
|
96442
96461
|
`accessSync`,
|
|
96443
96462
|
`appendFileSync`,
|
|
96444
96463
|
`createReadStream`,
|
|
@@ -96473,7 +96492,7 @@ var require_patchFs = __commonJS({
|
|
|
96473
96492
|
`writeFileSync`,
|
|
96474
96493
|
`writeSync`
|
|
96475
96494
|
]);
|
|
96476
|
-
var ASYNC_IMPLEMENTATIONS = new Set([
|
|
96495
|
+
var ASYNC_IMPLEMENTATIONS = /* @__PURE__ */ new Set([
|
|
96477
96496
|
`accessPromise`,
|
|
96478
96497
|
`appendFilePromise`,
|
|
96479
96498
|
`chmodPromise`,
|
|
@@ -96502,7 +96521,7 @@ var require_patchFs = __commonJS({
|
|
|
96502
96521
|
`writeFilePromise`,
|
|
96503
96522
|
`writeSync`
|
|
96504
96523
|
]);
|
|
96505
|
-
var FILEHANDLE_IMPLEMENTATIONS = new Set([
|
|
96524
|
+
var FILEHANDLE_IMPLEMENTATIONS = /* @__PURE__ */ new Set([
|
|
96506
96525
|
`appendFilePromise`,
|
|
96507
96526
|
`chmodPromise`,
|
|
96508
96527
|
`chownPromise`,
|
|
@@ -96665,7 +96684,7 @@ var require_xfs = __commonJS({
|
|
|
96665
96684
|
const hash = Math.ceil(Math.random() * 4294967296).toString(16).padStart(8, `0`);
|
|
96666
96685
|
return path_1.ppath.join(tmpdir, `${prefix}${hash}`);
|
|
96667
96686
|
}
|
|
96668
|
-
var tmpdirs = new Set();
|
|
96687
|
+
var tmpdirs = /* @__PURE__ */ new Set();
|
|
96669
96688
|
var cleanExitRegistered = false;
|
|
96670
96689
|
function registerCleanExit() {
|
|
96671
96690
|
if (cleanExitRegistered)
|
|
@@ -102485,7 +102504,7 @@ var require_lib69 = __commonJS({
|
|
|
102485
102504
|
newState.variables = { ...state.variables, ...mergeWith.variables };
|
|
102486
102505
|
return newState;
|
|
102487
102506
|
}
|
|
102488
|
-
var BUILTINS = new Map([
|
|
102507
|
+
var BUILTINS = /* @__PURE__ */ new Map([
|
|
102489
102508
|
[`cd`, async ([target = os_1.homedir(), ...rest], opts, state) => {
|
|
102490
102509
|
const resolvedTarget = fslib_12.ppath.resolve(state.cwd, fslib_12.npath.toPortablePath(target));
|
|
102491
102510
|
const stat = await opts.baseFs.statPromise(resolvedTarget);
|
|
@@ -102761,7 +102780,7 @@ var require_lib69 = __commonJS({
|
|
|
102761
102780
|
}
|
|
102762
102781
|
}
|
|
102763
102782
|
async function interpolateArguments(commandArgs, opts, state) {
|
|
102764
|
-
const redirections = new Map();
|
|
102783
|
+
const redirections = /* @__PURE__ */ new Map();
|
|
102765
102784
|
const interpolated = [];
|
|
102766
102785
|
let interpolatedSegments = [];
|
|
102767
102786
|
const push = (segment) => {
|
|
@@ -103630,7 +103649,7 @@ var require_npm_lifecycle = __commonJS({
|
|
|
103630
103649
|
DEFAULT_NODE_GYP_PATH = resolveFrom(__dirname, "node-gyp/bin/node-gyp");
|
|
103631
103650
|
} catch (err) {
|
|
103632
103651
|
}
|
|
103633
|
-
var hookStatCache = new Map();
|
|
103652
|
+
var hookStatCache = /* @__PURE__ */ new Map();
|
|
103634
103653
|
var PATH = "PATH";
|
|
103635
103654
|
if (process.platform === "win32") {
|
|
103636
103655
|
PATH = "Path";
|
|
@@ -104127,7 +104146,7 @@ var require_runLifecycleHooksConcurrently = __commonJS({
|
|
|
104127
104146
|
var run_groups_1 = __importDefault(require_lib70());
|
|
104128
104147
|
var runLifecycleHook_1 = __importDefault(require_runLifecycleHook());
|
|
104129
104148
|
async function runLifecycleHooksConcurrently(stages, importers, childConcurrency, opts) {
|
|
104130
|
-
const importersByBuildIndex = new Map();
|
|
104149
|
+
const importersByBuildIndex = /* @__PURE__ */ new Map();
|
|
104131
104150
|
for (const importer of importers) {
|
|
104132
104151
|
if (!importersByBuildIndex.has(importer.buildIndex)) {
|
|
104133
104152
|
importersByBuildIndex.set(importer.buildIndex, [importer]);
|
|
@@ -104840,15 +104859,15 @@ var require_lib74 = __commonJS({
|
|
|
104840
104859
|
}
|
|
104841
104860
|
async function linkBin(cmd, binsDir, opts) {
|
|
104842
104861
|
const externalBinPath = path_1.default.join(binsDir, cmd.name);
|
|
104843
|
-
let nodePath;
|
|
104844
|
-
if ((opts === null || opts === void 0 ? void 0 : opts.extendNodePath) !== false) {
|
|
104845
|
-
nodePath = await getBinNodePaths(cmd.path);
|
|
104846
|
-
const binsParentDir = path_1.default.dirname(binsDir);
|
|
104847
|
-
if (path_1.default.relative(cmd.path, binsParentDir) !== "") {
|
|
104848
|
-
nodePath = (0, union_1.default)(nodePath, await getBinNodePaths(binsParentDir));
|
|
104849
|
-
}
|
|
104850
|
-
}
|
|
104851
104862
|
try {
|
|
104863
|
+
let nodePath;
|
|
104864
|
+
if ((opts === null || opts === void 0 ? void 0 : opts.extendNodePath) !== false) {
|
|
104865
|
+
nodePath = await getBinNodePaths(cmd.path);
|
|
104866
|
+
const binsParentDir = path_1.default.dirname(binsDir);
|
|
104867
|
+
if (path_1.default.relative(cmd.path, binsParentDir) !== "") {
|
|
104868
|
+
nodePath = (0, union_1.default)(nodePath, await getBinNodePaths(binsParentDir));
|
|
104869
|
+
}
|
|
104870
|
+
}
|
|
104852
104871
|
await (0, cmd_shim_1.default)(cmd.path, externalBinPath, {
|
|
104853
104872
|
createPwshFile: cmd.makePowerShellShim,
|
|
104854
104873
|
nodePath,
|
|
@@ -106189,7 +106208,7 @@ var require_get_intrinsic = __commonJS({
|
|
|
106189
106208
|
"%IteratorPrototype%": hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined2,
|
|
106190
106209
|
"%JSON%": typeof JSON === "object" ? JSON : undefined2,
|
|
106191
106210
|
"%Map%": typeof Map === "undefined" ? undefined2 : Map,
|
|
106192
|
-
"%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols ? undefined2 : getProto(new Map()[Symbol.iterator]()),
|
|
106211
|
+
"%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols ? undefined2 : getProto((/* @__PURE__ */ new Map())[Symbol.iterator]()),
|
|
106193
106212
|
"%Math%": Math,
|
|
106194
106213
|
"%Number%": Number,
|
|
106195
106214
|
"%Object%": Object,
|
|
@@ -106202,7 +106221,7 @@ var require_get_intrinsic = __commonJS({
|
|
|
106202
106221
|
"%Reflect%": typeof Reflect === "undefined" ? undefined2 : Reflect,
|
|
106203
106222
|
"%RegExp%": RegExp,
|
|
106204
106223
|
"%Set%": typeof Set === "undefined" ? undefined2 : Set,
|
|
106205
|
-
"%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols ? undefined2 : getProto(new Set()[Symbol.iterator]()),
|
|
106224
|
+
"%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols ? undefined2 : getProto((/* @__PURE__ */ new Set())[Symbol.iterator]()),
|
|
106206
106225
|
"%SharedArrayBuffer%": typeof SharedArrayBuffer === "undefined" ? undefined2 : SharedArrayBuffer,
|
|
106207
106226
|
"%String%": String,
|
|
106208
106227
|
"%StringIteratorPrototype%": hasSymbols ? getProto(""[Symbol.iterator]()) : undefined2,
|
|
@@ -107213,12 +107232,12 @@ var require_graph_sequencer = __commonJS({
|
|
|
107213
107232
|
let cycles = [];
|
|
107214
107233
|
let safe = true;
|
|
107215
107234
|
let queue = graphItems;
|
|
107216
|
-
let chunked = new Set();
|
|
107217
|
-
let visited = new Map();
|
|
107235
|
+
let chunked = /* @__PURE__ */ new Set();
|
|
107236
|
+
let visited = /* @__PURE__ */ new Map();
|
|
107218
107237
|
while (queue.length) {
|
|
107219
107238
|
let nextQueue = [];
|
|
107220
107239
|
let chunk = [];
|
|
107221
|
-
let currDepsMap = new Map();
|
|
107240
|
+
let currDepsMap = /* @__PURE__ */ new Map();
|
|
107222
107241
|
for (let i = 0; i < queue.length; i++) {
|
|
107223
107242
|
let item = queue[i];
|
|
107224
107243
|
let deps = graph.get(item);
|
|
@@ -107532,10 +107551,10 @@ var require_implementation4 = __commonJS({
|
|
|
107532
107551
|
var limitLinking = (0, p_limit_1.default)(16);
|
|
107533
107552
|
async function _rebuild(ctx, opts) {
|
|
107534
107553
|
var _a;
|
|
107535
|
-
const pkgsThatWereRebuilt = new Set();
|
|
107536
|
-
const graph = new Map();
|
|
107554
|
+
const pkgsThatWereRebuilt = /* @__PURE__ */ new Set();
|
|
107555
|
+
const graph = /* @__PURE__ */ new Map();
|
|
107537
107556
|
const pkgSnapshots = (_a = ctx.currentLockfile.packages) !== null && _a !== void 0 ? _a : {};
|
|
107538
|
-
const nodesToBuildAndTransitive = new Set();
|
|
107557
|
+
const nodesToBuildAndTransitive = /* @__PURE__ */ new Set();
|
|
107539
107558
|
getSubgraphToBuild((0, lockfile_walker_1.default)(ctx.currentLockfile, ctx.projects.map(({ id }) => id), {
|
|
107540
107559
|
include: {
|
|
107541
107560
|
dependencies: opts.production,
|
|
@@ -108097,7 +108116,7 @@ var require_prune2 = __commonJS({
|
|
|
108097
108116
|
const currentPkgs = Object.entries(mergeDependencies(currentImporter));
|
|
108098
108117
|
const wantedPkgs = Object.entries(mergeDependencies(wantedLockfile.importers[id]));
|
|
108099
108118
|
const allCurrentPackages = new Set(pruneDirectDependencies === true || (removePackages === null || removePackages === void 0 ? void 0 : removePackages.length) ? (_a2 = await (0, read_modules_dir_1.default)(modulesDir)) !== null && _a2 !== void 0 ? _a2 : [] : []);
|
|
108100
|
-
const depsToRemove = new Set([
|
|
108119
|
+
const depsToRemove = /* @__PURE__ */ new Set([
|
|
108101
108120
|
...(removePackages !== null && removePackages !== void 0 ? removePackages : []).filter((removePackage) => allCurrentPackages.has(removePackage)),
|
|
108102
108121
|
...(0, difference_1.default)(currentPkgs, wantedPkgs).map(([depName]) => depName)
|
|
108103
108122
|
]);
|
|
@@ -108160,7 +108179,7 @@ var require_prune2 = __commonJS({
|
|
|
108160
108179
|
if (opts.pruneVirtualStore !== false) {
|
|
108161
108180
|
const _tryRemovePkg = tryRemovePkg.bind(null, opts.lockfileDir, opts.virtualStoreDir);
|
|
108162
108181
|
await Promise.all(orphanDepPaths.map((orphanDepPath) => (0, dependency_path_1.depPathToFilename)(orphanDepPath, opts.lockfileDir)).map(async (orphanDepPath) => _tryRemovePkg(orphanDepPath)));
|
|
108163
|
-
const neededPkgs = new Set();
|
|
108182
|
+
const neededPkgs = /* @__PURE__ */ new Set();
|
|
108164
108183
|
for (const depPath of Object.keys((_c = opts.wantedLockfile.packages) !== null && _c !== void 0 ? _c : {})) {
|
|
108165
108184
|
if (opts.skipped.has(depPath))
|
|
108166
108185
|
continue;
|
|
@@ -108372,10 +108391,10 @@ var require_lib83 = __commonJS({
|
|
|
108372
108391
|
const copiedSnapshots = {};
|
|
108373
108392
|
const ctx = {
|
|
108374
108393
|
copiedSnapshots,
|
|
108375
|
-
nonOptional: new Set(),
|
|
108376
|
-
notProdOnly: new Set(),
|
|
108394
|
+
nonOptional: /* @__PURE__ */ new Set(),
|
|
108395
|
+
notProdOnly: /* @__PURE__ */ new Set(),
|
|
108377
108396
|
originalPackages,
|
|
108378
|
-
walked: new Set(),
|
|
108397
|
+
walked: /* @__PURE__ */ new Set(),
|
|
108379
108398
|
warn: opts.warn
|
|
108380
108399
|
};
|
|
108381
108400
|
copyDependencySubGraph(ctx, opts.devDepPaths, {
|
|
@@ -108932,8 +108951,8 @@ var require_lib85 = __commonJS({
|
|
|
108932
108951
|
exports2.default = async (depGraph, rootDepPaths, opts) => {
|
|
108933
108952
|
var _a;
|
|
108934
108953
|
const warn = (message2) => logger_1.default.warn({ message: message2, prefix: opts.lockfileDir });
|
|
108935
|
-
const nodesToBuild = new Set();
|
|
108936
|
-
getSubgraphToBuild(depGraph, rootDepPaths, nodesToBuild, new Set());
|
|
108954
|
+
const nodesToBuild = /* @__PURE__ */ new Set();
|
|
108955
|
+
getSubgraphToBuild(depGraph, rootDepPaths, nodesToBuild, /* @__PURE__ */ new Set());
|
|
108937
108956
|
const onlyFromBuildGraph = (0, filter_1.default)((depPath) => nodesToBuild.has(depPath));
|
|
108938
108957
|
const nodesToBuildArray = Array.from(nodesToBuild);
|
|
108939
108958
|
const graph = new Map(nodesToBuildArray.map((depPath) => [depPath, onlyFromBuildGraph(Object.values(depGraph[depPath].children))]));
|
|
@@ -109469,7 +109488,7 @@ var require_lib87 = __commonJS({
|
|
|
109469
109488
|
});
|
|
109470
109489
|
}
|
|
109471
109490
|
function generateFallbackExclusionList(settings) {
|
|
109472
|
-
const fallbackExclusionList = new Map();
|
|
109491
|
+
const fallbackExclusionList = /* @__PURE__ */ new Map();
|
|
109473
109492
|
const sortedData = sortMap2(settings.fallbackExclusionList || [], [({
|
|
109474
109493
|
name,
|
|
109475
109494
|
reference
|
|
@@ -109483,7 +109502,7 @@ var require_lib87 = __commonJS({
|
|
|
109483
109502
|
} of sortedData) {
|
|
109484
109503
|
let references = fallbackExclusionList.get(name);
|
|
109485
109504
|
if (typeof references === `undefined`)
|
|
109486
|
-
fallbackExclusionList.set(name, references = new Set());
|
|
109505
|
+
fallbackExclusionList.set(name, references = /* @__PURE__ */ new Set());
|
|
109487
109506
|
references.add(reference);
|
|
109488
109507
|
}
|
|
109489
109508
|
return Array.from(fallbackExclusionList).map(([name, references]) => {
|
|
@@ -109687,8 +109706,8 @@ var require_lib87 = __commonJS({
|
|
|
109687
109706
|
}];
|
|
109688
109707
|
}))];
|
|
109689
109708
|
}));
|
|
109690
|
-
const packageLocatorsByLocations = new Map();
|
|
109691
|
-
const packageLocationLengths = new Set();
|
|
109709
|
+
const packageLocatorsByLocations = /* @__PURE__ */ new Map();
|
|
109710
|
+
const packageLocationLengths = /* @__PURE__ */ new Set();
|
|
109692
109711
|
for (const [packageName, storeData] of data.packageRegistryData) {
|
|
109693
109712
|
for (const [packageReference, packageInformationData] of storeData) {
|
|
109694
109713
|
if (packageName === null !== (packageReference === null))
|
|
@@ -110944,7 +110963,7 @@ var require_lib87 = __commonJS({
|
|
|
110944
110963
|
ErrorCode2["UNDECLARED_DEPENDENCY"] = "UNDECLARED_DEPENDENCY";
|
|
110945
110964
|
ErrorCode2["UNSUPPORTED"] = "UNSUPPORTED";
|
|
110946
110965
|
})(ErrorCode || (ErrorCode = {}));
|
|
110947
|
-
const MODULE_NOT_FOUND_ERRORS = new Set([ErrorCode.BLACKLISTED, ErrorCode.BUILTIN_NODE_RESOLUTION_FAILED, ErrorCode.MISSING_DEPENDENCY, ErrorCode.MISSING_PEER_DEPENDENCY, ErrorCode.QUALIFIED_PATH_RESOLUTION_FAILED, ErrorCode.UNDECLARED_DEPENDENCY]);
|
|
110966
|
+
const MODULE_NOT_FOUND_ERRORS = /* @__PURE__ */ new Set([ErrorCode.BLACKLISTED, ErrorCode.BUILTIN_NODE_RESOLUTION_FAILED, ErrorCode.MISSING_DEPENDENCY, ErrorCode.MISSING_PEER_DEPENDENCY, ErrorCode.QUALIFIED_PATH_RESOLUTION_FAILED, ErrorCode.UNDECLARED_DEPENDENCY]);
|
|
110948
110967
|
function internalTools_makeError(pnpCode, message2, data = {}) {
|
|
110949
110968
|
const code = MODULE_NOT_FOUND_ERRORS.has(pnpCode) ? `MODULE_NOT_FOUND` : pnpCode;
|
|
110950
110969
|
const propertySpec = {
|
|
@@ -110988,7 +111007,7 @@ var require_lib87 = __commonJS({
|
|
|
110988
111007
|
reference: null
|
|
110989
111008
|
};
|
|
110990
111009
|
const fallbackLocators = [];
|
|
110991
|
-
const emittedWarnings = new Set();
|
|
111010
|
+
const emittedWarnings = /* @__PURE__ */ new Set();
|
|
110992
111011
|
if (runtimeState.enableTopLevelFallback === true)
|
|
110993
111012
|
fallbackLocators.push(topLevelLocator);
|
|
110994
111013
|
if (opts.compatibilityMode !== false) {
|
|
@@ -111189,8 +111208,8 @@ var require_lib87 = __commonJS({
|
|
|
111189
111208
|
return dependents;
|
|
111190
111209
|
}
|
|
111191
111210
|
function findBrokenPeerDependencies(dependency, initialPackage) {
|
|
111192
|
-
const brokenPackages = new Map();
|
|
111193
|
-
const alreadyVisited = new Set();
|
|
111211
|
+
const brokenPackages = /* @__PURE__ */ new Map();
|
|
111212
|
+
const alreadyVisited = /* @__PURE__ */ new Set();
|
|
111194
111213
|
const traversal = (currentPackage) => {
|
|
111195
111214
|
const identifier = JSON.stringify(currentPackage.name);
|
|
111196
111215
|
if (alreadyVisited.has(identifier))
|
|
@@ -111204,7 +111223,7 @@ var require_lib87 = __commonJS({
|
|
|
111204
111223
|
} else {
|
|
111205
111224
|
let brokenSet = brokenPackages.get(dependent.name);
|
|
111206
111225
|
if (typeof brokenSet === `undefined`)
|
|
111207
|
-
brokenPackages.set(dependent.name, brokenSet = new Set());
|
|
111226
|
+
brokenPackages.set(dependent.name, brokenSet = /* @__PURE__ */ new Set());
|
|
111208
111227
|
brokenSet.add(dependent.reference);
|
|
111209
111228
|
}
|
|
111210
111229
|
}
|
|
@@ -111744,11 +111763,11 @@ var require_lib88 = __commonJS({
|
|
|
111744
111763
|
exports2.writePnpFile = writePnpFile;
|
|
111745
111764
|
function lockfileToPackageRegistry(lockfile, opts) {
|
|
111746
111765
|
var _a;
|
|
111747
|
-
const packageRegistry = new Map();
|
|
111766
|
+
const packageRegistry = /* @__PURE__ */ new Map();
|
|
111748
111767
|
for (const importerId of Object.keys(lockfile.importers)) {
|
|
111749
111768
|
const importer = lockfile.importers[importerId];
|
|
111750
111769
|
if (importerId === ".") {
|
|
111751
|
-
const packageStore = new Map([
|
|
111770
|
+
const packageStore = /* @__PURE__ */ new Map([
|
|
111752
111771
|
[
|
|
111753
111772
|
null,
|
|
111754
111773
|
{
|
|
@@ -111764,7 +111783,7 @@ var require_lib88 = __commonJS({
|
|
|
111764
111783
|
packageRegistry.set(null, packageStore);
|
|
111765
111784
|
} else {
|
|
111766
111785
|
const name = opts.importerNames[importerId];
|
|
111767
|
-
const packageStore = new Map([
|
|
111786
|
+
const packageStore = /* @__PURE__ */ new Map([
|
|
111768
111787
|
[
|
|
111769
111788
|
importerId,
|
|
111770
111789
|
{
|
|
@@ -111786,7 +111805,7 @@ var require_lib88 = __commonJS({
|
|
|
111786
111805
|
const pnpVersion = toPnPVersion(version, peersSuffix);
|
|
111787
111806
|
let packageStore = packageRegistry.get(name);
|
|
111788
111807
|
if (!packageStore) {
|
|
111789
|
-
packageStore = new Map();
|
|
111808
|
+
packageStore = /* @__PURE__ */ new Map();
|
|
111790
111809
|
packageRegistry.set(name, packageStore);
|
|
111791
111810
|
}
|
|
111792
111811
|
let packageLocation = (0, normalize_path_1.default)(path_1.default.relative(opts.lockfileDir, path_1.default.join(opts.virtualStoreDir, (0, dependency_path_1.depPathToFilename)(relDepPath, opts.lockfileDir), "node_modules", name)));
|
|
@@ -111827,6 +111846,206 @@ var require_lib88 = __commonJS({
|
|
|
111827
111846
|
}
|
|
111828
111847
|
});
|
|
111829
111848
|
|
|
111849
|
+
// ../headless/lib/lockfileToDepGraph.js
|
|
111850
|
+
var require_lockfileToDepGraph = __commonJS({
|
|
111851
|
+
"../headless/lib/lockfileToDepGraph.js"(exports2) {
|
|
111852
|
+
"use strict";
|
|
111853
|
+
var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
111854
|
+
if (k2 === void 0)
|
|
111855
|
+
k2 = k;
|
|
111856
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() {
|
|
111857
|
+
return m[k];
|
|
111858
|
+
} });
|
|
111859
|
+
} : function(o, m, k, k2) {
|
|
111860
|
+
if (k2 === void 0)
|
|
111861
|
+
k2 = k;
|
|
111862
|
+
o[k2] = m[k];
|
|
111863
|
+
});
|
|
111864
|
+
var __setModuleDefault2 = exports2 && exports2.__setModuleDefault || (Object.create ? function(o, v) {
|
|
111865
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
111866
|
+
} : function(o, v) {
|
|
111867
|
+
o["default"] = v;
|
|
111868
|
+
});
|
|
111869
|
+
var __importStar2 = exports2 && exports2.__importStar || function(mod) {
|
|
111870
|
+
if (mod && mod.__esModule)
|
|
111871
|
+
return mod;
|
|
111872
|
+
var result2 = {};
|
|
111873
|
+
if (mod != null) {
|
|
111874
|
+
for (var k in mod)
|
|
111875
|
+
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
|
|
111876
|
+
__createBinding2(result2, mod, k);
|
|
111877
|
+
}
|
|
111878
|
+
__setModuleDefault2(result2, mod);
|
|
111879
|
+
return result2;
|
|
111880
|
+
};
|
|
111881
|
+
var __importDefault = exports2 && exports2.__importDefault || function(mod) {
|
|
111882
|
+
return mod && mod.__esModule ? mod : { "default": mod };
|
|
111883
|
+
};
|
|
111884
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
111885
|
+
var path_1 = __importDefault(require("path"));
|
|
111886
|
+
var constants_1 = require_lib7();
|
|
111887
|
+
var core_loggers_1 = require_lib10();
|
|
111888
|
+
var lockfile_utils_1 = require_lib56();
|
|
111889
|
+
var logger_1 = __importDefault(require_lib6());
|
|
111890
|
+
var package_is_installable_1 = __importDefault(require_lib20());
|
|
111891
|
+
var dp = __importStar2(require_lib35());
|
|
111892
|
+
var path_exists_1 = __importDefault(require_path_exists());
|
|
111893
|
+
var equals_1 = __importDefault(require_equals2());
|
|
111894
|
+
var brokenModulesLogger = (0, logger_1.default)("_broken_node_modules");
|
|
111895
|
+
async function lockfileToDepGraph(lockfile, currentLockfile, opts) {
|
|
111896
|
+
var _a;
|
|
111897
|
+
const currentPackages = (_a = currentLockfile === null || currentLockfile === void 0 ? void 0 : currentLockfile.packages) !== null && _a !== void 0 ? _a : {};
|
|
111898
|
+
const graph = {};
|
|
111899
|
+
const directDependenciesByImporterId = {};
|
|
111900
|
+
if (lockfile.packages != null) {
|
|
111901
|
+
const pkgSnapshotByLocation = {};
|
|
111902
|
+
await Promise.all(Object.keys(lockfile.packages).map(async (depPath) => {
|
|
111903
|
+
var _a2;
|
|
111904
|
+
if (opts.skipped.has(depPath))
|
|
111905
|
+
return;
|
|
111906
|
+
const pkgSnapshot = lockfile.packages[depPath];
|
|
111907
|
+
const { name: pkgName, version: pkgVersion } = (0, lockfile_utils_1.nameVerFromPkgSnapshot)(depPath, pkgSnapshot);
|
|
111908
|
+
const modules = path_1.default.join(opts.virtualStoreDir, dp.depPathToFilename(depPath, opts.lockfileDir), "node_modules");
|
|
111909
|
+
const packageId = (0, lockfile_utils_1.packageIdFromSnapshot)(depPath, pkgSnapshot, opts.registries);
|
|
111910
|
+
const pkg = {
|
|
111911
|
+
name: pkgName,
|
|
111912
|
+
version: pkgVersion,
|
|
111913
|
+
engines: pkgSnapshot.engines,
|
|
111914
|
+
cpu: pkgSnapshot.cpu,
|
|
111915
|
+
os: pkgSnapshot.os
|
|
111916
|
+
};
|
|
111917
|
+
if (!opts.force && (0, package_is_installable_1.default)(packageId, pkg, {
|
|
111918
|
+
engineStrict: opts.engineStrict,
|
|
111919
|
+
lockfileDir: opts.lockfileDir,
|
|
111920
|
+
nodeVersion: opts.nodeVersion,
|
|
111921
|
+
optional: pkgSnapshot.optional === true,
|
|
111922
|
+
pnpmVersion: opts.pnpmVersion
|
|
111923
|
+
}) === false) {
|
|
111924
|
+
opts.skipped.add(depPath);
|
|
111925
|
+
return;
|
|
111926
|
+
}
|
|
111927
|
+
const dir = path_1.default.join(modules, pkgName);
|
|
111928
|
+
if (currentPackages[depPath] && (0, equals_1.default)(currentPackages[depPath].dependencies, lockfile.packages[depPath].dependencies) && (0, equals_1.default)(currentPackages[depPath].optionalDependencies, lockfile.packages[depPath].optionalDependencies)) {
|
|
111929
|
+
if (await (0, path_exists_1.default)(dir)) {
|
|
111930
|
+
return;
|
|
111931
|
+
}
|
|
111932
|
+
brokenModulesLogger.debug({
|
|
111933
|
+
missing: dir
|
|
111934
|
+
});
|
|
111935
|
+
}
|
|
111936
|
+
const resolution = (0, lockfile_utils_1.pkgSnapshotToResolution)(depPath, pkgSnapshot, opts.registries);
|
|
111937
|
+
core_loggers_1.progressLogger.debug({
|
|
111938
|
+
packageId,
|
|
111939
|
+
requester: opts.lockfileDir,
|
|
111940
|
+
status: "resolved"
|
|
111941
|
+
});
|
|
111942
|
+
let fetchResponse;
|
|
111943
|
+
try {
|
|
111944
|
+
fetchResponse = opts.storeController.fetchPackage({
|
|
111945
|
+
force: false,
|
|
111946
|
+
lockfileDir: opts.lockfileDir,
|
|
111947
|
+
pkg: {
|
|
111948
|
+
name: pkgName,
|
|
111949
|
+
version: pkgVersion,
|
|
111950
|
+
id: packageId,
|
|
111951
|
+
resolution
|
|
111952
|
+
}
|
|
111953
|
+
});
|
|
111954
|
+
if (fetchResponse instanceof Promise)
|
|
111955
|
+
fetchResponse = await fetchResponse;
|
|
111956
|
+
} catch (err) {
|
|
111957
|
+
if (pkgSnapshot.optional)
|
|
111958
|
+
return;
|
|
111959
|
+
throw err;
|
|
111960
|
+
}
|
|
111961
|
+
fetchResponse.files().then(({ fromStore }) => {
|
|
111962
|
+
core_loggers_1.progressLogger.debug({
|
|
111963
|
+
packageId,
|
|
111964
|
+
requester: opts.lockfileDir,
|
|
111965
|
+
status: fromStore ? "found_in_store" : "fetched"
|
|
111966
|
+
});
|
|
111967
|
+
}).catch(() => {
|
|
111968
|
+
});
|
|
111969
|
+
graph[dir] = {
|
|
111970
|
+
children: {},
|
|
111971
|
+
depPath,
|
|
111972
|
+
dir,
|
|
111973
|
+
fetchingFiles: fetchResponse.files,
|
|
111974
|
+
filesIndexFile: fetchResponse.filesIndexFile,
|
|
111975
|
+
finishing: fetchResponse.finishing,
|
|
111976
|
+
hasBin: pkgSnapshot.hasBin === true,
|
|
111977
|
+
hasBundledDependencies: pkgSnapshot.bundledDependencies != null,
|
|
111978
|
+
modules,
|
|
111979
|
+
name: pkgName,
|
|
111980
|
+
optional: !!pkgSnapshot.optional,
|
|
111981
|
+
optionalDependencies: new Set(Object.keys((_a2 = pkgSnapshot.optionalDependencies) !== null && _a2 !== void 0 ? _a2 : {})),
|
|
111982
|
+
prepare: pkgSnapshot.prepare === true,
|
|
111983
|
+
requiresBuild: pkgSnapshot.requiresBuild === true
|
|
111984
|
+
};
|
|
111985
|
+
pkgSnapshotByLocation[dir] = pkgSnapshot;
|
|
111986
|
+
}));
|
|
111987
|
+
const ctx = {
|
|
111988
|
+
force: opts.force,
|
|
111989
|
+
graph,
|
|
111990
|
+
lockfileDir: opts.lockfileDir,
|
|
111991
|
+
pkgSnapshotsByDepPaths: lockfile.packages,
|
|
111992
|
+
registries: opts.registries,
|
|
111993
|
+
sideEffectsCacheRead: opts.sideEffectsCacheRead,
|
|
111994
|
+
skipped: opts.skipped,
|
|
111995
|
+
storeController: opts.storeController,
|
|
111996
|
+
storeDir: opts.storeDir,
|
|
111997
|
+
virtualStoreDir: opts.virtualStoreDir
|
|
111998
|
+
};
|
|
111999
|
+
for (const dir of Object.keys(graph)) {
|
|
112000
|
+
const pkgSnapshot = pkgSnapshotByLocation[dir];
|
|
112001
|
+
const allDeps = {
|
|
112002
|
+
...pkgSnapshot.dependencies,
|
|
112003
|
+
...opts.include.optionalDependencies ? pkgSnapshot.optionalDependencies : {}
|
|
112004
|
+
};
|
|
112005
|
+
const peerDeps = pkgSnapshot.peerDependencies ? new Set(Object.keys(pkgSnapshot.peerDependencies)) : null;
|
|
112006
|
+
graph[dir].children = await getChildrenPaths(ctx, allDeps, peerDeps, ".");
|
|
112007
|
+
}
|
|
112008
|
+
for (const importerId of opts.importerIds) {
|
|
112009
|
+
const projectSnapshot = lockfile.importers[importerId];
|
|
112010
|
+
const rootDeps = {
|
|
112011
|
+
...opts.include.devDependencies ? projectSnapshot.devDependencies : {},
|
|
112012
|
+
...opts.include.dependencies ? projectSnapshot.dependencies : {},
|
|
112013
|
+
...opts.include.optionalDependencies ? projectSnapshot.optionalDependencies : {}
|
|
112014
|
+
};
|
|
112015
|
+
directDependenciesByImporterId[importerId] = await getChildrenPaths(ctx, rootDeps, null, importerId);
|
|
112016
|
+
}
|
|
112017
|
+
}
|
|
112018
|
+
return { graph, directDependenciesByImporterId };
|
|
112019
|
+
}
|
|
112020
|
+
exports2.default = lockfileToDepGraph;
|
|
112021
|
+
async function getChildrenPaths(ctx, allDeps, peerDeps, importerId) {
|
|
112022
|
+
const children = {};
|
|
112023
|
+
for (const alias of Object.keys(allDeps)) {
|
|
112024
|
+
const childDepPath = dp.refToAbsolute(allDeps[alias], alias, ctx.registries);
|
|
112025
|
+
if (childDepPath === null) {
|
|
112026
|
+
children[alias] = path_1.default.resolve(ctx.lockfileDir, importerId, allDeps[alias].substr(5));
|
|
112027
|
+
continue;
|
|
112028
|
+
}
|
|
112029
|
+
const childRelDepPath = dp.refToRelative(allDeps[alias], alias);
|
|
112030
|
+
const childPkgSnapshot = ctx.pkgSnapshotsByDepPaths[childRelDepPath];
|
|
112031
|
+
if (ctx.graph[childRelDepPath]) {
|
|
112032
|
+
children[alias] = ctx.graph[childRelDepPath].dir;
|
|
112033
|
+
} else if (childPkgSnapshot) {
|
|
112034
|
+
if (ctx.skipped.has(childRelDepPath))
|
|
112035
|
+
continue;
|
|
112036
|
+
const pkgName = (0, lockfile_utils_1.nameVerFromPkgSnapshot)(childRelDepPath, childPkgSnapshot).name;
|
|
112037
|
+
children[alias] = path_1.default.join(ctx.virtualStoreDir, dp.depPathToFilename(childRelDepPath, ctx.lockfileDir), "node_modules", pkgName);
|
|
112038
|
+
} else if (allDeps[alias].indexOf("file:") === 0) {
|
|
112039
|
+
children[alias] = path_1.default.resolve(ctx.lockfileDir, allDeps[alias].substr(5));
|
|
112040
|
+
} else if (!ctx.skipped.has(childRelDepPath) && (peerDeps == null || !peerDeps.has(alias))) {
|
|
112041
|
+
throw new Error(`${childRelDepPath} not found in ${constants_1.WANTED_LOCKFILE}`);
|
|
112042
|
+
}
|
|
112043
|
+
}
|
|
112044
|
+
return children;
|
|
112045
|
+
}
|
|
112046
|
+
}
|
|
112047
|
+
});
|
|
112048
|
+
|
|
111830
112049
|
// ../headless/lib/index.js
|
|
111831
112050
|
var require_lib89 = __commonJS({
|
|
111832
112051
|
"../headless/lib/index.js"(exports2) {
|
|
@@ -111879,20 +112098,18 @@ var require_lib89 = __commonJS({
|
|
|
111879
112098
|
var logger_1 = __importStar2(require_lib6());
|
|
111880
112099
|
var modules_cleaner_1 = require_lib82();
|
|
111881
112100
|
var modules_yaml_1 = require_lib63();
|
|
111882
|
-
var package_is_installable_1 = __importDefault(require_lib20());
|
|
111883
112101
|
var read_package_json_1 = require_lib34();
|
|
111884
112102
|
var read_project_manifest_1 = require_lib15();
|
|
111885
112103
|
var symlink_dependency_1 = __importStar2(require_lib84());
|
|
111886
112104
|
var dp = __importStar2(require_lib35());
|
|
111887
112105
|
var p_limit_1 = __importDefault(require_p_limit());
|
|
111888
112106
|
var path_absolute_1 = __importDefault(require_path_absolute());
|
|
111889
|
-
var path_exists_1 = __importDefault(require_path_exists());
|
|
111890
112107
|
var equals_1 = __importDefault(require_equals2());
|
|
111891
112108
|
var fromPairs_1 = __importDefault(require_fromPairs());
|
|
111892
112109
|
var omit_1 = __importDefault(require_omit());
|
|
111893
112110
|
var props_1 = __importDefault(require_props());
|
|
111894
112111
|
var realpath_missing_1 = __importDefault(require_realpath_missing());
|
|
111895
|
-
var
|
|
112112
|
+
var lockfileToDepGraph_1 = __importDefault(require_lockfileToDepGraph());
|
|
111896
112113
|
exports2.default = async (opts) => {
|
|
111897
112114
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
111898
112115
|
const reporter = opts.reporter;
|
|
@@ -111913,7 +112130,9 @@ var require_lib89 = __commonJS({
|
|
|
111913
112130
|
if (!opts.ignorePackageManifest) {
|
|
111914
112131
|
for (const { id, manifest, rootDir } of opts.projects) {
|
|
111915
112132
|
if (!(0, lockfile_utils_1.satisfiesPackageManifest)(wantedLockfile, manifest, id)) {
|
|
111916
|
-
throw new error_1.default("OUTDATED_LOCKFILE", `Cannot install with "frozen-lockfile" because ${constants_1.WANTED_LOCKFILE} is not up-to-date with ` + path_1.default.relative(lockfileDir, path_1.default.join(rootDir, "package.json"))
|
|
112133
|
+
throw new error_1.default("OUTDATED_LOCKFILE", `Cannot install with "frozen-lockfile" because ${constants_1.WANTED_LOCKFILE} is not up-to-date with ` + path_1.default.relative(lockfileDir, path_1.default.join(rootDir, "package.json")), {
|
|
112134
|
+
hint: 'Note that in CI environments this setting is true by default. If you still need to run install in such cases, use "pnpm install --no-frozen-lockfile"'
|
|
112135
|
+
});
|
|
111917
112136
|
}
|
|
111918
112137
|
}
|
|
111919
112138
|
}
|
|
@@ -111928,7 +112147,7 @@ var require_lib89 = __commonJS({
|
|
|
111928
112147
|
storeController: opts.storeController,
|
|
111929
112148
|
unsafePerm: opts.unsafePerm || false
|
|
111930
112149
|
};
|
|
111931
|
-
const skipped = opts.skipped || new Set();
|
|
112150
|
+
const skipped = opts.skipped || /* @__PURE__ */ new Set();
|
|
111932
112151
|
if (currentLockfile != null && !opts.ignorePackageManifest) {
|
|
111933
112152
|
await (0, modules_cleaner_1.prune)(opts.projects, {
|
|
111934
112153
|
currentLockfile,
|
|
@@ -111970,7 +112189,7 @@ var require_lib89 = __commonJS({
|
|
|
111970
112189
|
includeIncompatiblePackages: opts.force,
|
|
111971
112190
|
lockfileDir
|
|
111972
112191
|
});
|
|
111973
|
-
const { directDependenciesByImporterId, graph } = await
|
|
112192
|
+
const { directDependenciesByImporterId, graph } = await (0, lockfileToDepGraph_1.default)(filteredLockfile, opts.force ? null : currentLockfile, {
|
|
111974
112193
|
...opts,
|
|
111975
112194
|
importerIds,
|
|
111976
112195
|
lockfileDir,
|
|
@@ -112071,7 +112290,7 @@ var require_lib89 = __commonJS({
|
|
|
112071
112290
|
}
|
|
112072
112291
|
opts.pendingBuilds = opts.pendingBuilds.concat(depNodes.filter(({ requiresBuild }) => requiresBuild).map(({ depPath }) => depPath));
|
|
112073
112292
|
} else {
|
|
112074
|
-
const directNodes = new Set();
|
|
112293
|
+
const directNodes = /* @__PURE__ */ new Set();
|
|
112075
112294
|
for (const id of importerIds) {
|
|
112076
112295
|
Object.values(directDependenciesByImporterId[id]).filter((loc) => graph[loc]).forEach((loc) => {
|
|
112077
112296
|
directNodes.add(loc);
|
|
@@ -112223,156 +112442,6 @@ var require_lib89 = __commonJS({
|
|
|
112223
112442
|
});
|
|
112224
112443
|
}));
|
|
112225
112444
|
}
|
|
112226
|
-
async function lockfileToDepGraph(lockfile, currentLockfile, opts) {
|
|
112227
|
-
var _a;
|
|
112228
|
-
const currentPackages = (_a = currentLockfile === null || currentLockfile === void 0 ? void 0 : currentLockfile.packages) !== null && _a !== void 0 ? _a : {};
|
|
112229
|
-
const graph = {};
|
|
112230
|
-
const directDependenciesByImporterId = {};
|
|
112231
|
-
if (lockfile.packages != null) {
|
|
112232
|
-
const pkgSnapshotByLocation = {};
|
|
112233
|
-
await Promise.all(Object.keys(lockfile.packages).map(async (depPath) => {
|
|
112234
|
-
var _a2;
|
|
112235
|
-
if (opts.skipped.has(depPath))
|
|
112236
|
-
return;
|
|
112237
|
-
const pkgSnapshot = lockfile.packages[depPath];
|
|
112238
|
-
const { name: pkgName, version: pkgVersion } = (0, lockfile_utils_1.nameVerFromPkgSnapshot)(depPath, pkgSnapshot);
|
|
112239
|
-
const modules = path_1.default.join(opts.virtualStoreDir, dp.depPathToFilename(depPath, opts.lockfileDir), "node_modules");
|
|
112240
|
-
const packageId = (0, lockfile_utils_1.packageIdFromSnapshot)(depPath, pkgSnapshot, opts.registries);
|
|
112241
|
-
const pkg = {
|
|
112242
|
-
name: pkgName,
|
|
112243
|
-
version: pkgVersion,
|
|
112244
|
-
engines: pkgSnapshot.engines,
|
|
112245
|
-
cpu: pkgSnapshot.cpu,
|
|
112246
|
-
os: pkgSnapshot.os
|
|
112247
|
-
};
|
|
112248
|
-
if (!opts.force && (0, package_is_installable_1.default)(packageId, pkg, {
|
|
112249
|
-
engineStrict: opts.engineStrict,
|
|
112250
|
-
lockfileDir: opts.lockfileDir,
|
|
112251
|
-
nodeVersion: opts.nodeVersion,
|
|
112252
|
-
optional: pkgSnapshot.optional === true,
|
|
112253
|
-
pnpmVersion: opts.pnpmVersion
|
|
112254
|
-
}) === false) {
|
|
112255
|
-
opts.skipped.add(depPath);
|
|
112256
|
-
return;
|
|
112257
|
-
}
|
|
112258
|
-
const dir = path_1.default.join(modules, pkgName);
|
|
112259
|
-
if (currentPackages[depPath] && (0, equals_1.default)(currentPackages[depPath].dependencies, lockfile.packages[depPath].dependencies) && (0, equals_1.default)(currentPackages[depPath].optionalDependencies, lockfile.packages[depPath].optionalDependencies)) {
|
|
112260
|
-
if (await (0, path_exists_1.default)(dir)) {
|
|
112261
|
-
return;
|
|
112262
|
-
}
|
|
112263
|
-
brokenModulesLogger.debug({
|
|
112264
|
-
missing: dir
|
|
112265
|
-
});
|
|
112266
|
-
}
|
|
112267
|
-
const resolution = (0, lockfile_utils_1.pkgSnapshotToResolution)(depPath, pkgSnapshot, opts.registries);
|
|
112268
|
-
core_loggers_1.progressLogger.debug({
|
|
112269
|
-
packageId,
|
|
112270
|
-
requester: opts.lockfileDir,
|
|
112271
|
-
status: "resolved"
|
|
112272
|
-
});
|
|
112273
|
-
let fetchResponse;
|
|
112274
|
-
try {
|
|
112275
|
-
fetchResponse = opts.storeController.fetchPackage({
|
|
112276
|
-
force: false,
|
|
112277
|
-
lockfileDir: opts.lockfileDir,
|
|
112278
|
-
pkg: {
|
|
112279
|
-
name: pkgName,
|
|
112280
|
-
version: pkgVersion,
|
|
112281
|
-
id: packageId,
|
|
112282
|
-
resolution
|
|
112283
|
-
}
|
|
112284
|
-
});
|
|
112285
|
-
if (fetchResponse instanceof Promise)
|
|
112286
|
-
fetchResponse = await fetchResponse;
|
|
112287
|
-
} catch (err) {
|
|
112288
|
-
if (pkgSnapshot.optional)
|
|
112289
|
-
return;
|
|
112290
|
-
throw err;
|
|
112291
|
-
}
|
|
112292
|
-
fetchResponse.files().then(({ fromStore }) => {
|
|
112293
|
-
core_loggers_1.progressLogger.debug({
|
|
112294
|
-
packageId,
|
|
112295
|
-
requester: opts.lockfileDir,
|
|
112296
|
-
status: fromStore ? "found_in_store" : "fetched"
|
|
112297
|
-
});
|
|
112298
|
-
}).catch(() => {
|
|
112299
|
-
});
|
|
112300
|
-
graph[dir] = {
|
|
112301
|
-
children: {},
|
|
112302
|
-
depPath,
|
|
112303
|
-
dir,
|
|
112304
|
-
fetchingFiles: fetchResponse.files,
|
|
112305
|
-
filesIndexFile: fetchResponse.filesIndexFile,
|
|
112306
|
-
finishing: fetchResponse.finishing,
|
|
112307
|
-
hasBin: pkgSnapshot.hasBin === true,
|
|
112308
|
-
hasBundledDependencies: pkgSnapshot.bundledDependencies != null,
|
|
112309
|
-
modules,
|
|
112310
|
-
name: pkgName,
|
|
112311
|
-
optional: !!pkgSnapshot.optional,
|
|
112312
|
-
optionalDependencies: new Set(Object.keys((_a2 = pkgSnapshot.optionalDependencies) !== null && _a2 !== void 0 ? _a2 : {})),
|
|
112313
|
-
prepare: pkgSnapshot.prepare === true,
|
|
112314
|
-
requiresBuild: pkgSnapshot.requiresBuild === true
|
|
112315
|
-
};
|
|
112316
|
-
pkgSnapshotByLocation[dir] = pkgSnapshot;
|
|
112317
|
-
}));
|
|
112318
|
-
const ctx = {
|
|
112319
|
-
force: opts.force,
|
|
112320
|
-
graph,
|
|
112321
|
-
lockfileDir: opts.lockfileDir,
|
|
112322
|
-
pkgSnapshotsByDepPaths: lockfile.packages,
|
|
112323
|
-
registries: opts.registries,
|
|
112324
|
-
sideEffectsCacheRead: opts.sideEffectsCacheRead,
|
|
112325
|
-
skipped: opts.skipped,
|
|
112326
|
-
storeController: opts.storeController,
|
|
112327
|
-
storeDir: opts.storeDir,
|
|
112328
|
-
virtualStoreDir: opts.virtualStoreDir
|
|
112329
|
-
};
|
|
112330
|
-
for (const dir of Object.keys(graph)) {
|
|
112331
|
-
const pkgSnapshot = pkgSnapshotByLocation[dir];
|
|
112332
|
-
const allDeps = {
|
|
112333
|
-
...pkgSnapshot.dependencies,
|
|
112334
|
-
...opts.include.optionalDependencies ? pkgSnapshot.optionalDependencies : {}
|
|
112335
|
-
};
|
|
112336
|
-
const peerDeps = pkgSnapshot.peerDependencies ? new Set(Object.keys(pkgSnapshot.peerDependencies)) : null;
|
|
112337
|
-
graph[dir].children = await getChildrenPaths(ctx, allDeps, peerDeps, ".");
|
|
112338
|
-
}
|
|
112339
|
-
for (const importerId of opts.importerIds) {
|
|
112340
|
-
const projectSnapshot = lockfile.importers[importerId];
|
|
112341
|
-
const rootDeps = {
|
|
112342
|
-
...opts.include.devDependencies ? projectSnapshot.devDependencies : {},
|
|
112343
|
-
...opts.include.dependencies ? projectSnapshot.dependencies : {},
|
|
112344
|
-
...opts.include.optionalDependencies ? projectSnapshot.optionalDependencies : {}
|
|
112345
|
-
};
|
|
112346
|
-
directDependenciesByImporterId[importerId] = await getChildrenPaths(ctx, rootDeps, null, importerId);
|
|
112347
|
-
}
|
|
112348
|
-
}
|
|
112349
|
-
return { graph, directDependenciesByImporterId };
|
|
112350
|
-
}
|
|
112351
|
-
async function getChildrenPaths(ctx, allDeps, peerDeps, importerId) {
|
|
112352
|
-
const children = {};
|
|
112353
|
-
for (const alias of Object.keys(allDeps)) {
|
|
112354
|
-
const childDepPath = dp.refToAbsolute(allDeps[alias], alias, ctx.registries);
|
|
112355
|
-
if (childDepPath === null) {
|
|
112356
|
-
children[alias] = path_1.default.resolve(ctx.lockfileDir, importerId, allDeps[alias].substr(5));
|
|
112357
|
-
continue;
|
|
112358
|
-
}
|
|
112359
|
-
const childRelDepPath = dp.refToRelative(allDeps[alias], alias);
|
|
112360
|
-
const childPkgSnapshot = ctx.pkgSnapshotsByDepPaths[childRelDepPath];
|
|
112361
|
-
if (ctx.graph[childRelDepPath]) {
|
|
112362
|
-
children[alias] = ctx.graph[childRelDepPath].dir;
|
|
112363
|
-
} else if (childPkgSnapshot) {
|
|
112364
|
-
if (ctx.skipped.has(childRelDepPath))
|
|
112365
|
-
continue;
|
|
112366
|
-
const pkgName = (0, lockfile_utils_1.nameVerFromPkgSnapshot)(childRelDepPath, childPkgSnapshot).name;
|
|
112367
|
-
children[alias] = path_1.default.join(ctx.virtualStoreDir, dp.depPathToFilename(childRelDepPath, ctx.lockfileDir), "node_modules", pkgName);
|
|
112368
|
-
} else if (allDeps[alias].indexOf("file:") === 0) {
|
|
112369
|
-
children[alias] = path_1.default.resolve(ctx.lockfileDir, allDeps[alias].substr(5));
|
|
112370
|
-
} else if (!ctx.skipped.has(childRelDepPath) && (peerDeps == null || !peerDeps.has(alias))) {
|
|
112371
|
-
throw new Error(`${childRelDepPath} not found in ${constants_1.WANTED_LOCKFILE}`);
|
|
112372
|
-
}
|
|
112373
|
-
}
|
|
112374
|
-
return children;
|
|
112375
|
-
}
|
|
112376
112445
|
var limitLinking = (0, p_limit_1.default)(16);
|
|
112377
112446
|
async function linkAllPkgs(storeController, depNodes, opts) {
|
|
112378
112447
|
return Promise.all(depNodes.map(async (depNode) => {
|
|
@@ -112561,26 +112630,31 @@ var require_getNonDevWantedDependencies = __commonJS({
|
|
|
112561
112630
|
"use strict";
|
|
112562
112631
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
112563
112632
|
function getNonDevWantedDependencies(pkg) {
|
|
112564
|
-
var _a, _b;
|
|
112633
|
+
var _a, _b, _c;
|
|
112565
112634
|
const bd = (_a = pkg.bundleDependencies) !== null && _a !== void 0 ? _a : pkg.bundleDependencies;
|
|
112566
112635
|
const bundledDeps = new Set(Array.isArray(bd) ? bd : []);
|
|
112567
112636
|
bundledDeps.add(pkg.name);
|
|
112568
112637
|
const filterDeps = getNotBundledDeps.bind(null, bundledDeps);
|
|
112569
112638
|
return getWantedDependenciesFromGivenSet(filterDeps({ ...pkg.optionalDependencies, ...pkg.dependencies }), {
|
|
112639
|
+
dependenciesMeta: (_b = pkg.dependenciesMeta) !== null && _b !== void 0 ? _b : {},
|
|
112570
112640
|
devDependencies: {},
|
|
112571
|
-
optionalDependencies: (
|
|
112641
|
+
optionalDependencies: (_c = pkg.optionalDependencies) !== null && _c !== void 0 ? _c : {}
|
|
112572
112642
|
});
|
|
112573
112643
|
}
|
|
112574
112644
|
exports2.default = getNonDevWantedDependencies;
|
|
112575
112645
|
function getWantedDependenciesFromGivenSet(deps, opts) {
|
|
112576
112646
|
if (!deps)
|
|
112577
112647
|
return [];
|
|
112578
|
-
return Object.keys(deps).map((alias) =>
|
|
112579
|
-
|
|
112580
|
-
|
|
112581
|
-
|
|
112582
|
-
|
|
112583
|
-
|
|
112648
|
+
return Object.keys(deps).map((alias) => {
|
|
112649
|
+
var _a;
|
|
112650
|
+
return {
|
|
112651
|
+
alias,
|
|
112652
|
+
dev: !!opts.devDependencies[alias],
|
|
112653
|
+
injected: (_a = opts.dependenciesMeta[alias]) === null || _a === void 0 ? void 0 : _a.injected,
|
|
112654
|
+
optional: !!opts.optionalDependencies[alias],
|
|
112655
|
+
pref: deps[alias]
|
|
112656
|
+
};
|
|
112657
|
+
});
|
|
112584
112658
|
}
|
|
112585
112659
|
function getNotBundledDeps(bundledDeps, deps) {
|
|
112586
112660
|
return Object.keys(deps).filter((depName) => !bundledDeps.has(depName)).reduce((notBundledDeps, depName) => {
|
|
@@ -113108,7 +113182,7 @@ var require_resolveDependencies = __commonJS({
|
|
|
113108
113182
|
var _a, _b;
|
|
113109
113183
|
if (pkg.peerDependencies == null && pkg.peerDependenciesMeta == null)
|
|
113110
113184
|
return pkg.peerDependencies;
|
|
113111
|
-
const ownDeps = new Set([
|
|
113185
|
+
const ownDeps = /* @__PURE__ */ new Set([
|
|
113112
113186
|
...Object.keys((_a = pkg.dependencies) !== null && _a !== void 0 ? _a : {}),
|
|
113113
113187
|
...Object.keys((_b = pkg.optionalDependencies) !== null && _b !== void 0 ? _b : {})
|
|
113114
113188
|
]);
|
|
@@ -113165,7 +113239,7 @@ var require_resolveDependencyTree = __commonJS({
|
|
|
113165
113239
|
async function default_1(importers, opts) {
|
|
113166
113240
|
var _a, _b;
|
|
113167
113241
|
const directDepsByImporterId = {};
|
|
113168
|
-
const wantedToBeSkippedPackageIds = new Set();
|
|
113242
|
+
const wantedToBeSkippedPackageIds = /* @__PURE__ */ new Set();
|
|
113169
113243
|
const ctx = {
|
|
113170
113244
|
childrenByParentDepPath: {},
|
|
113171
113245
|
currentLockfile: opts.currentLockfile,
|
|
@@ -113177,7 +113251,7 @@ var require_resolveDependencyTree = __commonJS({
|
|
|
113177
113251
|
forceFullResolution: opts.forceFullResolution,
|
|
113178
113252
|
linkWorkspacePackagesDepth: (_a = opts.linkWorkspacePackagesDepth) !== null && _a !== void 0 ? _a : -1,
|
|
113179
113253
|
lockfileDir: opts.lockfileDir,
|
|
113180
|
-
neverBuiltDependencies: (_b = opts.neverBuiltDependencies) !== null && _b !== void 0 ? _b : new Set(),
|
|
113254
|
+
neverBuiltDependencies: (_b = opts.neverBuiltDependencies) !== null && _b !== void 0 ? _b : /* @__PURE__ */ new Set(),
|
|
113181
113255
|
nodeVersion: opts.nodeVersion,
|
|
113182
113256
|
outdatedDependencies: {},
|
|
113183
113257
|
pendingNodes: [],
|
|
@@ -113198,7 +113272,7 @@ var require_resolveDependencyTree = __commonJS({
|
|
|
113198
113272
|
const linkedDependencies = [];
|
|
113199
113273
|
const resolveCtx = {
|
|
113200
113274
|
...ctx,
|
|
113201
|
-
updatedSet: new Set(),
|
|
113275
|
+
updatedSet: /* @__PURE__ */ new Set(),
|
|
113202
113276
|
linkedDependencies,
|
|
113203
113277
|
modulesDir: importer.modulesDir,
|
|
113204
113278
|
prefix: importer.rootDir
|
|
@@ -113293,6 +113367,74 @@ var require_resolveDependencyTree = __commonJS({
|
|
|
113293
113367
|
}
|
|
113294
113368
|
});
|
|
113295
113369
|
|
|
113370
|
+
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/semverUtils.js
|
|
113371
|
+
var require_semverUtils = __commonJS({
|
|
113372
|
+
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/semverUtils.js"(exports2) {
|
|
113373
|
+
"use strict";
|
|
113374
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
113375
|
+
exports2.validRange = exports2.satisfiesWithPrereleases = exports2.SemVer = void 0;
|
|
113376
|
+
var tslib_12 = require_tslib();
|
|
113377
|
+
var semver_12 = (0, tslib_12.__importDefault)(require_semver2());
|
|
113378
|
+
var semver_2 = require_semver2();
|
|
113379
|
+
Object.defineProperty(exports2, "SemVer", { enumerable: true, get: function() {
|
|
113380
|
+
return semver_2.SemVer;
|
|
113381
|
+
} });
|
|
113382
|
+
var satisfiesWithPrereleasesCache = /* @__PURE__ */ new Map();
|
|
113383
|
+
function satisfiesWithPrereleases(version, range, loose = false) {
|
|
113384
|
+
if (!version)
|
|
113385
|
+
return false;
|
|
113386
|
+
const key = `${range}${loose}`;
|
|
113387
|
+
let semverRange = satisfiesWithPrereleasesCache.get(key);
|
|
113388
|
+
if (typeof semverRange === `undefined`) {
|
|
113389
|
+
try {
|
|
113390
|
+
semverRange = new semver_12.default.Range(range, { includePrerelease: true, loose });
|
|
113391
|
+
} catch {
|
|
113392
|
+
return false;
|
|
113393
|
+
} finally {
|
|
113394
|
+
satisfiesWithPrereleasesCache.set(key, semverRange || null);
|
|
113395
|
+
}
|
|
113396
|
+
} else if (semverRange === null) {
|
|
113397
|
+
return false;
|
|
113398
|
+
}
|
|
113399
|
+
let semverVersion;
|
|
113400
|
+
try {
|
|
113401
|
+
semverVersion = new semver_12.default.SemVer(version, semverRange);
|
|
113402
|
+
} catch (err) {
|
|
113403
|
+
return false;
|
|
113404
|
+
}
|
|
113405
|
+
if (semverRange.test(semverVersion))
|
|
113406
|
+
return true;
|
|
113407
|
+
if (semverVersion.prerelease)
|
|
113408
|
+
semverVersion.prerelease = [];
|
|
113409
|
+
return semverRange.set.some((comparatorSet) => {
|
|
113410
|
+
for (const comparator of comparatorSet)
|
|
113411
|
+
if (comparator.semver.prerelease)
|
|
113412
|
+
comparator.semver.prerelease = [];
|
|
113413
|
+
return comparatorSet.every((comparator) => {
|
|
113414
|
+
return comparator.test(semverVersion);
|
|
113415
|
+
});
|
|
113416
|
+
});
|
|
113417
|
+
}
|
|
113418
|
+
exports2.satisfiesWithPrereleases = satisfiesWithPrereleases;
|
|
113419
|
+
var rangesCache = /* @__PURE__ */ new Map();
|
|
113420
|
+
function validRange(potentialRange) {
|
|
113421
|
+
if (potentialRange.indexOf(`:`) !== -1)
|
|
113422
|
+
return null;
|
|
113423
|
+
let range = rangesCache.get(potentialRange);
|
|
113424
|
+
if (typeof range !== `undefined`)
|
|
113425
|
+
return range;
|
|
113426
|
+
try {
|
|
113427
|
+
range = new semver_12.default.Range(potentialRange);
|
|
113428
|
+
} catch {
|
|
113429
|
+
range = null;
|
|
113430
|
+
}
|
|
113431
|
+
rangesCache.set(potentialRange, range);
|
|
113432
|
+
return range;
|
|
113433
|
+
}
|
|
113434
|
+
exports2.validRange = validRange;
|
|
113435
|
+
}
|
|
113436
|
+
});
|
|
113437
|
+
|
|
113296
113438
|
// ../../node_modules/.pnpm/ramda@0.27.1/node_modules/ramda/src/scan.js
|
|
113297
113439
|
var require_scan4 = __commonJS({
|
|
113298
113440
|
"../../node_modules/.pnpm/ramda@0.27.1/node_modules/ramda/src/scan.js"(exports2, module2) {
|
|
@@ -113811,7 +113953,7 @@ var require_mergePeers = __commonJS({
|
|
|
113811
113953
|
intersections[peerName] = ranges[0].wantedRange;
|
|
113812
113954
|
continue;
|
|
113813
113955
|
}
|
|
113814
|
-
const intersection = (
|
|
113956
|
+
const intersection = safeIntersect(ranges.map(({ wantedRange }) => wantedRange));
|
|
113815
113957
|
if (intersection === null) {
|
|
113816
113958
|
conflicts.push(peerName);
|
|
113817
113959
|
} else {
|
|
@@ -113821,6 +113963,13 @@ var require_mergePeers = __commonJS({
|
|
|
113821
113963
|
return { conflicts, intersections };
|
|
113822
113964
|
}
|
|
113823
113965
|
exports2.mergePeers = mergePeers;
|
|
113966
|
+
function safeIntersect(ranges) {
|
|
113967
|
+
try {
|
|
113968
|
+
return (0, semver_range_intersect_1.intersect)(...ranges);
|
|
113969
|
+
} catch {
|
|
113970
|
+
return null;
|
|
113971
|
+
}
|
|
113972
|
+
}
|
|
113824
113973
|
}
|
|
113825
113974
|
});
|
|
113826
113975
|
|
|
@@ -113834,12 +113983,12 @@ var require_resolvePeers = __commonJS({
|
|
|
113834
113983
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
113835
113984
|
var crypto_1 = __importDefault(require("crypto"));
|
|
113836
113985
|
var path_1 = __importDefault(require("path"));
|
|
113986
|
+
var semverUtils_1 = require_semverUtils();
|
|
113837
113987
|
var dependency_path_1 = require_lib35();
|
|
113838
113988
|
var fromPairs_1 = __importDefault(require_fromPairs());
|
|
113839
113989
|
var isEmpty_1 = __importDefault(require_isEmpty2());
|
|
113840
113990
|
var pick_1 = __importDefault(require_pick());
|
|
113841
113991
|
var scan_1 = __importDefault(require_scan4());
|
|
113842
|
-
var semver_12 = __importDefault(require_semver2());
|
|
113843
113992
|
var mergePeers_1 = require_mergePeers();
|
|
113844
113993
|
var nodeIdUtils_1 = require_nodeIdUtils();
|
|
113845
113994
|
function default_1(opts) {
|
|
@@ -113860,9 +114009,9 @@ var require_resolvePeers = __commonJS({
|
|
|
113860
114009
|
depGraph,
|
|
113861
114010
|
lockfileDir: opts.lockfileDir,
|
|
113862
114011
|
pathsByNodeId,
|
|
113863
|
-
peersCache: new Map(),
|
|
114012
|
+
peersCache: /* @__PURE__ */ new Map(),
|
|
113864
114013
|
peerDependencyIssues,
|
|
113865
|
-
purePkgs: new Set(),
|
|
114014
|
+
purePkgs: /* @__PURE__ */ new Set(),
|
|
113866
114015
|
rootDir,
|
|
113867
114016
|
virtualStoreDir: opts.virtualStoreDir
|
|
113868
114017
|
});
|
|
@@ -113965,7 +114114,7 @@ var require_resolvePeers = __commonJS({
|
|
|
113965
114114
|
});
|
|
113966
114115
|
const allResolvedPeers = Object.assign(unknownResolvedPeersOfChildren, resolvedPeers);
|
|
113967
114116
|
delete allResolvedPeers[node.resolvedPackage.name];
|
|
113968
|
-
const allMissingPeers = Array.from(new Set([...missingPeersOfChildren, ...missingPeers]));
|
|
114117
|
+
const allMissingPeers = Array.from(/* @__PURE__ */ new Set([...missingPeersOfChildren, ...missingPeers]));
|
|
113969
114118
|
let depPath;
|
|
113970
114119
|
if ((0, isEmpty_1.default)(allResolvedPeers)) {
|
|
113971
114120
|
depPath = resolvedPackage.depPath;
|
|
@@ -113994,7 +114143,7 @@ var require_resolvePeers = __commonJS({
|
|
|
113994
114143
|
const peerDependencies = { ...resolvedPackage.peerDependencies };
|
|
113995
114144
|
if (!ctx.depGraph[depPath] || ctx.depGraph[depPath].depth > node.depth) {
|
|
113996
114145
|
const dir = path_1.default.join(modules, resolvedPackage.name);
|
|
113997
|
-
const transitivePeerDependencies = new Set();
|
|
114146
|
+
const transitivePeerDependencies = /* @__PURE__ */ new Set();
|
|
113998
114147
|
const unknownPeers = [
|
|
113999
114148
|
...Object.keys(unknownResolvedPeersOfChildren),
|
|
114000
114149
|
...missingPeersOfChildren
|
|
@@ -114039,7 +114188,7 @@ var require_resolvePeers = __commonJS({
|
|
|
114039
114188
|
}
|
|
114040
114189
|
function resolvePeersOfChildren(children, parentPkgs, ctx) {
|
|
114041
114190
|
const allResolvedPeers = {};
|
|
114042
|
-
const allMissingPeers = new Set();
|
|
114191
|
+
const allMissingPeers = /* @__PURE__ */ new Set();
|
|
114043
114192
|
for (const childNodeId of Object.values(children)) {
|
|
114044
114193
|
const { resolvedPeers, missingPeers } = resolvePeersOfNode(childNodeId, parentPkgs, ctx);
|
|
114045
114194
|
Object.assign(allResolvedPeers, resolvedPeers);
|
|
@@ -114061,7 +114210,7 @@ var require_resolvePeers = __commonJS({
|
|
|
114061
114210
|
const optionalPeer = ((_b = (_a = ctx.resolvedPackage.peerDependenciesMeta) === null || _a === void 0 ? void 0 : _a[peerName]) === null || _b === void 0 ? void 0 : _b.optional) === true;
|
|
114062
114211
|
if (!resolved) {
|
|
114063
114212
|
missingPeers.push(peerName);
|
|
114064
|
-
const location =
|
|
114213
|
+
const location = getLocationFromNodeIdAndPkg({
|
|
114065
114214
|
dependenciesTree: ctx.dependenciesTree,
|
|
114066
114215
|
nodeId: ctx.nodeId,
|
|
114067
114216
|
pkg: ctx.resolvedPackage
|
|
@@ -114076,8 +114225,8 @@ var require_resolvePeers = __commonJS({
|
|
|
114076
114225
|
});
|
|
114077
114226
|
continue;
|
|
114078
114227
|
}
|
|
114079
|
-
if (!
|
|
114080
|
-
const location =
|
|
114228
|
+
if (!(0, semverUtils_1.satisfiesWithPrereleases)(resolved.version, peerVersionRange, true)) {
|
|
114229
|
+
const location = getLocationFromNodeIdAndPkg({
|
|
114081
114230
|
dependenciesTree: ctx.dependenciesTree,
|
|
114082
114231
|
nodeId: ctx.nodeId,
|
|
114083
114232
|
pkg: ctx.resolvedPackage
|
|
@@ -114085,8 +114234,13 @@ var require_resolvePeers = __commonJS({
|
|
|
114085
114234
|
if (!ctx.peerDependencyIssues.bad[peerName]) {
|
|
114086
114235
|
ctx.peerDependencyIssues.bad[peerName] = [];
|
|
114087
114236
|
}
|
|
114237
|
+
const peerLocation = resolved.nodeId == null ? [] : getLocationFromNodeId({
|
|
114238
|
+
dependenciesTree: ctx.dependenciesTree,
|
|
114239
|
+
nodeId: resolved.nodeId
|
|
114240
|
+
}).parents;
|
|
114088
114241
|
ctx.peerDependencyIssues.bad[peerName].push({
|
|
114089
114242
|
foundVersion: resolved.version,
|
|
114243
|
+
resolvedFrom: peerLocation,
|
|
114090
114244
|
parents: location.parents,
|
|
114091
114245
|
optional: optionalPeer,
|
|
114092
114246
|
wantedRange: peerVersionRange
|
|
@@ -114097,10 +114251,17 @@ var require_resolvePeers = __commonJS({
|
|
|
114097
114251
|
}
|
|
114098
114252
|
return { resolvedPeers, missingPeers };
|
|
114099
114253
|
}
|
|
114100
|
-
function
|
|
114254
|
+
function getLocationFromNodeIdAndPkg({ dependenciesTree, nodeId, pkg }) {
|
|
114255
|
+
const { projectId, parents } = getLocationFromNodeId({ dependenciesTree, nodeId });
|
|
114256
|
+
parents.push({ name: pkg.name, version: pkg.version });
|
|
114257
|
+
return {
|
|
114258
|
+
projectId,
|
|
114259
|
+
parents
|
|
114260
|
+
};
|
|
114261
|
+
}
|
|
114262
|
+
function getLocationFromNodeId({ dependenciesTree, nodeId }) {
|
|
114101
114263
|
const parts = (0, nodeIdUtils_1.splitNodeId)(nodeId).slice(0, -1);
|
|
114102
114264
|
const parents = (0, scan_1.default)((prevNodeId, pkgId) => (0, nodeIdUtils_1.createNodeId)(prevNodeId, pkgId), ">", parts).slice(2).map((nid) => (0, pick_1.default)(["name", "version"], dependenciesTree[nid].resolvedPackage));
|
|
114103
|
-
parents.push({ name: pkg.name, version: pkg.version });
|
|
114104
114265
|
return {
|
|
114105
114266
|
projectId: parts[0],
|
|
114106
114267
|
parents
|
|
@@ -114456,7 +114617,7 @@ var require_toResolveImporter = __commonJS({
|
|
|
114456
114617
|
async function partitionLinkedPackages(dependencies, opts) {
|
|
114457
114618
|
var _a;
|
|
114458
114619
|
const nonLinkedDependencies = [];
|
|
114459
|
-
const linkedAliases = new Set();
|
|
114620
|
+
const linkedAliases = /* @__PURE__ */ new Set();
|
|
114460
114621
|
for (const dependency of dependencies) {
|
|
114461
114622
|
if (!dependency.alias || ((_a = opts.workspacePackages) === null || _a === void 0 ? void 0 : _a[dependency.alias]) != null || dependency.pref.startsWith("workspace:")) {
|
|
114462
114623
|
nonLinkedDependencies.push(dependency);
|
|
@@ -115738,7 +115899,7 @@ var require_getPreferredVersions = __commonJS({
|
|
|
115738
115899
|
var manifest_utils_1 = require_lib22();
|
|
115739
115900
|
function getAllUniqueSpecs(manifests) {
|
|
115740
115901
|
const allSpecs = {};
|
|
115741
|
-
const ignored = new Set();
|
|
115902
|
+
const ignored = /* @__PURE__ */ new Set();
|
|
115742
115903
|
for (const manifest of manifests) {
|
|
115743
115904
|
const specs = (0, manifest_utils_1.getAllDependenciesFromManifest)(manifest);
|
|
115744
115905
|
for (const [name, spec] of Object.entries(specs)) {
|
|
@@ -115877,7 +116038,7 @@ var require_link2 = __commonJS({
|
|
|
115877
116038
|
const newCurrentLockfile = (0, filter_lockfile_1.filterLockfileByImporters)(opts.wantedLockfile, projectIds, {
|
|
115878
116039
|
...filterOpts,
|
|
115879
116040
|
failOnMissingDependencies: true,
|
|
115880
|
-
skipped: new Set()
|
|
116041
|
+
skipped: /* @__PURE__ */ new Set()
|
|
115881
116042
|
});
|
|
115882
116043
|
const newDepPaths = await linkNewPackages((0, filter_lockfile_1.filterLockfileByImporters)(opts.currentLockfile, projectIds, {
|
|
115883
116044
|
...filterOpts,
|
|
@@ -115953,7 +116114,7 @@ var require_link2 = __commonJS({
|
|
|
115953
116114
|
}, Object.keys(projects2), {
|
|
115954
116115
|
...filterOpts,
|
|
115955
116116
|
failOnMissingDependencies: false,
|
|
115956
|
-
skipped: new Set()
|
|
116117
|
+
skipped: /* @__PURE__ */ new Set()
|
|
115957
116118
|
});
|
|
115958
116119
|
} else if (opts.include.dependencies && opts.include.devDependencies && opts.include.optionalDependencies && opts.skipped.size === 0) {
|
|
115959
116120
|
currentLockfile = opts.wantedLockfile;
|
|
@@ -116037,7 +116198,7 @@ var require_link2 = __commonJS({
|
|
|
116037
116198
|
}
|
|
116038
116199
|
async function selectNewFromWantedDeps(wantedRelDepPaths, currentLockfile, depGraph) {
|
|
116039
116200
|
var _a;
|
|
116040
|
-
const newDeps = new Set();
|
|
116201
|
+
const newDeps = /* @__PURE__ */ new Set();
|
|
116041
116202
|
const prevDeps = (_a = currentLockfile.packages) !== null && _a !== void 0 ? _a : {};
|
|
116042
116203
|
await Promise.all(wantedRelDepPaths.map(async (depPath) => {
|
|
116043
116204
|
const depNode = depGraph[depPath];
|
|
@@ -116217,7 +116378,7 @@ var require_install = __commonJS({
|
|
|
116217
116378
|
var getPreferredVersions_1 = require_getPreferredVersions();
|
|
116218
116379
|
var link_1 = __importDefault(require_link2());
|
|
116219
116380
|
var reportPeerDependencyIssues_1 = __importDefault(require_reportPeerDependencyIssues2());
|
|
116220
|
-
var BROKEN_LOCKFILE_INTEGRITY_ERRORS = new Set([
|
|
116381
|
+
var BROKEN_LOCKFILE_INTEGRITY_ERRORS = /* @__PURE__ */ new Set([
|
|
116221
116382
|
"ERR_PNPM_UNEXPECTED_PKG_CONTENT_IN_STORE",
|
|
116222
116383
|
"ERR_PNPM_TARBALL_INTEGRITY"
|
|
116223
116384
|
]);
|
|
@@ -116302,7 +116463,9 @@ var require_install = __commonJS({
|
|
|
116302
116463
|
workspacePackages: opts.workspacePackages
|
|
116303
116464
|
}))) {
|
|
116304
116465
|
if (needsFullResolution) {
|
|
116305
|
-
throw new error_1.default("FROZEN_LOCKFILE_WITH_OUTDATED_LOCKFILE", "Cannot perform a frozen installation because the lockfile needs updates"
|
|
116466
|
+
throw new error_1.default("FROZEN_LOCKFILE_WITH_OUTDATED_LOCKFILE", "Cannot perform a frozen installation because the lockfile needs updates", {
|
|
116467
|
+
hint: 'Note that in CI environments this setting is true by default. If you still need to run install in such cases, use "pnpm install --no-frozen-lockfile"'
|
|
116468
|
+
});
|
|
116306
116469
|
}
|
|
116307
116470
|
if (!ctx.existsWantedLockfile) {
|
|
116308
116471
|
if (ctx.projects.some((project) => pkgHasDependencies(project.manifest))) {
|
|
@@ -117116,7 +117279,7 @@ var require_map_obj = __commonJS({
|
|
|
117116
117279
|
var isObject2 = (value) => typeof value === "object" && value !== null;
|
|
117117
117280
|
var mapObjectSkip = Symbol("skip");
|
|
117118
117281
|
var isObjectCustom = (value) => isObject2(value) && !(value instanceof RegExp) && !(value instanceof Error) && !(value instanceof Date);
|
|
117119
|
-
var mapObject = (object, mapper, options, isSeen = new WeakMap()) => {
|
|
117282
|
+
var mapObject = (object, mapper, options, isSeen = /* @__PURE__ */ new WeakMap()) => {
|
|
117120
117283
|
options = {
|
|
117121
117284
|
deep: false,
|
|
117122
117285
|
target: {},
|
|
@@ -117228,8 +117391,8 @@ var require_quick_lru = __commonJS({
|
|
|
117228
117391
|
throw new TypeError("`maxSize` must be a number greater than 0");
|
|
117229
117392
|
}
|
|
117230
117393
|
this.maxSize = options.maxSize;
|
|
117231
|
-
this.cache = new Map();
|
|
117232
|
-
this.oldCache = new Map();
|
|
117394
|
+
this.cache = /* @__PURE__ */ new Map();
|
|
117395
|
+
this.oldCache = /* @__PURE__ */ new Map();
|
|
117233
117396
|
this._size = 0;
|
|
117234
117397
|
}
|
|
117235
117398
|
_set(key, value) {
|
|
@@ -117238,7 +117401,7 @@ var require_quick_lru = __commonJS({
|
|
|
117238
117401
|
if (this._size >= this.maxSize) {
|
|
117239
117402
|
this._size = 0;
|
|
117240
117403
|
this.oldCache = this.cache;
|
|
117241
|
-
this.cache = new Map();
|
|
117404
|
+
this.cache = /* @__PURE__ */ new Map();
|
|
117242
117405
|
}
|
|
117243
117406
|
}
|
|
117244
117407
|
get(key) {
|
|
@@ -118133,7 +118296,7 @@ var require_recursive2 = __commonJS({
|
|
|
118133
118296
|
rootDir: opts.workspaceDir
|
|
118134
118297
|
});
|
|
118135
118298
|
}
|
|
118136
|
-
if (mutatedImporters.length === 0 && cmdFullName === "update") {
|
|
118299
|
+
if (mutatedImporters.length === 0 && cmdFullName === "update" && opts.depth === 0) {
|
|
118137
118300
|
throw new error_1.default("NO_PACKAGE_IN_DEPENDENCIES", "None of the specified packages were found in the dependencies of any of the projects.");
|
|
118138
118301
|
}
|
|
118139
118302
|
const mutatedPkgs = await (0, core_1.mutateModules)(mutatedImporters, {
|
|
@@ -118243,7 +118406,7 @@ var require_recursive2 = __commonJS({
|
|
|
118243
118406
|
}, []);
|
|
118244
118407
|
}
|
|
118245
118408
|
throwOnFail(result2);
|
|
118246
|
-
if (!result2.passes && cmdFullName === "update") {
|
|
118409
|
+
if (!result2.passes && cmdFullName === "update" && opts.depth === 0) {
|
|
118247
118410
|
throw new error_1.default("NO_PACKAGE_IN_DEPENDENCIES", "None of the specified packages were found in the dependencies of any of the projects.");
|
|
118248
118411
|
}
|
|
118249
118412
|
return true;
|
|
@@ -118481,7 +118644,7 @@ var require_installDeps = __commonJS({
|
|
|
118481
118644
|
const updateMatch = opts.update && params.length > 0 ? (0, recursive_1.createMatcher)(params) : null;
|
|
118482
118645
|
if (updateMatch != null) {
|
|
118483
118646
|
params = (0, recursive_1.matchDependencies)(updateMatch, manifest, includeDirect);
|
|
118484
|
-
if (params.length === 0) {
|
|
118647
|
+
if (params.length === 0 && opts.depth === 0) {
|
|
118485
118648
|
throw new error_1.default("NO_PACKAGE_IN_DEPENDENCIES", "None of the specified packages were found in the dependencies.");
|
|
118486
118649
|
}
|
|
118487
118650
|
}
|
|
@@ -118880,8 +119043,8 @@ var require_install2 = __commonJS({
|
|
|
118880
119043
|
name: "--lockfile-only"
|
|
118881
119044
|
},
|
|
118882
119045
|
{
|
|
118883
|
-
description: "Don't generate a lockfile and fail if an update is needed",
|
|
118884
|
-
name: "--frozen-lockfile"
|
|
119046
|
+
description: "Don't generate a lockfile and fail if an update is needed. This setting is on by default in CI environments, so use --no-frozen-lockfile if you need to disable it for some reason",
|
|
119047
|
+
name: "--[no-]frozen-lockfile"
|
|
118885
119048
|
},
|
|
118886
119049
|
{
|
|
118887
119050
|
description: `If the available \`${constants_1.WANTED_LOCKFILE}\` satisfies the \`package.json\` then perform a headless installation`,
|
|
@@ -119208,7 +119371,7 @@ var require_link3 = __commonJS({
|
|
|
119208
119371
|
exports2.help = help;
|
|
119209
119372
|
async function handler(opts, params) {
|
|
119210
119373
|
const cwd = process.cwd();
|
|
119211
|
-
const storeControllerCache = new Map();
|
|
119374
|
+
const storeControllerCache = /* @__PURE__ */ new Map();
|
|
119212
119375
|
let workspacePackagesArr;
|
|
119213
119376
|
let workspacePackages;
|
|
119214
119377
|
if (opts.workspaceDir) {
|
|
@@ -120676,7 +120839,7 @@ var require_lockfile = __commonJS({
|
|
|
120676
120839
|
};
|
|
120677
120840
|
})();
|
|
120678
120841
|
const artifactFiles = new Set(events.artifactFiles || []);
|
|
120679
|
-
const files = new Set();
|
|
120842
|
+
const files = /* @__PURE__ */ new Set();
|
|
120680
120843
|
for (var _iterator = queue, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator](); ; ) {
|
|
120681
120844
|
var _ref2;
|
|
120682
120845
|
if (_isArray) {
|
|
@@ -120910,7 +121073,7 @@ var require_lockfile = __commonJS({
|
|
|
120910
121073
|
};
|
|
120911
121074
|
})();
|
|
120912
121075
|
const artifactFiles = new Set(events.artifactFiles || []);
|
|
120913
|
-
const files = new Set();
|
|
121076
|
+
const files = /* @__PURE__ */ new Set();
|
|
120914
121077
|
for (var _iterator7 = queue, _isArray7 = Array.isArray(_iterator7), _i7 = 0, _iterator7 = _isArray7 ? _iterator7 : _iterator7[Symbol.iterator](); ; ) {
|
|
120915
121078
|
var _ref10;
|
|
120916
121079
|
if (_isArray7) {
|
|
@@ -120986,14 +121149,14 @@ var require_lockfile = __commonJS({
|
|
|
120986
121149
|
const events = {
|
|
120987
121150
|
onStart: _events && _events.onStart || noop,
|
|
120988
121151
|
onProgress: _events && _events.onProgress || noop,
|
|
120989
|
-
possibleExtraneous: _events ? _events.possibleExtraneous : new Set(),
|
|
121152
|
+
possibleExtraneous: _events ? _events.possibleExtraneous : /* @__PURE__ */ new Set(),
|
|
120990
121153
|
ignoreBasenames: _events && _events.ignoreBasenames || [],
|
|
120991
121154
|
artifactFiles: _events && _events.artifactFiles || []
|
|
120992
121155
|
};
|
|
120993
121156
|
const actions = yield buildActionsForCopy(queue, events, events.possibleExtraneous, reporter);
|
|
120994
121157
|
events.onStart(actions.file.length + actions.symlink.length + actions.link.length);
|
|
120995
121158
|
const fileActions = actions.file;
|
|
120996
|
-
const currentlyWriting = new Map();
|
|
121159
|
+
const currentlyWriting = /* @__PURE__ */ new Map();
|
|
120997
121160
|
yield (_promise || _load_promise()).queue(fileActions, (() => {
|
|
120998
121161
|
var _ref18 = (0, (_asyncToGenerator2 || _load_asyncToGenerator()).default)(function* (data) {
|
|
120999
121162
|
let writePromise;
|
|
@@ -121028,7 +121191,7 @@ var require_lockfile = __commonJS({
|
|
|
121028
121191
|
const events = {
|
|
121029
121192
|
onStart: _events && _events.onStart || noop,
|
|
121030
121193
|
onProgress: _events && _events.onProgress || noop,
|
|
121031
|
-
possibleExtraneous: _events ? _events.possibleExtraneous : new Set(),
|
|
121194
|
+
possibleExtraneous: _events ? _events.possibleExtraneous : /* @__PURE__ */ new Set(),
|
|
121032
121195
|
artifactFiles: _events && _events.artifactFiles || [],
|
|
121033
121196
|
ignoreBasenames: []
|
|
121034
121197
|
};
|
|
@@ -121161,7 +121324,7 @@ var require_lockfile = __commonJS({
|
|
|
121161
121324
|
};
|
|
121162
121325
|
})();
|
|
121163
121326
|
let walk = exports3.walk = (() => {
|
|
121164
|
-
var _ref27 = (0, (_asyncToGenerator2 || _load_asyncToGenerator()).default)(function* (dir, relativeDir, ignoreBasenames = new Set()) {
|
|
121327
|
+
var _ref27 = (0, (_asyncToGenerator2 || _load_asyncToGenerator()).default)(function* (dir, relativeDir, ignoreBasenames = /* @__PURE__ */ new Set()) {
|
|
121165
121328
|
let files = [];
|
|
121166
121329
|
let filenames = yield readdir(dir);
|
|
121167
121330
|
if (ignoreBasenames.size) {
|
|
@@ -121848,7 +122011,7 @@ var require_lockfile = __commonJS({
|
|
|
121848
122011
|
}
|
|
121849
122012
|
getLockfile(patterns) {
|
|
121850
122013
|
const lockfile = {};
|
|
121851
|
-
const seen = new Map();
|
|
122014
|
+
const seen = /* @__PURE__ */ new Map();
|
|
121852
122015
|
const sortedPatternsKeys = Object.keys(patterns).sort((_misc || _load_misc()).sortAlpha);
|
|
121853
122016
|
for (var _iterator = sortedPatternsKeys, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator](); ; ) {
|
|
121854
122017
|
var _ref;
|
|
@@ -127969,9 +128132,9 @@ ${indent}`);
|
|
|
127969
128132
|
}
|
|
127970
128133
|
});
|
|
127971
128134
|
|
|
127972
|
-
// ../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.
|
|
128135
|
+
// ../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.3/node_modules/@yarnpkg/fslib/lib/constants.js
|
|
127973
128136
|
var require_constants11 = __commonJS({
|
|
127974
|
-
"../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.
|
|
128137
|
+
"../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.3/node_modules/@yarnpkg/fslib/lib/constants.js"(exports2) {
|
|
127975
128138
|
"use strict";
|
|
127976
128139
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
127977
128140
|
exports2.SAFE_TIME = exports2.S_IFLNK = exports2.S_IFREG = exports2.S_IFDIR = exports2.S_IFMT = void 0;
|
|
@@ -127983,9 +128146,9 @@ var require_constants11 = __commonJS({
|
|
|
127983
128146
|
}
|
|
127984
128147
|
});
|
|
127985
128148
|
|
|
127986
|
-
// ../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.
|
|
128149
|
+
// ../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.3/node_modules/@yarnpkg/fslib/lib/statUtils.js
|
|
127987
128150
|
var require_statUtils2 = __commonJS({
|
|
127988
|
-
"../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.
|
|
128151
|
+
"../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.3/node_modules/@yarnpkg/fslib/lib/statUtils.js"(exports2) {
|
|
127989
128152
|
"use strict";
|
|
127990
128153
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
127991
128154
|
exports2.areStatsEqual = exports2.convertToBigIntStats = exports2.clearStats = exports2.makeEmptyStats = exports2.makeDefaultStats = exports2.BigIntStatsEntry = exports2.StatEntry = exports2.DirEntry = exports2.DEFAULT_MODE = void 0;
|
|
@@ -128215,9 +128378,9 @@ var require_statUtils2 = __commonJS({
|
|
|
128215
128378
|
}
|
|
128216
128379
|
});
|
|
128217
128380
|
|
|
128218
|
-
// ../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.
|
|
128381
|
+
// ../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.3/node_modules/@yarnpkg/fslib/lib/path.js
|
|
128219
128382
|
var require_path5 = __commonJS({
|
|
128220
|
-
"../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.
|
|
128383
|
+
"../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.3/node_modules/@yarnpkg/fslib/lib/path.js"(exports2) {
|
|
128221
128384
|
"use strict";
|
|
128222
128385
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
128223
128386
|
exports2.toFilename = exports2.convertPath = exports2.ppath = exports2.npath = exports2.Filename = exports2.PortablePath = void 0;
|
|
@@ -128309,9 +128472,9 @@ var require_path5 = __commonJS({
|
|
|
128309
128472
|
}
|
|
128310
128473
|
});
|
|
128311
128474
|
|
|
128312
|
-
// ../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.
|
|
128475
|
+
// ../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.3/node_modules/@yarnpkg/fslib/lib/algorithms/copyPromise.js
|
|
128313
128476
|
var require_copyPromise2 = __commonJS({
|
|
128314
|
-
"../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.
|
|
128477
|
+
"../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.3/node_modules/@yarnpkg/fslib/lib/algorithms/copyPromise.js"(exports2) {
|
|
128315
128478
|
"use strict";
|
|
128316
128479
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
128317
128480
|
exports2.copyPromise = exports2.LinkStrategy = void 0;
|
|
@@ -128425,7 +128588,7 @@ var require_copyPromise2 = __commonJS({
|
|
|
128425
128588
|
}
|
|
128426
128589
|
return updated;
|
|
128427
128590
|
}
|
|
128428
|
-
var isCloneSupportedCache = new WeakMap();
|
|
128591
|
+
var isCloneSupportedCache = /* @__PURE__ */ new WeakMap();
|
|
128429
128592
|
function makeLinkOperation(opFs, destination, source, sourceStat, linkStrategy) {
|
|
128430
128593
|
return async () => {
|
|
128431
128594
|
await opFs.linkPromise(source, destination);
|
|
@@ -128491,9 +128654,9 @@ var require_copyPromise2 = __commonJS({
|
|
|
128491
128654
|
}
|
|
128492
128655
|
});
|
|
128493
128656
|
|
|
128494
|
-
// ../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.
|
|
128657
|
+
// ../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.3/node_modules/@yarnpkg/fslib/lib/errors.js
|
|
128495
128658
|
var require_errors6 = __commonJS({
|
|
128496
|
-
"../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.
|
|
128659
|
+
"../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.3/node_modules/@yarnpkg/fslib/lib/errors.js"(exports2) {
|
|
128497
128660
|
"use strict";
|
|
128498
128661
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
128499
128662
|
exports2.LibzipError = exports2.ERR_DIR_CLOSED = exports2.EOPNOTSUPP = exports2.ENOTEMPTY = exports2.EROFS = exports2.EEXIST = exports2.EISDIR = exports2.ENOTDIR = exports2.ENOENT = exports2.EBADF = exports2.EINVAL = exports2.ENOSYS = exports2.EBUSY = void 0;
|
|
@@ -128559,9 +128722,9 @@ var require_errors6 = __commonJS({
|
|
|
128559
128722
|
}
|
|
128560
128723
|
});
|
|
128561
128724
|
|
|
128562
|
-
// ../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.
|
|
128725
|
+
// ../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.3/node_modules/@yarnpkg/fslib/lib/algorithms/opendir.js
|
|
128563
128726
|
var require_opendir2 = __commonJS({
|
|
128564
|
-
"../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.
|
|
128727
|
+
"../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.3/node_modules/@yarnpkg/fslib/lib/algorithms/opendir.js"(exports2) {
|
|
128565
128728
|
"use strict";
|
|
128566
128729
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
128567
128730
|
exports2.opendir = exports2.CustomDir = void 0;
|
|
@@ -128628,9 +128791,9 @@ var require_opendir2 = __commonJS({
|
|
|
128628
128791
|
}
|
|
128629
128792
|
});
|
|
128630
128793
|
|
|
128631
|
-
// ../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.
|
|
128794
|
+
// ../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.3/node_modules/@yarnpkg/fslib/lib/FakeFS.js
|
|
128632
128795
|
var require_FakeFS2 = __commonJS({
|
|
128633
|
-
"../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.
|
|
128796
|
+
"../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.3/node_modules/@yarnpkg/fslib/lib/FakeFS.js"(exports2) {
|
|
128634
128797
|
"use strict";
|
|
128635
128798
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
128636
128799
|
exports2.normalizeLineEndings = exports2.BasePortableFakeFS = exports2.FakeFS = void 0;
|
|
@@ -129014,9 +129177,9 @@ var require_FakeFS2 = __commonJS({
|
|
|
129014
129177
|
}
|
|
129015
129178
|
});
|
|
129016
129179
|
|
|
129017
|
-
// ../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.
|
|
129180
|
+
// ../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.3/node_modules/@yarnpkg/fslib/lib/NodeFS.js
|
|
129018
129181
|
var require_NodeFS2 = __commonJS({
|
|
129019
|
-
"../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.
|
|
129182
|
+
"../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.3/node_modules/@yarnpkg/fslib/lib/NodeFS.js"(exports2) {
|
|
129020
129183
|
"use strict";
|
|
129021
129184
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
129022
129185
|
exports2.NodeFS = void 0;
|
|
@@ -129387,9 +129550,9 @@ var require_NodeFS2 = __commonJS({
|
|
|
129387
129550
|
}
|
|
129388
129551
|
});
|
|
129389
129552
|
|
|
129390
|
-
// ../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.
|
|
129553
|
+
// ../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.3/node_modules/@yarnpkg/fslib/lib/algorithms/watchFile/CustomStatWatcher.js
|
|
129391
129554
|
var require_CustomStatWatcher2 = __commonJS({
|
|
129392
|
-
"../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.
|
|
129555
|
+
"../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.3/node_modules/@yarnpkg/fslib/lib/algorithms/watchFile/CustomStatWatcher.js"(exports2) {
|
|
129393
129556
|
"use strict";
|
|
129394
129557
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
129395
129558
|
exports2.CustomStatWatcher = exports2.assertStatus = exports2.Status = exports2.Event = void 0;
|
|
@@ -129417,7 +129580,7 @@ var require_CustomStatWatcher2 = __commonJS({
|
|
|
129417
129580
|
constructor(fakeFs, path2, { bigint = false } = {}) {
|
|
129418
129581
|
super();
|
|
129419
129582
|
this.status = Status.Ready;
|
|
129420
|
-
this.changeListeners = new Map();
|
|
129583
|
+
this.changeListeners = /* @__PURE__ */ new Map();
|
|
129421
129584
|
this.startTimeout = null;
|
|
129422
129585
|
this.fakeFs = fakeFs;
|
|
129423
129586
|
this.path = path2;
|
|
@@ -129501,14 +129664,14 @@ var require_CustomStatWatcher2 = __commonJS({
|
|
|
129501
129664
|
}
|
|
129502
129665
|
});
|
|
129503
129666
|
|
|
129504
|
-
// ../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.
|
|
129667
|
+
// ../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.3/node_modules/@yarnpkg/fslib/lib/algorithms/watchFile.js
|
|
129505
129668
|
var require_watchFile2 = __commonJS({
|
|
129506
|
-
"../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.
|
|
129669
|
+
"../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.3/node_modules/@yarnpkg/fslib/lib/algorithms/watchFile.js"(exports2) {
|
|
129507
129670
|
"use strict";
|
|
129508
129671
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
129509
129672
|
exports2.unwatchAllFiles = exports2.unwatchFile = exports2.watchFile = void 0;
|
|
129510
129673
|
var CustomStatWatcher_1 = require_CustomStatWatcher2();
|
|
129511
|
-
var statWatchersByFakeFS = new WeakMap();
|
|
129674
|
+
var statWatchersByFakeFS = /* @__PURE__ */ new WeakMap();
|
|
129512
129675
|
function watchFile(fakeFs, path2, a, b) {
|
|
129513
129676
|
let bigint;
|
|
129514
129677
|
let persistent;
|
|
@@ -129536,7 +129699,7 @@ var require_watchFile2 = __commonJS({
|
|
|
129536
129699
|
}
|
|
129537
129700
|
let statWatchers = statWatchersByFakeFS.get(fakeFs);
|
|
129538
129701
|
if (typeof statWatchers === `undefined`)
|
|
129539
|
-
statWatchersByFakeFS.set(fakeFs, statWatchers = new Map());
|
|
129702
|
+
statWatchersByFakeFS.set(fakeFs, statWatchers = /* @__PURE__ */ new Map());
|
|
129540
129703
|
let statWatcher = statWatchers.get(path2);
|
|
129541
129704
|
if (typeof statWatcher === `undefined`) {
|
|
129542
129705
|
statWatcher = CustomStatWatcher_1.CustomStatWatcher.create(fakeFs, path2, { bigint });
|
|
@@ -129575,9 +129738,9 @@ var require_watchFile2 = __commonJS({
|
|
|
129575
129738
|
}
|
|
129576
129739
|
});
|
|
129577
129740
|
|
|
129578
|
-
// ../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.
|
|
129741
|
+
// ../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.3/node_modules/@yarnpkg/fslib/lib/ZipFS.js
|
|
129579
129742
|
var require_ZipFS2 = __commonJS({
|
|
129580
|
-
"../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.
|
|
129743
|
+
"../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.3/node_modules/@yarnpkg/fslib/lib/ZipFS.js"(exports2) {
|
|
129581
129744
|
"use strict";
|
|
129582
129745
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
129583
129746
|
exports2.ZipFS = exports2.makeEmptyArchive = exports2.DEFAULT_COMPRESSION_LEVEL = void 0;
|
|
@@ -129640,10 +129803,10 @@ var require_ZipFS2 = __commonJS({
|
|
|
129640
129803
|
constructor(source, opts) {
|
|
129641
129804
|
super();
|
|
129642
129805
|
this.lzSource = null;
|
|
129643
|
-
this.listings = new Map();
|
|
129644
|
-
this.entries = new Map();
|
|
129645
|
-
this.fileSources = new Map();
|
|
129646
|
-
this.fds = new Map();
|
|
129806
|
+
this.listings = /* @__PURE__ */ new Map();
|
|
129807
|
+
this.entries = /* @__PURE__ */ new Map();
|
|
129808
|
+
this.fileSources = /* @__PURE__ */ new Map();
|
|
129809
|
+
this.fds = /* @__PURE__ */ new Map();
|
|
129647
129810
|
this.nextFd = 0;
|
|
129648
129811
|
this.ready = false;
|
|
129649
129812
|
this.readOnly = false;
|
|
@@ -129705,7 +129868,7 @@ var require_ZipFS2 = __commonJS({
|
|
|
129705
129868
|
} finally {
|
|
129706
129869
|
this.libzip.free(errPtr);
|
|
129707
129870
|
}
|
|
129708
|
-
this.listings.set(path_1.PortablePath.root, new Set());
|
|
129871
|
+
this.listings.set(path_1.PortablePath.root, /* @__PURE__ */ new Set());
|
|
129709
129872
|
const entryCount = this.libzip.getNumEntries(this.zip, 0);
|
|
129710
129873
|
for (let t = 0; t < entryCount; ++t) {
|
|
129711
129874
|
const raw = this.libzip.getName(this.zip, t, 0);
|
|
@@ -130095,7 +130258,7 @@ var require_ZipFS2 = __commonJS({
|
|
|
130095
130258
|
if (listing)
|
|
130096
130259
|
return listing;
|
|
130097
130260
|
const parentListing = this.registerListing(path_1.ppath.dirname(p));
|
|
130098
|
-
listing = new Set();
|
|
130261
|
+
listing = /* @__PURE__ */ new Set();
|
|
130099
130262
|
parentListing.add(path_1.ppath.basename(p));
|
|
130100
130263
|
this.listings.set(p, listing);
|
|
130101
130264
|
return listing;
|
|
@@ -130672,9 +130835,9 @@ var require_ZipFS2 = __commonJS({
|
|
|
130672
130835
|
}
|
|
130673
130836
|
});
|
|
130674
130837
|
|
|
130675
|
-
// ../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.
|
|
130838
|
+
// ../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.3/node_modules/@yarnpkg/fslib/lib/ProxiedFS.js
|
|
130676
130839
|
var require_ProxiedFS2 = __commonJS({
|
|
130677
|
-
"../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.
|
|
130840
|
+
"../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.3/node_modules/@yarnpkg/fslib/lib/ProxiedFS.js"(exports2) {
|
|
130678
130841
|
"use strict";
|
|
130679
130842
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
130680
130843
|
exports2.ProxiedFS = void 0;
|
|
@@ -130904,9 +131067,9 @@ var require_ProxiedFS2 = __commonJS({
|
|
|
130904
131067
|
}
|
|
130905
131068
|
});
|
|
130906
131069
|
|
|
130907
|
-
// ../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.
|
|
131070
|
+
// ../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.3/node_modules/@yarnpkg/fslib/lib/AliasFS.js
|
|
130908
131071
|
var require_AliasFS2 = __commonJS({
|
|
130909
|
-
"../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.
|
|
131072
|
+
"../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.3/node_modules/@yarnpkg/fslib/lib/AliasFS.js"(exports2) {
|
|
130910
131073
|
"use strict";
|
|
130911
131074
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
130912
131075
|
exports2.AliasFS = void 0;
|
|
@@ -130934,9 +131097,9 @@ var require_AliasFS2 = __commonJS({
|
|
|
130934
131097
|
}
|
|
130935
131098
|
});
|
|
130936
131099
|
|
|
130937
|
-
// ../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.
|
|
131100
|
+
// ../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.3/node_modules/@yarnpkg/fslib/lib/CwdFS.js
|
|
130938
131101
|
var require_CwdFS2 = __commonJS({
|
|
130939
|
-
"../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.
|
|
131102
|
+
"../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.3/node_modules/@yarnpkg/fslib/lib/CwdFS.js"(exports2) {
|
|
130940
131103
|
"use strict";
|
|
130941
131104
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
130942
131105
|
exports2.CwdFS = void 0;
|
|
@@ -130974,9 +131137,9 @@ var require_CwdFS2 = __commonJS({
|
|
|
130974
131137
|
}
|
|
130975
131138
|
});
|
|
130976
131139
|
|
|
130977
|
-
// ../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.
|
|
131140
|
+
// ../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.3/node_modules/@yarnpkg/fslib/lib/JailFS.js
|
|
130978
131141
|
var require_JailFS2 = __commonJS({
|
|
130979
|
-
"../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.
|
|
131142
|
+
"../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.3/node_modules/@yarnpkg/fslib/lib/JailFS.js"(exports2) {
|
|
130980
131143
|
"use strict";
|
|
130981
131144
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
130982
131145
|
exports2.JailFS = void 0;
|
|
@@ -131015,9 +131178,9 @@ var require_JailFS2 = __commonJS({
|
|
|
131015
131178
|
}
|
|
131016
131179
|
});
|
|
131017
131180
|
|
|
131018
|
-
// ../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.
|
|
131181
|
+
// ../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.3/node_modules/@yarnpkg/fslib/lib/LazyFS.js
|
|
131019
131182
|
var require_LazyFS2 = __commonJS({
|
|
131020
|
-
"../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.
|
|
131183
|
+
"../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.3/node_modules/@yarnpkg/fslib/lib/LazyFS.js"(exports2) {
|
|
131021
131184
|
"use strict";
|
|
131022
131185
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
131023
131186
|
exports2.LazyFS = void 0;
|
|
@@ -131047,9 +131210,9 @@ var require_LazyFS2 = __commonJS({
|
|
|
131047
131210
|
}
|
|
131048
131211
|
});
|
|
131049
131212
|
|
|
131050
|
-
// ../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.
|
|
131213
|
+
// ../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.3/node_modules/@yarnpkg/fslib/lib/NoFS.js
|
|
131051
131214
|
var require_NoFS2 = __commonJS({
|
|
131052
|
-
"../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.
|
|
131215
|
+
"../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.3/node_modules/@yarnpkg/fslib/lib/NoFS.js"(exports2) {
|
|
131053
131216
|
"use strict";
|
|
131054
131217
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
131055
131218
|
exports2.NoFS = void 0;
|
|
@@ -131252,9 +131415,9 @@ var require_NoFS2 = __commonJS({
|
|
|
131252
131415
|
}
|
|
131253
131416
|
});
|
|
131254
131417
|
|
|
131255
|
-
// ../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.
|
|
131418
|
+
// ../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.3/node_modules/@yarnpkg/fslib/lib/PosixFS.js
|
|
131256
131419
|
var require_PosixFS2 = __commonJS({
|
|
131257
|
-
"../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.
|
|
131420
|
+
"../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.3/node_modules/@yarnpkg/fslib/lib/PosixFS.js"(exports2) {
|
|
131258
131421
|
"use strict";
|
|
131259
131422
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
131260
131423
|
exports2.PosixFS = void 0;
|
|
@@ -131276,9 +131439,9 @@ var require_PosixFS2 = __commonJS({
|
|
|
131276
131439
|
}
|
|
131277
131440
|
});
|
|
131278
131441
|
|
|
131279
|
-
// ../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.
|
|
131442
|
+
// ../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.3/node_modules/@yarnpkg/fslib/lib/VirtualFS.js
|
|
131280
131443
|
var require_VirtualFS2 = __commonJS({
|
|
131281
|
-
"../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.
|
|
131444
|
+
"../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.3/node_modules/@yarnpkg/fslib/lib/VirtualFS.js"(exports2) {
|
|
131282
131445
|
"use strict";
|
|
131283
131446
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
131284
131447
|
exports2.VirtualFS = void 0;
|
|
@@ -131363,9 +131526,9 @@ var require_VirtualFS2 = __commonJS({
|
|
|
131363
131526
|
}
|
|
131364
131527
|
});
|
|
131365
131528
|
|
|
131366
|
-
// ../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.
|
|
131529
|
+
// ../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.3/node_modules/@yarnpkg/fslib/lib/ZipOpenFS.js
|
|
131367
131530
|
var require_ZipOpenFS2 = __commonJS({
|
|
131368
|
-
"../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.
|
|
131531
|
+
"../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.3/node_modules/@yarnpkg/fslib/lib/ZipOpenFS.js"(exports2) {
|
|
131369
131532
|
"use strict";
|
|
131370
131533
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
131371
131534
|
exports2.ZipOpenFS = exports2.getArchivePart = void 0;
|
|
@@ -131399,15 +131562,15 @@ var require_ZipOpenFS2 = __commonJS({
|
|
|
131399
131562
|
var ZipOpenFS = class extends FakeFS_1.BasePortableFakeFS {
|
|
131400
131563
|
constructor({ libzip, baseFs = new NodeFS_1.NodeFS(), filter: filter2 = null, maxOpenFiles = Infinity, readOnlyArchives = false, useCache = true, maxAge = 5e3, fileExtensions = null }) {
|
|
131401
131564
|
super();
|
|
131402
|
-
this.fdMap = new Map();
|
|
131565
|
+
this.fdMap = /* @__PURE__ */ new Map();
|
|
131403
131566
|
this.nextFd = 3;
|
|
131404
|
-
this.isZip = new Set();
|
|
131405
|
-
this.notZip = new Set();
|
|
131406
|
-
this.realPaths = new Map();
|
|
131567
|
+
this.isZip = /* @__PURE__ */ new Set();
|
|
131568
|
+
this.notZip = /* @__PURE__ */ new Set();
|
|
131569
|
+
this.realPaths = /* @__PURE__ */ new Map();
|
|
131407
131570
|
this.limitOpenFilesTimeout = null;
|
|
131408
131571
|
this.libzipFactory = typeof libzip !== `function` ? () => libzip : libzip;
|
|
131409
131572
|
this.baseFs = baseFs;
|
|
131410
|
-
this.zipInstances = useCache ? new Map() : null;
|
|
131573
|
+
this.zipInstances = useCache ? /* @__PURE__ */ new Map() : null;
|
|
131411
131574
|
this.filter = filter2;
|
|
131412
131575
|
this.maxOpenFiles = maxOpenFiles;
|
|
131413
131576
|
this.readOnlyArchives = readOnlyArchives;
|
|
@@ -132180,9 +132343,9 @@ var require_ZipOpenFS2 = __commonJS({
|
|
|
132180
132343
|
}
|
|
132181
132344
|
});
|
|
132182
132345
|
|
|
132183
|
-
// ../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.
|
|
132346
|
+
// ../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.3/node_modules/@yarnpkg/fslib/lib/URLFS.js
|
|
132184
132347
|
var require_URLFS2 = __commonJS({
|
|
132185
|
-
"../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.
|
|
132348
|
+
"../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.3/node_modules/@yarnpkg/fslib/lib/URLFS.js"(exports2) {
|
|
132186
132349
|
"use strict";
|
|
132187
132350
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
132188
132351
|
exports2.URLFS = void 0;
|
|
@@ -132207,15 +132370,15 @@ var require_URLFS2 = __commonJS({
|
|
|
132207
132370
|
}
|
|
132208
132371
|
});
|
|
132209
132372
|
|
|
132210
|
-
// ../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.
|
|
132373
|
+
// ../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.3/node_modules/@yarnpkg/fslib/lib/patchFs.js
|
|
132211
132374
|
var require_patchFs2 = __commonJS({
|
|
132212
|
-
"../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.
|
|
132375
|
+
"../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.3/node_modules/@yarnpkg/fslib/lib/patchFs.js"(exports2) {
|
|
132213
132376
|
"use strict";
|
|
132214
132377
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
132215
132378
|
exports2.extendFs = exports2.patchFs = void 0;
|
|
132216
132379
|
var util_1 = require("util");
|
|
132217
132380
|
var URLFS_1 = require_URLFS2();
|
|
132218
|
-
var SYNC_IMPLEMENTATIONS = new Set([
|
|
132381
|
+
var SYNC_IMPLEMENTATIONS = /* @__PURE__ */ new Set([
|
|
132219
132382
|
`accessSync`,
|
|
132220
132383
|
`appendFileSync`,
|
|
132221
132384
|
`createReadStream`,
|
|
@@ -132250,7 +132413,7 @@ var require_patchFs2 = __commonJS({
|
|
|
132250
132413
|
`writeFileSync`,
|
|
132251
132414
|
`writeSync`
|
|
132252
132415
|
]);
|
|
132253
|
-
var ASYNC_IMPLEMENTATIONS = new Set([
|
|
132416
|
+
var ASYNC_IMPLEMENTATIONS = /* @__PURE__ */ new Set([
|
|
132254
132417
|
`accessPromise`,
|
|
132255
132418
|
`appendFilePromise`,
|
|
132256
132419
|
`chmodPromise`,
|
|
@@ -132279,7 +132442,7 @@ var require_patchFs2 = __commonJS({
|
|
|
132279
132442
|
`writeFilePromise`,
|
|
132280
132443
|
`writeSync`
|
|
132281
132444
|
]);
|
|
132282
|
-
var FILEHANDLE_IMPLEMENTATIONS = new Set([
|
|
132445
|
+
var FILEHANDLE_IMPLEMENTATIONS = /* @__PURE__ */ new Set([
|
|
132283
132446
|
`appendFilePromise`,
|
|
132284
132447
|
`chmodPromise`,
|
|
132285
132448
|
`chownPromise`,
|
|
@@ -132427,9 +132590,9 @@ var require_patchFs2 = __commonJS({
|
|
|
132427
132590
|
}
|
|
132428
132591
|
});
|
|
132429
132592
|
|
|
132430
|
-
// ../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.
|
|
132593
|
+
// ../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.3/node_modules/@yarnpkg/fslib/lib/xfs.js
|
|
132431
132594
|
var require_xfs2 = __commonJS({
|
|
132432
|
-
"../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.
|
|
132595
|
+
"../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.3/node_modules/@yarnpkg/fslib/lib/xfs.js"(exports2) {
|
|
132433
132596
|
"use strict";
|
|
132434
132597
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
132435
132598
|
exports2.xfs = void 0;
|
|
@@ -132442,7 +132605,7 @@ var require_xfs2 = __commonJS({
|
|
|
132442
132605
|
const hash = Math.ceil(Math.random() * 4294967296).toString(16).padStart(8, `0`);
|
|
132443
132606
|
return path_1.ppath.join(tmpdir, `${prefix}${hash}`);
|
|
132444
132607
|
}
|
|
132445
|
-
var tmpdirs = new Set();
|
|
132608
|
+
var tmpdirs = /* @__PURE__ */ new Set();
|
|
132446
132609
|
var cleanExitRegistered = false;
|
|
132447
132610
|
function registerCleanExit() {
|
|
132448
132611
|
if (cleanExitRegistered)
|
|
@@ -132542,9 +132705,9 @@ var require_xfs2 = __commonJS({
|
|
|
132542
132705
|
}
|
|
132543
132706
|
});
|
|
132544
132707
|
|
|
132545
|
-
// ../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.
|
|
132708
|
+
// ../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.3/node_modules/@yarnpkg/fslib/lib/index.js
|
|
132546
132709
|
var require_lib101 = __commonJS({
|
|
132547
|
-
"../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.
|
|
132710
|
+
"../../node_modules/.pnpm/@yarnpkg+fslib@2.6.1-rc.3/node_modules/@yarnpkg/fslib/lib/index.js"(exports2) {
|
|
132548
132711
|
"use strict";
|
|
132549
132712
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
132550
132713
|
exports2.xfs = exports2.extendFs = exports2.patchFs = exports2.ZipOpenFS = exports2.ZipFS = exports2.VirtualFS = exports2.ProxiedFS = exports2.PosixFS = exports2.NodeFS = exports2.NoFS = exports2.LazyFS = exports2.JailFS = exports2.CwdFS = exports2.FakeFS = exports2.AliasFS = exports2.toFilename = exports2.ppath = exports2.npath = exports2.Filename = exports2.PortablePath = exports2.DEFAULT_COMPRESSION_LEVEL = exports2.normalizeLineEndings = exports2.statUtils = exports2.opendir = exports2.LinkStrategy = exports2.constants = void 0;
|
|
@@ -132648,9 +132811,9 @@ var require_lib101 = __commonJS({
|
|
|
132648
132811
|
}
|
|
132649
132812
|
});
|
|
132650
132813
|
|
|
132651
|
-
// ../../node_modules/.pnpm/@yarnpkg+parsers@2.5.0-rc.
|
|
132814
|
+
// ../../node_modules/.pnpm/@yarnpkg+parsers@2.5.0-rc.6/node_modules/@yarnpkg/parsers/lib/grammars/shell.js
|
|
132652
132815
|
var require_shell3 = __commonJS({
|
|
132653
|
-
"../../node_modules/.pnpm/@yarnpkg+parsers@2.5.0-rc.
|
|
132816
|
+
"../../node_modules/.pnpm/@yarnpkg+parsers@2.5.0-rc.6/node_modules/@yarnpkg/parsers/lib/grammars/shell.js"(exports2, module2) {
|
|
132654
132817
|
"use strict";
|
|
132655
132818
|
function peg$subclass(child, parent) {
|
|
132656
132819
|
function ctor() {
|
|
@@ -136166,9 +136329,9 @@ var require_shell3 = __commonJS({
|
|
|
136166
136329
|
}
|
|
136167
136330
|
});
|
|
136168
136331
|
|
|
136169
|
-
// ../../node_modules/.pnpm/@yarnpkg+parsers@2.5.0-rc.
|
|
136332
|
+
// ../../node_modules/.pnpm/@yarnpkg+parsers@2.5.0-rc.6/node_modules/@yarnpkg/parsers/lib/shell.js
|
|
136170
136333
|
var require_shell4 = __commonJS({
|
|
136171
|
-
"../../node_modules/.pnpm/@yarnpkg+parsers@2.5.0-rc.
|
|
136334
|
+
"../../node_modules/.pnpm/@yarnpkg+parsers@2.5.0-rc.6/node_modules/@yarnpkg/parsers/lib/shell.js"(exports2) {
|
|
136172
136335
|
"use strict";
|
|
136173
136336
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
136174
136337
|
exports2.stringifyShell = exports2.stringifyArithmeticExpression = exports2.stringifyArgumentSegment = exports2.stringifyValueArgument = exports2.stringifyRedirectArgument = exports2.stringifyArgument = exports2.stringifyEnvSegment = exports2.stringifyCommand = exports2.stringifyCommandChainThen = exports2.stringifyCommandChain = exports2.stringifyCommandLineThen = exports2.stringifyCommandLine = exports2.stringifyShellLine = exports2.parseShell = void 0;
|
|
@@ -136297,9 +136460,9 @@ var require_shell4 = __commonJS({
|
|
|
136297
136460
|
}
|
|
136298
136461
|
});
|
|
136299
136462
|
|
|
136300
|
-
// ../../node_modules/.pnpm/@yarnpkg+parsers@2.5.0-rc.
|
|
136463
|
+
// ../../node_modules/.pnpm/@yarnpkg+parsers@2.5.0-rc.6/node_modules/@yarnpkg/parsers/lib/grammars/resolution.js
|
|
136301
136464
|
var require_resolution3 = __commonJS({
|
|
136302
|
-
"../../node_modules/.pnpm/@yarnpkg+parsers@2.5.0-rc.
|
|
136465
|
+
"../../node_modules/.pnpm/@yarnpkg+parsers@2.5.0-rc.6/node_modules/@yarnpkg/parsers/lib/grammars/resolution.js"(exports2, module2) {
|
|
136303
136466
|
"use strict";
|
|
136304
136467
|
function peg$subclass(child, parent) {
|
|
136305
136468
|
function ctor() {
|
|
@@ -136728,9 +136891,9 @@ var require_resolution3 = __commonJS({
|
|
|
136728
136891
|
}
|
|
136729
136892
|
});
|
|
136730
136893
|
|
|
136731
|
-
// ../../node_modules/.pnpm/@yarnpkg+parsers@2.5.0-rc.
|
|
136894
|
+
// ../../node_modules/.pnpm/@yarnpkg+parsers@2.5.0-rc.6/node_modules/@yarnpkg/parsers/lib/resolution.js
|
|
136732
136895
|
var require_resolution4 = __commonJS({
|
|
136733
|
-
"../../node_modules/.pnpm/@yarnpkg+parsers@2.5.0-rc.
|
|
136896
|
+
"../../node_modules/.pnpm/@yarnpkg+parsers@2.5.0-rc.6/node_modules/@yarnpkg/parsers/lib/resolution.js"(exports2) {
|
|
136734
136897
|
"use strict";
|
|
136735
136898
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
136736
136899
|
exports2.stringifyResolution = exports2.parseResolution = void 0;
|
|
@@ -136765,9 +136928,9 @@ var require_resolution4 = __commonJS({
|
|
|
136765
136928
|
}
|
|
136766
136929
|
});
|
|
136767
136930
|
|
|
136768
|
-
// ../../node_modules/.pnpm/@yarnpkg+parsers@2.5.0-rc.
|
|
136931
|
+
// ../../node_modules/.pnpm/@yarnpkg+parsers@2.5.0-rc.6/node_modules/@yarnpkg/parsers/lib/grammars/syml.js
|
|
136769
136932
|
var require_syml3 = __commonJS({
|
|
136770
|
-
"../../node_modules/.pnpm/@yarnpkg+parsers@2.5.0-rc.
|
|
136933
|
+
"../../node_modules/.pnpm/@yarnpkg+parsers@2.5.0-rc.6/node_modules/@yarnpkg/parsers/lib/grammars/syml.js"(exports2, module2) {
|
|
136771
136934
|
"use strict";
|
|
136772
136935
|
function peg$subclass(child, parent) {
|
|
136773
136936
|
function ctor() {
|
|
@@ -138564,9 +138727,9 @@ var require_syml3 = __commonJS({
|
|
|
138564
138727
|
}
|
|
138565
138728
|
});
|
|
138566
138729
|
|
|
138567
|
-
// ../../node_modules/.pnpm/@yarnpkg+parsers@2.5.0-rc.
|
|
138730
|
+
// ../../node_modules/.pnpm/@yarnpkg+parsers@2.5.0-rc.6/node_modules/@yarnpkg/parsers/lib/syml.js
|
|
138568
138731
|
var require_syml4 = __commonJS({
|
|
138569
|
-
"../../node_modules/.pnpm/@yarnpkg+parsers@2.5.0-rc.
|
|
138732
|
+
"../../node_modules/.pnpm/@yarnpkg+parsers@2.5.0-rc.6/node_modules/@yarnpkg/parsers/lib/syml.js"(exports2) {
|
|
138570
138733
|
"use strict";
|
|
138571
138734
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
138572
138735
|
exports2.parseSyml = exports2.stringifySyml = exports2.PreserveOrdering = void 0;
|
|
@@ -138708,9 +138871,9 @@ ${fields}`;
|
|
|
138708
138871
|
}
|
|
138709
138872
|
});
|
|
138710
138873
|
|
|
138711
|
-
// ../../node_modules/.pnpm/@yarnpkg+parsers@2.5.0-rc.
|
|
138874
|
+
// ../../node_modules/.pnpm/@yarnpkg+parsers@2.5.0-rc.6/node_modules/@yarnpkg/parsers/lib/index.js
|
|
138712
138875
|
var require_lib102 = __commonJS({
|
|
138713
|
-
"../../node_modules/.pnpm/@yarnpkg+parsers@2.5.0-rc.
|
|
138876
|
+
"../../node_modules/.pnpm/@yarnpkg+parsers@2.5.0-rc.6/node_modules/@yarnpkg/parsers/lib/index.js"(exports2) {
|
|
138714
138877
|
"use strict";
|
|
138715
138878
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
138716
138879
|
exports2.stringifySyml = exports2.parseSyml = exports2.stringifyResolution = exports2.parseResolution = exports2.stringifyValueArgument = exports2.stringifyShellLine = exports2.stringifyRedirectArgument = exports2.stringifyEnvSegment = exports2.stringifyCommandLineThen = exports2.stringifyCommandLine = exports2.stringifyCommandChainThen = exports2.stringifyCommandChain = exports2.stringifyCommand = exports2.stringifyArithmeticExpression = exports2.stringifyArgumentSegment = exports2.stringifyArgument = exports2.stringifyShell = exports2.parseShell = void 0;
|
|
@@ -139099,7 +139262,7 @@ var require_lib103 = __commonJS({
|
|
|
139099
139262
|
}
|
|
139100
139263
|
});
|
|
139101
139264
|
}
|
|
139102
|
-
var BOOLEAN_COERCIONS = new Map([
|
|
139265
|
+
var BOOLEAN_COERCIONS = /* @__PURE__ */ new Map([
|
|
139103
139266
|
[`true`, true],
|
|
139104
139267
|
[`True`, true],
|
|
139105
139268
|
[`1`, true],
|
|
@@ -139367,7 +139530,7 @@ var require_lib103 = __commonJS({
|
|
|
139367
139530
|
test: (value, state) => {
|
|
139368
139531
|
if (typeof value !== `object` || value === null)
|
|
139369
139532
|
return pushError(state, `Expected an object (got ${getPrintable(value)})`);
|
|
139370
|
-
const keys2 = new Set([...specKeys, ...Object.keys(value)]);
|
|
139533
|
+
const keys2 = /* @__PURE__ */ new Set([...specKeys, ...Object.keys(value)]);
|
|
139371
139534
|
const extra = {};
|
|
139372
139535
|
let valid = true;
|
|
139373
139536
|
for (const key of keys2) {
|
|
@@ -139506,8 +139669,8 @@ var require_lib103 = __commonJS({
|
|
|
139506
139669
|
});
|
|
139507
139670
|
var hasUniqueItems = ({ map: map2 } = {}) => makeValidator({
|
|
139508
139671
|
test: (value, state) => {
|
|
139509
|
-
const set = new Set();
|
|
139510
|
-
const dup = new Set();
|
|
139672
|
+
const set = /* @__PURE__ */ new Set();
|
|
139673
|
+
const dup = /* @__PURE__ */ new Set();
|
|
139511
139674
|
for (let t = 0, T = value.length; t < T; ++t) {
|
|
139512
139675
|
const sub = value[t];
|
|
139513
139676
|
const key = typeof map2 !== `undefined` ? map2(sub) : sub;
|
|
@@ -139965,7 +140128,7 @@ var require_core7 = __commonJS({
|
|
|
139965
140128
|
return machine.nodes.length - 1;
|
|
139966
140129
|
}
|
|
139967
140130
|
function simplifyMachine(input) {
|
|
139968
|
-
const visited = new Set();
|
|
140131
|
+
const visited = /* @__PURE__ */ new Set();
|
|
139969
140132
|
const process2 = (node) => {
|
|
139970
140133
|
if (visited.has(node))
|
|
139971
140134
|
return;
|
|
@@ -140124,7 +140287,7 @@ var require_core7 = __commonJS({
|
|
|
140124
140287
|
const prefix = partial2 && input.length > 0 ? [``] : [];
|
|
140125
140288
|
const branches = runMachineInternal(machine, input, partial2);
|
|
140126
140289
|
const suggestions = [];
|
|
140127
|
-
const suggestionsJson = new Set();
|
|
140290
|
+
const suggestionsJson = /* @__PURE__ */ new Set();
|
|
140128
140291
|
const traverseSuggestion = (suggestion, node, skipFirst = true) => {
|
|
140129
140292
|
let nextNodes = [node];
|
|
140130
140293
|
while (nextNodes.length > 0) {
|
|
@@ -140777,7 +140940,7 @@ var require_Cli = __commonJS({
|
|
|
140777
140940
|
}
|
|
140778
140941
|
var Cli = class {
|
|
140779
140942
|
constructor({ binaryLabel, binaryName: binaryNameOpt = `...`, binaryVersion, enableCapture = false, enableColors } = {}) {
|
|
140780
|
-
this.registrations = new Map();
|
|
140943
|
+
this.registrations = /* @__PURE__ */ new Map();
|
|
140781
140944
|
this.builder = new core.CliBuilder({ binaryName: binaryNameOpt });
|
|
140782
140945
|
this.binaryLabel = binaryLabel;
|
|
140783
140946
|
this.binaryName = binaryNameOpt;
|
|
@@ -140793,7 +140956,7 @@ var require_Cli = __commonJS({
|
|
|
140793
140956
|
}
|
|
140794
140957
|
register(commandClass) {
|
|
140795
140958
|
var _a;
|
|
140796
|
-
const specs = new Map();
|
|
140959
|
+
const specs = /* @__PURE__ */ new Map();
|
|
140797
140960
|
const command = new commandClass();
|
|
140798
140961
|
for (const key in command) {
|
|
140799
140962
|
const value = command[key];
|
|
@@ -140938,7 +141101,7 @@ var require_Cli = __commonJS({
|
|
|
140938
141101
|
const commandClass = command !== null && command instanceof Command.Command ? command.constructor : command;
|
|
140939
141102
|
let result2 = ``;
|
|
140940
141103
|
if (!commandClass) {
|
|
140941
|
-
const commandsByCategories = new Map();
|
|
141104
|
+
const commandsByCategories = /* @__PURE__ */ new Map();
|
|
140942
141105
|
for (const [commandClass2, { index }] of this.registrations.entries()) {
|
|
140943
141106
|
if (typeof commandClass2.usage === `undefined`)
|
|
140944
141107
|
continue;
|
|
@@ -141499,9 +141662,9 @@ var require_advanced = __commonJS({
|
|
|
141499
141662
|
}
|
|
141500
141663
|
});
|
|
141501
141664
|
|
|
141502
|
-
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
141665
|
+
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/MessageName.js
|
|
141503
141666
|
var require_MessageName = __commonJS({
|
|
141504
|
-
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
141667
|
+
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/MessageName.js"(exports2) {
|
|
141505
141668
|
"use strict";
|
|
141506
141669
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
141507
141670
|
exports2.parseMessageName = exports2.stringifyMessageName = exports2.MessageName = void 0;
|
|
@@ -147510,7 +147673,7 @@ var require_looksahead = __commonJS({
|
|
|
147510
147673
|
LooksAhead2.prototype.initLooksAhead = function(config) {
|
|
147511
147674
|
this.dynamicTokensEnabled = (0, utils_1.has)(config, "dynamicTokensEnabled") ? config.dynamicTokensEnabled : parser_1.DEFAULT_PARSER_CONFIG.dynamicTokensEnabled;
|
|
147512
147675
|
this.maxLookahead = (0, utils_1.has)(config, "maxLookahead") ? config.maxLookahead : parser_1.DEFAULT_PARSER_CONFIG.maxLookahead;
|
|
147513
|
-
this.lookAheadFuncsCache = (0, utils_1.isES2015MapSupported)() ? new Map() : [];
|
|
147676
|
+
this.lookAheadFuncsCache = (0, utils_1.isES2015MapSupported)() ? /* @__PURE__ */ new Map() : [];
|
|
147514
147677
|
if ((0, utils_1.isES2015MapSupported)()) {
|
|
147515
147678
|
this.getLaFuncFromCache = this.getLaFuncFromMap;
|
|
147516
147679
|
this.setLaFuncCache = this.setLaFuncCacheUsingMap;
|
|
@@ -149772,7 +149935,7 @@ var require_templates3 = __commonJS({
|
|
|
149772
149935
|
var STYLE_REGEX = /(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;
|
|
149773
149936
|
var STRING_REGEX = /^(['"])((?:\\.|(?!\1)[^\\])*)\1$/;
|
|
149774
149937
|
var ESCAPE_REGEX = /\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.)|([^\\])/gi;
|
|
149775
|
-
var ESCAPES = new Map([
|
|
149938
|
+
var ESCAPES = /* @__PURE__ */ new Map([
|
|
149776
149939
|
["n", "\n"],
|
|
149777
149940
|
["r", "\r"],
|
|
149778
149941
|
["t", " "],
|
|
@@ -150059,9 +150222,9 @@ var require_source2 = __commonJS({
|
|
|
150059
150222
|
}
|
|
150060
150223
|
});
|
|
150061
150224
|
|
|
150062
|
-
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
150225
|
+
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/miscUtils.js
|
|
150063
150226
|
var require_miscUtils = __commonJS({
|
|
150064
|
-
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
150227
|
+
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/miscUtils.js"(exports, module) {
|
|
150065
150228
|
"use strict";
|
|
150066
150229
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
150067
150230
|
exports.isPathLike = exports.tryParseOptionalBoolean = exports.parseOptionalBoolean = exports.parseBoolean = exports.replaceEnvVariables = exports.buildIgnorePattern = exports.sortMap = exports.dynamicRequire = exports.CachingStrategy = exports.DefaultStream = exports.BufferStream = exports.bufferStream = exports.prettifySyncErrors = exports.prettifyAsyncErrors = exports.releaseAfterUseAsync = exports.getMapWithDefault = exports.getSetWithDefault = exports.getArrayWithDefault = exports.getFactoryWithDefault = exports.convertMapsToIndexableObjects = exports.allSettledSafe = exports.isIndexableObject = exports.mapAndFind = exports.mapAndFilter = exports.validateEnum = exports.assertNever = exports.overrideType = exports.escapeRegExp = exports.isTaggedYarnVersion = void 0;
|
|
@@ -150166,14 +150329,14 @@ var require_miscUtils = __commonJS({
|
|
|
150166
150329
|
function getSetWithDefault(map2, key) {
|
|
150167
150330
|
let value = map2.get(key);
|
|
150168
150331
|
if (typeof value === `undefined`)
|
|
150169
|
-
map2.set(key, value = new Set());
|
|
150332
|
+
map2.set(key, value = /* @__PURE__ */ new Set());
|
|
150170
150333
|
return value;
|
|
150171
150334
|
}
|
|
150172
150335
|
exports.getSetWithDefault = getSetWithDefault;
|
|
150173
150336
|
function getMapWithDefault(map2, key) {
|
|
150174
150337
|
let value = map2.get(key);
|
|
150175
150338
|
if (typeof value === `undefined`)
|
|
150176
|
-
map2.set(key, value = new Map());
|
|
150339
|
+
map2.set(key, value = /* @__PURE__ */ new Map());
|
|
150177
150340
|
return value;
|
|
150178
150341
|
}
|
|
150179
150342
|
exports.getMapWithDefault = getMapWithDefault;
|
|
@@ -150279,7 +150442,7 @@ var require_miscUtils = __commonJS({
|
|
|
150279
150442
|
}
|
|
150280
150443
|
return result;
|
|
150281
150444
|
}
|
|
150282
|
-
var dynamicRequireFsTimeCache = new Map();
|
|
150445
|
+
var dynamicRequireFsTimeCache = /* @__PURE__ */ new Map();
|
|
150283
150446
|
function dynamicRequireFsTime(path2) {
|
|
150284
150447
|
const cachedInstance = dynamicRequireFsTimeCache.get(path2);
|
|
150285
150448
|
const stat = fslib_1.xfs.statSync(path2);
|
|
@@ -150401,9 +150564,9 @@ var require_miscUtils = __commonJS({
|
|
|
150401
150564
|
}
|
|
150402
150565
|
});
|
|
150403
150566
|
|
|
150404
|
-
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
150567
|
+
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/types.js
|
|
150405
150568
|
var require_types5 = __commonJS({
|
|
150406
|
-
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
150569
|
+
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/types.js"(exports2) {
|
|
150407
150570
|
"use strict";
|
|
150408
150571
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
150409
150572
|
exports2.PackageExtensionStatus = exports2.PackageExtensionType = exports2.LinkType = void 0;
|
|
@@ -150427,9 +150590,9 @@ var require_types5 = __commonJS({
|
|
|
150427
150590
|
}
|
|
150428
150591
|
});
|
|
150429
150592
|
|
|
150430
|
-
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
150593
|
+
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/formatUtils.js
|
|
150431
150594
|
var require_formatUtils = __commonJS({
|
|
150432
|
-
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
150595
|
+
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/formatUtils.js"(exports2) {
|
|
150433
150596
|
"use strict";
|
|
150434
150597
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
150435
150598
|
exports2.addLogFilterSupport = exports2.LogLevel = exports2.prettyField = exports2.mark = exports2.jsonOrPretty = exports2.json = exports2.prettyList = exports2.pretty = exports2.applyHyperlink = exports2.applyColor = exports2.applyStyle = exports2.tuple = exports2.supportsHyperlinks = exports2.supportsColor = exports2.Style = exports2.Type = void 0;
|
|
@@ -150476,7 +150639,7 @@ var require_formatUtils = __commonJS({
|
|
|
150476
150639
|
exports2.supportsColor = chalkOptions.level !== 0;
|
|
150477
150640
|
exports2.supportsHyperlinks = exports2.supportsColor && !ci_info_1.default.GITHUB_ACTIONS && !ci_info_1.default.CIRCLE && !ci_info_1.default.GITLAB;
|
|
150478
150641
|
var chalkInstance = new chalk_1.default.Instance(chalkOptions);
|
|
150479
|
-
var colors = new Map([
|
|
150642
|
+
var colors = /* @__PURE__ */ new Map([
|
|
150480
150643
|
[exports2.Type.NO_HINT, null],
|
|
150481
150644
|
[exports2.Type.NULL, [`#a853b5`, 129]],
|
|
150482
150645
|
[exports2.Type.SCOPE, [`#d75f00`, 166]],
|
|
@@ -150717,8 +150880,8 @@ var require_formatUtils = __commonJS({
|
|
|
150717
150880
|
})(LogLevel = exports2.LogLevel || (exports2.LogLevel = {}));
|
|
150718
150881
|
function addLogFilterSupport(report, { configuration }) {
|
|
150719
150882
|
const logFilters = configuration.get(`logFilters`);
|
|
150720
|
-
const logFiltersByCode = new Map();
|
|
150721
|
-
const logFiltersByText = new Map();
|
|
150883
|
+
const logFiltersByCode = /* @__PURE__ */ new Map();
|
|
150884
|
+
const logFiltersByText = /* @__PURE__ */ new Map();
|
|
150722
150885
|
const logFiltersByPatternMatcher = [];
|
|
150723
150886
|
for (const filter2 of logFilters) {
|
|
150724
150887
|
const level = filter2.get(`level`);
|
|
@@ -150797,9 +150960,9 @@ var require_formatUtils = __commonJS({
|
|
|
150797
150960
|
}
|
|
150798
150961
|
});
|
|
150799
150962
|
|
|
150800
|
-
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
150963
|
+
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/hashUtils.js
|
|
150801
150964
|
var require_hashUtils = __commonJS({
|
|
150802
|
-
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
150965
|
+
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/hashUtils.js"(exports2) {
|
|
150803
150966
|
"use strict";
|
|
150804
150967
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
150805
150968
|
exports2.checksumPattern = exports2.checksumFile = exports2.makeHash = void 0;
|
|
@@ -150877,9 +151040,9 @@ var require_hashUtils = __commonJS({
|
|
|
150877
151040
|
}
|
|
150878
151041
|
});
|
|
150879
151042
|
|
|
150880
|
-
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
151043
|
+
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/structUtils.js
|
|
150881
151044
|
var require_structUtils = __commonJS({
|
|
150882
|
-
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
151045
|
+
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/structUtils.js"(exports2) {
|
|
150883
151046
|
"use strict";
|
|
150884
151047
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
150885
151048
|
exports2.isPackageCompatible = exports2.getIdentVendorPath = exports2.prettyDependent = exports2.prettyResolution = exports2.prettyWorkspace = exports2.sortDescriptors = exports2.prettyLocatorNoColors = exports2.prettyLocator = exports2.prettyReference = exports2.prettyDescriptor = exports2.prettyRange = exports2.prettyIdent = exports2.slugifyLocator = exports2.slugifyIdent = exports2.stringifyLocator = exports2.stringifyDescriptor = exports2.stringifyIdent = exports2.convertToManifestRange = exports2.makeRange = exports2.parseFileStyleRange = exports2.parseRange = exports2.tryParseLocator = exports2.parseLocator = exports2.tryParseDescriptor = exports2.parseDescriptor = exports2.tryParseIdent = exports2.parseIdent = exports2.areVirtualPackagesEquivalent = exports2.areLocatorsEqual = exports2.areDescriptorsEqual = exports2.areIdentsEqual = exports2.bindLocator = exports2.bindDescriptor = exports2.devirtualizeLocator = exports2.devirtualizeDescriptor = exports2.isVirtualLocator = exports2.isVirtualDescriptor = exports2.virtualizePackage = exports2.virtualizeDescriptor = exports2.copyPackage = exports2.renamePackage = exports2.convertPackageToLocator = exports2.convertLocatorToDescriptor = exports2.convertDescriptorToLocator = exports2.convertToIdent = exports2.makeLocator = exports2.makeDescriptor = exports2.makeIdent = void 0;
|
|
@@ -151271,9 +151434,9 @@ var require_structUtils = __commonJS({
|
|
|
151271
151434
|
}
|
|
151272
151435
|
});
|
|
151273
151436
|
|
|
151274
|
-
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
151437
|
+
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/CorePlugin.js
|
|
151275
151438
|
var require_CorePlugin = __commonJS({
|
|
151276
|
-
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
151439
|
+
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/CorePlugin.js"(exports2) {
|
|
151277
151440
|
"use strict";
|
|
151278
151441
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
151279
151442
|
exports2.CorePlugin = void 0;
|
|
@@ -151321,9 +151484,9 @@ var require_CorePlugin = __commonJS({
|
|
|
151321
151484
|
}
|
|
151322
151485
|
});
|
|
151323
151486
|
|
|
151324
|
-
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
151487
|
+
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/WorkspaceResolver.js
|
|
151325
151488
|
var require_WorkspaceResolver = __commonJS({
|
|
151326
|
-
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
151489
|
+
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/WorkspaceResolver.js"(exports2) {
|
|
151327
151490
|
"use strict";
|
|
151328
151491
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
151329
151492
|
exports2.WorkspaceResolver = void 0;
|
|
@@ -151379,77 +151542,9 @@ var require_WorkspaceResolver = __commonJS({
|
|
|
151379
151542
|
}
|
|
151380
151543
|
});
|
|
151381
151544
|
|
|
151382
|
-
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
151383
|
-
var require_semverUtils = __commonJS({
|
|
151384
|
-
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.7/node_modules/@yarnpkg/core/lib/semverUtils.js"(exports2) {
|
|
151385
|
-
"use strict";
|
|
151386
|
-
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
151387
|
-
exports2.validRange = exports2.satisfiesWithPrereleases = exports2.SemVer = void 0;
|
|
151388
|
-
var tslib_12 = require_tslib();
|
|
151389
|
-
var semver_12 = (0, tslib_12.__importDefault)(require_semver2());
|
|
151390
|
-
var semver_2 = require_semver2();
|
|
151391
|
-
Object.defineProperty(exports2, "SemVer", { enumerable: true, get: function() {
|
|
151392
|
-
return semver_2.SemVer;
|
|
151393
|
-
} });
|
|
151394
|
-
var satisfiesWithPrereleasesCache = new Map();
|
|
151395
|
-
function satisfiesWithPrereleases(version, range, loose = false) {
|
|
151396
|
-
if (!version)
|
|
151397
|
-
return false;
|
|
151398
|
-
const key = `${range}${loose}`;
|
|
151399
|
-
let semverRange = satisfiesWithPrereleasesCache.get(key);
|
|
151400
|
-
if (typeof semverRange === `undefined`) {
|
|
151401
|
-
try {
|
|
151402
|
-
semverRange = new semver_12.default.Range(range, { includePrerelease: true, loose });
|
|
151403
|
-
} catch {
|
|
151404
|
-
return false;
|
|
151405
|
-
} finally {
|
|
151406
|
-
satisfiesWithPrereleasesCache.set(key, semverRange || null);
|
|
151407
|
-
}
|
|
151408
|
-
} else if (semverRange === null) {
|
|
151409
|
-
return false;
|
|
151410
|
-
}
|
|
151411
|
-
let semverVersion;
|
|
151412
|
-
try {
|
|
151413
|
-
semverVersion = new semver_12.default.SemVer(version, semverRange);
|
|
151414
|
-
} catch (err) {
|
|
151415
|
-
return false;
|
|
151416
|
-
}
|
|
151417
|
-
if (semverRange.test(semverVersion))
|
|
151418
|
-
return true;
|
|
151419
|
-
if (semverVersion.prerelease)
|
|
151420
|
-
semverVersion.prerelease = [];
|
|
151421
|
-
return semverRange.set.some((comparatorSet) => {
|
|
151422
|
-
for (const comparator of comparatorSet)
|
|
151423
|
-
if (comparator.semver.prerelease)
|
|
151424
|
-
comparator.semver.prerelease = [];
|
|
151425
|
-
return comparatorSet.every((comparator) => {
|
|
151426
|
-
return comparator.test(semverVersion);
|
|
151427
|
-
});
|
|
151428
|
-
});
|
|
151429
|
-
}
|
|
151430
|
-
exports2.satisfiesWithPrereleases = satisfiesWithPrereleases;
|
|
151431
|
-
var rangesCache = new Map();
|
|
151432
|
-
function validRange(potentialRange) {
|
|
151433
|
-
if (potentialRange.indexOf(`:`) !== -1)
|
|
151434
|
-
return null;
|
|
151435
|
-
let range = rangesCache.get(potentialRange);
|
|
151436
|
-
if (typeof range !== `undefined`)
|
|
151437
|
-
return range;
|
|
151438
|
-
try {
|
|
151439
|
-
range = new semver_12.default.Range(potentialRange);
|
|
151440
|
-
} catch {
|
|
151441
|
-
range = null;
|
|
151442
|
-
}
|
|
151443
|
-
rangesCache.set(potentialRange, range);
|
|
151444
|
-
return range;
|
|
151445
|
-
}
|
|
151446
|
-
exports2.validRange = validRange;
|
|
151447
|
-
}
|
|
151448
|
-
});
|
|
151449
|
-
|
|
151450
|
-
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.7/node_modules/@yarnpkg/core/lib/Manifest.js
|
|
151545
|
+
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/Manifest.js
|
|
151451
151546
|
var require_Manifest = __commonJS({
|
|
151452
|
-
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
151547
|
+
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/Manifest.js"(exports2) {
|
|
151453
151548
|
"use strict";
|
|
151454
151549
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
151455
151550
|
exports2.Manifest = void 0;
|
|
@@ -151476,14 +151571,14 @@ var require_Manifest = __commonJS({
|
|
|
151476
151571
|
this.module = null;
|
|
151477
151572
|
this.browser = null;
|
|
151478
151573
|
this.languageName = null;
|
|
151479
|
-
this.bin = new Map();
|
|
151480
|
-
this.scripts = new Map();
|
|
151481
|
-
this.dependencies = new Map();
|
|
151482
|
-
this.devDependencies = new Map();
|
|
151483
|
-
this.peerDependencies = new Map();
|
|
151574
|
+
this.bin = /* @__PURE__ */ new Map();
|
|
151575
|
+
this.scripts = /* @__PURE__ */ new Map();
|
|
151576
|
+
this.dependencies = /* @__PURE__ */ new Map();
|
|
151577
|
+
this.devDependencies = /* @__PURE__ */ new Map();
|
|
151578
|
+
this.peerDependencies = /* @__PURE__ */ new Map();
|
|
151484
151579
|
this.workspaceDefinitions = [];
|
|
151485
|
-
this.dependenciesMeta = new Map();
|
|
151486
|
-
this.peerDependenciesMeta = new Map();
|
|
151580
|
+
this.dependenciesMeta = /* @__PURE__ */ new Map();
|
|
151581
|
+
this.peerDependenciesMeta = /* @__PURE__ */ new Map();
|
|
151487
151582
|
this.resolutions = [];
|
|
151488
151583
|
this.files = null;
|
|
151489
151584
|
this.publishConfig = null;
|
|
@@ -151632,7 +151727,7 @@ var require_Manifest = __commonJS({
|
|
|
151632
151727
|
if (typeof data.browser === `string`) {
|
|
151633
151728
|
this.browser = normalizeSlashes(data.browser);
|
|
151634
151729
|
} else {
|
|
151635
|
-
this.browser = new Map();
|
|
151730
|
+
this.browser = /* @__PURE__ */ new Map();
|
|
151636
151731
|
for (const [key, value] of Object.entries(data.browser)) {
|
|
151637
151732
|
this.browser.set(normalizeSlashes(key), typeof value === `string` ? normalizeSlashes(value) : value);
|
|
151638
151733
|
}
|
|
@@ -151640,7 +151735,7 @@ var require_Manifest = __commonJS({
|
|
|
151640
151735
|
} else {
|
|
151641
151736
|
this.browser = null;
|
|
151642
151737
|
}
|
|
151643
|
-
this.bin = new Map();
|
|
151738
|
+
this.bin = /* @__PURE__ */ new Map();
|
|
151644
151739
|
if (typeof data.bin === `string`) {
|
|
151645
151740
|
if (this.name !== null) {
|
|
151646
151741
|
this.bin.set(this.name.name, normalizeSlashes(data.bin));
|
|
@@ -151657,7 +151752,7 @@ var require_Manifest = __commonJS({
|
|
|
151657
151752
|
this.bin.set(binaryIdent.name, normalizeSlashes(value));
|
|
151658
151753
|
}
|
|
151659
151754
|
}
|
|
151660
|
-
this.scripts = new Map();
|
|
151755
|
+
this.scripts = /* @__PURE__ */ new Map();
|
|
151661
151756
|
if (typeof data.scripts === `object` && data.scripts !== null) {
|
|
151662
151757
|
for (const [key, value] of Object.entries(data.scripts)) {
|
|
151663
151758
|
if (typeof value !== `string`) {
|
|
@@ -151667,7 +151762,7 @@ var require_Manifest = __commonJS({
|
|
|
151667
151762
|
this.scripts.set(key, value);
|
|
151668
151763
|
}
|
|
151669
151764
|
}
|
|
151670
|
-
this.dependencies = new Map();
|
|
151765
|
+
this.dependencies = /* @__PURE__ */ new Map();
|
|
151671
151766
|
if (typeof data.dependencies === `object` && data.dependencies !== null) {
|
|
151672
151767
|
for (const [name, range] of Object.entries(data.dependencies)) {
|
|
151673
151768
|
if (typeof range !== `string`) {
|
|
@@ -151685,7 +151780,7 @@ var require_Manifest = __commonJS({
|
|
|
151685
151780
|
this.dependencies.set(descriptor.identHash, descriptor);
|
|
151686
151781
|
}
|
|
151687
151782
|
}
|
|
151688
|
-
this.devDependencies = new Map();
|
|
151783
|
+
this.devDependencies = /* @__PURE__ */ new Map();
|
|
151689
151784
|
if (typeof data.devDependencies === `object` && data.devDependencies !== null) {
|
|
151690
151785
|
for (const [name, range] of Object.entries(data.devDependencies)) {
|
|
151691
151786
|
if (typeof range !== `string`) {
|
|
@@ -151703,7 +151798,7 @@ var require_Manifest = __commonJS({
|
|
|
151703
151798
|
this.devDependencies.set(descriptor.identHash, descriptor);
|
|
151704
151799
|
}
|
|
151705
151800
|
}
|
|
151706
|
-
this.peerDependencies = new Map();
|
|
151801
|
+
this.peerDependencies = /* @__PURE__ */ new Map();
|
|
151707
151802
|
if (typeof data.peerDependencies === `object` && data.peerDependencies !== null) {
|
|
151708
151803
|
for (let [name, range] of Object.entries(data.peerDependencies)) {
|
|
151709
151804
|
let ident;
|
|
@@ -151734,7 +151829,7 @@ var require_Manifest = __commonJS({
|
|
|
151734
151829
|
pattern: entry
|
|
151735
151830
|
});
|
|
151736
151831
|
}
|
|
151737
|
-
this.dependenciesMeta = new Map();
|
|
151832
|
+
this.dependenciesMeta = /* @__PURE__ */ new Map();
|
|
151738
151833
|
if (typeof data.dependenciesMeta === `object` && data.dependenciesMeta !== null) {
|
|
151739
151834
|
for (const [pattern, meta] of Object.entries(data.dependenciesMeta)) {
|
|
151740
151835
|
if (typeof meta !== `object` || meta === null) {
|
|
@@ -151761,7 +151856,7 @@ var require_Manifest = __commonJS({
|
|
|
151761
151856
|
Object.assign(dependencyMeta, { built, optional, unplugged });
|
|
151762
151857
|
}
|
|
151763
151858
|
}
|
|
151764
|
-
this.peerDependenciesMeta = new Map();
|
|
151859
|
+
this.peerDependenciesMeta = /* @__PURE__ */ new Map();
|
|
151765
151860
|
if (typeof data.peerDependenciesMeta === `object` && data.peerDependenciesMeta !== null) {
|
|
151766
151861
|
for (const [pattern, meta] of Object.entries(data.peerDependenciesMeta)) {
|
|
151767
151862
|
if (typeof meta !== `object` || meta === null) {
|
|
@@ -151794,7 +151889,7 @@ var require_Manifest = __commonJS({
|
|
|
151794
151889
|
}
|
|
151795
151890
|
}
|
|
151796
151891
|
if (Array.isArray(data.files)) {
|
|
151797
|
-
this.files = new Set();
|
|
151892
|
+
this.files = /* @__PURE__ */ new Set();
|
|
151798
151893
|
for (const filename of data.files) {
|
|
151799
151894
|
if (typeof filename !== `string`) {
|
|
151800
151895
|
errors.push(new Error(`Invalid files entry for '${filename}'`));
|
|
@@ -151817,7 +151912,7 @@ var require_Manifest = __commonJS({
|
|
|
151817
151912
|
if (typeof data.publishConfig.browser === `string`) {
|
|
151818
151913
|
this.publishConfig.browser = normalizeSlashes(data.publishConfig.browser);
|
|
151819
151914
|
} else {
|
|
151820
|
-
this.publishConfig.browser = new Map();
|
|
151915
|
+
this.publishConfig.browser = /* @__PURE__ */ new Map();
|
|
151821
151916
|
for (const [key, value] of Object.entries(data.publishConfig.browser)) {
|
|
151822
151917
|
this.publishConfig.browser.set(normalizeSlashes(key), typeof value === `string` ? normalizeSlashes(value) : value);
|
|
151823
151918
|
}
|
|
@@ -151827,12 +151922,12 @@ var require_Manifest = __commonJS({
|
|
|
151827
151922
|
this.publishConfig.registry = data.publishConfig.registry;
|
|
151828
151923
|
if (typeof data.publishConfig.bin === `string`) {
|
|
151829
151924
|
if (this.name !== null) {
|
|
151830
|
-
this.publishConfig.bin = new Map([[this.name.name, normalizeSlashes(data.publishConfig.bin)]]);
|
|
151925
|
+
this.publishConfig.bin = /* @__PURE__ */ new Map([[this.name.name, normalizeSlashes(data.publishConfig.bin)]]);
|
|
151831
151926
|
} else {
|
|
151832
151927
|
errors.push(new Error(`String bin field, but no attached package name`));
|
|
151833
151928
|
}
|
|
151834
151929
|
} else if (typeof data.publishConfig.bin === `object` && data.publishConfig.bin !== null) {
|
|
151835
|
-
this.publishConfig.bin = new Map();
|
|
151930
|
+
this.publishConfig.bin = /* @__PURE__ */ new Map();
|
|
151836
151931
|
for (const [key, value] of Object.entries(data.publishConfig.bin)) {
|
|
151837
151932
|
if (typeof value !== `string`) {
|
|
151838
151933
|
errors.push(new Error(`Invalid bin definition for '${key}'`));
|
|
@@ -151842,7 +151937,7 @@ var require_Manifest = __commonJS({
|
|
|
151842
151937
|
}
|
|
151843
151938
|
}
|
|
151844
151939
|
if (Array.isArray(data.publishConfig.executableFiles)) {
|
|
151845
|
-
this.publishConfig.executableFiles = new Set();
|
|
151940
|
+
this.publishConfig.executableFiles = /* @__PURE__ */ new Set();
|
|
151846
151941
|
for (const value of data.publishConfig.executableFiles) {
|
|
151847
151942
|
if (typeof value !== `string`) {
|
|
151848
151943
|
errors.push(new Error(`Invalid executable file definition`));
|
|
@@ -151962,7 +152057,7 @@ var require_Manifest = __commonJS({
|
|
|
151962
152057
|
const range = descriptor.range !== `unknown` ? descriptor.range : null;
|
|
151963
152058
|
let dependencyMetaSet = this.dependenciesMeta.get(identString);
|
|
151964
152059
|
if (!dependencyMetaSet)
|
|
151965
|
-
this.dependenciesMeta.set(identString, dependencyMetaSet = new Map());
|
|
152060
|
+
this.dependenciesMeta.set(identString, dependencyMetaSet = /* @__PURE__ */ new Map());
|
|
151966
152061
|
let dependencyMeta = dependencyMetaSet.get(range);
|
|
151967
152062
|
if (!dependencyMeta)
|
|
151968
152063
|
dependencyMetaSet.set(range, dependencyMeta = {});
|
|
@@ -152352,9 +152447,9 @@ var require_throttle2 = __commonJS({
|
|
|
152352
152447
|
}
|
|
152353
152448
|
});
|
|
152354
152449
|
|
|
152355
|
-
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
152450
|
+
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/Report.js
|
|
152356
152451
|
var require_Report = __commonJS({
|
|
152357
|
-
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
152452
|
+
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/Report.js"(exports2) {
|
|
152358
152453
|
"use strict";
|
|
152359
152454
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
152360
152455
|
exports2.Report = exports2.isReportError = exports2.ReportError = void 0;
|
|
@@ -152378,9 +152473,9 @@ var require_Report = __commonJS({
|
|
|
152378
152473
|
exports2.isReportError = isReportError;
|
|
152379
152474
|
var Report = class {
|
|
152380
152475
|
constructor() {
|
|
152381
|
-
this.reportedInfos = new Set();
|
|
152382
|
-
this.reportedWarnings = new Set();
|
|
152383
|
-
this.reportedErrors = new Set();
|
|
152476
|
+
this.reportedInfos = /* @__PURE__ */ new Set();
|
|
152477
|
+
this.reportedWarnings = /* @__PURE__ */ new Set();
|
|
152478
|
+
this.reportedErrors = /* @__PURE__ */ new Set();
|
|
152384
152479
|
}
|
|
152385
152480
|
static progressViaCounter(max) {
|
|
152386
152481
|
let current = 0;
|
|
@@ -152538,9 +152633,9 @@ var require_Report = __commonJS({
|
|
|
152538
152633
|
}
|
|
152539
152634
|
});
|
|
152540
152635
|
|
|
152541
|
-
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
152636
|
+
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/MultiFetcher.js
|
|
152542
152637
|
var require_MultiFetcher = __commonJS({
|
|
152543
|
-
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
152638
|
+
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/MultiFetcher.js"(exports2) {
|
|
152544
152639
|
"use strict";
|
|
152545
152640
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
152546
152641
|
exports2.MultiFetcher = void 0;
|
|
@@ -152582,9 +152677,9 @@ var require_MultiFetcher = __commonJS({
|
|
|
152582
152677
|
}
|
|
152583
152678
|
});
|
|
152584
152679
|
|
|
152585
|
-
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
152680
|
+
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/MultiResolver.js
|
|
152586
152681
|
var require_MultiResolver = __commonJS({
|
|
152587
|
-
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
152682
|
+
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/MultiResolver.js"(exports2) {
|
|
152588
152683
|
"use strict";
|
|
152589
152684
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
152590
152685
|
exports2.MultiResolver = void 0;
|
|
@@ -152655,9 +152750,9 @@ var require_MultiResolver = __commonJS({
|
|
|
152655
152750
|
}
|
|
152656
152751
|
});
|
|
152657
152752
|
|
|
152658
|
-
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
152753
|
+
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/ProtocolResolver.js
|
|
152659
152754
|
var require_ProtocolResolver = __commonJS({
|
|
152660
|
-
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
152755
|
+
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/ProtocolResolver.js"(exports2) {
|
|
152661
152756
|
"use strict";
|
|
152662
152757
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
152663
152758
|
exports2.ProtocolResolver = exports2.TAG_REGEXP = void 0;
|
|
@@ -152711,9 +152806,9 @@ var require_ProtocolResolver = __commonJS({
|
|
|
152711
152806
|
}
|
|
152712
152807
|
});
|
|
152713
152808
|
|
|
152714
|
-
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
152809
|
+
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/VirtualFetcher.js
|
|
152715
152810
|
var require_VirtualFetcher = __commonJS({
|
|
152716
|
-
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
152811
|
+
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/VirtualFetcher.js"(exports2) {
|
|
152717
152812
|
"use strict";
|
|
152718
152813
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
152719
152814
|
exports2.VirtualFetcher = void 0;
|
|
@@ -152759,9 +152854,9 @@ var require_VirtualFetcher = __commonJS({
|
|
|
152759
152854
|
}
|
|
152760
152855
|
});
|
|
152761
152856
|
|
|
152762
|
-
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
152857
|
+
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/VirtualResolver.js
|
|
152763
152858
|
var require_VirtualResolver = __commonJS({
|
|
152764
|
-
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
152859
|
+
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/VirtualResolver.js"(exports2) {
|
|
152765
152860
|
"use strict";
|
|
152766
152861
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
152767
152862
|
exports2.VirtualResolver = void 0;
|
|
@@ -152806,9 +152901,9 @@ var require_VirtualResolver = __commonJS({
|
|
|
152806
152901
|
}
|
|
152807
152902
|
});
|
|
152808
152903
|
|
|
152809
|
-
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
152904
|
+
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/WorkspaceFetcher.js
|
|
152810
152905
|
var require_WorkspaceFetcher = __commonJS({
|
|
152811
|
-
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
152906
|
+
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/WorkspaceFetcher.js"(exports2) {
|
|
152812
152907
|
"use strict";
|
|
152813
152908
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
152814
152909
|
exports2.WorkspaceFetcher = void 0;
|
|
@@ -152835,9 +152930,9 @@ var require_WorkspaceFetcher = __commonJS({
|
|
|
152835
152930
|
}
|
|
152836
152931
|
});
|
|
152837
152932
|
|
|
152838
|
-
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
152933
|
+
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/folderUtils.js
|
|
152839
152934
|
var require_folderUtils = __commonJS({
|
|
152840
|
-
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
152935
|
+
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/folderUtils.js"(exports2) {
|
|
152841
152936
|
"use strict";
|
|
152842
152937
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
152843
152938
|
exports2.isFolderInside = exports2.getHomeFolder = exports2.getDefaultGlobalFolder = void 0;
|
|
@@ -152867,9 +152962,9 @@ var require_folderUtils = __commonJS({
|
|
|
152867
152962
|
}
|
|
152868
152963
|
});
|
|
152869
152964
|
|
|
152870
|
-
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
152965
|
+
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/nodeUtils.js
|
|
152871
152966
|
var require_nodeUtils = __commonJS({
|
|
152872
|
-
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
152967
|
+
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/nodeUtils.js"(exports2) {
|
|
152873
152968
|
"use strict";
|
|
152874
152969
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
152875
152970
|
exports2.builtinModules = void 0;
|
|
@@ -152882,9 +152977,9 @@ var require_nodeUtils = __commonJS({
|
|
|
152882
152977
|
}
|
|
152883
152978
|
});
|
|
152884
152979
|
|
|
152885
|
-
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
152980
|
+
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/Configuration.js
|
|
152886
152981
|
var require_Configuration = __commonJS({
|
|
152887
|
-
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
152982
|
+
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/Configuration.js"(exports2) {
|
|
152888
152983
|
"use strict";
|
|
152889
152984
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
152890
152985
|
exports2.Configuration = exports2.ProjectLookup = exports2.coreDefinitions = exports2.FormatType = exports2.SettingsType = exports2.SECRET = exports2.DEFAULT_LOCK_FILENAME = exports2.DEFAULT_RC_FILENAME = exports2.ENVIRONMENT_PREFIX = void 0;
|
|
@@ -152913,7 +153008,7 @@ var require_Configuration = __commonJS({
|
|
|
152913
153008
|
var semverUtils = (0, tslib_12.__importStar)(require_semverUtils());
|
|
152914
153009
|
var structUtils = (0, tslib_12.__importStar)(require_structUtils());
|
|
152915
153010
|
var types_1 = require_types5();
|
|
152916
|
-
var IGNORED_ENV_VARIABLES = new Set([
|
|
153011
|
+
var IGNORED_ENV_VARIABLES = /* @__PURE__ */ new Set([
|
|
152917
153012
|
`binFolder`,
|
|
152918
153013
|
`version`,
|
|
152919
153014
|
`flags`,
|
|
@@ -152969,7 +153064,7 @@ var require_Configuration = __commonJS({
|
|
|
152969
153064
|
default: null
|
|
152970
153065
|
},
|
|
152971
153066
|
globalFolder: {
|
|
152972
|
-
description: `Folder where
|
|
153067
|
+
description: `Folder where all system-global files are stored`,
|
|
152973
153068
|
type: SettingsType.ABSOLUTE_PATH,
|
|
152974
153069
|
default: folderUtils.getDefaultGlobalFolder()
|
|
152975
153070
|
},
|
|
@@ -153370,7 +153465,7 @@ var require_Configuration = __commonJS({
|
|
|
153370
153465
|
return result2;
|
|
153371
153466
|
}
|
|
153372
153467
|
function parseMap(configuration, path2, value, definition, folder) {
|
|
153373
|
-
const result2 = new Map();
|
|
153468
|
+
const result2 = /* @__PURE__ */ new Map();
|
|
153374
153469
|
if (typeof value !== `object` || Array.isArray(value))
|
|
153375
153470
|
throw new clipanion_12.UsageError(`Map configuration settings "${path2}" must be an object`);
|
|
153376
153471
|
if (value === null)
|
|
@@ -153389,7 +153484,7 @@ var require_Configuration = __commonJS({
|
|
|
153389
153484
|
{
|
|
153390
153485
|
if (definition.isArray && !ignoreArrays)
|
|
153391
153486
|
return [];
|
|
153392
|
-
const result2 = new Map();
|
|
153487
|
+
const result2 = /* @__PURE__ */ new Map();
|
|
153393
153488
|
for (const [propKey, propDefinition] of Object.entries(definition.properties))
|
|
153394
153489
|
result2.set(propKey, getDefaultValue(configuration, propDefinition));
|
|
153395
153490
|
return result2;
|
|
@@ -153399,7 +153494,7 @@ var require_Configuration = __commonJS({
|
|
|
153399
153494
|
{
|
|
153400
153495
|
if (definition.isArray && !ignoreArrays)
|
|
153401
153496
|
return [];
|
|
153402
|
-
return new Map();
|
|
153497
|
+
return /* @__PURE__ */ new Map();
|
|
153403
153498
|
}
|
|
153404
153499
|
break;
|
|
153405
153500
|
case SettingsType.ABSOLUTE_PATH:
|
|
@@ -153442,13 +153537,13 @@ var require_Configuration = __commonJS({
|
|
|
153442
153537
|
return newValue;
|
|
153443
153538
|
}
|
|
153444
153539
|
if (definition.type === SettingsType.MAP && rawValue instanceof Map) {
|
|
153445
|
-
const newValue = new Map();
|
|
153540
|
+
const newValue = /* @__PURE__ */ new Map();
|
|
153446
153541
|
for (const [key, value] of rawValue.entries())
|
|
153447
153542
|
newValue.set(key, transformConfiguration(value, definition.valueDefinition, transforms));
|
|
153448
153543
|
return newValue;
|
|
153449
153544
|
}
|
|
153450
153545
|
if (definition.type === SettingsType.SHAPE && rawValue instanceof Map) {
|
|
153451
|
-
const newValue = new Map();
|
|
153546
|
+
const newValue = /* @__PURE__ */ new Map();
|
|
153452
153547
|
for (const [key, value] of rawValue.entries()) {
|
|
153453
153548
|
const propertyDefinition = definition.properties[key];
|
|
153454
153549
|
newValue.set(key, transformConfiguration(value, propertyDefinition, transforms));
|
|
@@ -153484,13 +153579,13 @@ var require_Configuration = __commonJS({
|
|
|
153484
153579
|
var Configuration = class {
|
|
153485
153580
|
constructor(startingCwd) {
|
|
153486
153581
|
this.projectCwd = null;
|
|
153487
|
-
this.plugins = new Map();
|
|
153488
|
-
this.settings = new Map();
|
|
153489
|
-
this.values = new Map();
|
|
153490
|
-
this.sources = new Map();
|
|
153491
|
-
this.invalid = new Map();
|
|
153492
|
-
this.packageExtensions = new Map();
|
|
153493
|
-
this.limits = new Map();
|
|
153582
|
+
this.plugins = /* @__PURE__ */ new Map();
|
|
153583
|
+
this.settings = /* @__PURE__ */ new Map();
|
|
153584
|
+
this.values = /* @__PURE__ */ new Map();
|
|
153585
|
+
this.sources = /* @__PURE__ */ new Map();
|
|
153586
|
+
this.invalid = /* @__PURE__ */ new Map();
|
|
153587
|
+
this.packageExtensions = /* @__PURE__ */ new Map();
|
|
153588
|
+
this.limits = /* @__PURE__ */ new Map();
|
|
153494
153589
|
this.startingCwd = startingCwd;
|
|
153495
153590
|
}
|
|
153496
153591
|
static create(startingCwd, projectCwdOrPlugins, maybePlugins) {
|
|
@@ -153498,7 +153593,7 @@ var require_Configuration = __commonJS({
|
|
|
153498
153593
|
if (typeof projectCwdOrPlugins !== `undefined` && !(projectCwdOrPlugins instanceof Map))
|
|
153499
153594
|
configuration.projectCwd = projectCwdOrPlugins;
|
|
153500
153595
|
configuration.importSettings(exports2.coreDefinitions);
|
|
153501
|
-
const plugins = typeof maybePlugins !== `undefined` ? maybePlugins : projectCwdOrPlugins instanceof Map ? projectCwdOrPlugins : new Map();
|
|
153596
|
+
const plugins = typeof maybePlugins !== `undefined` ? maybePlugins : projectCwdOrPlugins instanceof Map ? projectCwdOrPlugins : /* @__PURE__ */ new Map();
|
|
153502
153597
|
for (const [name, plugin] of plugins)
|
|
153503
153598
|
configuration.activatePlugin(name, plugin);
|
|
153504
153599
|
return configuration;
|
|
@@ -153556,7 +153651,7 @@ var require_Configuration = __commonJS({
|
|
|
153556
153651
|
configuration.startingCwd = startingCwd;
|
|
153557
153652
|
configuration.projectCwd = projectCwd;
|
|
153558
153653
|
configuration.importSettings(excludeCoreFields(exports2.coreDefinitions));
|
|
153559
|
-
const plugins = new Map([
|
|
153654
|
+
const plugins = /* @__PURE__ */ new Map([
|
|
153560
153655
|
[`@@core`, CorePlugin_1.CorePlugin]
|
|
153561
153656
|
]);
|
|
153562
153657
|
const getDefault = (object) => {
|
|
@@ -153565,12 +153660,12 @@ var require_Configuration = __commonJS({
|
|
|
153565
153660
|
if (pluginConfiguration !== null) {
|
|
153566
153661
|
for (const request of pluginConfiguration.plugins.keys())
|
|
153567
153662
|
plugins.set(request, getDefault(pluginConfiguration.modules.get(request)));
|
|
153568
|
-
const requireEntries = new Map();
|
|
153663
|
+
const requireEntries = /* @__PURE__ */ new Map();
|
|
153569
153664
|
for (const request of nodeUtils.builtinModules())
|
|
153570
153665
|
requireEntries.set(request, () => miscUtils.dynamicRequire(request));
|
|
153571
153666
|
for (const [request, embedModule] of pluginConfiguration.modules)
|
|
153572
153667
|
requireEntries.set(request, () => embedModule);
|
|
153573
|
-
const dynamicPlugins = new Set();
|
|
153668
|
+
const dynamicPlugins = /* @__PURE__ */ new Set();
|
|
153574
153669
|
const importPlugin = async (pluginPath, source) => {
|
|
153575
153670
|
const { factory, name } = miscUtils.dynamicRequire(pluginPath);
|
|
153576
153671
|
if (dynamicPlugins.has(name))
|
|
@@ -153878,7 +153973,7 @@ var require_Configuration = __commonJS({
|
|
|
153878
153973
|
return { os, cpu };
|
|
153879
153974
|
}
|
|
153880
153975
|
async refreshPackageExtensions() {
|
|
153881
|
-
this.packageExtensions = new Map();
|
|
153976
|
+
this.packageExtensions = /* @__PURE__ */ new Map();
|
|
153882
153977
|
const packageExtensions = this.packageExtensions;
|
|
153883
153978
|
const registerPackageExtension = (descriptor, extensionData, { userProvided = false } = {}) => {
|
|
153884
153979
|
if (!semverUtils.validRange(descriptor.range))
|
|
@@ -154043,9 +154138,9 @@ var require_Configuration = __commonJS({
|
|
|
154043
154138
|
}
|
|
154044
154139
|
});
|
|
154045
154140
|
|
|
154046
|
-
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
154141
|
+
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/execUtils.js
|
|
154047
154142
|
var require_execUtils = __commonJS({
|
|
154048
|
-
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
154143
|
+
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/execUtils.js"(exports2) {
|
|
154049
154144
|
"use strict";
|
|
154050
154145
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
154051
154146
|
exports2.execvp = exports2.pipevp = exports2.ExecError = exports2.PipeError = exports2.EndStrategy = void 0;
|
|
@@ -154084,7 +154179,7 @@ var require_execUtils = __commonJS({
|
|
|
154084
154179
|
function hasFd(stream) {
|
|
154085
154180
|
return stream !== null && typeof stream.fd === `number`;
|
|
154086
154181
|
}
|
|
154087
|
-
var activeChildren = new Set();
|
|
154182
|
+
var activeChildren = /* @__PURE__ */ new Set();
|
|
154088
154183
|
function sigintHandler() {
|
|
154089
154184
|
}
|
|
154090
154185
|
function sigtermHandler() {
|
|
@@ -154122,7 +154217,7 @@ var require_execUtils = __commonJS({
|
|
|
154122
154217
|
if (!hasFd(stderr))
|
|
154123
154218
|
child.stderr.pipe(stderr, { end: false });
|
|
154124
154219
|
const closeStreams = () => {
|
|
154125
|
-
for (const stream of new Set([stdout, stderr])) {
|
|
154220
|
+
for (const stream of /* @__PURE__ */ new Set([stdout, stderr])) {
|
|
154126
154221
|
if (!hasFd(stream)) {
|
|
154127
154222
|
stream.end();
|
|
154128
154223
|
}
|
|
@@ -154201,7 +154296,7 @@ var require_execUtils = __commonJS({
|
|
|
154201
154296
|
});
|
|
154202
154297
|
}
|
|
154203
154298
|
exports2.execvp = execvp;
|
|
154204
|
-
var signalToCodeMap = new Map([
|
|
154299
|
+
var signalToCodeMap = /* @__PURE__ */ new Map([
|
|
154205
154300
|
[`SIGINT`, 2],
|
|
154206
154301
|
[`SIGQUIT`, 3],
|
|
154207
154302
|
[`SIGKILL`, 9],
|
|
@@ -154960,7 +155055,7 @@ var require_source5 = __commonJS({
|
|
|
154960
155055
|
var all = { all: true };
|
|
154961
155056
|
var CacheableLookup = class {
|
|
154962
155057
|
constructor({
|
|
154963
|
-
cache = new Map(),
|
|
155058
|
+
cache = /* @__PURE__ */ new Map(),
|
|
154964
155059
|
maxTtl = Infinity,
|
|
154965
155060
|
fallbackDuration = 3600,
|
|
154966
155061
|
errorTtl = 0.15,
|
|
@@ -154982,7 +155077,7 @@ var require_source5 = __commonJS({
|
|
|
154982
155077
|
this._iface = getIfaceInfo();
|
|
154983
155078
|
this._pending = {};
|
|
154984
155079
|
this._nextRemovalTime = false;
|
|
154985
|
-
this._hostnamesToFallback = new Set();
|
|
155080
|
+
this._hostnamesToFallback = /* @__PURE__ */ new Set();
|
|
154986
155081
|
if (fallbackDuration < 1) {
|
|
154987
155082
|
this._fallback = false;
|
|
154988
155083
|
} else {
|
|
@@ -155587,7 +155682,7 @@ var require_get_stream2 = __commonJS({
|
|
|
155587
155682
|
var require_http_cache_semantics = __commonJS({
|
|
155588
155683
|
"../../node_modules/.pnpm/http-cache-semantics@4.1.0/node_modules/http-cache-semantics/index.js"(exports2, module2) {
|
|
155589
155684
|
"use strict";
|
|
155590
|
-
var statusCodeCacheableByDefault = new Set([
|
|
155685
|
+
var statusCodeCacheableByDefault = /* @__PURE__ */ new Set([
|
|
155591
155686
|
200,
|
|
155592
155687
|
203,
|
|
155593
155688
|
204,
|
|
@@ -155600,7 +155695,7 @@ var require_http_cache_semantics = __commonJS({
|
|
|
155600
155695
|
414,
|
|
155601
155696
|
501
|
|
155602
155697
|
]);
|
|
155603
|
-
var understoodStatuses = new Set([
|
|
155698
|
+
var understoodStatuses = /* @__PURE__ */ new Set([
|
|
155604
155699
|
200,
|
|
155605
155700
|
203,
|
|
155606
155701
|
204,
|
|
@@ -155616,7 +155711,7 @@ var require_http_cache_semantics = __commonJS({
|
|
|
155616
155711
|
414,
|
|
155617
155712
|
501
|
|
155618
155713
|
]);
|
|
155619
|
-
var errorStatusCodes = new Set([
|
|
155714
|
+
var errorStatusCodes = /* @__PURE__ */ new Set([
|
|
155620
155715
|
500,
|
|
155621
155716
|
502,
|
|
155622
155717
|
503,
|
|
@@ -156170,7 +156265,7 @@ var require_src7 = __commonJS({
|
|
|
156170
156265
|
const adapter = options.adapter || /^[^:]*/.exec(options.uri)[0];
|
|
156171
156266
|
return new (require(adapters[adapter]))(options);
|
|
156172
156267
|
}
|
|
156173
|
-
return new Map();
|
|
156268
|
+
return /* @__PURE__ */ new Map();
|
|
156174
156269
|
};
|
|
156175
156270
|
var Keyv = class extends EventEmitter {
|
|
156176
156271
|
constructor(uri, options) {
|
|
@@ -156573,8 +156668,8 @@ var require_quick_lru2 = __commonJS({
|
|
|
156573
156668
|
}
|
|
156574
156669
|
this.maxSize = options.maxSize;
|
|
156575
156670
|
this.onEviction = options.onEviction;
|
|
156576
|
-
this.cache = new Map();
|
|
156577
|
-
this.oldCache = new Map();
|
|
156671
|
+
this.cache = /* @__PURE__ */ new Map();
|
|
156672
|
+
this.oldCache = /* @__PURE__ */ new Map();
|
|
156578
156673
|
this._size = 0;
|
|
156579
156674
|
}
|
|
156580
156675
|
_set(key, value) {
|
|
@@ -156588,7 +156683,7 @@ var require_quick_lru2 = __commonJS({
|
|
|
156588
156683
|
}
|
|
156589
156684
|
}
|
|
156590
156685
|
this.oldCache = this.cache;
|
|
156591
|
-
this.cache = new Map();
|
|
156686
|
+
this.cache = /* @__PURE__ */ new Map();
|
|
156592
156687
|
}
|
|
156593
156688
|
}
|
|
156594
156689
|
get(key) {
|
|
@@ -157668,7 +157763,7 @@ var require_auto = __commonJS({
|
|
|
157668
157763
|
var calculateServerName = require_calculate_server_name();
|
|
157669
157764
|
var urlToOptions = require_url_to_options();
|
|
157670
157765
|
var cache = new QuickLRU({ maxSize: 100 });
|
|
157671
|
-
var queue = new Map();
|
|
157766
|
+
var queue = /* @__PURE__ */ new Map();
|
|
157672
157767
|
var installSocket = (agent, socket, options) => {
|
|
157673
157768
|
socket._httpMessage = { shouldKeepAlive: true };
|
|
157674
157769
|
const onFree = () => {
|
|
@@ -158111,8 +158206,8 @@ var require_weakable_map = __commonJS({
|
|
|
158111
158206
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
158112
158207
|
var WeakableMap = class {
|
|
158113
158208
|
constructor() {
|
|
158114
|
-
this.weakMap = new WeakMap();
|
|
158115
|
-
this.map = new Map();
|
|
158209
|
+
this.weakMap = /* @__PURE__ */ new WeakMap();
|
|
158210
|
+
this.map = /* @__PURE__ */ new Map();
|
|
158116
158211
|
}
|
|
158117
158212
|
set(key, value) {
|
|
158118
158213
|
if (typeof key === "object") {
|
|
@@ -158201,7 +158296,7 @@ var require_deprecation_warning = __commonJS({
|
|
|
158201
158296
|
"../../node_modules/.pnpm/got@11.8.3/node_modules/got/dist/source/utils/deprecation-warning.js"(exports2) {
|
|
158202
158297
|
"use strict";
|
|
158203
158298
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
158204
|
-
var alreadyWarned = new Set();
|
|
158299
|
+
var alreadyWarned = /* @__PURE__ */ new Set();
|
|
158205
158300
|
exports2.default = (message2) => {
|
|
158206
158301
|
if (alreadyWarned.has(message2)) {
|
|
158207
158302
|
return;
|
|
@@ -158295,7 +158390,7 @@ var require_calculate_retry_delay = __commonJS({
|
|
|
158295
158390
|
"use strict";
|
|
158296
158391
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
158297
158392
|
exports2.retryAfterStatusCodes = void 0;
|
|
158298
|
-
exports2.retryAfterStatusCodes = new Set([413, 429, 503]);
|
|
158393
|
+
exports2.retryAfterStatusCodes = /* @__PURE__ */ new Set([413, 429, 503]);
|
|
158299
158394
|
var calculateRetryDelay = ({ attemptCount, retryOptions, error, retryAfter }) => {
|
|
158300
158395
|
if (attemptCount > retryOptions.limit) {
|
|
158301
158396
|
return 0;
|
|
@@ -158377,7 +158472,7 @@ var require_core8 = __commonJS({
|
|
|
158377
158472
|
var kRetryTimeout = Symbol("retryTimeout");
|
|
158378
158473
|
exports2.kIsNormalizedAlready = Symbol("isNormalizedAlready");
|
|
158379
158474
|
var supportsBrotli = is_1.default.string(process.versions.brotli);
|
|
158380
|
-
exports2.withoutBody = new Set(["GET", "HEAD"]);
|
|
158475
|
+
exports2.withoutBody = /* @__PURE__ */ new Set(["GET", "HEAD"]);
|
|
158381
158476
|
exports2.knownHookEvents = [
|
|
158382
158477
|
"init",
|
|
158383
158478
|
"beforeRequest",
|
|
@@ -158411,7 +158506,7 @@ var require_core8 = __commonJS({
|
|
|
158411
158506
|
resolve();
|
|
158412
158507
|
});
|
|
158413
158508
|
});
|
|
158414
|
-
var redirectCodes = new Set([300, 301, 302, 303, 304, 307, 308]);
|
|
158509
|
+
var redirectCodes = /* @__PURE__ */ new Set([300, 301, 302, 303, 304, 307, 308]);
|
|
158415
158510
|
var nonEnumerableProperties = [
|
|
158416
158511
|
"context",
|
|
158417
158512
|
"body",
|
|
@@ -158551,7 +158646,7 @@ var require_core8 = __commonJS({
|
|
|
158551
158646
|
this[kDownloadedSize] = 0;
|
|
158552
158647
|
this[kUploadedSize] = 0;
|
|
158553
158648
|
this.requestInitialized = false;
|
|
158554
|
-
this[kServerResponsesPiped] = new Set();
|
|
158649
|
+
this[kServerResponsesPiped] = /* @__PURE__ */ new Set();
|
|
158555
158650
|
this.redirects = [];
|
|
158556
158651
|
this[kStopReading] = false;
|
|
158557
158652
|
this[kTriggerRead] = false;
|
|
@@ -160487,9 +160582,9 @@ var require_tunnel2 = __commonJS({
|
|
|
160487
160582
|
}
|
|
160488
160583
|
});
|
|
160489
160584
|
|
|
160490
|
-
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
160585
|
+
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/httpUtils.js
|
|
160491
160586
|
var require_httpUtils = __commonJS({
|
|
160492
|
-
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
160587
|
+
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/httpUtils.js"(exports2) {
|
|
160493
160588
|
"use strict";
|
|
160494
160589
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
160495
160590
|
exports2.del = exports2.post = exports2.put = exports2.get = exports2.request = exports2.Method = exports2.getNetworkSettings = exports2.RequestError = void 0;
|
|
@@ -160509,8 +160604,8 @@ var require_httpUtils = __commonJS({
|
|
|
160509
160604
|
Object.defineProperty(exports2, "RequestError", { enumerable: true, get: function() {
|
|
160510
160605
|
return got_2.RequestError;
|
|
160511
160606
|
} });
|
|
160512
|
-
var cache = new Map();
|
|
160513
|
-
var certCache = new Map();
|
|
160607
|
+
var cache = /* @__PURE__ */ new Map();
|
|
160608
|
+
var certCache = /* @__PURE__ */ new Map();
|
|
160514
160609
|
var globalHttpAgent = new http_1.Agent({ keepAlive: true });
|
|
160515
160610
|
var globalHttpsAgent = new https_1.Agent({ keepAlive: true });
|
|
160516
160611
|
function parseProxy(specifier) {
|
|
@@ -160702,9 +160797,9 @@ var require_httpUtils = __commonJS({
|
|
|
160702
160797
|
}
|
|
160703
160798
|
});
|
|
160704
160799
|
|
|
160705
|
-
// ../../node_modules/.pnpm/@yarnpkg+libzip@2.2.3-rc.
|
|
160800
|
+
// ../../node_modules/.pnpm/@yarnpkg+libzip@2.2.3-rc.3/node_modules/@yarnpkg/libzip/lib/libzipSync.js
|
|
160706
160801
|
var require_libzipSync = __commonJS({
|
|
160707
|
-
"../../node_modules/.pnpm/@yarnpkg+libzip@2.2.3-rc.
|
|
160802
|
+
"../../node_modules/.pnpm/@yarnpkg+libzip@2.2.3-rc.3/node_modules/@yarnpkg/libzip/lib/libzipSync.js"(exports2, module2) {
|
|
160708
160803
|
var frozenFs = Object.assign({}, require("fs"));
|
|
160709
160804
|
var createModule = function() {
|
|
160710
160805
|
var _scriptDir = typeof document !== "undefined" && document.currentScript ? document.currentScript.src : void 0;
|
|
@@ -164840,9 +164935,9 @@ var require_libzipSync = __commonJS({
|
|
|
164840
164935
|
}
|
|
164841
164936
|
});
|
|
164842
164937
|
|
|
164843
|
-
// ../../node_modules/.pnpm/@yarnpkg+libzip@2.2.3-rc.
|
|
164938
|
+
// ../../node_modules/.pnpm/@yarnpkg+libzip@2.2.3-rc.3/node_modules/@yarnpkg/libzip/lib/makeInterface.js
|
|
164844
164939
|
var require_makeInterface = __commonJS({
|
|
164845
|
-
"../../node_modules/.pnpm/@yarnpkg+libzip@2.2.3-rc.
|
|
164940
|
+
"../../node_modules/.pnpm/@yarnpkg+libzip@2.2.3-rc.3/node_modules/@yarnpkg/libzip/lib/makeInterface.js"(exports2) {
|
|
164846
164941
|
"use strict";
|
|
164847
164942
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
164848
164943
|
exports2.makeInterface = exports2.Errors = void 0;
|
|
@@ -165000,9 +165095,9 @@ var require_makeInterface = __commonJS({
|
|
|
165000
165095
|
}
|
|
165001
165096
|
});
|
|
165002
165097
|
|
|
165003
|
-
// ../../node_modules/.pnpm/@yarnpkg+libzip@2.2.3-rc.
|
|
165098
|
+
// ../../node_modules/.pnpm/@yarnpkg+libzip@2.2.3-rc.3/node_modules/@yarnpkg/libzip/lib/sync.js
|
|
165004
165099
|
var require_sync8 = __commonJS({
|
|
165005
|
-
"../../node_modules/.pnpm/@yarnpkg+libzip@2.2.3-rc.
|
|
165100
|
+
"../../node_modules/.pnpm/@yarnpkg+libzip@2.2.3-rc.3/node_modules/@yarnpkg/libzip/lib/sync.js"(exports2) {
|
|
165006
165101
|
"use strict";
|
|
165007
165102
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
165008
165103
|
exports2.getLibzipPromise = exports2.getLibzipSync = void 0;
|
|
@@ -165023,9 +165118,9 @@ var require_sync8 = __commonJS({
|
|
|
165023
165118
|
}
|
|
165024
165119
|
});
|
|
165025
165120
|
|
|
165026
|
-
// ../../node_modules/.pnpm/@yarnpkg+shell@3.2.0-rc.
|
|
165121
|
+
// ../../node_modules/.pnpm/@yarnpkg+shell@3.2.0-rc.6/node_modules/@yarnpkg/shell/lib/errors.js
|
|
165027
165122
|
var require_errors9 = __commonJS({
|
|
165028
|
-
"../../node_modules/.pnpm/@yarnpkg+shell@3.2.0-rc.
|
|
165123
|
+
"../../node_modules/.pnpm/@yarnpkg+shell@3.2.0-rc.6/node_modules/@yarnpkg/shell/lib/errors.js"(exports2) {
|
|
165029
165124
|
"use strict";
|
|
165030
165125
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
165031
165126
|
exports2.ShellError = void 0;
|
|
@@ -165039,9 +165134,9 @@ var require_errors9 = __commonJS({
|
|
|
165039
165134
|
}
|
|
165040
165135
|
});
|
|
165041
165136
|
|
|
165042
|
-
// ../../node_modules/.pnpm/@yarnpkg+shell@3.2.0-rc.
|
|
165137
|
+
// ../../node_modules/.pnpm/@yarnpkg+shell@3.2.0-rc.6/node_modules/@yarnpkg/shell/lib/globUtils.js
|
|
165043
165138
|
var require_globUtils2 = __commonJS({
|
|
165044
|
-
"../../node_modules/.pnpm/@yarnpkg+shell@3.2.0-rc.
|
|
165139
|
+
"../../node_modules/.pnpm/@yarnpkg+shell@3.2.0-rc.6/node_modules/@yarnpkg/shell/lib/globUtils.js"(exports2) {
|
|
165045
165140
|
"use strict";
|
|
165046
165141
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
165047
165142
|
exports2.isBraceExpansion = exports2.match = exports2.isGlobPattern = exports2.fastGlobOptions = exports2.micromatchOptions = void 0;
|
|
@@ -165083,9 +165178,9 @@ var require_globUtils2 = __commonJS({
|
|
|
165083
165178
|
}
|
|
165084
165179
|
});
|
|
165085
165180
|
|
|
165086
|
-
// ../../node_modules/.pnpm/@yarnpkg+shell@3.2.0-rc.
|
|
165181
|
+
// ../../node_modules/.pnpm/@yarnpkg+shell@3.2.0-rc.6/node_modules/@yarnpkg/shell/lib/pipe.js
|
|
165087
165182
|
var require_pipe5 = __commonJS({
|
|
165088
|
-
"../../node_modules/.pnpm/@yarnpkg+shell@3.2.0-rc.
|
|
165183
|
+
"../../node_modules/.pnpm/@yarnpkg+shell@3.2.0-rc.6/node_modules/@yarnpkg/shell/lib/pipe.js"(exports2) {
|
|
165089
165184
|
"use strict";
|
|
165090
165185
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
165091
165186
|
exports2.createOutputStreamsWithPrefix = exports2.start = exports2.Handle = exports2.ProtectedStream = exports2.makeBuiltin = exports2.makeProcess = exports2.Pipe = void 0;
|
|
@@ -165099,7 +165194,7 @@ var require_pipe5 = __commonJS({
|
|
|
165099
165194
|
Pipe2[Pipe2["STDOUT"] = 1] = "STDOUT";
|
|
165100
165195
|
Pipe2[Pipe2["STDERR"] = 2] = "STDERR";
|
|
165101
165196
|
})(Pipe = exports2.Pipe || (exports2.Pipe = {}));
|
|
165102
|
-
var activeChildren = new Set();
|
|
165197
|
+
var activeChildren = /* @__PURE__ */ new Set();
|
|
165103
165198
|
function sigintHandler() {
|
|
165104
165199
|
}
|
|
165105
165200
|
function sigtermHandler() {
|
|
@@ -165355,9 +165450,9 @@ var require_pipe5 = __commonJS({
|
|
|
165355
165450
|
}
|
|
165356
165451
|
});
|
|
165357
165452
|
|
|
165358
|
-
// ../../node_modules/.pnpm/@yarnpkg+shell@3.2.0-rc.
|
|
165453
|
+
// ../../node_modules/.pnpm/@yarnpkg+shell@3.2.0-rc.6/node_modules/@yarnpkg/shell/lib/index.js
|
|
165359
165454
|
var require_lib104 = __commonJS({
|
|
165360
|
-
"../../node_modules/.pnpm/@yarnpkg+shell@3.2.0-rc.
|
|
165455
|
+
"../../node_modules/.pnpm/@yarnpkg+shell@3.2.0-rc.6/node_modules/@yarnpkg/shell/lib/index.js"(exports2) {
|
|
165361
165456
|
"use strict";
|
|
165362
165457
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
165363
165458
|
exports2.execute = exports2.ShellError = exports2.globUtils = void 0;
|
|
@@ -165424,7 +165519,7 @@ var require_lib104 = __commonJS({
|
|
|
165424
165519
|
newState.variables = { ...state.variables, ...mergeWith.variables };
|
|
165425
165520
|
return newState;
|
|
165426
165521
|
}
|
|
165427
|
-
var BUILTINS = new Map([
|
|
165522
|
+
var BUILTINS = /* @__PURE__ */ new Map([
|
|
165428
165523
|
[`cd`, async ([target = (0, os_1.homedir)(), ...rest], opts, state) => {
|
|
165429
165524
|
const resolvedTarget = fslib_12.ppath.resolve(state.cwd, fslib_12.npath.toPortablePath(target));
|
|
165430
165525
|
const stat = await opts.baseFs.statPromise(resolvedTarget).catch((error) => {
|
|
@@ -165774,7 +165869,7 @@ var require_lib104 = __commonJS({
|
|
|
165774
165869
|
}
|
|
165775
165870
|
}
|
|
165776
165871
|
async function interpolateArguments(commandArgs, opts, state) {
|
|
165777
|
-
const redirections = new Map();
|
|
165872
|
+
const redirections = /* @__PURE__ */ new Map();
|
|
165778
165873
|
const interpolated = [];
|
|
165779
165874
|
let interpolatedSegments = [];
|
|
165780
165875
|
const push = (segment) => {
|
|
@@ -166259,9 +166354,9 @@ var require_capitalize = __commonJS({
|
|
|
166259
166354
|
}
|
|
166260
166355
|
});
|
|
166261
166356
|
|
|
166262
|
-
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
166357
|
+
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/StreamReport.js
|
|
166263
166358
|
var require_StreamReport = __commonJS({
|
|
166264
|
-
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
166359
|
+
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/StreamReport.js"(exports2) {
|
|
166265
166360
|
"use strict";
|
|
166266
166361
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
166267
166362
|
exports2.StreamReport = exports2.formatNameWithHyperlink = exports2.formatName = void 0;
|
|
@@ -166274,7 +166369,7 @@ var require_StreamReport = __commonJS({
|
|
|
166274
166369
|
var structUtils = (0, tslib_12.__importStar)(require_structUtils());
|
|
166275
166370
|
var PROGRESS_FRAMES = [`\u280B`, `\u2819`, `\u2839`, `\u2838`, `\u283C`, `\u2834`, `\u2826`, `\u2827`, `\u2807`, `\u280F`];
|
|
166276
166371
|
var PROGRESS_INTERVAL = 80;
|
|
166277
|
-
var BASE_FORGETTABLE_NAMES = new Set([MessageName_1.MessageName.FETCH_NOT_CACHED, MessageName_1.MessageName.UNUSED_CACHE_ENTRY]);
|
|
166372
|
+
var BASE_FORGETTABLE_NAMES = /* @__PURE__ */ new Set([MessageName_1.MessageName.FETCH_NOT_CACHED, MessageName_1.MessageName.UNUSED_CACHE_ENTRY]);
|
|
166278
166373
|
var BASE_FORGETTABLE_BUFFER_SIZE = 5;
|
|
166279
166374
|
var GROUP = ci_info_1.default.GITHUB_ACTIONS ? { start: (what) => `::group::${what}
|
|
166280
166375
|
`, end: (what) => `::endgroup::
|
|
@@ -166341,9 +166436,9 @@ var require_StreamReport = __commonJS({
|
|
|
166341
166436
|
}
|
|
166342
166437
|
exports2.formatNameWithHyperlink = formatNameWithHyperlink;
|
|
166343
166438
|
var StreamReport = class extends Report_1.Report {
|
|
166344
|
-
constructor({ configuration, stdout, json = false, includeFooter = true, includeLogs = !json, includeInfos = includeLogs, includeWarnings = includeLogs, forgettableBufferSize = BASE_FORGETTABLE_BUFFER_SIZE, forgettableNames = new Set() }) {
|
|
166439
|
+
constructor({ configuration, stdout, json = false, includeFooter = true, includeLogs = !json, includeInfos = includeLogs, includeWarnings = includeLogs, forgettableBufferSize = BASE_FORGETTABLE_BUFFER_SIZE, forgettableNames = /* @__PURE__ */ new Set() }) {
|
|
166345
166440
|
super();
|
|
166346
|
-
this.uncommitted = new Set();
|
|
166441
|
+
this.uncommitted = /* @__PURE__ */ new Set();
|
|
166347
166442
|
this.cacheHitCount = 0;
|
|
166348
166443
|
this.cacheMissCount = 0;
|
|
166349
166444
|
this.lastCacheMiss = null;
|
|
@@ -166351,7 +166446,7 @@ var require_StreamReport = __commonJS({
|
|
|
166351
166446
|
this.errorCount = 0;
|
|
166352
166447
|
this.startTime = Date.now();
|
|
166353
166448
|
this.indent = 0;
|
|
166354
|
-
this.progress = new Map();
|
|
166449
|
+
this.progress = /* @__PURE__ */ new Map();
|
|
166355
166450
|
this.progressTime = 0;
|
|
166356
166451
|
this.progressFrame = 0;
|
|
166357
166452
|
this.progressTimeout = null;
|
|
@@ -166359,7 +166454,7 @@ var require_StreamReport = __commonJS({
|
|
|
166359
166454
|
formatUtils.addLogFilterSupport(this, { configuration });
|
|
166360
166455
|
this.configuration = configuration;
|
|
166361
166456
|
this.forgettableBufferSize = forgettableBufferSize;
|
|
166362
|
-
this.forgettableNames = new Set([...forgettableNames, ...BASE_FORGETTABLE_NAMES]);
|
|
166457
|
+
this.forgettableNames = /* @__PURE__ */ new Set([...forgettableNames, ...BASE_FORGETTABLE_NAMES]);
|
|
166363
166458
|
this.includeFooter = includeFooter;
|
|
166364
166459
|
this.includeInfos = includeInfos;
|
|
166365
166460
|
this.includeWarnings = includeWarnings;
|
|
@@ -166666,7 +166761,7 @@ var require_StreamReport = __commonJS({
|
|
|
166666
166761
|
}
|
|
166667
166762
|
commit() {
|
|
166668
166763
|
const marks = this.uncommitted;
|
|
166669
|
-
this.uncommitted = new Set();
|
|
166764
|
+
this.uncommitted = /* @__PURE__ */ new Set();
|
|
166670
166765
|
for (const mark of marks) {
|
|
166671
166766
|
mark.committed = true;
|
|
166672
166767
|
mark.action();
|
|
@@ -166765,9 +166860,9 @@ var require_StreamReport = __commonJS({
|
|
|
166765
166860
|
}
|
|
166766
166861
|
});
|
|
166767
166862
|
|
|
166768
|
-
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
166863
|
+
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/YarnVersion.js
|
|
166769
166864
|
var require_YarnVersion = __commonJS({
|
|
166770
|
-
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
166865
|
+
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/YarnVersion.js"(exports2) {
|
|
166771
166866
|
"use strict";
|
|
166772
166867
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
166773
166868
|
exports2.YarnVersion = void 0;
|
|
@@ -166775,9 +166870,9 @@ var require_YarnVersion = __commonJS({
|
|
|
166775
166870
|
}
|
|
166776
166871
|
});
|
|
166777
166872
|
|
|
166778
|
-
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
166873
|
+
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/scriptUtils.js
|
|
166779
166874
|
var require_scriptUtils = __commonJS({
|
|
166780
|
-
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
166875
|
+
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/scriptUtils.js"(exports2) {
|
|
166781
166876
|
"use strict";
|
|
166782
166877
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
166783
166878
|
exports2.executeWorkspaceAccessibleBinary = exports2.executePackageAccessibleBinary = exports2.getWorkspaceAccessibleBinaries = exports2.getPackageAccessibleBinaries = exports2.maybeExecuteWorkspaceLifecycleScript = exports2.executeWorkspaceLifecycleScript = exports2.hasWorkspaceScript = exports2.executeWorkspaceScript = exports2.executePackageShellcode = exports2.executePackageScript = exports2.hasPackageScript = exports2.prepareExternalProject = exports2.makeScriptEnv = exports2.detectPackageManager = exports2.PackageManager = void 0;
|
|
@@ -166938,7 +167033,7 @@ exec "${argv0}" ${args2.map((arg) => `'${arg.replace(/'/g, `'"'"'`)}'`).join(` `
|
|
|
166938
167033
|
}
|
|
166939
167034
|
await fslib_2.xfs.mktempPromise(async (binFolder) => {
|
|
166940
167035
|
const env = await makeScriptEnv({ binFolder });
|
|
166941
|
-
const workflows = new Map([
|
|
167036
|
+
const workflows = /* @__PURE__ */ new Map([
|
|
166942
167037
|
[PackageManager.Yarn1, async () => {
|
|
166943
167038
|
const workspaceCli = workspace !== null ? [`workspace`, workspace] : [];
|
|
166944
167039
|
const version = await execUtils.pipevp(`yarn`, [`set`, `version`, `classic`, `--only-if-needed`], { cwd, env, stdin, stdout, stderr, end: execUtils.EndStrategy.ErrorCode });
|
|
@@ -167145,14 +167240,14 @@ exec "${argv0}" ${args2.map((arg) => `'${arg.replace(/'/g, `'"'"'`)}'`).join(` `
|
|
|
167145
167240
|
exports2.maybeExecuteWorkspaceLifecycleScript = maybeExecuteWorkspaceLifecycleScript;
|
|
167146
167241
|
async function getPackageAccessibleBinaries(locator, { project }) {
|
|
167147
167242
|
const configuration = project.configuration;
|
|
167148
|
-
const binaries = new Map();
|
|
167243
|
+
const binaries = /* @__PURE__ */ new Map();
|
|
167149
167244
|
const pkg = project.storedPackages.get(locator.locatorHash);
|
|
167150
167245
|
if (!pkg)
|
|
167151
167246
|
throw new Error(`Package for ${structUtils.prettyLocator(configuration, locator)} not found in the project`);
|
|
167152
167247
|
const stdout = new stream_12.Writable();
|
|
167153
167248
|
const linkers = configuration.getLinkers();
|
|
167154
167249
|
const linkerOptions = { project, report: new StreamReport_1.StreamReport({ configuration, stdout }) };
|
|
167155
|
-
const visibleLocators = new Set([locator.locatorHash]);
|
|
167250
|
+
const visibleLocators = /* @__PURE__ */ new Set([locator.locatorHash]);
|
|
167156
167251
|
for (const descriptor of pkg.dependencies.values()) {
|
|
167157
167252
|
const resolution = project.storedResolutions.get(descriptor.descriptorHash);
|
|
167158
167253
|
if (!resolution)
|
|
@@ -167225,7 +167320,7 @@ exec "${argv0}" ${args2.map((arg) => `'${arg.replace(/'/g, `'"'"'`)}'`).join(` `
|
|
|
167225
167320
|
var require_high_level_opt = __commonJS({
|
|
167226
167321
|
"../../node_modules/.pnpm/tar@6.1.11/node_modules/tar/lib/high-level-opt.js"(exports2, module2) {
|
|
167227
167322
|
"use strict";
|
|
167228
|
-
var argmap = new Map([
|
|
167323
|
+
var argmap = /* @__PURE__ */ new Map([
|
|
167229
167324
|
["C", "cwd"],
|
|
167230
167325
|
["f", "file"],
|
|
167231
167326
|
["z", "gzip"],
|
|
@@ -167731,7 +167826,7 @@ var require_read_entry = __commonJS({
|
|
|
167731
167826
|
var require_types8 = __commonJS({
|
|
167732
167827
|
"../../node_modules/.pnpm/tar@6.1.11/node_modules/tar/lib/types.js"(exports2) {
|
|
167733
167828
|
"use strict";
|
|
167734
|
-
exports2.name = new Map([
|
|
167829
|
+
exports2.name = /* @__PURE__ */ new Map([
|
|
167735
167830
|
["0", "File"],
|
|
167736
167831
|
["", "OldFile"],
|
|
167737
167832
|
["1", "Link"],
|
|
@@ -168287,8 +168382,8 @@ var require_write_entry = __commonJS({
|
|
|
168287
168382
|
this.myuid = process.getuid && process.getuid() || 0;
|
|
168288
168383
|
this.myuser = process.env.USER || "";
|
|
168289
168384
|
this.maxReadSize = opt.maxReadSize || maxReadSize;
|
|
168290
|
-
this.linkCache = opt.linkCache || new Map();
|
|
168291
|
-
this.statCache = opt.statCache || new Map();
|
|
168385
|
+
this.linkCache = opt.linkCache || /* @__PURE__ */ new Map();
|
|
168386
|
+
this.statCache = opt.statCache || /* @__PURE__ */ new Map();
|
|
168292
168387
|
this.preservePaths = !!opt.preservePaths;
|
|
168293
168388
|
this.cwd = normPath(opt.cwd || process.cwd());
|
|
168294
168389
|
this.strict = !!opt.strict;
|
|
@@ -168734,9 +168829,9 @@ var require_pack2 = __commonJS({
|
|
|
168734
168829
|
this.strict = !!opt.strict;
|
|
168735
168830
|
this.noPax = !!opt.noPax;
|
|
168736
168831
|
this.prefix = normPath(opt.prefix || "");
|
|
168737
|
-
this.linkCache = opt.linkCache || new Map();
|
|
168738
|
-
this.statCache = opt.statCache || new Map();
|
|
168739
|
-
this.readdirCache = opt.readdirCache || new Map();
|
|
168832
|
+
this.linkCache = opt.linkCache || /* @__PURE__ */ new Map();
|
|
168833
|
+
this.statCache = opt.statCache || /* @__PURE__ */ new Map();
|
|
168834
|
+
this.readdirCache = opt.readdirCache || /* @__PURE__ */ new Map();
|
|
168740
168835
|
this[WRITEENTRYCLASS] = WriteEntry;
|
|
168741
168836
|
if (typeof opt.onwarn === "function")
|
|
168742
168837
|
this.on("warn", opt.onwarn);
|
|
@@ -170139,7 +170234,7 @@ var require_update2 = __commonJS({
|
|
|
170139
170234
|
var mtimeFilter = (opt) => {
|
|
170140
170235
|
const filter2 = opt.filter;
|
|
170141
170236
|
if (!opt.mtimeCache)
|
|
170142
|
-
opt.mtimeCache = new Map();
|
|
170237
|
+
opt.mtimeCache = /* @__PURE__ */ new Map();
|
|
170143
170238
|
opt.filter = filter2 ? (path2, stat) => filter2(path2, stat) && !(opt.mtimeCache.get(path2) > stat.mtime) : (path2, stat) => !(opt.mtimeCache.get(path2) > stat.mtime);
|
|
170144
170239
|
};
|
|
170145
170240
|
}
|
|
@@ -170693,8 +170788,8 @@ var require_path_reservations = __commonJS({
|
|
|
170693
170788
|
var platform = process.env.TESTING_TAR_FAKE_PLATFORM || process.platform;
|
|
170694
170789
|
var isWindows = platform === "win32";
|
|
170695
170790
|
module2.exports = () => {
|
|
170696
|
-
const queues = new Map();
|
|
170697
|
-
const reservations = new Map();
|
|
170791
|
+
const queues = /* @__PURE__ */ new Map();
|
|
170792
|
+
const reservations = /* @__PURE__ */ new Map();
|
|
170698
170793
|
const getDirs = (path2) => {
|
|
170699
170794
|
const dirs = path2.split("/").slice(0, -1).reduce((set, path3) => {
|
|
170700
170795
|
if (set.length)
|
|
@@ -170704,7 +170799,7 @@ var require_path_reservations = __commonJS({
|
|
|
170704
170799
|
}, []);
|
|
170705
170800
|
return dirs;
|
|
170706
170801
|
};
|
|
170707
|
-
const running = new Set();
|
|
170802
|
+
const running = /* @__PURE__ */ new Set();
|
|
170708
170803
|
const getQueues = (fn2) => {
|
|
170709
170804
|
const res = reservations.get(fn2);
|
|
170710
170805
|
if (!res)
|
|
@@ -170729,7 +170824,7 @@ var require_path_reservations = __commonJS({
|
|
|
170729
170824
|
if (!running.has(fn2))
|
|
170730
170825
|
return false;
|
|
170731
170826
|
const { paths, dirs } = reservations.get(fn2);
|
|
170732
|
-
const next = new Set();
|
|
170827
|
+
const next = /* @__PURE__ */ new Set();
|
|
170733
170828
|
paths.forEach((path2) => {
|
|
170734
170829
|
const q = queues.get(path2);
|
|
170735
170830
|
assert.equal(q[0], fn2);
|
|
@@ -170774,11 +170869,11 @@ var require_path_reservations = __commonJS({
|
|
|
170774
170869
|
dirs.forEach((dir) => {
|
|
170775
170870
|
const q = queues.get(dir);
|
|
170776
170871
|
if (!q)
|
|
170777
|
-
queues.set(dir, [new Set([fn2])]);
|
|
170872
|
+
queues.set(dir, [/* @__PURE__ */ new Set([fn2])]);
|
|
170778
170873
|
else if (q[q.length - 1] instanceof Set)
|
|
170779
170874
|
q[q.length - 1].add(fn2);
|
|
170780
170875
|
else
|
|
170781
|
-
q.push(new Set([fn2]));
|
|
170876
|
+
q.push(/* @__PURE__ */ new Set([fn2]));
|
|
170782
170877
|
});
|
|
170783
170878
|
return run(fn2);
|
|
170784
170879
|
};
|
|
@@ -170893,7 +170988,7 @@ var require_unpack = __commonJS({
|
|
|
170893
170988
|
this.readable = false;
|
|
170894
170989
|
this[PENDING] = 0;
|
|
170895
170990
|
this[ENDED] = false;
|
|
170896
|
-
this.dirCache = opt.dirCache || new Map();
|
|
170991
|
+
this.dirCache = opt.dirCache || /* @__PURE__ */ new Map();
|
|
170897
170992
|
if (typeof opt.uid === "number" || typeof opt.gid === "number") {
|
|
170898
170993
|
if (typeof opt.uid !== "number" || typeof opt.gid !== "number")
|
|
170899
170994
|
throw new TypeError("cannot set owner without number uid and gid");
|
|
@@ -171541,9 +171636,9 @@ var require_tar = __commonJS({
|
|
|
171541
171636
|
}
|
|
171542
171637
|
});
|
|
171543
171638
|
|
|
171544
|
-
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
171639
|
+
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/WorkerPool.js
|
|
171545
171640
|
var require_WorkerPool = __commonJS({
|
|
171546
|
-
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
171641
|
+
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/WorkerPool.js"(exports2) {
|
|
171547
171642
|
"use strict";
|
|
171548
171643
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
171549
171644
|
exports2.WorkerPool = void 0;
|
|
@@ -171601,9 +171696,9 @@ var require_WorkerPool = __commonJS({
|
|
|
171601
171696
|
}
|
|
171602
171697
|
});
|
|
171603
171698
|
|
|
171604
|
-
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
171699
|
+
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/worker-zip/index.js
|
|
171605
171700
|
var require_worker_zip = __commonJS({
|
|
171606
|
-
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
171701
|
+
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/worker-zip/index.js"(exports2, module2) {
|
|
171607
171702
|
var hook;
|
|
171608
171703
|
module2.exports.getContent = () => {
|
|
171609
171704
|
if (typeof hook === `undefined`)
|
|
@@ -171613,9 +171708,9 @@ var require_worker_zip = __commonJS({
|
|
|
171613
171708
|
}
|
|
171614
171709
|
});
|
|
171615
171710
|
|
|
171616
|
-
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
171711
|
+
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/tgzUtils.js
|
|
171617
171712
|
var require_tgzUtils = __commonJS({
|
|
171618
|
-
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
171713
|
+
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/tgzUtils.js"(exports2) {
|
|
171619
171714
|
"use strict";
|
|
171620
171715
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
171621
171716
|
exports2.extractArchiveTo = exports2.convertToZip = exports2.makeArchiveFromDirectory = void 0;
|
|
@@ -171802,9 +171897,9 @@ var require_treeify = __commonJS({
|
|
|
171802
171897
|
}
|
|
171803
171898
|
});
|
|
171804
171899
|
|
|
171805
|
-
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
171900
|
+
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/treeUtils.js
|
|
171806
171901
|
var require_treeUtils = __commonJS({
|
|
171807
|
-
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
171902
|
+
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/treeUtils.js"(exports2) {
|
|
171808
171903
|
"use strict";
|
|
171809
171904
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
171810
171905
|
exports2.emitTree = exports2.emitList = exports2.treeNodeToJson = exports2.treeNodeToTreeify = void 0;
|
|
@@ -171888,9 +171983,9 @@ $2`).replace(/^│\n/, ``);
|
|
|
171888
171983
|
}
|
|
171889
171984
|
});
|
|
171890
171985
|
|
|
171891
|
-
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
171986
|
+
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/Cache.js
|
|
171892
171987
|
var require_Cache = __commonJS({
|
|
171893
|
-
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
171988
|
+
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/Cache.js"(exports2) {
|
|
171894
171989
|
"use strict";
|
|
171895
171990
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
171896
171991
|
exports2.Cache = void 0;
|
|
@@ -171908,8 +172003,8 @@ var require_Cache = __commonJS({
|
|
|
171908
172003
|
var CACHE_VERSION = 8;
|
|
171909
172004
|
var Cache = class {
|
|
171910
172005
|
constructor(cacheCwd, { configuration, immutable = configuration.get(`enableImmutableCache`), check = false }) {
|
|
171911
|
-
this.markedFiles = new Set();
|
|
171912
|
-
this.mutexes = new Map();
|
|
172006
|
+
this.markedFiles = /* @__PURE__ */ new Set();
|
|
172007
|
+
this.mutexes = /* @__PURE__ */ new Map();
|
|
171913
172008
|
this.cacheId = `-${(0, crypto_1.randomBytes)(8).toString(`hex`)}.tmp`;
|
|
171914
172009
|
this.configuration = configuration;
|
|
171915
172010
|
this.cwd = cacheCwd;
|
|
@@ -172132,9 +172227,9 @@ var require_Cache = __commonJS({
|
|
|
172132
172227
|
}
|
|
172133
172228
|
});
|
|
172134
172229
|
|
|
172135
|
-
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
172230
|
+
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/Installer.js
|
|
172136
172231
|
var require_Installer = __commonJS({
|
|
172137
|
-
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
172232
|
+
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/Installer.js"(exports2) {
|
|
172138
172233
|
"use strict";
|
|
172139
172234
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
172140
172235
|
exports2.BuildType = void 0;
|
|
@@ -172146,9 +172241,9 @@ var require_Installer = __commonJS({
|
|
|
172146
172241
|
}
|
|
172147
172242
|
});
|
|
172148
172243
|
|
|
172149
|
-
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
172244
|
+
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/LightReport.js
|
|
172150
172245
|
var require_LightReport = __commonJS({
|
|
172151
|
-
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
172246
|
+
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/LightReport.js"(exports2) {
|
|
172152
172247
|
"use strict";
|
|
172153
172248
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
172154
172249
|
exports2.LightReport = void 0;
|
|
@@ -173948,9 +174043,9 @@ var require_pick2 = __commonJS({
|
|
|
173948
174043
|
}
|
|
173949
174044
|
});
|
|
173950
174045
|
|
|
173951
|
-
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
174046
|
+
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/LegacyMigrationResolver.js
|
|
173952
174047
|
var require_LegacyMigrationResolver = __commonJS({
|
|
173953
|
-
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
174048
|
+
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/LegacyMigrationResolver.js"(exports2) {
|
|
173954
174049
|
"use strict";
|
|
173955
174050
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
173956
174051
|
exports2.LegacyMigrationResolver = exports2.IMPORTED_PATTERNS = void 0;
|
|
@@ -173982,7 +174077,7 @@ var require_LegacyMigrationResolver = __commonJS({
|
|
|
173982
174077
|
const parsed = (0, parsers_1.parseSyml)(content);
|
|
173983
174078
|
if (Object.prototype.hasOwnProperty.call(parsed, `__metadata`))
|
|
173984
174079
|
return;
|
|
173985
|
-
const resolutions = this.resolutions = new Map();
|
|
174080
|
+
const resolutions = this.resolutions = /* @__PURE__ */ new Map();
|
|
173986
174081
|
for (const key of Object.keys(parsed)) {
|
|
173987
174082
|
let descriptor = structUtils.tryParseDescriptor(key);
|
|
173988
174083
|
if (!descriptor) {
|
|
@@ -174054,9 +174149,9 @@ var require_LegacyMigrationResolver = __commonJS({
|
|
|
174054
174149
|
}
|
|
174055
174150
|
});
|
|
174056
174151
|
|
|
174057
|
-
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
174152
|
+
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/LockfileResolver.js
|
|
174058
174153
|
var require_LockfileResolver = __commonJS({
|
|
174059
|
-
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
174154
|
+
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/LockfileResolver.js"(exports2) {
|
|
174060
174155
|
"use strict";
|
|
174061
174156
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
174062
174157
|
exports2.LockfileResolver = void 0;
|
|
@@ -174114,9 +174209,9 @@ var require_LockfileResolver = __commonJS({
|
|
|
174114
174209
|
}
|
|
174115
174210
|
});
|
|
174116
174211
|
|
|
174117
|
-
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
174212
|
+
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/RunInstallPleaseResolver.js
|
|
174118
174213
|
var require_RunInstallPleaseResolver = __commonJS({
|
|
174119
|
-
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
174214
|
+
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/RunInstallPleaseResolver.js"(exports2) {
|
|
174120
174215
|
"use strict";
|
|
174121
174216
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
174122
174217
|
exports2.RunInstallPleaseResolver = void 0;
|
|
@@ -174155,9 +174250,9 @@ var require_RunInstallPleaseResolver = __commonJS({
|
|
|
174155
174250
|
}
|
|
174156
174251
|
});
|
|
174157
174252
|
|
|
174158
|
-
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
174253
|
+
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/ThrowReport.js
|
|
174159
174254
|
var require_ThrowReport = __commonJS({
|
|
174160
|
-
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
174255
|
+
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/ThrowReport.js"(exports2) {
|
|
174161
174256
|
"use strict";
|
|
174162
174257
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
174163
174258
|
exports2.ThrowReport = void 0;
|
|
@@ -174210,9 +174305,9 @@ var require_ThrowReport = __commonJS({
|
|
|
174210
174305
|
}
|
|
174211
174306
|
});
|
|
174212
174307
|
|
|
174213
|
-
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
174308
|
+
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/Workspace.js
|
|
174214
174309
|
var require_Workspace = __commonJS({
|
|
174215
|
-
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
174310
|
+
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/Workspace.js"(exports2) {
|
|
174216
174311
|
"use strict";
|
|
174217
174312
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
174218
174313
|
exports2.Workspace = void 0;
|
|
@@ -174226,8 +174321,8 @@ var require_Workspace = __commonJS({
|
|
|
174226
174321
|
var structUtils = (0, tslib_12.__importStar)(require_structUtils());
|
|
174227
174322
|
var Workspace = class {
|
|
174228
174323
|
constructor(workspaceCwd, { project }) {
|
|
174229
|
-
this.workspacesCwds = new Set();
|
|
174230
|
-
this.dependencies = new Map();
|
|
174324
|
+
this.workspacesCwds = /* @__PURE__ */ new Set();
|
|
174325
|
+
this.dependencies = /* @__PURE__ */ new Map();
|
|
174231
174326
|
this.project = project;
|
|
174232
174327
|
this.cwd = workspaceCwd;
|
|
174233
174328
|
}
|
|
@@ -174283,7 +174378,7 @@ var require_Workspace = __commonJS({
|
|
|
174283
174378
|
}
|
|
174284
174379
|
}
|
|
174285
174380
|
getRecursiveWorkspaceDependencies({ dependencies = Manifest_1.Manifest.hardDependencies } = {}) {
|
|
174286
|
-
const workspaceList = new Set();
|
|
174381
|
+
const workspaceList = /* @__PURE__ */ new Set();
|
|
174287
174382
|
const visitWorkspace = (workspace) => {
|
|
174288
174383
|
for (const dependencyType of dependencies) {
|
|
174289
174384
|
for (const descriptor of workspace.manifest[dependencyType].values()) {
|
|
@@ -174299,7 +174394,7 @@ var require_Workspace = __commonJS({
|
|
|
174299
174394
|
return workspaceList;
|
|
174300
174395
|
}
|
|
174301
174396
|
getRecursiveWorkspaceDependents({ dependencies = Manifest_1.Manifest.hardDependencies } = {}) {
|
|
174302
|
-
const workspaceList = new Set();
|
|
174397
|
+
const workspaceList = /* @__PURE__ */ new Set();
|
|
174303
174398
|
const visitWorkspace = (workspace) => {
|
|
174304
174399
|
for (const projectWorkspace of this.project.workspaces) {
|
|
174305
174400
|
const isDependent = dependencies.some((dependencyType) => {
|
|
@@ -174343,9 +174438,9 @@ var require_Workspace = __commonJS({
|
|
|
174343
174438
|
}
|
|
174344
174439
|
});
|
|
174345
174440
|
|
|
174346
|
-
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
174441
|
+
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/Project.js
|
|
174347
174442
|
var require_Project = __commonJS({
|
|
174348
|
-
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
174443
|
+
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/Project.js"(exports2) {
|
|
174349
174444
|
"use strict";
|
|
174350
174445
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
174351
174446
|
exports2.Project = exports2.InstallMode = void 0;
|
|
@@ -174416,23 +174511,23 @@ var require_Project = __commonJS({
|
|
|
174416
174511
|
var makeLockfileChecksum = (normalizedContent) => hashUtils.makeHash(`${INSTALL_STATE_VERSION}`, normalizedContent);
|
|
174417
174512
|
var Project = class {
|
|
174418
174513
|
constructor(projectCwd, { configuration }) {
|
|
174419
|
-
this.resolutionAliases = new Map();
|
|
174514
|
+
this.resolutionAliases = /* @__PURE__ */ new Map();
|
|
174420
174515
|
this.workspaces = [];
|
|
174421
|
-
this.workspacesByCwd = new Map();
|
|
174422
|
-
this.workspacesByIdent = new Map();
|
|
174423
|
-
this.storedResolutions = new Map();
|
|
174424
|
-
this.storedDescriptors = new Map();
|
|
174425
|
-
this.storedPackages = new Map();
|
|
174426
|
-
this.storedChecksums = new Map();
|
|
174427
|
-
this.storedBuildState = new Map();
|
|
174428
|
-
this.accessibleLocators = new Set();
|
|
174429
|
-
this.conditionalLocators = new Set();
|
|
174430
|
-
this.disabledLocators = new Set();
|
|
174431
|
-
this.originalPackages = new Map();
|
|
174432
|
-
this.optionalBuilds = new Set();
|
|
174516
|
+
this.workspacesByCwd = /* @__PURE__ */ new Map();
|
|
174517
|
+
this.workspacesByIdent = /* @__PURE__ */ new Map();
|
|
174518
|
+
this.storedResolutions = /* @__PURE__ */ new Map();
|
|
174519
|
+
this.storedDescriptors = /* @__PURE__ */ new Map();
|
|
174520
|
+
this.storedPackages = /* @__PURE__ */ new Map();
|
|
174521
|
+
this.storedChecksums = /* @__PURE__ */ new Map();
|
|
174522
|
+
this.storedBuildState = /* @__PURE__ */ new Map();
|
|
174523
|
+
this.accessibleLocators = /* @__PURE__ */ new Set();
|
|
174524
|
+
this.conditionalLocators = /* @__PURE__ */ new Set();
|
|
174525
|
+
this.disabledLocators = /* @__PURE__ */ new Set();
|
|
174526
|
+
this.originalPackages = /* @__PURE__ */ new Map();
|
|
174527
|
+
this.optionalBuilds = /* @__PURE__ */ new Set();
|
|
174433
174528
|
this.lockfileNeedsRefresh = false;
|
|
174434
|
-
this.peerRequirements = new Map();
|
|
174435
|
-
this.installersCustomData = new Map();
|
|
174529
|
+
this.peerRequirements = /* @__PURE__ */ new Map();
|
|
174530
|
+
this.installersCustomData = /* @__PURE__ */ new Map();
|
|
174436
174531
|
this.lockFileChecksum = null;
|
|
174437
174532
|
this.installStateChecksum = null;
|
|
174438
174533
|
this.configuration = configuration;
|
|
@@ -174472,9 +174567,9 @@ var require_Project = __commonJS({
|
|
|
174472
174567
|
}
|
|
174473
174568
|
async setupResolutions() {
|
|
174474
174569
|
var _a;
|
|
174475
|
-
this.storedResolutions = new Map();
|
|
174476
|
-
this.storedDescriptors = new Map();
|
|
174477
|
-
this.storedPackages = new Map();
|
|
174570
|
+
this.storedResolutions = /* @__PURE__ */ new Map();
|
|
174571
|
+
this.storedDescriptors = /* @__PURE__ */ new Map();
|
|
174572
|
+
this.storedPackages = /* @__PURE__ */ new Map();
|
|
174478
174573
|
this.lockFileChecksum = null;
|
|
174479
174574
|
const lockfilePath = fslib_2.ppath.join(this.cwd, this.configuration.get(`lockfileFilename`));
|
|
174480
174575
|
const defaultLanguageName = this.configuration.get(`defaultLanguageName`);
|
|
@@ -174521,8 +174616,8 @@ var require_Project = __commonJS({
|
|
|
174521
174616
|
}
|
|
174522
174617
|
async setupWorkspaces() {
|
|
174523
174618
|
this.workspaces = [];
|
|
174524
|
-
this.workspacesByCwd = new Map();
|
|
174525
|
-
this.workspacesByIdent = new Map();
|
|
174619
|
+
this.workspacesByCwd = /* @__PURE__ */ new Map();
|
|
174620
|
+
this.workspacesByIdent = /* @__PURE__ */ new Map();
|
|
174526
174621
|
let workspaceCwds = [this.cwd];
|
|
174527
174622
|
while (workspaceCwds.length > 0) {
|
|
174528
174623
|
const passCwds = workspaceCwds;
|
|
@@ -174741,14 +174836,14 @@ var require_Project = __commonJS({
|
|
|
174741
174836
|
]);
|
|
174742
174837
|
const fetcher = this.configuration.makeFetcher();
|
|
174743
174838
|
const resolveOptions = opts.lockfileOnly ? { project: this, report: opts.report, resolver } : { project: this, report: opts.report, resolver, fetchOptions: { project: this, cache: opts.cache, checksums: this.storedChecksums, report: opts.report, fetcher, cacheOptions: { mirrorWriteOnly: true } } };
|
|
174744
|
-
const allDescriptors = new Map();
|
|
174745
|
-
const allPackages = new Map();
|
|
174746
|
-
const allResolutions = new Map();
|
|
174747
|
-
const originalPackages = new Map();
|
|
174748
|
-
const packageResolutionPromises = new Map();
|
|
174749
|
-
const descriptorResolutionPromises = new Map();
|
|
174839
|
+
const allDescriptors = /* @__PURE__ */ new Map();
|
|
174840
|
+
const allPackages = /* @__PURE__ */ new Map();
|
|
174841
|
+
const allResolutions = /* @__PURE__ */ new Map();
|
|
174842
|
+
const originalPackages = /* @__PURE__ */ new Map();
|
|
174843
|
+
const packageResolutionPromises = /* @__PURE__ */ new Map();
|
|
174844
|
+
const descriptorResolutionPromises = /* @__PURE__ */ new Map();
|
|
174750
174845
|
const dependencyResolutionLocator = this.topLevelWorkspace.anchoredLocator;
|
|
174751
|
-
const resolutionDependencies = new Set();
|
|
174846
|
+
const resolutionDependencies = /* @__PURE__ */ new Set();
|
|
174752
174847
|
const resolutionQueue = [];
|
|
174753
174848
|
await opts.report.startProgressPromise(Report_1.Report.progressViaTitle(), async (progress) => {
|
|
174754
174849
|
const startPackageResolution = async (locator) => {
|
|
@@ -174841,8 +174936,8 @@ var require_Project = __commonJS({
|
|
|
174841
174936
|
});
|
|
174842
174937
|
const volatileDescriptors = new Set(this.resolutionAliases.values());
|
|
174843
174938
|
const optionalBuilds = new Set(allPackages.keys());
|
|
174844
|
-
const accessibleLocators = new Set();
|
|
174845
|
-
const peerRequirements = new Map();
|
|
174939
|
+
const accessibleLocators = /* @__PURE__ */ new Set();
|
|
174940
|
+
const peerRequirements = /* @__PURE__ */ new Map();
|
|
174846
174941
|
applyVirtualResolutionMutations({
|
|
174847
174942
|
project: this,
|
|
174848
174943
|
report: opts.report,
|
|
@@ -174861,8 +174956,8 @@ var require_Project = __commonJS({
|
|
|
174861
174956
|
allResolutions.delete(descriptorHash);
|
|
174862
174957
|
}
|
|
174863
174958
|
const supportedArchitectures = this.configuration.getSupportedArchitectures();
|
|
174864
|
-
const conditionalLocators = new Set();
|
|
174865
|
-
const disabledLocators = new Set();
|
|
174959
|
+
const conditionalLocators = /* @__PURE__ */ new Set();
|
|
174960
|
+
const disabledLocators = /* @__PURE__ */ new Set();
|
|
174866
174961
|
for (const pkg of allPackages.values()) {
|
|
174867
174962
|
if (pkg.conditions == null)
|
|
174868
174963
|
continue;
|
|
@@ -174958,9 +175053,9 @@ var require_Project = __commonJS({
|
|
|
174958
175053
|
installer.attachCustomData(customData);
|
|
174959
175054
|
return [linker, installer];
|
|
174960
175055
|
}));
|
|
174961
|
-
const packageLinkers = new Map();
|
|
174962
|
-
const packageLocations = new Map();
|
|
174963
|
-
const packageBuildDirectives = new Map();
|
|
175056
|
+
const packageLinkers = /* @__PURE__ */ new Map();
|
|
175057
|
+
const packageLocations = /* @__PURE__ */ new Map();
|
|
175058
|
+
const packageBuildDirectives = /* @__PURE__ */ new Map();
|
|
174964
175059
|
const fetchResultsPerPackage = new Map(await miscUtils.allSettledSafe([...this.accessibleLocators].map(async (locatorHash) => {
|
|
174965
175060
|
const pkg = this.storedPackages.get(locatorHash);
|
|
174966
175061
|
if (!pkg)
|
|
@@ -175045,7 +175140,7 @@ var require_Project = __commonJS({
|
|
|
175045
175140
|
}
|
|
175046
175141
|
}
|
|
175047
175142
|
}
|
|
175048
|
-
const externalDependents = new Map();
|
|
175143
|
+
const externalDependents = /* @__PURE__ */ new Map();
|
|
175049
175144
|
for (const locatorHash of this.accessibleLocators) {
|
|
175050
175145
|
const pkg = this.storedPackages.get(locatorHash);
|
|
175051
175146
|
if (!pkg)
|
|
@@ -175108,7 +175203,7 @@ var require_Project = __commonJS({
|
|
|
175108
175203
|
throw new Error(`Assertion failed: The installer should have been registered`);
|
|
175109
175204
|
await installer.attachExternalDependents(pkg, dependentPaths);
|
|
175110
175205
|
}
|
|
175111
|
-
const installersCustomData = new Map();
|
|
175206
|
+
const installersCustomData = /* @__PURE__ */ new Map();
|
|
175112
175207
|
for (const installer of installers.values()) {
|
|
175113
175208
|
const finalizeInstallData = await installer.finalizeInstall();
|
|
175114
175209
|
for (const installStatus of (_c = finalizeInstallData === null || finalizeInstallData === void 0 ? void 0 : finalizeInstallData.records) !== null && _c !== void 0 ? _c : []) {
|
|
@@ -175138,7 +175233,7 @@ var require_Project = __commonJS({
|
|
|
175138
175233
|
globalHashGenerator.update(data);
|
|
175139
175234
|
});
|
|
175140
175235
|
const globalHash = globalHashGenerator.digest(`hex`);
|
|
175141
|
-
const packageHashMap = new Map();
|
|
175236
|
+
const packageHashMap = /* @__PURE__ */ new Map();
|
|
175142
175237
|
const getBaseHash = (locator) => {
|
|
175143
175238
|
let hash = packageHashMap.get(locator.locatorHash);
|
|
175144
175239
|
if (typeof hash !== `undefined`)
|
|
@@ -175170,7 +175265,7 @@ var require_Project = __commonJS({
|
|
|
175170
175265
|
builder.update(location);
|
|
175171
175266
|
return builder.digest(`hex`);
|
|
175172
175267
|
};
|
|
175173
|
-
const nextBState = new Map();
|
|
175268
|
+
const nextBState = /* @__PURE__ */ new Map();
|
|
175174
175269
|
let isInstallStatePersisted = false;
|
|
175175
175270
|
while (buildablePackages.size > 0) {
|
|
175176
175271
|
const savedSize = buildablePackages.size;
|
|
@@ -175411,11 +175506,11 @@ var require_Project = __commonJS({
|
|
|
175411
175506
|
}, this, opts);
|
|
175412
175507
|
}
|
|
175413
175508
|
generateLockfile() {
|
|
175414
|
-
const reverseLookup = new Map();
|
|
175509
|
+
const reverseLookup = /* @__PURE__ */ new Map();
|
|
175415
175510
|
for (const [descriptorHash, locatorHash] of this.storedResolutions.entries()) {
|
|
175416
175511
|
let descriptorHashes = reverseLookup.get(locatorHash);
|
|
175417
175512
|
if (!descriptorHashes)
|
|
175418
|
-
reverseLookup.set(locatorHash, descriptorHashes = new Set());
|
|
175513
|
+
reverseLookup.set(locatorHash, descriptorHashes = /* @__PURE__ */ new Set());
|
|
175419
175514
|
descriptorHashes.add(descriptorHash);
|
|
175420
175515
|
}
|
|
175421
175516
|
const optimizedLockfile = {};
|
|
@@ -175550,7 +175645,7 @@ var require_Project = __commonJS({
|
|
|
175550
175645
|
}
|
|
175551
175646
|
}
|
|
175552
175647
|
async cacheCleanup({ cache, report }) {
|
|
175553
|
-
const PRESERVED_FILES = new Set([
|
|
175648
|
+
const PRESERVED_FILES = /* @__PURE__ */ new Set([
|
|
175554
175649
|
`.gitignore`
|
|
175555
175650
|
]);
|
|
175556
175651
|
if (!(0, folderUtils_1.isFolderInside)(cache.cwd, this.cwd))
|
|
@@ -175584,15 +175679,15 @@ var require_Project = __commonJS({
|
|
|
175584
175679
|
}
|
|
175585
175680
|
};
|
|
175586
175681
|
exports2.Project = Project;
|
|
175587
|
-
function applyVirtualResolutionMutations({ project, allDescriptors, allResolutions, allPackages, accessibleLocators = new Set(), optionalBuilds = new Set(), peerRequirements = new Map(), volatileDescriptors = new Set(), report, tolerateMissingPackages = false }) {
|
|
175682
|
+
function applyVirtualResolutionMutations({ project, allDescriptors, allResolutions, allPackages, accessibleLocators = /* @__PURE__ */ new Set(), optionalBuilds = /* @__PURE__ */ new Set(), peerRequirements = /* @__PURE__ */ new Map(), volatileDescriptors = /* @__PURE__ */ new Set(), report, tolerateMissingPackages = false }) {
|
|
175588
175683
|
var _a;
|
|
175589
|
-
const virtualStack = new Map();
|
|
175684
|
+
const virtualStack = /* @__PURE__ */ new Map();
|
|
175590
175685
|
const resolutionStack = [];
|
|
175591
|
-
const allIdents = new Map();
|
|
175592
|
-
const allVirtualInstances = new Map();
|
|
175593
|
-
const allVirtualDependents = new Map();
|
|
175594
|
-
const peerDependencyLinks = new Map();
|
|
175595
|
-
const peerDependencyDependents = new Map();
|
|
175686
|
+
const allIdents = /* @__PURE__ */ new Map();
|
|
175687
|
+
const allVirtualInstances = /* @__PURE__ */ new Map();
|
|
175688
|
+
const allVirtualDependents = /* @__PURE__ */ new Map();
|
|
175689
|
+
const peerDependencyLinks = /* @__PURE__ */ new Map();
|
|
175690
|
+
const peerDependencyDependents = /* @__PURE__ */ new Map();
|
|
175596
175691
|
const originalWorkspaceDefinitions = new Map(project.workspaces.map((workspace) => {
|
|
175597
175692
|
const locatorHash = workspace.anchoredLocator.locatorHash;
|
|
175598
175693
|
const pkg = allPackages.get(locatorHash);
|
|
@@ -175682,12 +175777,12 @@ var require_Project = __commonJS({
|
|
|
175682
175777
|
if (!pkg)
|
|
175683
175778
|
throw new Error(`Assertion failed: The package (${resolution}, resolved from ${structUtils.prettyDescriptor(project.configuration, descriptor)}) should have been registered`);
|
|
175684
175779
|
if (pkg.peerDependencies.size === 0) {
|
|
175685
|
-
resolvePeerDependencies(descriptor, pkg, new Map(), { top, optional: isOptional });
|
|
175780
|
+
resolvePeerDependencies(descriptor, pkg, /* @__PURE__ */ new Map(), { top, optional: isOptional });
|
|
175686
175781
|
continue;
|
|
175687
175782
|
}
|
|
175688
175783
|
let virtualizedDescriptor;
|
|
175689
175784
|
let virtualizedPackage;
|
|
175690
|
-
const missingPeerDependencies = new Set();
|
|
175785
|
+
const missingPeerDependencies = /* @__PURE__ */ new Set();
|
|
175691
175786
|
let nextPeerSlots;
|
|
175692
175787
|
firstPass.push(() => {
|
|
175693
175788
|
virtualizedDescriptor = structUtils.virtualizeDescriptor(descriptor, parentLocator.locatorHash);
|
|
@@ -175701,7 +175796,7 @@ var require_Project = __commonJS({
|
|
|
175701
175796
|
});
|
|
175702
175797
|
secondPass.push(() => {
|
|
175703
175798
|
var _a2;
|
|
175704
|
-
nextPeerSlots = new Map();
|
|
175799
|
+
nextPeerSlots = /* @__PURE__ */ new Map();
|
|
175705
175800
|
for (const peerRequest of virtualizedPackage.peerDependencies.values()) {
|
|
175706
175801
|
let peerDescriptor = parentPackage.dependencies.get(peerRequest.identHash);
|
|
175707
175802
|
if (!peerDescriptor && structUtils.areIdentsEqual(parentLocator, peerRequest)) {
|
|
@@ -175811,7 +175906,7 @@ var require_Project = __commonJS({
|
|
|
175811
175906
|
for (const workspace of project.workspaces) {
|
|
175812
175907
|
const locator = workspace.anchoredLocator;
|
|
175813
175908
|
volatileDescriptors.delete(workspace.anchoredDescriptor.descriptorHash);
|
|
175814
|
-
resolvePeerDependencies(workspace.anchoredDescriptor, locator, new Map(), { top: locator.locatorHash, optional: false });
|
|
175909
|
+
resolvePeerDependencies(workspace.anchoredDescriptor, locator, /* @__PURE__ */ new Map(), { top: locator.locatorHash, optional: false });
|
|
175815
175910
|
}
|
|
175816
175911
|
let WarningType;
|
|
175817
175912
|
(function(WarningType2) {
|
|
@@ -175845,7 +175940,7 @@ var require_Project = __commonJS({
|
|
|
175845
175940
|
if (typeof resolvedDescriptor !== `undefined`) {
|
|
175846
175941
|
const peerResolution = getPackageFromDescriptor(resolvedDescriptor);
|
|
175847
175942
|
const peerVersion = (_a = peerResolution.version) !== null && _a !== void 0 ? _a : `0.0.0`;
|
|
175848
|
-
const ranges = new Set();
|
|
175943
|
+
const ranges = /* @__PURE__ */ new Set();
|
|
175849
175944
|
for (const linkHash of linkHashes) {
|
|
175850
175945
|
const link = allPackages.get(linkHash);
|
|
175851
175946
|
if (typeof link === `undefined`)
|
|
@@ -175923,9 +176018,9 @@ var require_Project = __commonJS({
|
|
|
175923
176018
|
}
|
|
175924
176019
|
});
|
|
175925
176020
|
|
|
175926
|
-
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
176021
|
+
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/TelemetryManager.js
|
|
175927
176022
|
var require_TelemetryManager = __commonJS({
|
|
175928
|
-
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
176023
|
+
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/TelemetryManager.js"(exports2) {
|
|
175929
176024
|
"use strict";
|
|
175930
176025
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
175931
176026
|
exports2.TelemetryManager = exports2.MetricName = void 0;
|
|
@@ -175947,9 +176042,9 @@ var require_TelemetryManager = __commonJS({
|
|
|
175947
176042
|
})(MetricName = exports2.MetricName || (exports2.MetricName = {}));
|
|
175948
176043
|
var TelemetryManager = class {
|
|
175949
176044
|
constructor(configuration, accountId) {
|
|
175950
|
-
this.values = new Map();
|
|
175951
|
-
this.hits = new Map();
|
|
175952
|
-
this.enumerators = new Map();
|
|
176045
|
+
this.values = /* @__PURE__ */ new Map();
|
|
176046
|
+
this.hits = /* @__PURE__ */ new Map();
|
|
176047
|
+
this.enumerators = /* @__PURE__ */ new Map();
|
|
175953
176048
|
this.configuration = configuration;
|
|
175954
176049
|
const registryFile = this.getRegistryPath();
|
|
175955
176050
|
this.isNew = !fslib_12.xfs.existsSync(registryFile);
|
|
@@ -176034,7 +176129,7 @@ var require_TelemetryManager = __commonJS({
|
|
|
176034
176129
|
for (const key of Object.keys((_c = upload.enumerators) !== null && _c !== void 0 ? _c : {}))
|
|
176035
176130
|
upload.enumerators[key] = upload.enumerators[key].length;
|
|
176036
176131
|
sendPayload(upload);
|
|
176037
|
-
const toSend = new Map();
|
|
176132
|
+
const toSend = /* @__PURE__ */ new Map();
|
|
176038
176133
|
const maxValues = 20;
|
|
176039
176134
|
for (const [metricName, values2] of Object.entries(upload.values))
|
|
176040
176135
|
if (values2.length > 0)
|
|
@@ -176076,7 +176171,7 @@ var require_TelemetryManager = __commonJS({
|
|
|
176076
176171
|
for (const field of [`values`, `enumerators`]) {
|
|
176077
176172
|
for (const key of this[field].keys()) {
|
|
176078
176173
|
const store = block[field] = (_g = block[field]) !== null && _g !== void 0 ? _g : {};
|
|
176079
|
-
store[key] = [
|
|
176174
|
+
store[key] = [.../* @__PURE__ */ new Set([
|
|
176080
176175
|
...(_h = store[key]) !== null && _h !== void 0 ? _h : [],
|
|
176081
176176
|
...(_j = this[field].get(key)) !== null && _j !== void 0 ? _j : []
|
|
176082
176177
|
])];
|
|
@@ -176098,9 +176193,9 @@ var require_TelemetryManager = __commonJS({
|
|
|
176098
176193
|
}
|
|
176099
176194
|
});
|
|
176100
176195
|
|
|
176101
|
-
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
176196
|
+
// ../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/index.js
|
|
176102
176197
|
var require_lib106 = __commonJS({
|
|
176103
|
-
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.
|
|
176198
|
+
"../../node_modules/.pnpm/@yarnpkg+core@3.2.0-rc.8/node_modules/@yarnpkg/core/lib/index.js"(exports2) {
|
|
176104
176199
|
"use strict";
|
|
176105
176200
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
176106
176201
|
exports2.treeUtils = exports2.tgzUtils = exports2.structUtils = exports2.semverUtils = exports2.scriptUtils = exports2.miscUtils = exports2.formatUtils = exports2.folderUtils = exports2.execUtils = exports2.httpUtils = exports2.hashUtils = exports2.PackageExtensionStatus = exports2.PackageExtensionType = exports2.LinkType = exports2.YarnVersion = exports2.Workspace = exports2.WorkspaceResolver = exports2.VirtualFetcher = exports2.ThrowReport = exports2.TelemetryManager = exports2.StreamReport = exports2.Report = exports2.ReportError = exports2.TAG_REGEXP = exports2.InstallMode = exports2.Project = exports2.stringifyMessageName = exports2.parseMessageName = exports2.MessageName = exports2.Manifest = exports2.LightReport = exports2.BuildType = exports2.SettingsType = exports2.ProjectLookup = exports2.FormatType = exports2.Configuration = exports2.DEFAULT_LOCK_FILENAME = exports2.DEFAULT_RC_FILENAME = exports2.Cache = void 0;
|
|
@@ -176499,7 +176594,7 @@ var require_import = __commonJS({
|
|
|
176499
176594
|
return;
|
|
176500
176595
|
for (const packageName of Object.keys(npmPackageLock.dependencies)) {
|
|
176501
176596
|
if (!versionsByPackageNames[packageName]) {
|
|
176502
|
-
versionsByPackageNames[packageName] = new Set();
|
|
176597
|
+
versionsByPackageNames[packageName] = /* @__PURE__ */ new Set();
|
|
176503
176598
|
}
|
|
176504
176599
|
versionsByPackageNames[packageName].add(npmPackageLock.dependencies[packageName].version);
|
|
176505
176600
|
}
|
|
@@ -176511,7 +176606,7 @@ var require_import = __commonJS({
|
|
|
176511
176606
|
for (const packageName of Object.keys(yarnPackageLock)) {
|
|
176512
176607
|
const pkgName = packageName.substring(0, packageName.lastIndexOf("@"));
|
|
176513
176608
|
if (!versionsByPackageNames[pkgName]) {
|
|
176514
|
-
versionsByPackageNames[pkgName] = new Set();
|
|
176609
|
+
versionsByPackageNames[pkgName] = /* @__PURE__ */ new Set();
|
|
176515
176610
|
}
|
|
176516
176611
|
versionsByPackageNames[pkgName].add(yarnPackageLock[packageName].version);
|
|
176517
176612
|
}
|
|
@@ -176751,7 +176846,7 @@ var require_lib108 = __commonJS({
|
|
|
176751
176846
|
};
|
|
176752
176847
|
}
|
|
176753
176848
|
function getTree(opts, keypath, parentId) {
|
|
176754
|
-
const dependenciesCache = new Map();
|
|
176849
|
+
const dependenciesCache = /* @__PURE__ */ new Map();
|
|
176755
176850
|
return getTreeHelper(dependenciesCache, opts, keypath, parentId).dependencies;
|
|
176756
176851
|
}
|
|
176757
176852
|
function getTreeHelper(dependenciesCache, opts, keypath, parentId) {
|
|
@@ -178236,7 +178331,7 @@ var require_lib112 = __commonJS({
|
|
|
178236
178331
|
var read_project_manifest_1 = require_lib15();
|
|
178237
178332
|
var fromPairs_1 = __importDefault(require_fromPairs());
|
|
178238
178333
|
var omit_1 = __importDefault(require_omit());
|
|
178239
|
-
var PUBLISH_CONFIG_WHITELIST = new Set([
|
|
178334
|
+
var PUBLISH_CONFIG_WHITELIST = /* @__PURE__ */ new Set([
|
|
178240
178335
|
"bin",
|
|
178241
178336
|
"type",
|
|
178242
178337
|
"imports",
|
|
@@ -178261,7 +178356,8 @@ var require_lib112 = __commonJS({
|
|
|
178261
178356
|
"publish",
|
|
178262
178357
|
"postpublish"
|
|
178263
178358
|
];
|
|
178264
|
-
async function makePublishManifest(dir, originalManifest) {
|
|
178359
|
+
async function makePublishManifest(dir, originalManifest, opts) {
|
|
178360
|
+
var _a;
|
|
178265
178361
|
const publishManifest = (0, omit_1.default)(["pnpm", "scripts"], originalManifest);
|
|
178266
178362
|
if (originalManifest.scripts != null) {
|
|
178267
178363
|
publishManifest.scripts = (0, omit_1.default)(PREPUBLISH_SCRIPTS, originalManifest.scripts);
|
|
@@ -178278,6 +178374,9 @@ var require_lib112 = __commonJS({
|
|
|
178278
178374
|
publishManifest[key] = publishConfig[key];
|
|
178279
178375
|
});
|
|
178280
178376
|
}
|
|
178377
|
+
if (opts === null || opts === void 0 ? void 0 : opts.readmeFile) {
|
|
178378
|
+
(_a = publishManifest.readme) !== null && _a !== void 0 ? _a : publishManifest.readme = opts.readmeFile;
|
|
178379
|
+
}
|
|
178281
178380
|
return publishManifest;
|
|
178282
178381
|
}
|
|
178283
178382
|
exports2.default = makePublishManifest;
|
|
@@ -178427,6 +178526,9 @@ var require_recursivePublish = __commonJS({
|
|
|
178427
178526
|
if (opts.dryRun) {
|
|
178428
178527
|
appendedArgs.push("--dry-run");
|
|
178429
178528
|
}
|
|
178529
|
+
if (opts.cliOptions["otp"]) {
|
|
178530
|
+
appendedArgs.push(`--otp=${opts.cliOptions["otp"]}`);
|
|
178531
|
+
}
|
|
178430
178532
|
const chunks = (0, sort_packages_1.default)(opts.selectedProjectsGraph);
|
|
178431
178533
|
const tag = (_a = opts.tag) !== null && _a !== void 0 ? _a : "latest";
|
|
178432
178534
|
for (const chunk of chunks) {
|
|
@@ -178646,6 +178748,10 @@ var require_publish2 = __commonJS({
|
|
|
178646
178748
|
{
|
|
178647
178749
|
description: 'Save the list of the newly published packages to "pnpm-publish-summary.json". Useful when some other tooling is used to report the list of published packages.',
|
|
178648
178750
|
name: "--report-summary"
|
|
178751
|
+
},
|
|
178752
|
+
{
|
|
178753
|
+
description: "When publishing packages that require two-factor authentication, this option can specify a one-time password",
|
|
178754
|
+
name: "--otp"
|
|
178649
178755
|
}
|
|
178650
178756
|
]
|
|
178651
178757
|
}
|
|
@@ -178878,7 +178984,9 @@ var require_pack3 = __commonJS({
|
|
|
178878
178984
|
}
|
|
178879
178985
|
const mode = isExecutable ? 493 : 420;
|
|
178880
178986
|
if (/^package\/package\.(json|json5|yaml)/.test(name)) {
|
|
178881
|
-
const
|
|
178987
|
+
const readmePath = Object.keys(filesMap).find((name2) => /^package\/readme.md$/i.test(name2));
|
|
178988
|
+
const readmeFile = readmePath ? await fs_1.default.promises.readFile(filesMap[readmePath], "utf8") : void 0;
|
|
178989
|
+
const publishManifest = await (0, exportable_manifest_1.default)(projectDir, manifest, { readmeFile });
|
|
178882
178990
|
pack.entry({ mode, mtime, name: "package/package.json" }, JSON.stringify(publishManifest, null, 2));
|
|
178883
178991
|
continue;
|
|
178884
178992
|
}
|
|
@@ -179472,7 +179580,7 @@ so you may run "pnpm -w run ${scriptName}"`
|
|
|
179472
179580
|
return void 0;
|
|
179473
179581
|
}
|
|
179474
179582
|
exports2.handler = handler;
|
|
179475
|
-
var ALL_LIFECYCLE_SCRIPTS = new Set([
|
|
179583
|
+
var ALL_LIFECYCLE_SCRIPTS = /* @__PURE__ */ new Set([
|
|
179476
179584
|
"prepublish",
|
|
179477
179585
|
"prepare",
|
|
179478
179586
|
"prepublishOnly",
|
|
@@ -179880,8 +179988,8 @@ var require_get_port = __commonJS({
|
|
|
179880
179988
|
}
|
|
179881
179989
|
};
|
|
179882
179990
|
var lockedPorts = {
|
|
179883
|
-
old: new Set(),
|
|
179884
|
-
young: new Set()
|
|
179991
|
+
old: /* @__PURE__ */ new Set(),
|
|
179992
|
+
young: /* @__PURE__ */ new Set()
|
|
179885
179993
|
};
|
|
179886
179994
|
var releaseOldLockedPortsIntervalMs = 1e3 * 15;
|
|
179887
179995
|
var interval;
|
|
@@ -179910,7 +180018,7 @@ var require_get_port = __commonJS({
|
|
|
179910
180018
|
if (interval === void 0) {
|
|
179911
180019
|
interval = setInterval(() => {
|
|
179912
180020
|
lockedPorts.old = lockedPorts.young;
|
|
179913
|
-
lockedPorts.young = new Set();
|
|
180021
|
+
lockedPorts.young = /* @__PURE__ */ new Set();
|
|
179914
180022
|
}, releaseOldLockedPortsIntervalMs);
|
|
179915
180023
|
if (interval.unref) {
|
|
179916
180024
|
interval.unref();
|
|
@@ -182344,7 +182452,7 @@ var require_lib119 = __commonJS({
|
|
|
182344
182452
|
var find_workspace_dir_1 = __importDefault(require_lib97());
|
|
182345
182453
|
var nopt_1 = __importDefault(require_nopt());
|
|
182346
182454
|
var didyoumean2_1 = __importStar2(require_dist14());
|
|
182347
|
-
var RECURSIVE_CMDS = new Set(["recursive", "multi", "m"]);
|
|
182455
|
+
var RECURSIVE_CMDS = /* @__PURE__ */ new Set(["recursive", "multi", "m"]);
|
|
182348
182456
|
async function parseCliArgs(opts, inputArgv) {
|
|
182349
182457
|
var _a;
|
|
182350
182458
|
const noptExploratoryResults = (0, nopt_1.default)({
|
|
@@ -182372,7 +182480,7 @@ var require_lib119 = __commonJS({
|
|
|
182372
182480
|
cmd: "help",
|
|
182373
182481
|
options: {},
|
|
182374
182482
|
params: noptExploratoryResults.argv.remain,
|
|
182375
|
-
unknownOptions: new Map(),
|
|
182483
|
+
unknownOptions: /* @__PURE__ */ new Map(),
|
|
182376
182484
|
fallbackCommandUsed: false
|
|
182377
182485
|
};
|
|
182378
182486
|
}
|
|
@@ -182458,7 +182566,7 @@ var require_lib119 = __commonJS({
|
|
|
182458
182566
|
return { options: normalizedOptions, unknownOptions };
|
|
182459
182567
|
}
|
|
182460
182568
|
function getUnknownOptions(usedOptions, knownOptions) {
|
|
182461
|
-
const unknownOptions = new Map();
|
|
182569
|
+
const unknownOptions = /* @__PURE__ */ new Map();
|
|
182462
182570
|
const closestMatches = getClosestOptionMatches.bind(null, Array.from(knownOptions));
|
|
182463
182571
|
for (const usedOption of usedOptions) {
|
|
182464
182572
|
if (knownOptions.has(usedOption) || usedOption.startsWith("//"))
|
|
@@ -183153,7 +183261,7 @@ var require_cmd = __commonJS({
|
|
|
183153
183261
|
var handlerByCommandName = {};
|
|
183154
183262
|
var helpByCommandName = {};
|
|
183155
183263
|
var cliOptionsTypesByCommandName = {};
|
|
183156
|
-
var aliasToFullName = new Map();
|
|
183264
|
+
var aliasToFullName = /* @__PURE__ */ new Map();
|
|
183157
183265
|
var completionByCommandName = {};
|
|
183158
183266
|
var shorthandsByCommandName = {};
|
|
183159
183267
|
exports2.shorthandsByCommandName = shorthandsByCommandName;
|
|
@@ -183454,7 +183562,7 @@ var require_main2 = __commonJS({
|
|
|
183454
183562
|
var which_1 = __importDefault(require_which());
|
|
183455
183563
|
process.once("SIGINT", () => process.exit(0)).once("SIGTERM", () => process.exit(0));
|
|
183456
183564
|
(0, loud_rejection_1.default)();
|
|
183457
|
-
var DEPRECATED_OPTIONS = new Set([
|
|
183565
|
+
var DEPRECATED_OPTIONS = /* @__PURE__ */ new Set([
|
|
183458
183566
|
"independent-leaves",
|
|
183459
183567
|
"lock",
|
|
183460
183568
|
"resolution-strategy"
|
|
@@ -183718,7 +183826,6 @@ var require_runNpm = __commonJS({
|
|
|
183718
183826
|
});
|
|
183719
183827
|
|
|
183720
183828
|
// lib/pnpm.js
|
|
183721
|
-
"use strict";
|
|
183722
183829
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
183723
183830
|
if (k2 === void 0)
|
|
183724
183831
|
k2 = k;
|