@kubb/cli 2.25.1 → 2.25.3
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/{chunk-GQUQFPKT.cjs → chunk-DO3X4EJI.cjs} +839 -993
- package/dist/chunk-DO3X4EJI.cjs.map +1 -0
- package/dist/{generate-ODYKFCVI.cjs → generate-7NNQY4FH.cjs} +18 -18
- package/dist/{generate-ODYKFCVI.cjs.map → generate-7NNQY4FH.cjs.map} +1 -1
- package/dist/index.cjs +6 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +10 -10
- package/dist/chunk-GQUQFPKT.cjs.map +0 -1
|
@@ -51,268 +51,13 @@ var __privateWrapper = (obj, member, setter, getter) => ({
|
|
|
51
51
|
}
|
|
52
52
|
});
|
|
53
53
|
|
|
54
|
-
// ../../node_modules/.pnpm/tsup@8.2.4_@microsoft+api-extractor@7.47.
|
|
54
|
+
// ../../node_modules/.pnpm/tsup@8.2.4_@microsoft+api-extractor@7.47.7_@types+node@20.16.1__jiti@1.21.6_postcss@8.4.41_typescript@5.5.4_yaml@2.4.5/node_modules/tsup/assets/cjs_shims.js
|
|
55
55
|
var init_cjs_shims = __esm({
|
|
56
|
-
"../../node_modules/.pnpm/tsup@8.2.4_@microsoft+api-extractor@7.47.
|
|
56
|
+
"../../node_modules/.pnpm/tsup@8.2.4_@microsoft+api-extractor@7.47.7_@types+node@20.16.1__jiti@1.21.6_postcss@8.4.41_typescript@5.5.4_yaml@2.4.5/node_modules/tsup/assets/cjs_shims.js"() {
|
|
57
57
|
"use strict";
|
|
58
58
|
}
|
|
59
59
|
});
|
|
60
60
|
|
|
61
|
-
// ../../node_modules/.pnpm/mimic-fn@2.1.0/node_modules/mimic-fn/index.js
|
|
62
|
-
var require_mimic_fn = __commonJS({
|
|
63
|
-
"../../node_modules/.pnpm/mimic-fn@2.1.0/node_modules/mimic-fn/index.js"(exports, module) {
|
|
64
|
-
"use strict";
|
|
65
|
-
init_cjs_shims();
|
|
66
|
-
var mimicFn = (to, from) => {
|
|
67
|
-
for (const prop of Reflect.ownKeys(from)) {
|
|
68
|
-
Object.defineProperty(to, prop, Object.getOwnPropertyDescriptor(from, prop));
|
|
69
|
-
}
|
|
70
|
-
return to;
|
|
71
|
-
};
|
|
72
|
-
module.exports = mimicFn;
|
|
73
|
-
module.exports.default = mimicFn;
|
|
74
|
-
}
|
|
75
|
-
});
|
|
76
|
-
|
|
77
|
-
// ../../node_modules/.pnpm/onetime@5.1.2/node_modules/onetime/index.js
|
|
78
|
-
var require_onetime = __commonJS({
|
|
79
|
-
"../../node_modules/.pnpm/onetime@5.1.2/node_modules/onetime/index.js"(exports, module) {
|
|
80
|
-
"use strict";
|
|
81
|
-
init_cjs_shims();
|
|
82
|
-
var mimicFn = require_mimic_fn();
|
|
83
|
-
var calledFunctions = /* @__PURE__ */ new WeakMap();
|
|
84
|
-
var onetime2 = (function_, options = {}) => {
|
|
85
|
-
if (typeof function_ !== "function") {
|
|
86
|
-
throw new TypeError("Expected a function");
|
|
87
|
-
}
|
|
88
|
-
let returnValue;
|
|
89
|
-
let callCount = 0;
|
|
90
|
-
const functionName = function_.displayName || function_.name || "<anonymous>";
|
|
91
|
-
const onetime3 = function(...arguments_) {
|
|
92
|
-
calledFunctions.set(onetime3, ++callCount);
|
|
93
|
-
if (callCount === 1) {
|
|
94
|
-
returnValue = function_.apply(this, arguments_);
|
|
95
|
-
function_ = null;
|
|
96
|
-
} else if (options.throw === true) {
|
|
97
|
-
throw new Error(`Function \`${functionName}\` can only be called once`);
|
|
98
|
-
}
|
|
99
|
-
return returnValue;
|
|
100
|
-
};
|
|
101
|
-
mimicFn(onetime3, function_);
|
|
102
|
-
calledFunctions.set(onetime3, callCount);
|
|
103
|
-
return onetime3;
|
|
104
|
-
};
|
|
105
|
-
module.exports = onetime2;
|
|
106
|
-
module.exports.default = onetime2;
|
|
107
|
-
module.exports.callCount = (function_) => {
|
|
108
|
-
if (!calledFunctions.has(function_)) {
|
|
109
|
-
throw new Error(`The given function \`${function_.name}\` is not wrapped by the \`onetime\` package`);
|
|
110
|
-
}
|
|
111
|
-
return calledFunctions.get(function_);
|
|
112
|
-
};
|
|
113
|
-
}
|
|
114
|
-
});
|
|
115
|
-
|
|
116
|
-
// ../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/signals.js
|
|
117
|
-
var require_signals = __commonJS({
|
|
118
|
-
"../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/signals.js"(exports, module) {
|
|
119
|
-
"use strict";
|
|
120
|
-
init_cjs_shims();
|
|
121
|
-
module.exports = [
|
|
122
|
-
"SIGABRT",
|
|
123
|
-
"SIGALRM",
|
|
124
|
-
"SIGHUP",
|
|
125
|
-
"SIGINT",
|
|
126
|
-
"SIGTERM"
|
|
127
|
-
];
|
|
128
|
-
if (process.platform !== "win32") {
|
|
129
|
-
module.exports.push(
|
|
130
|
-
"SIGVTALRM",
|
|
131
|
-
"SIGXCPU",
|
|
132
|
-
"SIGXFSZ",
|
|
133
|
-
"SIGUSR2",
|
|
134
|
-
"SIGTRAP",
|
|
135
|
-
"SIGSYS",
|
|
136
|
-
"SIGQUIT",
|
|
137
|
-
"SIGIOT"
|
|
138
|
-
// should detect profiler and enable/disable accordingly.
|
|
139
|
-
// see #21
|
|
140
|
-
// 'SIGPROF'
|
|
141
|
-
);
|
|
142
|
-
}
|
|
143
|
-
if (process.platform === "linux") {
|
|
144
|
-
module.exports.push(
|
|
145
|
-
"SIGIO",
|
|
146
|
-
"SIGPOLL",
|
|
147
|
-
"SIGPWR",
|
|
148
|
-
"SIGSTKFLT",
|
|
149
|
-
"SIGUNUSED"
|
|
150
|
-
);
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
});
|
|
154
|
-
|
|
155
|
-
// ../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js
|
|
156
|
-
var require_signal_exit = __commonJS({
|
|
157
|
-
"../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js"(exports, module) {
|
|
158
|
-
"use strict";
|
|
159
|
-
init_cjs_shims();
|
|
160
|
-
var process16 = global.process;
|
|
161
|
-
var processOk2 = function(process17) {
|
|
162
|
-
return process17 && typeof process17 === "object" && typeof process17.removeListener === "function" && typeof process17.emit === "function" && typeof process17.reallyExit === "function" && typeof process17.listeners === "function" && typeof process17.kill === "function" && typeof process17.pid === "number" && typeof process17.on === "function";
|
|
163
|
-
};
|
|
164
|
-
if (!processOk2(process16)) {
|
|
165
|
-
module.exports = function() {
|
|
166
|
-
return function() {
|
|
167
|
-
};
|
|
168
|
-
};
|
|
169
|
-
} else {
|
|
170
|
-
assert = __require("assert");
|
|
171
|
-
signals2 = require_signals();
|
|
172
|
-
isWin = /^win/i.test(process16.platform);
|
|
173
|
-
EE = __require("events");
|
|
174
|
-
if (typeof EE !== "function") {
|
|
175
|
-
EE = EE.EventEmitter;
|
|
176
|
-
}
|
|
177
|
-
if (process16.__signal_exit_emitter__) {
|
|
178
|
-
emitter = process16.__signal_exit_emitter__;
|
|
179
|
-
} else {
|
|
180
|
-
emitter = process16.__signal_exit_emitter__ = new EE();
|
|
181
|
-
emitter.count = 0;
|
|
182
|
-
emitter.emitted = {};
|
|
183
|
-
}
|
|
184
|
-
if (!emitter.infinite) {
|
|
185
|
-
emitter.setMaxListeners(Infinity);
|
|
186
|
-
emitter.infinite = true;
|
|
187
|
-
}
|
|
188
|
-
module.exports = function(cb, opts) {
|
|
189
|
-
if (!processOk2(global.process)) {
|
|
190
|
-
return function() {
|
|
191
|
-
};
|
|
192
|
-
}
|
|
193
|
-
assert.equal(typeof cb, "function", "a callback must be provided for exit handler");
|
|
194
|
-
if (loaded === false) {
|
|
195
|
-
load2();
|
|
196
|
-
}
|
|
197
|
-
var ev = "exit";
|
|
198
|
-
if (opts && opts.alwaysLast) {
|
|
199
|
-
ev = "afterexit";
|
|
200
|
-
}
|
|
201
|
-
var remove = function() {
|
|
202
|
-
emitter.removeListener(ev, cb);
|
|
203
|
-
if (emitter.listeners("exit").length === 0 && emitter.listeners("afterexit").length === 0) {
|
|
204
|
-
unload2();
|
|
205
|
-
}
|
|
206
|
-
};
|
|
207
|
-
emitter.on(ev, cb);
|
|
208
|
-
return remove;
|
|
209
|
-
};
|
|
210
|
-
unload2 = function unload3() {
|
|
211
|
-
if (!loaded || !processOk2(global.process)) {
|
|
212
|
-
return;
|
|
213
|
-
}
|
|
214
|
-
loaded = false;
|
|
215
|
-
signals2.forEach(function(sig) {
|
|
216
|
-
try {
|
|
217
|
-
process16.removeListener(sig, sigListeners[sig]);
|
|
218
|
-
} catch (er) {
|
|
219
|
-
}
|
|
220
|
-
});
|
|
221
|
-
process16.emit = originalProcessEmit;
|
|
222
|
-
process16.reallyExit = originalProcessReallyExit;
|
|
223
|
-
emitter.count -= 1;
|
|
224
|
-
};
|
|
225
|
-
module.exports.unload = unload2;
|
|
226
|
-
emit = function emit2(event, code, signal) {
|
|
227
|
-
if (emitter.emitted[event]) {
|
|
228
|
-
return;
|
|
229
|
-
}
|
|
230
|
-
emitter.emitted[event] = true;
|
|
231
|
-
emitter.emit(event, code, signal);
|
|
232
|
-
};
|
|
233
|
-
sigListeners = {};
|
|
234
|
-
signals2.forEach(function(sig) {
|
|
235
|
-
sigListeners[sig] = function listener() {
|
|
236
|
-
if (!processOk2(global.process)) {
|
|
237
|
-
return;
|
|
238
|
-
}
|
|
239
|
-
var listeners = process16.listeners(sig);
|
|
240
|
-
if (listeners.length === emitter.count) {
|
|
241
|
-
unload2();
|
|
242
|
-
emit("exit", null, sig);
|
|
243
|
-
emit("afterexit", null, sig);
|
|
244
|
-
if (isWin && sig === "SIGHUP") {
|
|
245
|
-
sig = "SIGINT";
|
|
246
|
-
}
|
|
247
|
-
process16.kill(process16.pid, sig);
|
|
248
|
-
}
|
|
249
|
-
};
|
|
250
|
-
});
|
|
251
|
-
module.exports.signals = function() {
|
|
252
|
-
return signals2;
|
|
253
|
-
};
|
|
254
|
-
loaded = false;
|
|
255
|
-
load2 = function load3() {
|
|
256
|
-
if (loaded || !processOk2(global.process)) {
|
|
257
|
-
return;
|
|
258
|
-
}
|
|
259
|
-
loaded = true;
|
|
260
|
-
emitter.count += 1;
|
|
261
|
-
signals2 = signals2.filter(function(sig) {
|
|
262
|
-
try {
|
|
263
|
-
process16.on(sig, sigListeners[sig]);
|
|
264
|
-
return true;
|
|
265
|
-
} catch (er) {
|
|
266
|
-
return false;
|
|
267
|
-
}
|
|
268
|
-
});
|
|
269
|
-
process16.emit = processEmit;
|
|
270
|
-
process16.reallyExit = processReallyExit;
|
|
271
|
-
};
|
|
272
|
-
module.exports.load = load2;
|
|
273
|
-
originalProcessReallyExit = process16.reallyExit;
|
|
274
|
-
processReallyExit = function processReallyExit2(code) {
|
|
275
|
-
if (!processOk2(global.process)) {
|
|
276
|
-
return;
|
|
277
|
-
}
|
|
278
|
-
process16.exitCode = code || /* istanbul ignore next */
|
|
279
|
-
0;
|
|
280
|
-
emit("exit", process16.exitCode, null);
|
|
281
|
-
emit("afterexit", process16.exitCode, null);
|
|
282
|
-
originalProcessReallyExit.call(process16, process16.exitCode);
|
|
283
|
-
};
|
|
284
|
-
originalProcessEmit = process16.emit;
|
|
285
|
-
processEmit = function processEmit2(ev, arg) {
|
|
286
|
-
if (ev === "exit" && processOk2(global.process)) {
|
|
287
|
-
if (arg !== void 0) {
|
|
288
|
-
process16.exitCode = arg;
|
|
289
|
-
}
|
|
290
|
-
var ret = originalProcessEmit.apply(this, arguments);
|
|
291
|
-
emit("exit", process16.exitCode, null);
|
|
292
|
-
emit("afterexit", process16.exitCode, null);
|
|
293
|
-
return ret;
|
|
294
|
-
} else {
|
|
295
|
-
return originalProcessEmit.apply(this, arguments);
|
|
296
|
-
}
|
|
297
|
-
};
|
|
298
|
-
}
|
|
299
|
-
var assert;
|
|
300
|
-
var signals2;
|
|
301
|
-
var isWin;
|
|
302
|
-
var EE;
|
|
303
|
-
var emitter;
|
|
304
|
-
var unload2;
|
|
305
|
-
var emit;
|
|
306
|
-
var sigListeners;
|
|
307
|
-
var loaded;
|
|
308
|
-
var load2;
|
|
309
|
-
var originalProcessReallyExit;
|
|
310
|
-
var processReallyExit;
|
|
311
|
-
var originalProcessEmit;
|
|
312
|
-
var processEmit;
|
|
313
|
-
}
|
|
314
|
-
});
|
|
315
|
-
|
|
316
61
|
// ../../node_modules/.pnpm/cli-spinners@2.9.2/node_modules/cli-spinners/spinners.json
|
|
317
62
|
var require_spinners = __commonJS({
|
|
318
63
|
"../../node_modules/.pnpm/cli-spinners@2.9.2/node_modules/cli-spinners/spinners.json"(exports, module) {
|
|
@@ -1967,7 +1712,7 @@ var require_windows = __commonJS({
|
|
|
1967
1712
|
module.exports = isexe;
|
|
1968
1713
|
isexe.sync = sync;
|
|
1969
1714
|
var fs = __require("fs");
|
|
1970
|
-
function checkPathExt(
|
|
1715
|
+
function checkPathExt(path6, options) {
|
|
1971
1716
|
var pathext = options.pathExt !== void 0 ? options.pathExt : process.env.PATHEXT;
|
|
1972
1717
|
if (!pathext) {
|
|
1973
1718
|
return true;
|
|
@@ -1978,25 +1723,25 @@ var require_windows = __commonJS({
|
|
|
1978
1723
|
}
|
|
1979
1724
|
for (var i2 = 0; i2 < pathext.length; i2++) {
|
|
1980
1725
|
var p3 = pathext[i2].toLowerCase();
|
|
1981
|
-
if (p3 &&
|
|
1726
|
+
if (p3 && path6.substr(-p3.length).toLowerCase() === p3) {
|
|
1982
1727
|
return true;
|
|
1983
1728
|
}
|
|
1984
1729
|
}
|
|
1985
1730
|
return false;
|
|
1986
1731
|
}
|
|
1987
|
-
function checkStat(stat,
|
|
1732
|
+
function checkStat(stat, path6, options) {
|
|
1988
1733
|
if (!stat.isSymbolicLink() && !stat.isFile()) {
|
|
1989
1734
|
return false;
|
|
1990
1735
|
}
|
|
1991
|
-
return checkPathExt(
|
|
1736
|
+
return checkPathExt(path6, options);
|
|
1992
1737
|
}
|
|
1993
|
-
function isexe(
|
|
1994
|
-
fs.stat(
|
|
1995
|
-
cb(er, er ? false : checkStat(stat,
|
|
1738
|
+
function isexe(path6, options, cb) {
|
|
1739
|
+
fs.stat(path6, function(er, stat) {
|
|
1740
|
+
cb(er, er ? false : checkStat(stat, path6, options));
|
|
1996
1741
|
});
|
|
1997
1742
|
}
|
|
1998
|
-
function sync(
|
|
1999
|
-
return checkStat(fs.statSync(
|
|
1743
|
+
function sync(path6, options) {
|
|
1744
|
+
return checkStat(fs.statSync(path6), path6, options);
|
|
2000
1745
|
}
|
|
2001
1746
|
}
|
|
2002
1747
|
});
|
|
@@ -2009,13 +1754,13 @@ var require_mode = __commonJS({
|
|
|
2009
1754
|
module.exports = isexe;
|
|
2010
1755
|
isexe.sync = sync;
|
|
2011
1756
|
var fs = __require("fs");
|
|
2012
|
-
function isexe(
|
|
2013
|
-
fs.stat(
|
|
1757
|
+
function isexe(path6, options, cb) {
|
|
1758
|
+
fs.stat(path6, function(er, stat) {
|
|
2014
1759
|
cb(er, er ? false : checkStat(stat, options));
|
|
2015
1760
|
});
|
|
2016
1761
|
}
|
|
2017
|
-
function sync(
|
|
2018
|
-
return checkStat(fs.statSync(
|
|
1762
|
+
function sync(path6, options) {
|
|
1763
|
+
return checkStat(fs.statSync(path6), options);
|
|
2019
1764
|
}
|
|
2020
1765
|
function checkStat(stat, options) {
|
|
2021
1766
|
return stat.isFile() && checkMode(stat, options);
|
|
@@ -2050,7 +1795,7 @@ var require_isexe = __commonJS({
|
|
|
2050
1795
|
}
|
|
2051
1796
|
module.exports = isexe;
|
|
2052
1797
|
isexe.sync = sync;
|
|
2053
|
-
function isexe(
|
|
1798
|
+
function isexe(path6, options, cb) {
|
|
2054
1799
|
if (typeof options === "function") {
|
|
2055
1800
|
cb = options;
|
|
2056
1801
|
options = {};
|
|
@@ -2059,17 +1804,17 @@ var require_isexe = __commonJS({
|
|
|
2059
1804
|
if (typeof Promise !== "function") {
|
|
2060
1805
|
throw new TypeError("callback not provided");
|
|
2061
1806
|
}
|
|
2062
|
-
return new Promise(function(
|
|
2063
|
-
isexe(
|
|
1807
|
+
return new Promise(function(resolve2, reject) {
|
|
1808
|
+
isexe(path6, options || {}, function(er, is) {
|
|
2064
1809
|
if (er) {
|
|
2065
1810
|
reject(er);
|
|
2066
1811
|
} else {
|
|
2067
|
-
|
|
1812
|
+
resolve2(is);
|
|
2068
1813
|
}
|
|
2069
1814
|
});
|
|
2070
1815
|
});
|
|
2071
1816
|
}
|
|
2072
|
-
core(
|
|
1817
|
+
core(path6, options || {}, function(er, is) {
|
|
2073
1818
|
if (er) {
|
|
2074
1819
|
if (er.code === "EACCES" || options && options.ignoreErrors) {
|
|
2075
1820
|
er = null;
|
|
@@ -2079,9 +1824,9 @@ var require_isexe = __commonJS({
|
|
|
2079
1824
|
cb(er, is);
|
|
2080
1825
|
});
|
|
2081
1826
|
}
|
|
2082
|
-
function sync(
|
|
1827
|
+
function sync(path6, options) {
|
|
2083
1828
|
try {
|
|
2084
|
-
return core.sync(
|
|
1829
|
+
return core.sync(path6, options || {});
|
|
2085
1830
|
} catch (er) {
|
|
2086
1831
|
if (options && options.ignoreErrors || er.code === "EACCES") {
|
|
2087
1832
|
return false;
|
|
@@ -2099,7 +1844,7 @@ var require_which = __commonJS({
|
|
|
2099
1844
|
"use strict";
|
|
2100
1845
|
init_cjs_shims();
|
|
2101
1846
|
var isWindows = process.platform === "win32" || process.env.OSTYPE === "cygwin" || process.env.OSTYPE === "msys";
|
|
2102
|
-
var
|
|
1847
|
+
var path6 = __require("path");
|
|
2103
1848
|
var COLON = isWindows ? ";" : ":";
|
|
2104
1849
|
var isexe = require_isexe();
|
|
2105
1850
|
var getNotFoundError = (cmd) => Object.assign(new Error(`not found: ${cmd}`), { code: "ENOENT" });
|
|
@@ -2132,27 +1877,27 @@ var require_which = __commonJS({
|
|
|
2132
1877
|
opt = {};
|
|
2133
1878
|
const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt);
|
|
2134
1879
|
const found = [];
|
|
2135
|
-
const step = (i2) => new Promise((
|
|
1880
|
+
const step = (i2) => new Promise((resolve2, reject) => {
|
|
2136
1881
|
if (i2 === pathEnv.length)
|
|
2137
|
-
return opt.all && found.length ?
|
|
1882
|
+
return opt.all && found.length ? resolve2(found) : reject(getNotFoundError(cmd));
|
|
2138
1883
|
const ppRaw = pathEnv[i2];
|
|
2139
1884
|
const pathPart = /^".*"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw;
|
|
2140
|
-
const pCmd =
|
|
1885
|
+
const pCmd = path6.join(pathPart, cmd);
|
|
2141
1886
|
const p3 = !pathPart && /^\.[\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd;
|
|
2142
|
-
|
|
1887
|
+
resolve2(subStep(p3, i2, 0));
|
|
2143
1888
|
});
|
|
2144
|
-
const subStep = (p3, i2, ii) => new Promise((
|
|
1889
|
+
const subStep = (p3, i2, ii) => new Promise((resolve2, reject) => {
|
|
2145
1890
|
if (ii === pathExt.length)
|
|
2146
|
-
return
|
|
1891
|
+
return resolve2(step(i2 + 1));
|
|
2147
1892
|
const ext = pathExt[ii];
|
|
2148
1893
|
isexe(p3 + ext, { pathExt: pathExtExe }, (er, is) => {
|
|
2149
1894
|
if (!er && is) {
|
|
2150
1895
|
if (opt.all)
|
|
2151
1896
|
found.push(p3 + ext);
|
|
2152
1897
|
else
|
|
2153
|
-
return
|
|
1898
|
+
return resolve2(p3 + ext);
|
|
2154
1899
|
}
|
|
2155
|
-
return
|
|
1900
|
+
return resolve2(subStep(p3, i2, ii + 1));
|
|
2156
1901
|
});
|
|
2157
1902
|
});
|
|
2158
1903
|
return cb ? step(0).then((res) => cb(null, res), cb) : step(0);
|
|
@@ -2164,7 +1909,7 @@ var require_which = __commonJS({
|
|
|
2164
1909
|
for (let i2 = 0; i2 < pathEnv.length; i2++) {
|
|
2165
1910
|
const ppRaw = pathEnv[i2];
|
|
2166
1911
|
const pathPart = /^".*"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw;
|
|
2167
|
-
const pCmd =
|
|
1912
|
+
const pCmd = path6.join(pathPart, cmd);
|
|
2168
1913
|
const p3 = !pathPart && /^\.[\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd;
|
|
2169
1914
|
for (let j = 0; j < pathExt.length; j++) {
|
|
2170
1915
|
const cur = p3 + pathExt[j];
|
|
@@ -2214,7 +1959,7 @@ var require_resolveCommand = __commonJS({
|
|
|
2214
1959
|
"../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/resolveCommand.js"(exports, module) {
|
|
2215
1960
|
"use strict";
|
|
2216
1961
|
init_cjs_shims();
|
|
2217
|
-
var
|
|
1962
|
+
var path6 = __require("path");
|
|
2218
1963
|
var which = require_which();
|
|
2219
1964
|
var getPathKey = require_path_key();
|
|
2220
1965
|
function resolveCommandAttempt(parsed, withoutPathExt) {
|
|
@@ -2232,7 +1977,7 @@ var require_resolveCommand = __commonJS({
|
|
|
2232
1977
|
try {
|
|
2233
1978
|
resolved = which.sync(parsed.command, {
|
|
2234
1979
|
path: env2[getPathKey({ env: env2 })],
|
|
2235
|
-
pathExt: withoutPathExt ?
|
|
1980
|
+
pathExt: withoutPathExt ? path6.delimiter : void 0
|
|
2236
1981
|
});
|
|
2237
1982
|
} catch (e) {
|
|
2238
1983
|
} finally {
|
|
@@ -2241,7 +1986,7 @@ var require_resolveCommand = __commonJS({
|
|
|
2241
1986
|
}
|
|
2242
1987
|
}
|
|
2243
1988
|
if (resolved) {
|
|
2244
|
-
resolved =
|
|
1989
|
+
resolved = path6.resolve(hasCustomCwd ? parsed.options.cwd : "", resolved);
|
|
2245
1990
|
}
|
|
2246
1991
|
return resolved;
|
|
2247
1992
|
}
|
|
@@ -2298,8 +2043,8 @@ var require_shebang_command = __commonJS({
|
|
|
2298
2043
|
if (!match) {
|
|
2299
2044
|
return null;
|
|
2300
2045
|
}
|
|
2301
|
-
const [
|
|
2302
|
-
const binary =
|
|
2046
|
+
const [path6, argument] = match[0].replace(/#! ?/, "").split(" ");
|
|
2047
|
+
const binary = path6.split("/").pop();
|
|
2303
2048
|
if (binary === "env") {
|
|
2304
2049
|
return argument;
|
|
2305
2050
|
}
|
|
@@ -2336,7 +2081,7 @@ var require_parse = __commonJS({
|
|
|
2336
2081
|
"../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/parse.js"(exports, module) {
|
|
2337
2082
|
"use strict";
|
|
2338
2083
|
init_cjs_shims();
|
|
2339
|
-
var
|
|
2084
|
+
var path6 = __require("path");
|
|
2340
2085
|
var resolveCommand = require_resolveCommand();
|
|
2341
2086
|
var escape = require_escape();
|
|
2342
2087
|
var readShebang = require_readShebang();
|
|
@@ -2361,7 +2106,7 @@ var require_parse = __commonJS({
|
|
|
2361
2106
|
const needsShell = !isExecutableRegExp.test(commandFile);
|
|
2362
2107
|
if (parsed.options.forceShell || needsShell) {
|
|
2363
2108
|
const needsDoubleEscapeMetaChars = isCmdShimRegExp.test(commandFile);
|
|
2364
|
-
parsed.command =
|
|
2109
|
+
parsed.command = path6.normalize(parsed.command);
|
|
2365
2110
|
parsed.command = escape.command(parsed.command);
|
|
2366
2111
|
parsed.args = parsed.args.map((arg) => escape.argument(arg, needsDoubleEscapeMetaChars));
|
|
2367
2112
|
const shellCommand = [parsed.command].concat(parsed.args).join(" ");
|
|
@@ -2563,7 +2308,7 @@ var p2 = p(_tty.isatty.call(void 0, 1));
|
|
|
2563
2308
|
// src/utils/spinner.ts
|
|
2564
2309
|
init_cjs_shims();
|
|
2565
2310
|
|
|
2566
|
-
// ../../node_modules/.pnpm/ora@8.0
|
|
2311
|
+
// ../../node_modules/.pnpm/ora@8.1.0/node_modules/ora/index.js
|
|
2567
2312
|
init_cjs_shims();
|
|
2568
2313
|
var _process2 = require('process'); var _process3 = _interopRequireDefault(_process2);
|
|
2569
2314
|
|
|
@@ -3062,169 +2807,530 @@ var chalk = createChalk();
|
|
|
3062
2807
|
var chalkStderr = createChalk({ level: stderrColor ? stderrColor.level : 0 });
|
|
3063
2808
|
var source_default = chalk;
|
|
3064
2809
|
|
|
3065
|
-
// ../../node_modules/.pnpm/cli-cursor@
|
|
2810
|
+
// ../../node_modules/.pnpm/cli-cursor@5.0.0/node_modules/cli-cursor/index.js
|
|
3066
2811
|
init_cjs_shims();
|
|
3067
2812
|
|
|
3068
2813
|
|
|
3069
|
-
// ../../node_modules/.pnpm/restore-cursor@
|
|
2814
|
+
// ../../node_modules/.pnpm/restore-cursor@5.1.0/node_modules/restore-cursor/index.js
|
|
3070
2815
|
init_cjs_shims();
|
|
3071
|
-
var import_onetime = __toESM(require_onetime(), 1);
|
|
3072
|
-
var import_signal_exit = __toESM(require_signal_exit(), 1);
|
|
3073
2816
|
|
|
3074
|
-
var restoreCursor = (0, import_onetime.default)(() => {
|
|
3075
|
-
(0, import_signal_exit.default)(() => {
|
|
3076
|
-
_process3.default.stderr.write("\x1B[?25h");
|
|
3077
|
-
}, { alwaysLast: true });
|
|
3078
|
-
});
|
|
3079
|
-
var restore_cursor_default = restoreCursor;
|
|
3080
2817
|
|
|
3081
|
-
// ../../node_modules/.pnpm/
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
2818
|
+
// ../../node_modules/.pnpm/onetime@7.0.0/node_modules/onetime/index.js
|
|
2819
|
+
init_cjs_shims();
|
|
2820
|
+
|
|
2821
|
+
// ../../node_modules/.pnpm/mimic-function@5.0.1/node_modules/mimic-function/index.js
|
|
2822
|
+
init_cjs_shims();
|
|
2823
|
+
var copyProperty = (to, from, property, ignoreNonConfigurable) => {
|
|
2824
|
+
if (property === "length" || property === "prototype") {
|
|
3086
2825
|
return;
|
|
3087
2826
|
}
|
|
3088
|
-
|
|
3089
|
-
writableStream.write("\x1B[?25h");
|
|
3090
|
-
};
|
|
3091
|
-
cliCursor.hide = (writableStream = _process3.default.stderr) => {
|
|
3092
|
-
if (!writableStream.isTTY) {
|
|
2827
|
+
if (property === "arguments" || property === "caller") {
|
|
3093
2828
|
return;
|
|
3094
2829
|
}
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
|
|
3098
|
-
|
|
3099
|
-
cliCursor.toggle = (force, writableStream) => {
|
|
3100
|
-
if (force !== void 0) {
|
|
3101
|
-
isHidden = force;
|
|
3102
|
-
}
|
|
3103
|
-
if (isHidden) {
|
|
3104
|
-
cliCursor.show(writableStream);
|
|
3105
|
-
} else {
|
|
3106
|
-
cliCursor.hide(writableStream);
|
|
2830
|
+
const toDescriptor = Object.getOwnPropertyDescriptor(to, property);
|
|
2831
|
+
const fromDescriptor = Object.getOwnPropertyDescriptor(from, property);
|
|
2832
|
+
if (!canCopyProperty(toDescriptor, fromDescriptor) && ignoreNonConfigurable) {
|
|
2833
|
+
return;
|
|
3107
2834
|
}
|
|
2835
|
+
Object.defineProperty(to, property, fromDescriptor);
|
|
3108
2836
|
};
|
|
3109
|
-
var
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
var
|
|
3113
|
-
|
|
3114
|
-
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
// ../../node_modules/.pnpm/is-unicode-supported@1.3.0/node_modules/is-unicode-supported/index.js
|
|
3118
|
-
init_cjs_shims();
|
|
3119
|
-
|
|
3120
|
-
function isUnicodeSupported() {
|
|
3121
|
-
if (_process3.default.platform !== "win32") {
|
|
3122
|
-
return _process3.default.env.TERM !== "linux";
|
|
2837
|
+
var canCopyProperty = function(toDescriptor, fromDescriptor) {
|
|
2838
|
+
return toDescriptor === void 0 || toDescriptor.configurable || toDescriptor.writable === fromDescriptor.writable && toDescriptor.enumerable === fromDescriptor.enumerable && toDescriptor.configurable === fromDescriptor.configurable && (toDescriptor.writable || toDescriptor.value === fromDescriptor.value);
|
|
2839
|
+
};
|
|
2840
|
+
var changePrototype = (to, from) => {
|
|
2841
|
+
const fromPrototype = Object.getPrototypeOf(from);
|
|
2842
|
+
if (fromPrototype === Object.getPrototypeOf(to)) {
|
|
2843
|
+
return;
|
|
3123
2844
|
}
|
|
3124
|
-
|
|
2845
|
+
Object.setPrototypeOf(to, fromPrototype);
|
|
2846
|
+
};
|
|
2847
|
+
var wrappedToString = (withName, fromBody) => `/* Wrapped ${withName}*/
|
|
2848
|
+
${fromBody}`;
|
|
2849
|
+
var toStringDescriptor = Object.getOwnPropertyDescriptor(Function.prototype, "toString");
|
|
2850
|
+
var toStringName = Object.getOwnPropertyDescriptor(Function.prototype.toString, "name");
|
|
2851
|
+
var changeToString = (to, from, name) => {
|
|
2852
|
+
const withName = name === "" ? "" : `with ${name.trim()}() `;
|
|
2853
|
+
const newToString = wrappedToString.bind(null, withName, from.toString());
|
|
2854
|
+
Object.defineProperty(newToString, "name", toStringName);
|
|
2855
|
+
const { writable: writable2, enumerable, configurable } = toStringDescriptor;
|
|
2856
|
+
Object.defineProperty(to, "toString", { value: newToString, writable: writable2, enumerable, configurable });
|
|
2857
|
+
};
|
|
2858
|
+
function mimicFunction(to, from, { ignoreNonConfigurable = false } = {}) {
|
|
2859
|
+
const { name } = to;
|
|
2860
|
+
for (const property of Reflect.ownKeys(from)) {
|
|
2861
|
+
copyProperty(to, from, property, ignoreNonConfigurable);
|
|
2862
|
+
}
|
|
2863
|
+
changePrototype(to, from);
|
|
2864
|
+
changeToString(to, from, name);
|
|
2865
|
+
return to;
|
|
3125
2866
|
}
|
|
3126
2867
|
|
|
3127
|
-
// ../../node_modules/.pnpm/
|
|
3128
|
-
var
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
|
|
3133
|
-
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
|
|
2868
|
+
// ../../node_modules/.pnpm/onetime@7.0.0/node_modules/onetime/index.js
|
|
2869
|
+
var calledFunctions = /* @__PURE__ */ new WeakMap();
|
|
2870
|
+
var onetime = (function_, options = {}) => {
|
|
2871
|
+
if (typeof function_ !== "function") {
|
|
2872
|
+
throw new TypeError("Expected a function");
|
|
2873
|
+
}
|
|
2874
|
+
let returnValue;
|
|
2875
|
+
let callCount = 0;
|
|
2876
|
+
const functionName = function_.displayName || function_.name || "<anonymous>";
|
|
2877
|
+
const onetime2 = function(...arguments_) {
|
|
2878
|
+
calledFunctions.set(onetime2, ++callCount);
|
|
2879
|
+
if (callCount === 1) {
|
|
2880
|
+
returnValue = function_.apply(this, arguments_);
|
|
2881
|
+
function_ = void 0;
|
|
2882
|
+
} else if (options.throw === true) {
|
|
2883
|
+
throw new Error(`Function \`${functionName}\` can only be called once`);
|
|
2884
|
+
}
|
|
2885
|
+
return returnValue;
|
|
2886
|
+
};
|
|
2887
|
+
mimicFunction(onetime2, function_);
|
|
2888
|
+
calledFunctions.set(onetime2, callCount);
|
|
2889
|
+
return onetime2;
|
|
3139
2890
|
};
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
|
|
3143
|
-
// ../../node_modules/.pnpm/strip-ansi@7.1.0/node_modules/strip-ansi/index.js
|
|
3144
|
-
init_cjs_shims();
|
|
3145
|
-
|
|
3146
|
-
// ../../node_modules/.pnpm/ansi-regex@6.0.1/node_modules/ansi-regex/index.js
|
|
3147
|
-
init_cjs_shims();
|
|
3148
|
-
function ansiRegex({ onlyFirst = false } = {}) {
|
|
3149
|
-
const pattern = [
|
|
3150
|
-
"[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)",
|
|
3151
|
-
"(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"
|
|
3152
|
-
].join("|");
|
|
3153
|
-
return new RegExp(pattern, onlyFirst ? void 0 : "g");
|
|
3154
|
-
}
|
|
3155
|
-
|
|
3156
|
-
// ../../node_modules/.pnpm/strip-ansi@7.1.0/node_modules/strip-ansi/index.js
|
|
3157
|
-
var regex = ansiRegex();
|
|
3158
|
-
function stripAnsi(string) {
|
|
3159
|
-
if (typeof string !== "string") {
|
|
3160
|
-
throw new TypeError(`Expected a \`string\`, got \`${typeof string}\``);
|
|
2891
|
+
onetime.callCount = (function_) => {
|
|
2892
|
+
if (!calledFunctions.has(function_)) {
|
|
2893
|
+
throw new Error(`The given function \`${function_.name}\` is not wrapped by the \`onetime\` package`);
|
|
3161
2894
|
}
|
|
3162
|
-
return
|
|
3163
|
-
}
|
|
3164
|
-
|
|
3165
|
-
// ../../node_modules/.pnpm/string-width@7.1.0/node_modules/string-width/index.js
|
|
3166
|
-
init_cjs_shims();
|
|
2895
|
+
return calledFunctions.get(function_);
|
|
2896
|
+
};
|
|
2897
|
+
var onetime_default = onetime;
|
|
3167
2898
|
|
|
3168
|
-
// ../../node_modules/.pnpm/
|
|
2899
|
+
// ../../node_modules/.pnpm/signal-exit@4.1.0/node_modules/signal-exit/dist/mjs/index.js
|
|
3169
2900
|
init_cjs_shims();
|
|
3170
2901
|
|
|
3171
|
-
// ../../node_modules/.pnpm/
|
|
2902
|
+
// ../../node_modules/.pnpm/signal-exit@4.1.0/node_modules/signal-exit/dist/mjs/signals.js
|
|
3172
2903
|
init_cjs_shims();
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
|
|
2904
|
+
var signals = [];
|
|
2905
|
+
signals.push("SIGHUP", "SIGINT", "SIGTERM");
|
|
2906
|
+
if (process.platform !== "win32") {
|
|
2907
|
+
signals.push(
|
|
2908
|
+
"SIGALRM",
|
|
2909
|
+
"SIGABRT",
|
|
2910
|
+
"SIGVTALRM",
|
|
2911
|
+
"SIGXCPU",
|
|
2912
|
+
"SIGXFSZ",
|
|
2913
|
+
"SIGUSR2",
|
|
2914
|
+
"SIGTRAP",
|
|
2915
|
+
"SIGSYS",
|
|
2916
|
+
"SIGQUIT",
|
|
2917
|
+
"SIGIOT"
|
|
2918
|
+
// should detect profiler and enable/disable accordingly.
|
|
2919
|
+
// see #21
|
|
2920
|
+
// 'SIGPROF'
|
|
2921
|
+
);
|
|
3188
2922
|
}
|
|
3189
|
-
|
|
3190
|
-
|
|
3191
|
-
if (isFullWidth(codePoint) || isWide(codePoint) || ambiguousAsWide && isAmbiguous(codePoint)) {
|
|
3192
|
-
return 2;
|
|
3193
|
-
}
|
|
3194
|
-
return 1;
|
|
2923
|
+
if (process.platform === "linux") {
|
|
2924
|
+
signals.push("SIGIO", "SIGPOLL", "SIGPWR", "SIGSTKFLT");
|
|
3195
2925
|
}
|
|
3196
2926
|
|
|
3197
|
-
// ../../node_modules/.pnpm/
|
|
3198
|
-
|
|
3199
|
-
var
|
|
3200
|
-
return /[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
|
|
3207
|
-
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
|
|
2927
|
+
// ../../node_modules/.pnpm/signal-exit@4.1.0/node_modules/signal-exit/dist/mjs/index.js
|
|
2928
|
+
var processOk = (process16) => !!process16 && typeof process16 === "object" && typeof process16.removeListener === "function" && typeof process16.emit === "function" && typeof process16.reallyExit === "function" && typeof process16.listeners === "function" && typeof process16.kill === "function" && typeof process16.pid === "number" && typeof process16.on === "function";
|
|
2929
|
+
var kExitEmitter = Symbol.for("signal-exit emitter");
|
|
2930
|
+
var global2 = globalThis;
|
|
2931
|
+
var ObjectDefineProperty = Object.defineProperty.bind(Object);
|
|
2932
|
+
var Emitter = class {
|
|
2933
|
+
constructor() {
|
|
2934
|
+
__publicField(this, "emitted", {
|
|
2935
|
+
afterExit: false,
|
|
2936
|
+
exit: false
|
|
2937
|
+
});
|
|
2938
|
+
__publicField(this, "listeners", {
|
|
2939
|
+
afterExit: [],
|
|
2940
|
+
exit: []
|
|
2941
|
+
});
|
|
2942
|
+
__publicField(this, "count", 0);
|
|
2943
|
+
__publicField(this, "id", Math.random());
|
|
2944
|
+
if (global2[kExitEmitter]) {
|
|
2945
|
+
return global2[kExitEmitter];
|
|
2946
|
+
}
|
|
2947
|
+
ObjectDefineProperty(global2, kExitEmitter, {
|
|
2948
|
+
value: this,
|
|
2949
|
+
writable: false,
|
|
2950
|
+
enumerable: false,
|
|
2951
|
+
configurable: false
|
|
2952
|
+
});
|
|
3215
2953
|
}
|
|
3216
|
-
|
|
3217
|
-
|
|
2954
|
+
on(ev, fn) {
|
|
2955
|
+
this.listeners[ev].push(fn);
|
|
3218
2956
|
}
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
|
|
3224
|
-
continue;
|
|
2957
|
+
removeListener(ev, fn) {
|
|
2958
|
+
const list = this.listeners[ev];
|
|
2959
|
+
const i2 = list.indexOf(fn);
|
|
2960
|
+
if (i2 === -1) {
|
|
2961
|
+
return;
|
|
3225
2962
|
}
|
|
3226
|
-
if (
|
|
3227
|
-
|
|
2963
|
+
if (i2 === 0 && list.length === 1) {
|
|
2964
|
+
list.length = 0;
|
|
2965
|
+
} else {
|
|
2966
|
+
list.splice(i2, 1);
|
|
2967
|
+
}
|
|
2968
|
+
}
|
|
2969
|
+
emit(ev, code, signal) {
|
|
2970
|
+
if (this.emitted[ev]) {
|
|
2971
|
+
return false;
|
|
2972
|
+
}
|
|
2973
|
+
this.emitted[ev] = true;
|
|
2974
|
+
let ret = false;
|
|
2975
|
+
for (const fn of this.listeners[ev]) {
|
|
2976
|
+
ret = fn(code, signal) === true || ret;
|
|
2977
|
+
}
|
|
2978
|
+
if (ev === "exit") {
|
|
2979
|
+
ret = this.emit("afterExit", code, signal) || ret;
|
|
2980
|
+
}
|
|
2981
|
+
return ret;
|
|
2982
|
+
}
|
|
2983
|
+
};
|
|
2984
|
+
var SignalExitBase = class {
|
|
2985
|
+
};
|
|
2986
|
+
var signalExitWrap = (handler) => {
|
|
2987
|
+
return {
|
|
2988
|
+
onExit(cb, opts) {
|
|
2989
|
+
return handler.onExit(cb, opts);
|
|
2990
|
+
},
|
|
2991
|
+
load() {
|
|
2992
|
+
return handler.load();
|
|
2993
|
+
},
|
|
2994
|
+
unload() {
|
|
2995
|
+
return handler.unload();
|
|
2996
|
+
}
|
|
2997
|
+
};
|
|
2998
|
+
};
|
|
2999
|
+
var SignalExitFallback = class extends SignalExitBase {
|
|
3000
|
+
onExit() {
|
|
3001
|
+
return () => {
|
|
3002
|
+
};
|
|
3003
|
+
}
|
|
3004
|
+
load() {
|
|
3005
|
+
}
|
|
3006
|
+
unload() {
|
|
3007
|
+
}
|
|
3008
|
+
};
|
|
3009
|
+
var _hupSig, _emitter, _process, _originalProcessEmit, _originalProcessReallyExit, _sigListeners, _loaded, _SignalExit_instances, processReallyExit_fn, processEmit_fn;
|
|
3010
|
+
var SignalExit = class extends SignalExitBase {
|
|
3011
|
+
constructor(process16) {
|
|
3012
|
+
super();
|
|
3013
|
+
__privateAdd(this, _SignalExit_instances);
|
|
3014
|
+
// "SIGHUP" throws an `ENOSYS` error on Windows,
|
|
3015
|
+
// so use a supported signal instead
|
|
3016
|
+
/* c8 ignore start */
|
|
3017
|
+
__privateAdd(this, _hupSig, process3.platform === "win32" ? "SIGINT" : "SIGHUP");
|
|
3018
|
+
/* c8 ignore stop */
|
|
3019
|
+
__privateAdd(this, _emitter, new Emitter());
|
|
3020
|
+
__privateAdd(this, _process);
|
|
3021
|
+
__privateAdd(this, _originalProcessEmit);
|
|
3022
|
+
__privateAdd(this, _originalProcessReallyExit);
|
|
3023
|
+
__privateAdd(this, _sigListeners, {});
|
|
3024
|
+
__privateAdd(this, _loaded, false);
|
|
3025
|
+
__privateSet(this, _process, process16);
|
|
3026
|
+
__privateSet(this, _sigListeners, {});
|
|
3027
|
+
for (const sig of signals) {
|
|
3028
|
+
__privateGet(this, _sigListeners)[sig] = () => {
|
|
3029
|
+
const listeners = __privateGet(this, _process).listeners(sig);
|
|
3030
|
+
let { count: count2 } = __privateGet(this, _emitter);
|
|
3031
|
+
const p3 = process16;
|
|
3032
|
+
if (typeof p3.__signal_exit_emitter__ === "object" && typeof p3.__signal_exit_emitter__.count === "number") {
|
|
3033
|
+
count2 += p3.__signal_exit_emitter__.count;
|
|
3034
|
+
}
|
|
3035
|
+
if (listeners.length === count2) {
|
|
3036
|
+
this.unload();
|
|
3037
|
+
const ret = __privateGet(this, _emitter).emit("exit", null, sig);
|
|
3038
|
+
const s = sig === "SIGHUP" ? __privateGet(this, _hupSig) : sig;
|
|
3039
|
+
if (!ret)
|
|
3040
|
+
process16.kill(process16.pid, s);
|
|
3041
|
+
}
|
|
3042
|
+
};
|
|
3043
|
+
}
|
|
3044
|
+
__privateSet(this, _originalProcessReallyExit, process16.reallyExit);
|
|
3045
|
+
__privateSet(this, _originalProcessEmit, process16.emit);
|
|
3046
|
+
}
|
|
3047
|
+
onExit(cb, opts) {
|
|
3048
|
+
if (!processOk(__privateGet(this, _process))) {
|
|
3049
|
+
return () => {
|
|
3050
|
+
};
|
|
3051
|
+
}
|
|
3052
|
+
if (__privateGet(this, _loaded) === false) {
|
|
3053
|
+
this.load();
|
|
3054
|
+
}
|
|
3055
|
+
const ev = _optionalChain([opts, 'optionalAccess', _2 => _2.alwaysLast]) ? "afterExit" : "exit";
|
|
3056
|
+
__privateGet(this, _emitter).on(ev, cb);
|
|
3057
|
+
return () => {
|
|
3058
|
+
__privateGet(this, _emitter).removeListener(ev, cb);
|
|
3059
|
+
if (__privateGet(this, _emitter).listeners["exit"].length === 0 && __privateGet(this, _emitter).listeners["afterExit"].length === 0) {
|
|
3060
|
+
this.unload();
|
|
3061
|
+
}
|
|
3062
|
+
};
|
|
3063
|
+
}
|
|
3064
|
+
load() {
|
|
3065
|
+
if (__privateGet(this, _loaded)) {
|
|
3066
|
+
return;
|
|
3067
|
+
}
|
|
3068
|
+
__privateSet(this, _loaded, true);
|
|
3069
|
+
__privateGet(this, _emitter).count += 1;
|
|
3070
|
+
for (const sig of signals) {
|
|
3071
|
+
try {
|
|
3072
|
+
const fn = __privateGet(this, _sigListeners)[sig];
|
|
3073
|
+
if (fn)
|
|
3074
|
+
__privateGet(this, _process).on(sig, fn);
|
|
3075
|
+
} catch (_) {
|
|
3076
|
+
}
|
|
3077
|
+
}
|
|
3078
|
+
__privateGet(this, _process).emit = (ev, ...a3) => {
|
|
3079
|
+
return __privateMethod(this, _SignalExit_instances, processEmit_fn).call(this, ev, ...a3);
|
|
3080
|
+
};
|
|
3081
|
+
__privateGet(this, _process).reallyExit = (code) => {
|
|
3082
|
+
return __privateMethod(this, _SignalExit_instances, processReallyExit_fn).call(this, code);
|
|
3083
|
+
};
|
|
3084
|
+
}
|
|
3085
|
+
unload() {
|
|
3086
|
+
if (!__privateGet(this, _loaded)) {
|
|
3087
|
+
return;
|
|
3088
|
+
}
|
|
3089
|
+
__privateSet(this, _loaded, false);
|
|
3090
|
+
signals.forEach((sig) => {
|
|
3091
|
+
const listener = __privateGet(this, _sigListeners)[sig];
|
|
3092
|
+
if (!listener) {
|
|
3093
|
+
throw new Error("Listener not defined for signal: " + sig);
|
|
3094
|
+
}
|
|
3095
|
+
try {
|
|
3096
|
+
__privateGet(this, _process).removeListener(sig, listener);
|
|
3097
|
+
} catch (_) {
|
|
3098
|
+
}
|
|
3099
|
+
});
|
|
3100
|
+
__privateGet(this, _process).emit = __privateGet(this, _originalProcessEmit);
|
|
3101
|
+
__privateGet(this, _process).reallyExit = __privateGet(this, _originalProcessReallyExit);
|
|
3102
|
+
__privateGet(this, _emitter).count -= 1;
|
|
3103
|
+
}
|
|
3104
|
+
};
|
|
3105
|
+
_hupSig = new WeakMap();
|
|
3106
|
+
_emitter = new WeakMap();
|
|
3107
|
+
_process = new WeakMap();
|
|
3108
|
+
_originalProcessEmit = new WeakMap();
|
|
3109
|
+
_originalProcessReallyExit = new WeakMap();
|
|
3110
|
+
_sigListeners = new WeakMap();
|
|
3111
|
+
_loaded = new WeakMap();
|
|
3112
|
+
_SignalExit_instances = new WeakSet();
|
|
3113
|
+
processReallyExit_fn = function(code) {
|
|
3114
|
+
if (!processOk(__privateGet(this, _process))) {
|
|
3115
|
+
return 0;
|
|
3116
|
+
}
|
|
3117
|
+
__privateGet(this, _process).exitCode = code || 0;
|
|
3118
|
+
__privateGet(this, _emitter).emit("exit", __privateGet(this, _process).exitCode, null);
|
|
3119
|
+
return __privateGet(this, _originalProcessReallyExit).call(__privateGet(this, _process), __privateGet(this, _process).exitCode);
|
|
3120
|
+
};
|
|
3121
|
+
processEmit_fn = function(ev, ...args) {
|
|
3122
|
+
const og = __privateGet(this, _originalProcessEmit);
|
|
3123
|
+
if (ev === "exit" && processOk(__privateGet(this, _process))) {
|
|
3124
|
+
if (typeof args[0] === "number") {
|
|
3125
|
+
__privateGet(this, _process).exitCode = args[0];
|
|
3126
|
+
}
|
|
3127
|
+
const ret = og.call(__privateGet(this, _process), ev, ...args);
|
|
3128
|
+
__privateGet(this, _emitter).emit("exit", __privateGet(this, _process).exitCode, null);
|
|
3129
|
+
return ret;
|
|
3130
|
+
} else {
|
|
3131
|
+
return og.call(__privateGet(this, _process), ev, ...args);
|
|
3132
|
+
}
|
|
3133
|
+
};
|
|
3134
|
+
var process3 = globalThis.process;
|
|
3135
|
+
var {
|
|
3136
|
+
/**
|
|
3137
|
+
* Called when the process is exiting, whether via signal, explicit
|
|
3138
|
+
* exit, or running out of stuff to do.
|
|
3139
|
+
*
|
|
3140
|
+
* If the global process object is not suitable for instrumentation,
|
|
3141
|
+
* then this will be a no-op.
|
|
3142
|
+
*
|
|
3143
|
+
* Returns a function that may be used to unload signal-exit.
|
|
3144
|
+
*/
|
|
3145
|
+
onExit,
|
|
3146
|
+
/**
|
|
3147
|
+
* Load the listeners. Likely you never need to call this, unless
|
|
3148
|
+
* doing a rather deep integration with signal-exit functionality.
|
|
3149
|
+
* Mostly exposed for the benefit of testing.
|
|
3150
|
+
*
|
|
3151
|
+
* @internal
|
|
3152
|
+
*/
|
|
3153
|
+
load,
|
|
3154
|
+
/**
|
|
3155
|
+
* Unload the listeners. Likely you never need to call this, unless
|
|
3156
|
+
* doing a rather deep integration with signal-exit functionality.
|
|
3157
|
+
* Mostly exposed for the benefit of testing.
|
|
3158
|
+
*
|
|
3159
|
+
* @internal
|
|
3160
|
+
*/
|
|
3161
|
+
unload
|
|
3162
|
+
} = signalExitWrap(processOk(process3) ? new SignalExit(process3) : new SignalExitFallback());
|
|
3163
|
+
|
|
3164
|
+
// ../../node_modules/.pnpm/restore-cursor@5.1.0/node_modules/restore-cursor/index.js
|
|
3165
|
+
var terminal = _process3.default.stderr.isTTY ? _process3.default.stderr : _process3.default.stdout.isTTY ? _process3.default.stdout : void 0;
|
|
3166
|
+
var restoreCursor = terminal ? onetime_default(() => {
|
|
3167
|
+
onExit(() => {
|
|
3168
|
+
terminal.write("\x1B[?25h");
|
|
3169
|
+
}, { alwaysLast: true });
|
|
3170
|
+
}) : () => {
|
|
3171
|
+
};
|
|
3172
|
+
var restore_cursor_default = restoreCursor;
|
|
3173
|
+
|
|
3174
|
+
// ../../node_modules/.pnpm/cli-cursor@5.0.0/node_modules/cli-cursor/index.js
|
|
3175
|
+
var isHidden = false;
|
|
3176
|
+
var cliCursor = {};
|
|
3177
|
+
cliCursor.show = (writableStream = _process3.default.stderr) => {
|
|
3178
|
+
if (!writableStream.isTTY) {
|
|
3179
|
+
return;
|
|
3180
|
+
}
|
|
3181
|
+
isHidden = false;
|
|
3182
|
+
writableStream.write("\x1B[?25h");
|
|
3183
|
+
};
|
|
3184
|
+
cliCursor.hide = (writableStream = _process3.default.stderr) => {
|
|
3185
|
+
if (!writableStream.isTTY) {
|
|
3186
|
+
return;
|
|
3187
|
+
}
|
|
3188
|
+
restore_cursor_default();
|
|
3189
|
+
isHidden = true;
|
|
3190
|
+
writableStream.write("\x1B[?25l");
|
|
3191
|
+
};
|
|
3192
|
+
cliCursor.toggle = (force, writableStream) => {
|
|
3193
|
+
if (force !== void 0) {
|
|
3194
|
+
isHidden = force;
|
|
3195
|
+
}
|
|
3196
|
+
if (isHidden) {
|
|
3197
|
+
cliCursor.show(writableStream);
|
|
3198
|
+
} else {
|
|
3199
|
+
cliCursor.hide(writableStream);
|
|
3200
|
+
}
|
|
3201
|
+
};
|
|
3202
|
+
var cli_cursor_default = cliCursor;
|
|
3203
|
+
|
|
3204
|
+
// ../../node_modules/.pnpm/ora@8.1.0/node_modules/ora/index.js
|
|
3205
|
+
var import_cli_spinners = __toESM(require_cli_spinners(), 1);
|
|
3206
|
+
|
|
3207
|
+
// ../../node_modules/.pnpm/log-symbols@6.0.0/node_modules/log-symbols/index.js
|
|
3208
|
+
init_cjs_shims();
|
|
3209
|
+
|
|
3210
|
+
// ../../node_modules/.pnpm/is-unicode-supported@1.3.0/node_modules/is-unicode-supported/index.js
|
|
3211
|
+
init_cjs_shims();
|
|
3212
|
+
|
|
3213
|
+
function isUnicodeSupported() {
|
|
3214
|
+
if (_process3.default.platform !== "win32") {
|
|
3215
|
+
return _process3.default.env.TERM !== "linux";
|
|
3216
|
+
}
|
|
3217
|
+
return Boolean(_process3.default.env.CI) || Boolean(_process3.default.env.WT_SESSION) || Boolean(_process3.default.env.TERMINUS_SUBLIME) || _process3.default.env.ConEmuTask === "{cmd::Cmder}" || _process3.default.env.TERM_PROGRAM === "Terminus-Sublime" || _process3.default.env.TERM_PROGRAM === "vscode" || _process3.default.env.TERM === "xterm-256color" || _process3.default.env.TERM === "alacritty" || _process3.default.env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
|
|
3218
|
+
}
|
|
3219
|
+
|
|
3220
|
+
// ../../node_modules/.pnpm/log-symbols@6.0.0/node_modules/log-symbols/index.js
|
|
3221
|
+
var main = {
|
|
3222
|
+
info: source_default.blue("\u2139"),
|
|
3223
|
+
success: source_default.green("\u2714"),
|
|
3224
|
+
warning: source_default.yellow("\u26A0"),
|
|
3225
|
+
error: source_default.red("\u2716")
|
|
3226
|
+
};
|
|
3227
|
+
var fallback = {
|
|
3228
|
+
info: source_default.blue("i"),
|
|
3229
|
+
success: source_default.green("\u221A"),
|
|
3230
|
+
warning: source_default.yellow("\u203C"),
|
|
3231
|
+
error: source_default.red("\xD7")
|
|
3232
|
+
};
|
|
3233
|
+
var logSymbols = isUnicodeSupported() ? main : fallback;
|
|
3234
|
+
var log_symbols_default = logSymbols;
|
|
3235
|
+
|
|
3236
|
+
// ../../node_modules/.pnpm/strip-ansi@7.1.0/node_modules/strip-ansi/index.js
|
|
3237
|
+
init_cjs_shims();
|
|
3238
|
+
|
|
3239
|
+
// ../../node_modules/.pnpm/ansi-regex@6.0.1/node_modules/ansi-regex/index.js
|
|
3240
|
+
init_cjs_shims();
|
|
3241
|
+
function ansiRegex({ onlyFirst = false } = {}) {
|
|
3242
|
+
const pattern = [
|
|
3243
|
+
"[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)",
|
|
3244
|
+
"(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"
|
|
3245
|
+
].join("|");
|
|
3246
|
+
return new RegExp(pattern, onlyFirst ? void 0 : "g");
|
|
3247
|
+
}
|
|
3248
|
+
|
|
3249
|
+
// ../../node_modules/.pnpm/strip-ansi@7.1.0/node_modules/strip-ansi/index.js
|
|
3250
|
+
var regex = ansiRegex();
|
|
3251
|
+
function stripAnsi(string) {
|
|
3252
|
+
if (typeof string !== "string") {
|
|
3253
|
+
throw new TypeError(`Expected a \`string\`, got \`${typeof string}\``);
|
|
3254
|
+
}
|
|
3255
|
+
return string.replace(regex, "");
|
|
3256
|
+
}
|
|
3257
|
+
|
|
3258
|
+
// ../../node_modules/.pnpm/string-width@7.2.0/node_modules/string-width/index.js
|
|
3259
|
+
init_cjs_shims();
|
|
3260
|
+
|
|
3261
|
+
// ../../node_modules/.pnpm/get-east-asian-width@1.2.0/node_modules/get-east-asian-width/index.js
|
|
3262
|
+
init_cjs_shims();
|
|
3263
|
+
|
|
3264
|
+
// ../../node_modules/.pnpm/get-east-asian-width@1.2.0/node_modules/get-east-asian-width/lookup.js
|
|
3265
|
+
init_cjs_shims();
|
|
3266
|
+
function isAmbiguous(x) {
|
|
3267
|
+
return x === 161 || x === 164 || x === 167 || x === 168 || x === 170 || x === 173 || x === 174 || x >= 176 && x <= 180 || x >= 182 && x <= 186 || x >= 188 && x <= 191 || x === 198 || x === 208 || x === 215 || x === 216 || x >= 222 && x <= 225 || x === 230 || x >= 232 && x <= 234 || x === 236 || x === 237 || x === 240 || x === 242 || x === 243 || x >= 247 && x <= 250 || x === 252 || x === 254 || x === 257 || x === 273 || x === 275 || x === 283 || x === 294 || x === 295 || x === 299 || x >= 305 && x <= 307 || x === 312 || x >= 319 && x <= 322 || x === 324 || x >= 328 && x <= 331 || x === 333 || x === 338 || x === 339 || x === 358 || x === 359 || x === 363 || x === 462 || x === 464 || x === 466 || x === 468 || x === 470 || x === 472 || x === 474 || x === 476 || x === 593 || x === 609 || x === 708 || x === 711 || x >= 713 && x <= 715 || x === 717 || x === 720 || x >= 728 && x <= 731 || x === 733 || x === 735 || x >= 768 && x <= 879 || x >= 913 && x <= 929 || x >= 931 && x <= 937 || x >= 945 && x <= 961 || x >= 963 && x <= 969 || x === 1025 || x >= 1040 && x <= 1103 || x === 1105 || x === 8208 || x >= 8211 && x <= 8214 || x === 8216 || x === 8217 || x === 8220 || x === 8221 || x >= 8224 && x <= 8226 || x >= 8228 && x <= 8231 || x === 8240 || x === 8242 || x === 8243 || x === 8245 || x === 8251 || x === 8254 || x === 8308 || x === 8319 || x >= 8321 && x <= 8324 || x === 8364 || x === 8451 || x === 8453 || x === 8457 || x === 8467 || x === 8470 || x === 8481 || x === 8482 || x === 8486 || x === 8491 || x === 8531 || x === 8532 || x >= 8539 && x <= 8542 || x >= 8544 && x <= 8555 || x >= 8560 && x <= 8569 || x === 8585 || x >= 8592 && x <= 8601 || x === 8632 || x === 8633 || x === 8658 || x === 8660 || x === 8679 || x === 8704 || x === 8706 || x === 8707 || x === 8711 || x === 8712 || x === 8715 || x === 8719 || x === 8721 || x === 8725 || x === 8730 || x >= 8733 && x <= 8736 || x === 8739 || x === 8741 || x >= 8743 && x <= 8748 || x === 8750 || x >= 8756 && x <= 8759 || x === 8764 || x === 8765 || x === 8776 || x === 8780 || x === 8786 || x === 8800 || x === 8801 || x >= 8804 && x <= 8807 || x === 8810 || x === 8811 || x === 8814 || x === 8815 || x === 8834 || x === 8835 || x === 8838 || x === 8839 || x === 8853 || x === 8857 || x === 8869 || x === 8895 || x === 8978 || x >= 9312 && x <= 9449 || x >= 9451 && x <= 9547 || x >= 9552 && x <= 9587 || x >= 9600 && x <= 9615 || x >= 9618 && x <= 9621 || x === 9632 || x === 9633 || x >= 9635 && x <= 9641 || x === 9650 || x === 9651 || x === 9654 || x === 9655 || x === 9660 || x === 9661 || x === 9664 || x === 9665 || x >= 9670 && x <= 9672 || x === 9675 || x >= 9678 && x <= 9681 || x >= 9698 && x <= 9701 || x === 9711 || x === 9733 || x === 9734 || x === 9737 || x === 9742 || x === 9743 || x === 9756 || x === 9758 || x === 9792 || x === 9794 || x === 9824 || x === 9825 || x >= 9827 && x <= 9829 || x >= 9831 && x <= 9834 || x === 9836 || x === 9837 || x === 9839 || x === 9886 || x === 9887 || x === 9919 || x >= 9926 && x <= 9933 || x >= 9935 && x <= 9939 || x >= 9941 && x <= 9953 || x === 9955 || x === 9960 || x === 9961 || x >= 9963 && x <= 9969 || x === 9972 || x >= 9974 && x <= 9977 || x === 9979 || x === 9980 || x === 9982 || x === 9983 || x === 10045 || x >= 10102 && x <= 10111 || x >= 11094 && x <= 11097 || x >= 12872 && x <= 12879 || x >= 57344 && x <= 63743 || x >= 65024 && x <= 65039 || x === 65533 || x >= 127232 && x <= 127242 || x >= 127248 && x <= 127277 || x >= 127280 && x <= 127337 || x >= 127344 && x <= 127373 || x === 127375 || x === 127376 || x >= 127387 && x <= 127404 || x >= 917760 && x <= 917999 || x >= 983040 && x <= 1048573 || x >= 1048576 && x <= 1114109;
|
|
3268
|
+
}
|
|
3269
|
+
function isFullWidth(x) {
|
|
3270
|
+
return x === 12288 || x >= 65281 && x <= 65376 || x >= 65504 && x <= 65510;
|
|
3271
|
+
}
|
|
3272
|
+
function isWide(x) {
|
|
3273
|
+
return x >= 4352 && x <= 4447 || x === 8986 || x === 8987 || x === 9001 || x === 9002 || x >= 9193 && x <= 9196 || x === 9200 || x === 9203 || x === 9725 || x === 9726 || x === 9748 || x === 9749 || x >= 9800 && x <= 9811 || x === 9855 || x === 9875 || x === 9889 || x === 9898 || x === 9899 || x === 9917 || x === 9918 || x === 9924 || x === 9925 || x === 9934 || x === 9940 || x === 9962 || x === 9970 || x === 9971 || x === 9973 || x === 9978 || x === 9981 || x === 9989 || x === 9994 || x === 9995 || x === 10024 || x === 10060 || x === 10062 || x >= 10067 && x <= 10069 || x === 10071 || x >= 10133 && x <= 10135 || x === 10160 || x === 10175 || x === 11035 || x === 11036 || x === 11088 || x === 11093 || x >= 11904 && x <= 11929 || x >= 11931 && x <= 12019 || x >= 12032 && x <= 12245 || x >= 12272 && x <= 12287 || x >= 12289 && x <= 12350 || x >= 12353 && x <= 12438 || x >= 12441 && x <= 12543 || x >= 12549 && x <= 12591 || x >= 12593 && x <= 12686 || x >= 12688 && x <= 12771 || x >= 12783 && x <= 12830 || x >= 12832 && x <= 12871 || x >= 12880 && x <= 19903 || x >= 19968 && x <= 42124 || x >= 42128 && x <= 42182 || x >= 43360 && x <= 43388 || x >= 44032 && x <= 55203 || x >= 63744 && x <= 64255 || x >= 65040 && x <= 65049 || x >= 65072 && x <= 65106 || x >= 65108 && x <= 65126 || x >= 65128 && x <= 65131 || x >= 94176 && x <= 94180 || x === 94192 || x === 94193 || x >= 94208 && x <= 100343 || x >= 100352 && x <= 101589 || x >= 101632 && x <= 101640 || x >= 110576 && x <= 110579 || x >= 110581 && x <= 110587 || x === 110589 || x === 110590 || x >= 110592 && x <= 110882 || x === 110898 || x >= 110928 && x <= 110930 || x === 110933 || x >= 110948 && x <= 110951 || x >= 110960 && x <= 111355 || x === 126980 || x === 127183 || x === 127374 || x >= 127377 && x <= 127386 || x >= 127488 && x <= 127490 || x >= 127504 && x <= 127547 || x >= 127552 && x <= 127560 || x === 127568 || x === 127569 || x >= 127584 && x <= 127589 || x >= 127744 && x <= 127776 || x >= 127789 && x <= 127797 || x >= 127799 && x <= 127868 || x >= 127870 && x <= 127891 || x >= 127904 && x <= 127946 || x >= 127951 && x <= 127955 || x >= 127968 && x <= 127984 || x === 127988 || x >= 127992 && x <= 128062 || x === 128064 || x >= 128066 && x <= 128252 || x >= 128255 && x <= 128317 || x >= 128331 && x <= 128334 || x >= 128336 && x <= 128359 || x === 128378 || x === 128405 || x === 128406 || x === 128420 || x >= 128507 && x <= 128591 || x >= 128640 && x <= 128709 || x === 128716 || x >= 128720 && x <= 128722 || x >= 128725 && x <= 128727 || x >= 128732 && x <= 128735 || x === 128747 || x === 128748 || x >= 128756 && x <= 128764 || x >= 128992 && x <= 129003 || x === 129008 || x >= 129292 && x <= 129338 || x >= 129340 && x <= 129349 || x >= 129351 && x <= 129535 || x >= 129648 && x <= 129660 || x >= 129664 && x <= 129672 || x >= 129680 && x <= 129725 || x >= 129727 && x <= 129733 || x >= 129742 && x <= 129755 || x >= 129760 && x <= 129768 || x >= 129776 && x <= 129784 || x >= 131072 && x <= 196605 || x >= 196608 && x <= 262141;
|
|
3274
|
+
}
|
|
3275
|
+
|
|
3276
|
+
// ../../node_modules/.pnpm/get-east-asian-width@1.2.0/node_modules/get-east-asian-width/index.js
|
|
3277
|
+
function validate(codePoint) {
|
|
3278
|
+
if (!Number.isSafeInteger(codePoint)) {
|
|
3279
|
+
throw new TypeError(`Expected a code point, got \`${typeof codePoint}\`.`);
|
|
3280
|
+
}
|
|
3281
|
+
}
|
|
3282
|
+
function eastAsianWidth(codePoint, { ambiguousAsWide = false } = {}) {
|
|
3283
|
+
validate(codePoint);
|
|
3284
|
+
if (isFullWidth(codePoint) || isWide(codePoint) || ambiguousAsWide && isAmbiguous(codePoint)) {
|
|
3285
|
+
return 2;
|
|
3286
|
+
}
|
|
3287
|
+
return 1;
|
|
3288
|
+
}
|
|
3289
|
+
|
|
3290
|
+
// ../../node_modules/.pnpm/emoji-regex@10.3.0/node_modules/emoji-regex/index.mjs
|
|
3291
|
+
init_cjs_shims();
|
|
3292
|
+
var emoji_regex_default = () => {
|
|
3293
|
+
return /[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;
|
|
3294
|
+
};
|
|
3295
|
+
|
|
3296
|
+
// ../../node_modules/.pnpm/string-width@7.2.0/node_modules/string-width/index.js
|
|
3297
|
+
var segmenter = new Intl.Segmenter();
|
|
3298
|
+
var defaultIgnorableCodePointRegex = /^\p{Default_Ignorable_Code_Point}$/u;
|
|
3299
|
+
function stringWidth(string, options = {}) {
|
|
3300
|
+
if (typeof string !== "string" || string.length === 0) {
|
|
3301
|
+
return 0;
|
|
3302
|
+
}
|
|
3303
|
+
const {
|
|
3304
|
+
ambiguousIsNarrow = true,
|
|
3305
|
+
countAnsiEscapeCodes = false
|
|
3306
|
+
} = options;
|
|
3307
|
+
if (!countAnsiEscapeCodes) {
|
|
3308
|
+
string = stripAnsi(string);
|
|
3309
|
+
}
|
|
3310
|
+
if (string.length === 0) {
|
|
3311
|
+
return 0;
|
|
3312
|
+
}
|
|
3313
|
+
let width = 0;
|
|
3314
|
+
const eastAsianWidthOptions = { ambiguousAsWide: !ambiguousIsNarrow };
|
|
3315
|
+
for (const { segment: character } of segmenter.segment(string)) {
|
|
3316
|
+
const codePoint = character.codePointAt(0);
|
|
3317
|
+
if (codePoint <= 31 || codePoint >= 127 && codePoint <= 159) {
|
|
3318
|
+
continue;
|
|
3319
|
+
}
|
|
3320
|
+
if (codePoint >= 8203 && codePoint <= 8207 || codePoint === 65279) {
|
|
3321
|
+
continue;
|
|
3322
|
+
}
|
|
3323
|
+
if (codePoint >= 768 && codePoint <= 879 || codePoint >= 6832 && codePoint <= 6911 || codePoint >= 7616 && codePoint <= 7679 || codePoint >= 8400 && codePoint <= 8447 || codePoint >= 65056 && codePoint <= 65071) {
|
|
3324
|
+
continue;
|
|
3325
|
+
}
|
|
3326
|
+
if (codePoint >= 55296 && codePoint <= 57343) {
|
|
3327
|
+
continue;
|
|
3328
|
+
}
|
|
3329
|
+
if (codePoint >= 65024 && codePoint <= 65039) {
|
|
3330
|
+
continue;
|
|
3331
|
+
}
|
|
3332
|
+
if (defaultIgnorableCodePointRegex.test(character)) {
|
|
3333
|
+
continue;
|
|
3228
3334
|
}
|
|
3229
3335
|
if (emoji_regex_default().test(character)) {
|
|
3230
3336
|
width += 2;
|
|
@@ -3305,7 +3411,7 @@ handleInput_fn = function(chunk) {
|
|
|
3305
3411
|
var stdinDiscarder = new StdinDiscarder();
|
|
3306
3412
|
var stdin_discarder_default = stdinDiscarder;
|
|
3307
3413
|
|
|
3308
|
-
// ../../node_modules/.pnpm/ora@8.0
|
|
3414
|
+
// ../../node_modules/.pnpm/ora@8.1.0/node_modules/ora/index.js
|
|
3309
3415
|
var import_cli_spinners2 = __toESM(require_cli_spinners(), 1);
|
|
3310
3416
|
var _linesToClear, _isDiscardingStdin, _lineCount, _frameIndex, _options, _spinner, _stream, _id, _initialInterval, _isEnabled, _isSilent, _indent, _text, _prefixText, _suffixText, _Ora_instances, getFullPrefixText_fn, getFullSuffixText_fn, updateLineCount_fn;
|
|
3311
3417
|
var Ora = class {
|
|
@@ -3614,10 +3720,10 @@ var spinner = ora({
|
|
|
3614
3720
|
spinner: "clock"
|
|
3615
3721
|
});
|
|
3616
3722
|
|
|
3617
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
3723
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/index.js
|
|
3618
3724
|
init_cjs_shims();
|
|
3619
3725
|
|
|
3620
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
3726
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/methods/create.js
|
|
3621
3727
|
init_cjs_shims();
|
|
3622
3728
|
|
|
3623
3729
|
// ../../node_modules/.pnpm/is-plain-obj@4.1.0/node_modules/is-plain-obj/index.js
|
|
@@ -3630,10 +3736,10 @@ function isPlainObject(value) {
|
|
|
3630
3736
|
return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in value) && !(Symbol.iterator in value);
|
|
3631
3737
|
}
|
|
3632
3738
|
|
|
3633
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
3739
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/methods/parameters.js
|
|
3634
3740
|
init_cjs_shims();
|
|
3635
3741
|
|
|
3636
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
3742
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/arguments/file-url.js
|
|
3637
3743
|
init_cjs_shims();
|
|
3638
3744
|
var _url = require('url');
|
|
3639
3745
|
var safeNormalizeFileUrl = (file, name) => {
|
|
@@ -3645,7 +3751,7 @@ var safeNormalizeFileUrl = (file, name) => {
|
|
|
3645
3751
|
};
|
|
3646
3752
|
var normalizeFileUrl = (file) => file instanceof URL ? _url.fileURLToPath.call(void 0, file) : file;
|
|
3647
3753
|
|
|
3648
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
3754
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/methods/parameters.js
|
|
3649
3755
|
var normalizeParameters = (rawFile, rawArguments = [], rawOptions = {}) => {
|
|
3650
3756
|
const filePath = safeNormalizeFileUrl(rawFile, "First argument");
|
|
3651
3757
|
const [commandArguments, options] = isPlainObject(rawArguments) ? [[], rawArguments] : [rawArguments, rawOptions];
|
|
@@ -3666,11 +3772,11 @@ var normalizeParameters = (rawFile, rawArguments = [], rawOptions = {}) => {
|
|
|
3666
3772
|
return [filePath, normalizedArguments, options];
|
|
3667
3773
|
};
|
|
3668
3774
|
|
|
3669
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
3775
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/methods/template.js
|
|
3670
3776
|
init_cjs_shims();
|
|
3671
3777
|
var _child_process = require('child_process');
|
|
3672
3778
|
|
|
3673
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
3779
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/utils/uint-array.js
|
|
3674
3780
|
init_cjs_shims();
|
|
3675
3781
|
var _string_decoder = require('string_decoder');
|
|
3676
3782
|
var { toString: objectToString } = Object.prototype;
|
|
@@ -3718,7 +3824,7 @@ var getJoinLength = (uint8Arrays) => {
|
|
|
3718
3824
|
return joinLength;
|
|
3719
3825
|
};
|
|
3720
3826
|
|
|
3721
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
3827
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/methods/template.js
|
|
3722
3828
|
var isTemplateString = (templates) => Array.isArray(templates) && Array.isArray(templates.raw);
|
|
3723
3829
|
var parseTemplates = (templates, expressions) => {
|
|
3724
3830
|
let tokens = [];
|
|
@@ -3815,24 +3921,24 @@ var getSubprocessResult = ({ stdout }) => {
|
|
|
3815
3921
|
throw new TypeError(`Unexpected "${typeof stdout}" stdout in template expression`);
|
|
3816
3922
|
};
|
|
3817
3923
|
|
|
3818
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
3924
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/methods/main-sync.js
|
|
3819
3925
|
init_cjs_shims();
|
|
3820
3926
|
|
|
3821
3927
|
|
|
3822
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
3928
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/arguments/command.js
|
|
3823
3929
|
init_cjs_shims();
|
|
3824
3930
|
|
|
3825
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
3931
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/verbose/start.js
|
|
3826
3932
|
init_cjs_shims();
|
|
3827
3933
|
|
|
3828
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
3934
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/verbose/values.js
|
|
3829
3935
|
init_cjs_shims();
|
|
3830
3936
|
|
|
3831
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
3937
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/arguments/specific.js
|
|
3832
3938
|
init_cjs_shims();
|
|
3833
3939
|
var _util = require('util');
|
|
3834
3940
|
|
|
3835
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
3941
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/utils/standard-stream.js
|
|
3836
3942
|
init_cjs_shims();
|
|
3837
3943
|
|
|
3838
3944
|
var isStandardStream = (stream) => STANDARD_STREAMS.includes(stream);
|
|
@@ -3840,7 +3946,7 @@ var STANDARD_STREAMS = [_process3.default.stdin, _process3.default.stdout, _proc
|
|
|
3840
3946
|
var STANDARD_STREAMS_ALIASES = ["stdin", "stdout", "stderr"];
|
|
3841
3947
|
var getStreamName = (fdNumber) => _nullishCoalesce(STANDARD_STREAMS_ALIASES[fdNumber], () => ( `stdio[${fdNumber}]`));
|
|
3842
3948
|
|
|
3843
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
3949
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/arguments/specific.js
|
|
3844
3950
|
var normalizeFdSpecificOptions = (options) => {
|
|
3845
3951
|
const optionsCopy = { ...options };
|
|
3846
3952
|
for (const optionName of FD_SPECIFIC_OPTIONS) {
|
|
@@ -3910,7 +4016,7 @@ var DEFAULT_OPTIONS = {
|
|
|
3910
4016
|
var FD_SPECIFIC_OPTIONS = ["lines", "buffer", "maxBuffer", "verbose", "stripFinalNewline"];
|
|
3911
4017
|
var getFdSpecificValue = (optionArray, fdNumber) => fdNumber === "ipc" ? optionArray.at(-1) : optionArray[fdNumber];
|
|
3912
4018
|
|
|
3913
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
4019
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/verbose/values.js
|
|
3914
4020
|
var isVerbose = ({ verbose }, fdNumber) => getFdVerbose(verbose, fdNumber) !== "none";
|
|
3915
4021
|
var isFullVerbose = ({ verbose }, fdNumber) => !["none", "short"].includes(getFdVerbose(verbose, fdNumber));
|
|
3916
4022
|
var getVerboseFunction = ({ verbose }, fdNumber) => {
|
|
@@ -3922,12 +4028,12 @@ var getFdGenericVerbose = (verbose) => _nullishCoalesce(verbose.find((fdVerbose)
|
|
|
3922
4028
|
var isVerboseFunction = (fdVerbose) => typeof fdVerbose === "function";
|
|
3923
4029
|
var VERBOSE_VALUES = ["none", "short", "full"];
|
|
3924
4030
|
|
|
3925
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
4031
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/verbose/log.js
|
|
3926
4032
|
init_cjs_shims();
|
|
3927
4033
|
var _fs = require('fs');
|
|
3928
4034
|
|
|
3929
4035
|
|
|
3930
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
4036
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/arguments/escape.js
|
|
3931
4037
|
init_cjs_shims();
|
|
3932
4038
|
|
|
3933
4039
|
|
|
@@ -3948,7 +4054,14 @@ var escapeControlCharacter = (character) => {
|
|
|
3948
4054
|
const codepointHex = codepoint.toString(16);
|
|
3949
4055
|
return codepoint <= ASTRAL_START ? `\\u${codepointHex.padStart(4, "0")}` : `\\U${codepointHex}`;
|
|
3950
4056
|
};
|
|
3951
|
-
var
|
|
4057
|
+
var getSpecialCharRegExp = () => {
|
|
4058
|
+
try {
|
|
4059
|
+
return new RegExp("\\p{Separator}|\\p{Other}", "gu");
|
|
4060
|
+
} catch (e2) {
|
|
4061
|
+
return /[\s\u0000-\u001F\u007F-\u009F\u00AD]/g;
|
|
4062
|
+
}
|
|
4063
|
+
};
|
|
4064
|
+
var SPECIAL_CHAR_REGEXP = getSpecialCharRegExp();
|
|
3952
4065
|
var COMMON_ESCAPES = {
|
|
3953
4066
|
" ": " ",
|
|
3954
4067
|
"\b": "\\b",
|
|
@@ -3966,7 +4079,7 @@ var quoteString = (escapedArgument) => {
|
|
|
3966
4079
|
};
|
|
3967
4080
|
var NO_ESCAPE_REGEXP = /^[\w./-]+$/;
|
|
3968
4081
|
|
|
3969
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
4082
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/verbose/default.js
|
|
3970
4083
|
init_cjs_shims();
|
|
3971
4084
|
|
|
3972
4085
|
// ../../node_modules/.pnpm/figures@6.1.0/node_modules/figures/index.js
|
|
@@ -4249,7 +4362,7 @@ var replacements = Object.entries(specialMainSymbols);
|
|
|
4249
4362
|
// ../../node_modules/.pnpm/yoctocolors@2.1.1/node_modules/yoctocolors/base.js
|
|
4250
4363
|
init_cjs_shims();
|
|
4251
4364
|
|
|
4252
|
-
var hasColors = _nullishCoalesce(_optionalChain([_tty2.default, 'optionalAccess',
|
|
4365
|
+
var hasColors = _nullishCoalesce(_optionalChain([_tty2.default, 'optionalAccess', _3 => _3.WriteStream, 'optionalAccess', _4 => _4.prototype, 'optionalAccess', _5 => _5.hasColors, 'optionalCall', _6 => _6()]), () => ( false));
|
|
4253
4366
|
var format = (open, close) => {
|
|
4254
4367
|
if (!hasColors) {
|
|
4255
4368
|
return (input) => input;
|
|
@@ -4315,7 +4428,7 @@ var bgMagentaBright = format(105, 49);
|
|
|
4315
4428
|
var bgCyanBright = format(106, 49);
|
|
4316
4429
|
var bgWhiteBright = format(107, 49);
|
|
4317
4430
|
|
|
4318
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
4431
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/verbose/default.js
|
|
4319
4432
|
var defaultVerboseFunction = ({
|
|
4320
4433
|
type,
|
|
4321
4434
|
message,
|
|
@@ -4354,7 +4467,7 @@ var COLORS = {
|
|
|
4354
4467
|
duration: () => gray
|
|
4355
4468
|
};
|
|
4356
4469
|
|
|
4357
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
4470
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/verbose/custom.js
|
|
4358
4471
|
init_cjs_shims();
|
|
4359
4472
|
var applyVerboseOnLines = (printedLines, verboseInfo, fdNumber) => {
|
|
4360
4473
|
const verboseFunction = getVerboseFunction(verboseInfo, fdNumber);
|
|
@@ -4372,7 +4485,7 @@ var applyVerboseFunction = (verboseLine, verboseObject, verboseFunction) => {
|
|
|
4372
4485
|
var appendNewline = (printedLine) => printedLine.endsWith("\n") ? printedLine : `${printedLine}
|
|
4373
4486
|
`;
|
|
4374
4487
|
|
|
4375
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
4488
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/verbose/log.js
|
|
4376
4489
|
var verboseLog = ({ type, verboseMessage, fdNumber, verboseInfo, result }) => {
|
|
4377
4490
|
const verboseObject = getVerboseObject({ type, result, verboseInfo });
|
|
4378
4491
|
const printedLines = getPrintedLines(verboseMessage, verboseObject);
|
|
@@ -4405,7 +4518,7 @@ var serializeVerboseMessage = (message) => {
|
|
|
4405
4518
|
};
|
|
4406
4519
|
var TAB_SIZE = 2;
|
|
4407
4520
|
|
|
4408
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
4521
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/verbose/start.js
|
|
4409
4522
|
var logCommand = (escapedCommand, verboseInfo) => {
|
|
4410
4523
|
if (!isVerbose(verboseInfo)) {
|
|
4411
4524
|
return;
|
|
@@ -4417,7 +4530,7 @@ var logCommand = (escapedCommand, verboseInfo) => {
|
|
|
4417
4530
|
});
|
|
4418
4531
|
};
|
|
4419
4532
|
|
|
4420
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
4533
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/verbose/info.js
|
|
4421
4534
|
init_cjs_shims();
|
|
4422
4535
|
var getVerboseInfo = (verbose, escapedCommand, rawOptions) => {
|
|
4423
4536
|
validateVerbose(verbose);
|
|
@@ -4446,13 +4559,13 @@ var validateVerbose = (verbose) => {
|
|
|
4446
4559
|
}
|
|
4447
4560
|
};
|
|
4448
4561
|
|
|
4449
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
4562
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/return/duration.js
|
|
4450
4563
|
init_cjs_shims();
|
|
4451
4564
|
|
|
4452
4565
|
var getStartTime = () => _process2.hrtime.bigint();
|
|
4453
4566
|
var getDurationMs = (startTime) => Number(_process2.hrtime.bigint() - startTime) / 1e6;
|
|
4454
4567
|
|
|
4455
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
4568
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/arguments/command.js
|
|
4456
4569
|
var handleCommand = (filePath, rawArguments, rawOptions) => {
|
|
4457
4570
|
const startTime = getStartTime();
|
|
4458
4571
|
const { command, escapedCommand } = joinCommand(filePath, rawArguments);
|
|
@@ -4467,7 +4580,7 @@ var handleCommand = (filePath, rawArguments, rawOptions) => {
|
|
|
4467
4580
|
};
|
|
4468
4581
|
};
|
|
4469
4582
|
|
|
4470
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
4583
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/arguments/options.js
|
|
4471
4584
|
init_cjs_shims();
|
|
4472
4585
|
var import_cross_spawn = __toESM(require_cross_spawn(), 1);
|
|
4473
4586
|
var _path = require('path'); var _path2 = _interopRequireDefault(_path);
|
|
@@ -4531,11 +4644,11 @@ var npmRunPathEnv = ({ env: env2 = _process3.default.env, ...options } = {}) =>
|
|
|
4531
4644
|
return env2;
|
|
4532
4645
|
};
|
|
4533
4646
|
|
|
4534
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
4647
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/terminate/kill.js
|
|
4535
4648
|
init_cjs_shims();
|
|
4536
4649
|
var _promises = require('timers/promises');
|
|
4537
4650
|
|
|
4538
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
4651
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/return/final-error.js
|
|
4539
4652
|
init_cjs_shims();
|
|
4540
4653
|
var getFinalError = (originalError, message, isSync) => {
|
|
4541
4654
|
const ErrorClass = isSync ? ExecaSyncError : ExecaError;
|
|
@@ -4568,15 +4681,15 @@ var ExecaSyncError = class extends Error {
|
|
|
4568
4681
|
};
|
|
4569
4682
|
setErrorName(ExecaSyncError, ExecaSyncError.name);
|
|
4570
4683
|
|
|
4571
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
4684
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/terminate/signal.js
|
|
4572
4685
|
init_cjs_shims();
|
|
4573
4686
|
|
|
4574
4687
|
|
|
4575
|
-
// ../../node_modules/.pnpm/human-signals@
|
|
4688
|
+
// ../../node_modules/.pnpm/human-signals@8.0.0/node_modules/human-signals/build/src/main.js
|
|
4576
4689
|
init_cjs_shims();
|
|
4577
4690
|
|
|
4578
4691
|
|
|
4579
|
-
// ../../node_modules/.pnpm/human-signals@
|
|
4692
|
+
// ../../node_modules/.pnpm/human-signals@8.0.0/node_modules/human-signals/build/src/realtime.js
|
|
4580
4693
|
init_cjs_shims();
|
|
4581
4694
|
var getRealtimeSignals = () => {
|
|
4582
4695
|
const length = SIGRTMAX - SIGRTMIN + 1;
|
|
@@ -4592,11 +4705,11 @@ var getRealtimeSignal = (value, index) => ({
|
|
|
4592
4705
|
var SIGRTMIN = 34;
|
|
4593
4706
|
var SIGRTMAX = 64;
|
|
4594
4707
|
|
|
4595
|
-
// ../../node_modules/.pnpm/human-signals@
|
|
4708
|
+
// ../../node_modules/.pnpm/human-signals@8.0.0/node_modules/human-signals/build/src/signals.js
|
|
4596
4709
|
init_cjs_shims();
|
|
4597
4710
|
|
|
4598
4711
|
|
|
4599
|
-
// ../../node_modules/.pnpm/human-signals@
|
|
4712
|
+
// ../../node_modules/.pnpm/human-signals@8.0.0/node_modules/human-signals/build/src/core.js
|
|
4600
4713
|
init_cjs_shims();
|
|
4601
4714
|
var SIGNALS = [
|
|
4602
4715
|
{
|
|
@@ -4870,7 +4983,7 @@ var SIGNALS = [
|
|
|
4870
4983
|
}
|
|
4871
4984
|
];
|
|
4872
4985
|
|
|
4873
|
-
// ../../node_modules/.pnpm/human-signals@
|
|
4986
|
+
// ../../node_modules/.pnpm/human-signals@8.0.0/node_modules/human-signals/build/src/signals.js
|
|
4874
4987
|
var getSignals = () => {
|
|
4875
4988
|
const realtimeSignals = getRealtimeSignals();
|
|
4876
4989
|
const signals2 = [...SIGNALS, ...realtimeSignals].map(normalizeSignal);
|
|
@@ -4892,7 +5005,7 @@ var normalizeSignal = ({
|
|
|
4892
5005
|
return { name, number, description, supported, action, forced, standard };
|
|
4893
5006
|
};
|
|
4894
5007
|
|
|
4895
|
-
// ../../node_modules/.pnpm/human-signals@
|
|
5008
|
+
// ../../node_modules/.pnpm/human-signals@8.0.0/node_modules/human-signals/build/src/main.js
|
|
4896
5009
|
var getSignalsByName = () => {
|
|
4897
5010
|
const signals2 = getSignals();
|
|
4898
5011
|
return Object.fromEntries(signals2.map(getSignalByName));
|
|
@@ -4943,7 +5056,7 @@ var findSignalByNumber = (number, signals2) => {
|
|
|
4943
5056
|
};
|
|
4944
5057
|
var signalsByNumber = getSignalsByNumber();
|
|
4945
5058
|
|
|
4946
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
5059
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/terminate/signal.js
|
|
4947
5060
|
var normalizeKillSignal = (killSignal) => {
|
|
4948
5061
|
const optionName = "option `killSignal`";
|
|
4949
5062
|
if (killSignal === 0) {
|
|
@@ -4987,7 +5100,7 @@ var getAvailableSignalNames = () => Object.keys(_os.constants.signals).sort().ma
|
|
|
4987
5100
|
var getAvailableSignalIntegers = () => [...new Set(Object.values(_os.constants.signals).sort((signalInteger, signalIntegerTwo) => signalInteger - signalIntegerTwo))].join(", ");
|
|
4988
5101
|
var getSignalDescription = (signal) => signalsByName[signal].description;
|
|
4989
5102
|
|
|
4990
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
5103
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/terminate/kill.js
|
|
4991
5104
|
var normalizeForceKillAfterDelay = (forceKillAfterDelay) => {
|
|
4992
5105
|
if (forceKillAfterDelay === false) {
|
|
4993
5106
|
return forceKillAfterDelay;
|
|
@@ -5050,14 +5163,14 @@ var killOnTimeout = async ({ kill, forceKillAfterDelay, context, controllerSigna
|
|
|
5050
5163
|
if (kill("SIGKILL")) {
|
|
5051
5164
|
_nullishCoalesce(context.isForcefullyTerminated, () => ( (context.isForcefullyTerminated = true)));
|
|
5052
5165
|
}
|
|
5053
|
-
} catch (
|
|
5166
|
+
} catch (e3) {
|
|
5054
5167
|
}
|
|
5055
5168
|
};
|
|
5056
5169
|
|
|
5057
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
5170
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/terminate/cancel.js
|
|
5058
5171
|
init_cjs_shims();
|
|
5059
5172
|
|
|
5060
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
5173
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/utils/abort-signal.js
|
|
5061
5174
|
init_cjs_shims();
|
|
5062
5175
|
var _events = require('events');
|
|
5063
5176
|
var onAbortedSignal = async (mainSignal, stopSignal) => {
|
|
@@ -5066,7 +5179,7 @@ var onAbortedSignal = async (mainSignal, stopSignal) => {
|
|
|
5066
5179
|
}
|
|
5067
5180
|
};
|
|
5068
5181
|
|
|
5069
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
5182
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/terminate/cancel.js
|
|
5070
5183
|
var validateCancelSignal = ({ cancelSignal }) => {
|
|
5071
5184
|
if (cancelSignal !== void 0 && Object.prototype.toString.call(cancelSignal) !== "[object AbortSignal]") {
|
|
5072
5185
|
throw new Error(`The \`cancelSignal\` option must be an AbortSignal: ${String(cancelSignal)}`);
|
|
@@ -5080,18 +5193,18 @@ var terminateOnCancel = async (subprocess, cancelSignal, context, { signal }) =>
|
|
|
5080
5193
|
throw cancelSignal.reason;
|
|
5081
5194
|
};
|
|
5082
5195
|
|
|
5083
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
5196
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/terminate/graceful.js
|
|
5084
5197
|
init_cjs_shims();
|
|
5085
5198
|
|
|
5086
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
5199
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/ipc/graceful.js
|
|
5087
5200
|
init_cjs_shims();
|
|
5088
5201
|
|
|
5089
5202
|
|
|
5090
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
5203
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/ipc/send.js
|
|
5091
5204
|
init_cjs_shims();
|
|
5092
5205
|
|
|
5093
5206
|
|
|
5094
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
5207
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/ipc/validation.js
|
|
5095
5208
|
init_cjs_shims();
|
|
5096
5209
|
var validateIpcMethod = ({ methodName, isSubprocess, ipc, isConnected: isConnected2 }) => {
|
|
5097
5210
|
validateIpcOption(methodName, isSubprocess, ipc);
|
|
@@ -5164,20 +5277,20 @@ var disconnect = (anyProcess) => {
|
|
|
5164
5277
|
}
|
|
5165
5278
|
};
|
|
5166
5279
|
|
|
5167
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
5280
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/ipc/outgoing.js
|
|
5168
5281
|
init_cjs_shims();
|
|
5169
5282
|
|
|
5170
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
5283
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/utils/deferred.js
|
|
5171
5284
|
init_cjs_shims();
|
|
5172
5285
|
var createDeferred = () => {
|
|
5173
5286
|
const methods = {};
|
|
5174
|
-
const promise = new Promise((
|
|
5175
|
-
Object.assign(methods, { resolve:
|
|
5287
|
+
const promise = new Promise((resolve2, reject) => {
|
|
5288
|
+
Object.assign(methods, { resolve: resolve2, reject });
|
|
5176
5289
|
});
|
|
5177
5290
|
return Object.assign(promise, methods);
|
|
5178
5291
|
};
|
|
5179
5292
|
|
|
5180
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
5293
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/arguments/fd-options.js
|
|
5181
5294
|
init_cjs_shims();
|
|
5182
5295
|
var getToStream = (destination, to = "stdin") => {
|
|
5183
5296
|
const isWritable = true;
|
|
@@ -5258,11 +5371,11 @@ var serializeOptionValue = (value) => {
|
|
|
5258
5371
|
return typeof value === "number" ? `${value}` : "Stream";
|
|
5259
5372
|
};
|
|
5260
5373
|
|
|
5261
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
5374
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/ipc/strict.js
|
|
5262
5375
|
init_cjs_shims();
|
|
5263
5376
|
|
|
5264
5377
|
|
|
5265
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
5378
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/utils/max-listeners.js
|
|
5266
5379
|
init_cjs_shims();
|
|
5267
5380
|
|
|
5268
5381
|
var incrementMaxListeners = (eventEmitter, maxListenersIncrement, signal) => {
|
|
@@ -5276,16 +5389,16 @@ var incrementMaxListeners = (eventEmitter, maxListenersIncrement, signal) => {
|
|
|
5276
5389
|
});
|
|
5277
5390
|
};
|
|
5278
5391
|
|
|
5279
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
5392
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/ipc/forward.js
|
|
5280
5393
|
init_cjs_shims();
|
|
5281
5394
|
|
|
5282
5395
|
|
|
5283
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
5396
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/ipc/incoming.js
|
|
5284
5397
|
init_cjs_shims();
|
|
5285
5398
|
|
|
5286
5399
|
|
|
5287
5400
|
|
|
5288
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
5401
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/ipc/reference.js
|
|
5289
5402
|
init_cjs_shims();
|
|
5290
5403
|
var addReference = (channel, reference) => {
|
|
5291
5404
|
if (reference) {
|
|
@@ -5316,7 +5429,7 @@ var redoAddedReferences = (channel, isSubprocess) => {
|
|
|
5316
5429
|
}
|
|
5317
5430
|
};
|
|
5318
5431
|
|
|
5319
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
5432
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/ipc/incoming.js
|
|
5320
5433
|
var onMessage = async ({ anyProcess, channel, isSubprocess, ipcEmitter }, wrappedMessage) => {
|
|
5321
5434
|
if (handleStrictResponse(wrappedMessage) || handleAbort(wrappedMessage)) {
|
|
5322
5435
|
return;
|
|
@@ -5347,7 +5460,7 @@ var onMessage = async ({ anyProcess, channel, isSubprocess, ipcEmitter }, wrappe
|
|
|
5347
5460
|
var onDisconnect = async ({ anyProcess, channel, isSubprocess, ipcEmitter, boundOnMessage }) => {
|
|
5348
5461
|
abortOnDisconnect();
|
|
5349
5462
|
const incomingMessages = INCOMING_MESSAGES.get(anyProcess);
|
|
5350
|
-
while (_optionalChain([incomingMessages, 'optionalAccess',
|
|
5463
|
+
while (_optionalChain([incomingMessages, 'optionalAccess', _7 => _7.length]) > 0) {
|
|
5351
5464
|
await _events.once.call(void 0, ipcEmitter, "message:done");
|
|
5352
5465
|
}
|
|
5353
5466
|
anyProcess.removeListener("message", boundOnMessage);
|
|
@@ -5357,7 +5470,7 @@ var onDisconnect = async ({ anyProcess, channel, isSubprocess, ipcEmitter, bound
|
|
|
5357
5470
|
};
|
|
5358
5471
|
var INCOMING_MESSAGES = /* @__PURE__ */ new WeakMap();
|
|
5359
5472
|
|
|
5360
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
5473
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/ipc/forward.js
|
|
5361
5474
|
var getIpcEmitter = (anyProcess, channel, isSubprocess) => {
|
|
5362
5475
|
if (IPC_EMITTERS.has(anyProcess)) {
|
|
5363
5476
|
return IPC_EMITTERS.get(anyProcess);
|
|
@@ -5396,7 +5509,7 @@ var isConnected = (anyProcess) => {
|
|
|
5396
5509
|
return ipcEmitter === void 0 ? anyProcess.channel !== null : ipcEmitter.connected;
|
|
5397
5510
|
};
|
|
5398
5511
|
|
|
5399
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
5512
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/ipc/strict.js
|
|
5400
5513
|
var handleSendStrict = ({ anyProcess, channel, isSubprocess, message, strict }) => {
|
|
5401
5514
|
if (!strict) {
|
|
5402
5515
|
return message;
|
|
@@ -5412,7 +5525,7 @@ var handleSendStrict = ({ anyProcess, channel, isSubprocess, message, strict })
|
|
|
5412
5525
|
};
|
|
5413
5526
|
var count = 0n;
|
|
5414
5527
|
var validateStrictDeadlock = (outgoingMessages, wrappedMessage) => {
|
|
5415
|
-
if (_optionalChain([wrappedMessage, 'optionalAccess',
|
|
5528
|
+
if (_optionalChain([wrappedMessage, 'optionalAccess', _8 => _8.type]) !== REQUEST_TYPE || wrappedMessage.hasListeners) {
|
|
5416
5529
|
return;
|
|
5417
5530
|
}
|
|
5418
5531
|
for (const { id } of outgoingMessages) {
|
|
@@ -5422,7 +5535,7 @@ var validateStrictDeadlock = (outgoingMessages, wrappedMessage) => {
|
|
|
5422
5535
|
}
|
|
5423
5536
|
};
|
|
5424
5537
|
var handleStrictRequest = async ({ wrappedMessage, anyProcess, channel, isSubprocess, ipcEmitter }) => {
|
|
5425
|
-
if (_optionalChain([wrappedMessage, 'optionalAccess',
|
|
5538
|
+
if (_optionalChain([wrappedMessage, 'optionalAccess', _9 => _9.type]) !== REQUEST_TYPE || !anyProcess.connected) {
|
|
5426
5539
|
return wrappedMessage;
|
|
5427
5540
|
}
|
|
5428
5541
|
const { id, message } = wrappedMessage;
|
|
@@ -5440,15 +5553,15 @@ var handleStrictRequest = async ({ wrappedMessage, anyProcess, channel, isSubpro
|
|
|
5440
5553
|
return message;
|
|
5441
5554
|
};
|
|
5442
5555
|
var handleStrictResponse = (wrappedMessage) => {
|
|
5443
|
-
if (_optionalChain([wrappedMessage, 'optionalAccess',
|
|
5556
|
+
if (_optionalChain([wrappedMessage, 'optionalAccess', _10 => _10.type]) !== RESPONSE_TYPE) {
|
|
5444
5557
|
return false;
|
|
5445
5558
|
}
|
|
5446
5559
|
const { id, message: hasListeners } = wrappedMessage;
|
|
5447
|
-
_optionalChain([STRICT_RESPONSES, 'access',
|
|
5560
|
+
_optionalChain([STRICT_RESPONSES, 'access', _11 => _11[id], 'optionalAccess', _12 => _12.resolve, 'call', _13 => _13({ isDeadlock: false, hasListeners })]);
|
|
5448
5561
|
return true;
|
|
5449
5562
|
};
|
|
5450
5563
|
var waitForStrictResponse = async (wrappedMessage, anyProcess, isSubprocess) => {
|
|
5451
|
-
if (_optionalChain([wrappedMessage, 'optionalAccess',
|
|
5564
|
+
if (_optionalChain([wrappedMessage, 'optionalAccess', _14 => _14.type]) !== REQUEST_TYPE) {
|
|
5452
5565
|
return;
|
|
5453
5566
|
}
|
|
5454
5567
|
const deferred = createDeferred();
|
|
@@ -5479,7 +5592,7 @@ var throwOnDisconnect = async (anyProcess, isSubprocess, { signal }) => {
|
|
|
5479
5592
|
var REQUEST_TYPE = "execa:ipc:request";
|
|
5480
5593
|
var RESPONSE_TYPE = "execa:ipc:response";
|
|
5481
5594
|
|
|
5482
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
5595
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/ipc/outgoing.js
|
|
5483
5596
|
var startSendMessage = (anyProcess, wrappedMessage, strict) => {
|
|
5484
5597
|
if (!OUTGOING_MESSAGES.has(anyProcess)) {
|
|
5485
5598
|
OUTGOING_MESSAGES.set(anyProcess, /* @__PURE__ */ new Set());
|
|
@@ -5496,7 +5609,7 @@ var endSendMessage = ({ outgoingMessages, outgoingMessage }) => {
|
|
|
5496
5609
|
outgoingMessage.onMessageSent.resolve();
|
|
5497
5610
|
};
|
|
5498
5611
|
var waitForOutgoingMessages = async (anyProcess, ipcEmitter, wrappedMessage) => {
|
|
5499
|
-
while (!hasMessageListeners(anyProcess, ipcEmitter) && _optionalChain([OUTGOING_MESSAGES, 'access',
|
|
5612
|
+
while (!hasMessageListeners(anyProcess, ipcEmitter) && _optionalChain([OUTGOING_MESSAGES, 'access', _15 => _15.get, 'call', _16 => _16(anyProcess), 'optionalAccess', _17 => _17.size]) > 0) {
|
|
5500
5613
|
const outgoingMessages = [...OUTGOING_MESSAGES.get(anyProcess)];
|
|
5501
5614
|
validateStrictDeadlock(outgoingMessages, wrappedMessage);
|
|
5502
5615
|
await Promise.all(outgoingMessages.map(({ onMessageSent }) => onMessageSent));
|
|
@@ -5506,7 +5619,7 @@ var OUTGOING_MESSAGES = /* @__PURE__ */ new WeakMap();
|
|
|
5506
5619
|
var hasMessageListeners = (anyProcess, ipcEmitter) => ipcEmitter.listenerCount("message") > getMinListenerCount(anyProcess);
|
|
5507
5620
|
var getMinListenerCount = (anyProcess) => SUBPROCESS_OPTIONS.has(anyProcess) && !getFdSpecificValue(SUBPROCESS_OPTIONS.get(anyProcess).options.buffer, "ipc") ? 1 : 0;
|
|
5508
5621
|
|
|
5509
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
5622
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/ipc/send.js
|
|
5510
5623
|
var sendMessage = ({ anyProcess, channel, isSubprocess, ipc }, message, { strict = false } = {}) => {
|
|
5511
5624
|
const methodName = "sendMessage";
|
|
5512
5625
|
validateIpcMethod({
|
|
@@ -5576,7 +5689,7 @@ var getSendMethod = (anyProcess) => {
|
|
|
5576
5689
|
};
|
|
5577
5690
|
var PROCESS_SEND_METHODS = /* @__PURE__ */ new WeakMap();
|
|
5578
5691
|
|
|
5579
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
5692
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/ipc/graceful.js
|
|
5580
5693
|
var sendAbort = (subprocess, message) => {
|
|
5581
5694
|
const methodName = "cancelSignal";
|
|
5582
5695
|
validateConnection(methodName, false, subprocess.connected);
|
|
@@ -5615,7 +5728,7 @@ var startIpc = async ({ anyProcess, channel, isSubprocess, ipc }) => {
|
|
|
5615
5728
|
};
|
|
5616
5729
|
var cancelListening = false;
|
|
5617
5730
|
var handleAbort = (wrappedMessage) => {
|
|
5618
|
-
if (_optionalChain([wrappedMessage, 'optionalAccess',
|
|
5731
|
+
if (_optionalChain([wrappedMessage, 'optionalAccess', _18 => _18.type]) !== GRACEFUL_CANCEL_TYPE) {
|
|
5619
5732
|
return false;
|
|
5620
5733
|
}
|
|
5621
5734
|
cancelController.abort(wrappedMessage.message);
|
|
@@ -5627,7 +5740,7 @@ var abortOnDisconnect = () => {
|
|
|
5627
5740
|
};
|
|
5628
5741
|
var cancelController = new AbortController();
|
|
5629
5742
|
|
|
5630
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
5743
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/terminate/graceful.js
|
|
5631
5744
|
var validateGracefulCancel = ({ gracefulCancel, cancelSignal, ipc, serialization }) => {
|
|
5632
5745
|
if (!gracefulCancel) {
|
|
5633
5746
|
return;
|
|
@@ -5683,7 +5796,7 @@ var getReason = ({ reason }) => {
|
|
|
5683
5796
|
return error;
|
|
5684
5797
|
};
|
|
5685
5798
|
|
|
5686
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
5799
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/terminate/timeout.js
|
|
5687
5800
|
init_cjs_shims();
|
|
5688
5801
|
|
|
5689
5802
|
var validateTimeout = ({ timeout }) => {
|
|
@@ -5699,7 +5812,7 @@ var killAfterTimeout = async (subprocess, timeout, context, { signal }) => {
|
|
|
5699
5812
|
throw new DiscardedError();
|
|
5700
5813
|
};
|
|
5701
5814
|
|
|
5702
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
5815
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/methods/node.js
|
|
5703
5816
|
init_cjs_shims();
|
|
5704
5817
|
|
|
5705
5818
|
|
|
@@ -5721,7 +5834,7 @@ var handleNodeOption = (file, commandArguments, {
|
|
|
5721
5834
|
throw new TypeError('The "execPath" option has been removed. Please use the "nodePath" option instead.');
|
|
5722
5835
|
}
|
|
5723
5836
|
const normalizedNodePath = safeNormalizeFileUrl(nodePath, 'The "nodePath" option');
|
|
5724
|
-
const resolvedNodePath =
|
|
5837
|
+
const resolvedNodePath = _path2.default.resolve(cwd, normalizedNodePath);
|
|
5725
5838
|
const newOptions = {
|
|
5726
5839
|
...options,
|
|
5727
5840
|
nodePath: resolvedNodePath,
|
|
@@ -5731,7 +5844,7 @@ var handleNodeOption = (file, commandArguments, {
|
|
|
5731
5844
|
if (!shouldHandleNode) {
|
|
5732
5845
|
return [file, commandArguments, newOptions];
|
|
5733
5846
|
}
|
|
5734
|
-
if (
|
|
5847
|
+
if (_path2.default.basename(file, ".exe") === "node") {
|
|
5735
5848
|
throw new TypeError('When the "node" option is true, the first argument does not need to be "node".');
|
|
5736
5849
|
}
|
|
5737
5850
|
return [
|
|
@@ -5741,7 +5854,7 @@ var handleNodeOption = (file, commandArguments, {
|
|
|
5741
5854
|
];
|
|
5742
5855
|
};
|
|
5743
5856
|
|
|
5744
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
5857
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/ipc/ipc-input.js
|
|
5745
5858
|
init_cjs_shims();
|
|
5746
5859
|
var _v8 = require('v8');
|
|
5747
5860
|
var validateIpcInputOption = ({ ipcInput, ipc, serialization }) => {
|
|
@@ -5778,7 +5891,7 @@ var sendIpcInput = async (subprocess, ipcInput) => {
|
|
|
5778
5891
|
await subprocess.sendMessage(ipcInput);
|
|
5779
5892
|
};
|
|
5780
5893
|
|
|
5781
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
5894
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/arguments/encoding-option.js
|
|
5782
5895
|
init_cjs_shims();
|
|
5783
5896
|
var validateEncoding = ({ encoding }) => {
|
|
5784
5897
|
if (ENCODINGS.has(encoding)) {
|
|
@@ -5821,14 +5934,14 @@ var ENCODING_ALIASES = {
|
|
|
5821
5934
|
};
|
|
5822
5935
|
var serializeEncoding = (encoding) => typeof encoding === "string" ? `"${encoding}"` : String(encoding);
|
|
5823
5936
|
|
|
5824
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
5937
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/arguments/cwd.js
|
|
5825
5938
|
init_cjs_shims();
|
|
5826
5939
|
|
|
5827
5940
|
|
|
5828
5941
|
|
|
5829
5942
|
var normalizeCwd = (cwd = getDefaultCwd()) => {
|
|
5830
5943
|
const cwdString = safeNormalizeFileUrl(cwd, 'The "cwd" option');
|
|
5831
|
-
return
|
|
5944
|
+
return _path2.default.resolve(cwdString);
|
|
5832
5945
|
};
|
|
5833
5946
|
var getDefaultCwd = () => {
|
|
5834
5947
|
try {
|
|
@@ -5858,7 +5971,7 @@ ${originalMessage}`;
|
|
|
5858
5971
|
return originalMessage;
|
|
5859
5972
|
};
|
|
5860
5973
|
|
|
5861
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
5974
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/arguments/options.js
|
|
5862
5975
|
var normalizeOptions = (filePath, rawArguments, rawOptions) => {
|
|
5863
5976
|
rawOptions.cwd = normalizeCwd(rawOptions.cwd);
|
|
5864
5977
|
const [processedFile, processedArguments, processedOptions] = handleNodeOption(filePath, rawArguments, rawOptions);
|
|
@@ -5875,7 +5988,7 @@ var normalizeOptions = (filePath, rawArguments, rawOptions) => {
|
|
|
5875
5988
|
options.killSignal = normalizeKillSignal(options.killSignal);
|
|
5876
5989
|
options.forceKillAfterDelay = normalizeForceKillAfterDelay(options.forceKillAfterDelay);
|
|
5877
5990
|
options.lines = options.lines.map((lines, fdNumber) => lines && !BINARY_ENCODINGS.has(options.encoding) && options.buffer[fdNumber]);
|
|
5878
|
-
if (_process3.default.platform === "win32" &&
|
|
5991
|
+
if (_process3.default.platform === "win32" && _path2.default.basename(file, ".exe") === "cmd") {
|
|
5879
5992
|
commandArguments.unshift("/q");
|
|
5880
5993
|
}
|
|
5881
5994
|
return { file, commandArguments, options };
|
|
@@ -5929,10 +6042,10 @@ var getEnv = ({ env: envOption, extendEnv, preferLocal, node, localDirectory, no
|
|
|
5929
6042
|
return env2;
|
|
5930
6043
|
};
|
|
5931
6044
|
|
|
5932
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
6045
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/return/result.js
|
|
5933
6046
|
init_cjs_shims();
|
|
5934
6047
|
|
|
5935
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
6048
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/return/message.js
|
|
5936
6049
|
init_cjs_shims();
|
|
5937
6050
|
|
|
5938
6051
|
|
|
@@ -5954,7 +6067,7 @@ var LF_BINARY = LF.codePointAt(0);
|
|
|
5954
6067
|
var CR = "\r";
|
|
5955
6068
|
var CR_BINARY = CR.codePointAt(0);
|
|
5956
6069
|
|
|
5957
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
6070
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/io/max-buffer.js
|
|
5958
6071
|
init_cjs_shims();
|
|
5959
6072
|
|
|
5960
6073
|
// ../../node_modules/.pnpm/get-stream@9.0.1/node_modules/get-stream/source/index.js
|
|
@@ -6087,7 +6200,7 @@ var getAsyncIterable = (stream) => {
|
|
|
6087
6200
|
if (isReadableStream(stream, { checkOpen: false }) && nodeImports.on !== void 0) {
|
|
6088
6201
|
return getStreamIterable(stream);
|
|
6089
6202
|
}
|
|
6090
|
-
if (typeof _optionalChain([stream, 'optionalAccess',
|
|
6203
|
+
if (typeof _optionalChain([stream, 'optionalAccess', _19 => _19[Symbol.asyncIterator]]) === "function") {
|
|
6091
6204
|
return stream;
|
|
6092
6205
|
}
|
|
6093
6206
|
if (toString.call(stream) === "[object ReadableStream]") {
|
|
@@ -6209,7 +6322,7 @@ var getChunkType = (chunk) => {
|
|
|
6209
6322
|
if (typeOfChunk !== "object" || chunk === null) {
|
|
6210
6323
|
return "others";
|
|
6211
6324
|
}
|
|
6212
|
-
if (_optionalChain([globalThis, 'access',
|
|
6325
|
+
if (_optionalChain([globalThis, 'access', _20 => _20.Buffer, 'optionalAccess', _21 => _21.isBuffer, 'call', _22 => _22(chunk)])) {
|
|
6213
6326
|
return "buffer";
|
|
6214
6327
|
}
|
|
6215
6328
|
const prototypeName = objectToString2.call(chunk);
|
|
@@ -6356,7 +6469,7 @@ var stringMethods = {
|
|
|
6356
6469
|
// ../../node_modules/.pnpm/get-stream@9.0.1/node_modules/get-stream/source/index.js
|
|
6357
6470
|
Object.assign(nodeImports, { on: _events.on, finished: _promises3.finished });
|
|
6358
6471
|
|
|
6359
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
6472
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/io/max-buffer.js
|
|
6360
6473
|
var handleMaxBuffer = ({ error, stream, readableObjectMode, lines, encoding, fdNumber }) => {
|
|
6361
6474
|
if (!(error instanceof MaxBufferError)) {
|
|
6362
6475
|
throw error;
|
|
@@ -6394,7 +6507,7 @@ var getMaxBufferMessage = (error, maxBuffer) => {
|
|
|
6394
6507
|
return `Command's ${streamName} was larger than ${threshold} ${unit}`;
|
|
6395
6508
|
};
|
|
6396
6509
|
var getMaxBufferInfo = (error, maxBuffer) => {
|
|
6397
|
-
if (_optionalChain([error, 'optionalAccess',
|
|
6510
|
+
if (_optionalChain([error, 'optionalAccess', _23 => _23.maxBufferInfo]) === void 0) {
|
|
6398
6511
|
return { streamName: "output", threshold: maxBuffer[1], unit: "bytes" };
|
|
6399
6512
|
}
|
|
6400
6513
|
const { maxBufferInfo: { fdNumber, unit } } = error;
|
|
@@ -6405,7 +6518,7 @@ var getMaxBufferInfo = (error, maxBuffer) => {
|
|
|
6405
6518
|
}
|
|
6406
6519
|
return { streamName: getStreamName(fdNumber), threshold, unit };
|
|
6407
6520
|
};
|
|
6408
|
-
var isMaxBufferSync = (resultError, output, maxBuffer) => _optionalChain([resultError, 'optionalAccess',
|
|
6521
|
+
var isMaxBufferSync = (resultError, output, maxBuffer) => _optionalChain([resultError, 'optionalAccess', _24 => _24.code]) === "ENOBUFS" && output !== null && output.some((result) => result !== null && result.length > getMaxBufferSync(maxBuffer));
|
|
6409
6522
|
var truncateMaxBufferSync = (result, isMaxBuffer, maxBuffer) => {
|
|
6410
6523
|
if (!isMaxBuffer) {
|
|
6411
6524
|
return result;
|
|
@@ -6415,7 +6528,7 @@ var truncateMaxBufferSync = (result, isMaxBuffer, maxBuffer) => {
|
|
|
6415
6528
|
};
|
|
6416
6529
|
var getMaxBufferSync = ([, stdoutMaxBuffer]) => stdoutMaxBuffer;
|
|
6417
6530
|
|
|
6418
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
6531
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/return/message.js
|
|
6419
6532
|
var createMessages = ({
|
|
6420
6533
|
stdio,
|
|
6421
6534
|
all,
|
|
@@ -6436,7 +6549,7 @@ var createMessages = ({
|
|
|
6436
6549
|
timeout,
|
|
6437
6550
|
cwd
|
|
6438
6551
|
}) => {
|
|
6439
|
-
const errorCode = _optionalChain([originalError, 'optionalAccess',
|
|
6552
|
+
const errorCode = _optionalChain([originalError, 'optionalAccess', _25 => _25.code]);
|
|
6440
6553
|
const prefix = getErrorPrefix({
|
|
6441
6554
|
originalError,
|
|
6442
6555
|
timedOut,
|
|
@@ -6517,7 +6630,7 @@ var getOriginalMessage = (originalError, cwd) => {
|
|
|
6517
6630
|
if (originalError instanceof DiscardedError) {
|
|
6518
6631
|
return;
|
|
6519
6632
|
}
|
|
6520
|
-
const originalMessage = isExecaError(originalError) ? originalError.originalMessage : String(_nullishCoalesce(_optionalChain([originalError, 'optionalAccess',
|
|
6633
|
+
const originalMessage = isExecaError(originalError) ? originalError.originalMessage : String(_nullishCoalesce(_optionalChain([originalError, 'optionalAccess', _26 => _26.message]), () => ( originalError)));
|
|
6521
6634
|
const escapedOriginalMessage = escapeLines(fixCwdError(originalMessage, cwd));
|
|
6522
6635
|
return escapedOriginalMessage === "" ? void 0 : escapedOriginalMessage;
|
|
6523
6636
|
};
|
|
@@ -6533,7 +6646,7 @@ var serializeMessageItem = (messageItem) => {
|
|
|
6533
6646
|
return "";
|
|
6534
6647
|
};
|
|
6535
6648
|
|
|
6536
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
6649
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/return/result.js
|
|
6537
6650
|
var makeSuccessResult = ({
|
|
6538
6651
|
command,
|
|
6539
6652
|
escapedCommand,
|
|
@@ -6690,7 +6803,7 @@ var getErrorProperties = ({
|
|
|
6690
6803
|
exitCode,
|
|
6691
6804
|
signal,
|
|
6692
6805
|
signalDescription,
|
|
6693
|
-
code: _optionalChain([error, 'access',
|
|
6806
|
+
code: _optionalChain([error, 'access', _27 => _27.cause, 'optionalAccess', _28 => _28.code]),
|
|
6694
6807
|
stdout: stdio[1],
|
|
6695
6808
|
stderr: stdio[2],
|
|
6696
6809
|
all,
|
|
@@ -6706,10 +6819,10 @@ var normalizeExitPayload = (rawExitCode, rawSignal) => {
|
|
|
6706
6819
|
return { exitCode, signal, signalDescription };
|
|
6707
6820
|
};
|
|
6708
6821
|
|
|
6709
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
6822
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/return/reject.js
|
|
6710
6823
|
init_cjs_shims();
|
|
6711
6824
|
|
|
6712
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
6825
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/verbose/complete.js
|
|
6713
6826
|
init_cjs_shims();
|
|
6714
6827
|
|
|
6715
6828
|
// ../../node_modules/.pnpm/pretty-ms@9.0.0/node_modules/pretty-ms/index.js
|
|
@@ -6842,7 +6955,7 @@ function prettyMilliseconds(milliseconds, options) {
|
|
|
6842
6955
|
return result.join(separator);
|
|
6843
6956
|
}
|
|
6844
6957
|
|
|
6845
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
6958
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/verbose/error.js
|
|
6846
6959
|
init_cjs_shims();
|
|
6847
6960
|
var logError = (result, verboseInfo) => {
|
|
6848
6961
|
if (result.failed) {
|
|
@@ -6855,7 +6968,7 @@ var logError = (result, verboseInfo) => {
|
|
|
6855
6968
|
}
|
|
6856
6969
|
};
|
|
6857
6970
|
|
|
6858
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
6971
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/verbose/complete.js
|
|
6859
6972
|
var logResult = (result, verboseInfo) => {
|
|
6860
6973
|
if (!isVerbose(verboseInfo)) {
|
|
6861
6974
|
return;
|
|
@@ -6873,7 +6986,7 @@ var logDuration = (result, verboseInfo) => {
|
|
|
6873
6986
|
});
|
|
6874
6987
|
};
|
|
6875
6988
|
|
|
6876
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
6989
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/return/reject.js
|
|
6877
6990
|
var handleResult = (result, verboseInfo, { reject }) => {
|
|
6878
6991
|
logResult(result, verboseInfo);
|
|
6879
6992
|
if (result.failed && reject) {
|
|
@@ -6882,17 +6995,17 @@ var handleResult = (result, verboseInfo, { reject }) => {
|
|
|
6882
6995
|
return result;
|
|
6883
6996
|
};
|
|
6884
6997
|
|
|
6885
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
6998
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/stdio/handle-sync.js
|
|
6886
6999
|
init_cjs_shims();
|
|
6887
7000
|
|
|
6888
7001
|
|
|
6889
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
7002
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/stdio/handle.js
|
|
6890
7003
|
init_cjs_shims();
|
|
6891
7004
|
|
|
6892
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
7005
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/transform/normalize.js
|
|
6893
7006
|
init_cjs_shims();
|
|
6894
7007
|
|
|
6895
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
7008
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/stdio/type.js
|
|
6896
7009
|
init_cjs_shims();
|
|
6897
7010
|
var getStdioItemType = (value, optionName) => {
|
|
6898
7011
|
if (isAsyncGenerator(value)) {
|
|
@@ -6992,7 +7105,7 @@ var KNOWN_STDIO_STRINGS = /* @__PURE__ */ new Set(["ipc", "ignore", "inherit", "
|
|
|
6992
7105
|
var isReadableStream2 = (value) => Object.prototype.toString.call(value) === "[object ReadableStream]";
|
|
6993
7106
|
var isWritableStream2 = (value) => Object.prototype.toString.call(value) === "[object WritableStream]";
|
|
6994
7107
|
var isWebStream = (value) => isReadableStream2(value) || isWritableStream2(value);
|
|
6995
|
-
var isTransformStream = (value) => isReadableStream2(_optionalChain([value, 'optionalAccess',
|
|
7108
|
+
var isTransformStream = (value) => isReadableStream2(_optionalChain([value, 'optionalAccess', _29 => _29.readable])) && isWritableStream2(_optionalChain([value, 'optionalAccess', _30 => _30.writable]));
|
|
6996
7109
|
var isAsyncIterableObject = (value) => isObject(value) && typeof value[Symbol.asyncIterator] === "function";
|
|
6997
7110
|
var isIterableObject = (value) => isObject(value) && typeof value[Symbol.iterator] === "function";
|
|
6998
7111
|
var isObject = (value) => typeof value === "object" && value !== null;
|
|
@@ -7018,7 +7131,7 @@ var TYPE_TO_MESSAGE = {
|
|
|
7018
7131
|
uint8Array: "a Uint8Array"
|
|
7019
7132
|
};
|
|
7020
7133
|
|
|
7021
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
7134
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/transform/object-mode.js
|
|
7022
7135
|
init_cjs_shims();
|
|
7023
7136
|
var getTransformObjectModes = (objectMode, index, newTransforms, direction) => direction === "output" ? getOutputObjectModes(objectMode, index, newTransforms) : getInputObjectModes(objectMode, index, newTransforms);
|
|
7024
7137
|
var getOutputObjectModes = (objectMode, index, newTransforms) => {
|
|
@@ -7039,7 +7152,7 @@ var getFdObjectMode = (stdioItems, direction) => {
|
|
|
7039
7152
|
return direction === "input" ? lastTransform.value.writableObjectMode : lastTransform.value.readableObjectMode;
|
|
7040
7153
|
};
|
|
7041
7154
|
|
|
7042
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
7155
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/transform/normalize.js
|
|
7043
7156
|
var normalizeTransforms = (stdioItems, optionName, direction, options) => [
|
|
7044
7157
|
...stdioItems.filter(({ type }) => !TRANSFORM_TYPES.has(type)),
|
|
7045
7158
|
...getTransforms(stdioItems, optionName, direction, options)
|
|
@@ -7133,7 +7246,7 @@ var normalizeGenerator = ({ stdioItem, stdioItem: { value }, index, newTransform
|
|
|
7133
7246
|
};
|
|
7134
7247
|
var sortTransforms = (newTransforms, direction) => direction === "input" ? newTransforms.reverse() : newTransforms;
|
|
7135
7248
|
|
|
7136
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
7249
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/stdio/direction.js
|
|
7137
7250
|
init_cjs_shims();
|
|
7138
7251
|
|
|
7139
7252
|
var getStreamDirection = (stdioItems, fdNumber, optionName) => {
|
|
@@ -7184,14 +7297,14 @@ var getStandardStreamDirection = (value) => {
|
|
|
7184
7297
|
};
|
|
7185
7298
|
var DEFAULT_DIRECTION = "output";
|
|
7186
7299
|
|
|
7187
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
7300
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/stdio/stdio-option.js
|
|
7188
7301
|
init_cjs_shims();
|
|
7189
7302
|
|
|
7190
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
7303
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/ipc/array.js
|
|
7191
7304
|
init_cjs_shims();
|
|
7192
7305
|
var normalizeIpcStdioArray = (stdioArray, ipc) => ipc && !stdioArray.includes("ipc") ? [...stdioArray, "ipc"] : stdioArray;
|
|
7193
7306
|
|
|
7194
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
7307
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/stdio/stdio-option.js
|
|
7195
7308
|
var normalizeStdioOption = ({ stdio, ipc, buffer, ...options }, verboseInfo, isSync) => {
|
|
7196
7309
|
const stdioArray = getStdioArray(stdio, options).map((stdioOption, fdNumber) => addDefaultValue2(stdioOption, fdNumber));
|
|
7197
7310
|
return isSync ? normalizeStdioSync(stdioArray, buffer, verboseInfo) : normalizeIpcStdioArray(stdioArray, ipc);
|
|
@@ -7225,7 +7338,7 @@ var addDefaultValue2 = (stdioOption, fdNumber) => {
|
|
|
7225
7338
|
var normalizeStdioSync = (stdioArray, buffer, verboseInfo) => stdioArray.map((stdioOption, fdNumber) => !buffer[fdNumber] && fdNumber !== 0 && !isFullVerbose(verboseInfo, fdNumber) && isOutputPipeOnly(stdioOption) ? "ignore" : stdioOption);
|
|
7226
7339
|
var isOutputPipeOnly = (stdioOption) => stdioOption === "pipe" || Array.isArray(stdioOption) && stdioOption.every((item) => item === "pipe");
|
|
7227
7340
|
|
|
7228
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
7341
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/stdio/native.js
|
|
7229
7342
|
init_cjs_shims();
|
|
7230
7343
|
|
|
7231
7344
|
|
|
@@ -7295,7 +7408,7 @@ var getStandardStream = (fdNumber, value, optionName) => {
|
|
|
7295
7408
|
return standardStream;
|
|
7296
7409
|
};
|
|
7297
7410
|
|
|
7298
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
7411
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/stdio/input-option.js
|
|
7299
7412
|
init_cjs_shims();
|
|
7300
7413
|
var handleInputOptions = ({ input, inputFile }, fdNumber) => fdNumber === 0 ? [
|
|
7301
7414
|
...handleInputOption(input),
|
|
@@ -7332,7 +7445,7 @@ var getInputFileType = (inputFile) => {
|
|
|
7332
7445
|
throw new Error("The `inputFile` option must be a file path string or a file URL.");
|
|
7333
7446
|
};
|
|
7334
7447
|
|
|
7335
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
7448
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/stdio/duplicate.js
|
|
7336
7449
|
init_cjs_shims();
|
|
7337
7450
|
var filterDuplicates = (stdioItems) => stdioItems.filter((stdioItemOne, indexOne) => stdioItems.every((stdioItemTwo, indexTwo) => stdioItemOne.value !== stdioItemTwo.value || indexOne >= indexTwo || stdioItemOne.type === "generator" || stdioItemOne.type === "asyncGenerator"));
|
|
7338
7451
|
var getDuplicateStream = ({ stdioItem: { type, value, optionName }, direction, fileDescriptors, isSync }) => {
|
|
@@ -7408,7 +7521,7 @@ var throwOnDuplicateStream = (stdioItem, optionName, type) => {
|
|
|
7408
7521
|
}
|
|
7409
7522
|
};
|
|
7410
7523
|
|
|
7411
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
7524
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/stdio/handle.js
|
|
7412
7525
|
var handleStdio = (addProperties3, options, verboseInfo, isSync) => {
|
|
7413
7526
|
const stdio = normalizeStdioOption(options, verboseInfo, isSync);
|
|
7414
7527
|
const initialFileDescriptors = stdio.map((stdioOption, fdNumber) => getFileDescriptor({
|
|
@@ -7568,7 +7681,7 @@ var forwardStdio = (stdioItems) => {
|
|
|
7568
7681
|
return type === "native" ? value : "pipe";
|
|
7569
7682
|
};
|
|
7570
7683
|
|
|
7571
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
7684
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/stdio/handle-sync.js
|
|
7572
7685
|
var handleStdioSync = (options, verboseInfo) => handleStdio(addPropertiesSync, options, verboseInfo, true);
|
|
7573
7686
|
var forbiddenIfSync = ({ type, optionName }) => {
|
|
7574
7687
|
throwInvalidSyncValue(optionName, TYPE_TO_MESSAGE[type]);
|
|
@@ -7614,19 +7727,19 @@ var addPropertiesSync = {
|
|
|
7614
7727
|
}
|
|
7615
7728
|
};
|
|
7616
7729
|
|
|
7617
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
7730
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/io/strip-newline.js
|
|
7618
7731
|
init_cjs_shims();
|
|
7619
7732
|
var stripNewline = (value, { stripFinalNewline: stripFinalNewline2 }, fdNumber) => getStripFinalNewline(stripFinalNewline2, fdNumber) && value !== void 0 && !Array.isArray(value) ? stripFinalNewline(value) : value;
|
|
7620
7733
|
var getStripFinalNewline = (stripFinalNewline2, fdNumber) => fdNumber === "all" ? stripFinalNewline2[1] || stripFinalNewline2[2] : stripFinalNewline2[fdNumber];
|
|
7621
7734
|
|
|
7622
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
7735
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/io/input-sync.js
|
|
7623
7736
|
init_cjs_shims();
|
|
7624
7737
|
|
|
7625
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
7738
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/transform/generator.js
|
|
7626
7739
|
init_cjs_shims();
|
|
7627
7740
|
var _stream2 = require('stream');
|
|
7628
7741
|
|
|
7629
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
7742
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/transform/split.js
|
|
7630
7743
|
init_cjs_shims();
|
|
7631
7744
|
var getSplitLinesGenerator = (binary, preserveNewlines, skipped, state) => binary || skipped ? void 0 : initializeSplitLines(preserveNewlines, state);
|
|
7632
7745
|
var splitLinesSync = (chunk, preserveNewlines, objectMode) => objectMode ? chunk.flatMap((item) => splitLinesItemSync(item, preserveNewlines)) : splitLinesItemSync(chunk, preserveNewlines);
|
|
@@ -7707,7 +7820,7 @@ var linesUint8ArrayInfo = {
|
|
|
7707
7820
|
concatBytes: concatUint8Array
|
|
7708
7821
|
};
|
|
7709
7822
|
|
|
7710
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
7823
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/transform/validate.js
|
|
7711
7824
|
init_cjs_shims();
|
|
7712
7825
|
var _buffer = require('buffer');
|
|
7713
7826
|
var getValidateTransformInput = (writableObjectMode, optionName) => writableObjectMode ? void 0 : validateStringTransformInput.bind(void 0, optionName);
|
|
@@ -7737,7 +7850,7 @@ Instead, \`yield\` should either be called with a value, or not be called at all
|
|
|
7737
7850
|
}
|
|
7738
7851
|
};
|
|
7739
7852
|
|
|
7740
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
7853
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/transform/encoding-transform.js
|
|
7741
7854
|
init_cjs_shims();
|
|
7742
7855
|
|
|
7743
7856
|
|
|
@@ -7773,7 +7886,7 @@ var encodingStringFinal = function* (stringDecoder) {
|
|
|
7773
7886
|
}
|
|
7774
7887
|
};
|
|
7775
7888
|
|
|
7776
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
7889
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/transform/run-async.js
|
|
7777
7890
|
init_cjs_shims();
|
|
7778
7891
|
|
|
7779
7892
|
var pushChunks = _util.callbackify.call(void 0, async (getChunks, state, getChunksArguments, transformStream) => {
|
|
@@ -7822,7 +7935,7 @@ var identityGenerator = function* (chunk) {
|
|
|
7822
7935
|
yield chunk;
|
|
7823
7936
|
};
|
|
7824
7937
|
|
|
7825
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
7938
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/transform/run-sync.js
|
|
7826
7939
|
init_cjs_shims();
|
|
7827
7940
|
var pushChunksSync = (getChunksSync, getChunksArguments, transformStream, done) => {
|
|
7828
7941
|
try {
|
|
@@ -7865,7 +7978,7 @@ var identityGenerator2 = function* (chunk) {
|
|
|
7865
7978
|
yield chunk;
|
|
7866
7979
|
};
|
|
7867
7980
|
|
|
7868
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
7981
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/transform/generator.js
|
|
7869
7982
|
var generatorToStream = ({
|
|
7870
7983
|
value,
|
|
7871
7984
|
value: { transform, final, writableObjectMode, readableObjectMode },
|
|
@@ -7919,7 +8032,7 @@ var addInternalGenerators = ({ transform, final, binary, writableObjectMode, rea
|
|
|
7919
8032
|
].filter(Boolean);
|
|
7920
8033
|
};
|
|
7921
8034
|
|
|
7922
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
8035
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/io/input-sync.js
|
|
7923
8036
|
var addInputOptionsSync = (fileDescriptors, options) => {
|
|
7924
8037
|
for (const fdNumber of getInputFdNumbers(fileDescriptors)) {
|
|
7925
8038
|
addInputOptionSync(fileDescriptors, fdNumber, options);
|
|
@@ -7952,11 +8065,11 @@ var validateSerializable = (newContents) => {
|
|
|
7952
8065
|
}
|
|
7953
8066
|
};
|
|
7954
8067
|
|
|
7955
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
8068
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/io/output-sync.js
|
|
7956
8069
|
init_cjs_shims();
|
|
7957
8070
|
|
|
7958
8071
|
|
|
7959
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
8072
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/verbose/output.js
|
|
7960
8073
|
init_cjs_shims();
|
|
7961
8074
|
var shouldLogOutput = ({ stdioItems, encoding, verboseInfo, fdNumber }) => fdNumber !== "all" && isFullVerbose(verboseInfo, fdNumber) && !BINARY_ENCODINGS.has(encoding) && fdUsesVerbose(fdNumber) && (stdioItems.some(({ type, value }) => type === "native" && PIPED_STDIO_VALUES.has(value)) || stdioItems.every(({ type }) => TRANSFORM_TYPES.has(type)));
|
|
7962
8075
|
var fdUsesVerbose = (fdNumber) => fdNumber === 1 || fdNumber === 2;
|
|
@@ -7984,7 +8097,7 @@ var logLine = (line, fdNumber, verboseInfo) => {
|
|
|
7984
8097
|
});
|
|
7985
8098
|
};
|
|
7986
8099
|
|
|
7987
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
8100
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/io/output-sync.js
|
|
7988
8101
|
var transformOutputSync = ({ fileDescriptors, syncResult: { output }, options, isMaxBuffer, verboseInfo }) => {
|
|
7989
8102
|
if (output === null) {
|
|
7990
8103
|
return { output: Array.from({ length: 3 }) };
|
|
@@ -8076,18 +8189,18 @@ var logOutputSync = ({ serializedResult, fdNumber, state, verboseInfo, encoding,
|
|
|
8076
8189
|
}
|
|
8077
8190
|
};
|
|
8078
8191
|
var writeToFiles = (serializedResult, stdioItems, outputFiles) => {
|
|
8079
|
-
for (const { path:
|
|
8080
|
-
const pathString = typeof
|
|
8192
|
+
for (const { path: path6 } of stdioItems.filter(({ type }) => FILE_TYPES.has(type))) {
|
|
8193
|
+
const pathString = typeof path6 === "string" ? path6 : path6.toString();
|
|
8081
8194
|
if (outputFiles.has(pathString)) {
|
|
8082
|
-
_fs.appendFileSync.call(void 0,
|
|
8195
|
+
_fs.appendFileSync.call(void 0, path6, serializedResult);
|
|
8083
8196
|
} else {
|
|
8084
8197
|
outputFiles.add(pathString);
|
|
8085
|
-
_fs.writeFileSync.call(void 0,
|
|
8198
|
+
_fs.writeFileSync.call(void 0, path6, serializedResult);
|
|
8086
8199
|
}
|
|
8087
8200
|
}
|
|
8088
8201
|
};
|
|
8089
8202
|
|
|
8090
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
8203
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/resolve/all-sync.js
|
|
8091
8204
|
init_cjs_shims();
|
|
8092
8205
|
var getAllSync = ([, stdout, stderr], options) => {
|
|
8093
8206
|
if (!options.all) {
|
|
@@ -8111,10 +8224,10 @@ var getAllSync = ([, stdout, stderr], options) => {
|
|
|
8111
8224
|
return `${stdout}${stderr}`;
|
|
8112
8225
|
};
|
|
8113
8226
|
|
|
8114
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
8227
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/resolve/exit-sync.js
|
|
8115
8228
|
init_cjs_shims();
|
|
8116
8229
|
|
|
8117
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
8230
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/resolve/exit-async.js
|
|
8118
8231
|
init_cjs_shims();
|
|
8119
8232
|
|
|
8120
8233
|
var waitForExit = async (subprocess, context) => {
|
|
@@ -8135,7 +8248,7 @@ var waitForExitOrError = async (subprocess) => {
|
|
|
8135
8248
|
var waitForSubprocessExit = async (subprocess) => {
|
|
8136
8249
|
try {
|
|
8137
8250
|
return await _events.once.call(void 0, subprocess, "exit");
|
|
8138
|
-
} catch (
|
|
8251
|
+
} catch (e4) {
|
|
8139
8252
|
return waitForSubprocessExit(subprocess);
|
|
8140
8253
|
}
|
|
8141
8254
|
};
|
|
@@ -8149,10 +8262,10 @@ var waitForSuccessfulExit = async (exitPromise) => {
|
|
|
8149
8262
|
var isSubprocessErrorExit = (exitCode, signal) => exitCode === void 0 && signal === void 0;
|
|
8150
8263
|
var isFailedExit = (exitCode, signal) => exitCode !== 0 || signal !== null;
|
|
8151
8264
|
|
|
8152
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
8265
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/resolve/exit-sync.js
|
|
8153
8266
|
var getExitResultSync = ({ error, status: exitCode, signal, output }, { maxBuffer }) => {
|
|
8154
8267
|
const resultError = getResultError(error, exitCode, signal);
|
|
8155
|
-
const timedOut = _optionalChain([resultError, 'optionalAccess',
|
|
8268
|
+
const timedOut = _optionalChain([resultError, 'optionalAccess', _31 => _31.code]) === "ETIMEDOUT";
|
|
8156
8269
|
const isMaxBuffer = isMaxBufferSync(resultError, output, maxBuffer);
|
|
8157
8270
|
return {
|
|
8158
8271
|
resultError,
|
|
@@ -8169,7 +8282,7 @@ var getResultError = (error, exitCode, signal) => {
|
|
|
8169
8282
|
return isFailedExit(exitCode, signal) ? new DiscardedError() : void 0;
|
|
8170
8283
|
};
|
|
8171
8284
|
|
|
8172
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
8285
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/methods/main-sync.js
|
|
8173
8286
|
var execaCoreSync = (rawFile, rawArguments, rawOptions) => {
|
|
8174
8287
|
const { file, commandArguments, command, escapedCommand, startTime, verboseInfo, options, fileDescriptors } = handleSyncArguments(rawFile, rawArguments, rawOptions);
|
|
8175
8288
|
const result = spawnSubprocessSync({
|
|
@@ -8301,16 +8414,16 @@ var getSyncResult = ({ error, exitCode, signal, timedOut, isMaxBuffer, stdio, al
|
|
|
8301
8414
|
isSync: true
|
|
8302
8415
|
});
|
|
8303
8416
|
|
|
8304
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
8417
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/methods/main-async.js
|
|
8305
8418
|
init_cjs_shims();
|
|
8306
8419
|
|
|
8307
8420
|
|
|
8308
8421
|
|
|
8309
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
8422
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/ipc/methods.js
|
|
8310
8423
|
init_cjs_shims();
|
|
8311
8424
|
|
|
8312
8425
|
|
|
8313
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
8426
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/ipc/get-one.js
|
|
8314
8427
|
init_cjs_shims();
|
|
8315
8428
|
|
|
8316
8429
|
var getOneMessage = ({ anyProcess, channel, isSubprocess, ipc }, { reference = true, filter } = {}) => {
|
|
@@ -8366,7 +8479,7 @@ var throwOnStrictError = async (ipcEmitter, isSubprocess, { signal }) => {
|
|
|
8366
8479
|
throw getStrictResponseError(error, isSubprocess);
|
|
8367
8480
|
};
|
|
8368
8481
|
|
|
8369
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
8482
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/ipc/get-each.js
|
|
8370
8483
|
init_cjs_shims();
|
|
8371
8484
|
|
|
8372
8485
|
var getEachMessage = ({ anyProcess, channel, isSubprocess, ipc }, { reference = true } = {}) => loopOnMessages({
|
|
@@ -8410,7 +8523,7 @@ var stopOnDisconnect = async (anyProcess, ipcEmitter, controller) => {
|
|
|
8410
8523
|
try {
|
|
8411
8524
|
await _events.once.call(void 0, ipcEmitter, "disconnect", { signal: controller.signal });
|
|
8412
8525
|
controller.abort();
|
|
8413
|
-
} catch (
|
|
8526
|
+
} catch (e5) {
|
|
8414
8527
|
}
|
|
8415
8528
|
};
|
|
8416
8529
|
var abortOnStrictError = async ({ ipcEmitter, isSubprocess, controller, state }) => {
|
|
@@ -8418,7 +8531,7 @@ var abortOnStrictError = async ({ ipcEmitter, isSubprocess, controller, state })
|
|
|
8418
8531
|
const [error] = await _events.once.call(void 0, ipcEmitter, "strict:error", { signal: controller.signal });
|
|
8419
8532
|
state.error = getStrictResponseError(error, isSubprocess);
|
|
8420
8533
|
controller.abort();
|
|
8421
|
-
} catch (
|
|
8534
|
+
} catch (e6) {
|
|
8422
8535
|
}
|
|
8423
8536
|
};
|
|
8424
8537
|
var iterateOnMessages = async function* ({ anyProcess, channel, ipcEmitter, isSubprocess, shouldAwait, controller, state, reference }) {
|
|
@@ -8427,7 +8540,7 @@ var iterateOnMessages = async function* ({ anyProcess, channel, ipcEmitter, isSu
|
|
|
8427
8540
|
throwIfStrictError(state);
|
|
8428
8541
|
yield message;
|
|
8429
8542
|
}
|
|
8430
|
-
} catch (
|
|
8543
|
+
} catch (e7) {
|
|
8431
8544
|
throwIfStrictError(state);
|
|
8432
8545
|
} finally {
|
|
8433
8546
|
controller.abort();
|
|
@@ -8446,7 +8559,7 @@ var throwIfStrictError = ({ error }) => {
|
|
|
8446
8559
|
}
|
|
8447
8560
|
};
|
|
8448
8561
|
|
|
8449
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
8562
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/ipc/methods.js
|
|
8450
8563
|
var addIpcMethods = (subprocess, { ipc }) => {
|
|
8451
8564
|
Object.assign(subprocess, getIpcMethods(subprocess, false, ipc));
|
|
8452
8565
|
};
|
|
@@ -8485,7 +8598,7 @@ var getIpcMethods = (anyProcess, isSubprocess, ipc) => ({
|
|
|
8485
8598
|
})
|
|
8486
8599
|
});
|
|
8487
8600
|
|
|
8488
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
8601
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/return/early-error.js
|
|
8489
8602
|
init_cjs_shims();
|
|
8490
8603
|
|
|
8491
8604
|
|
|
@@ -8540,7 +8653,7 @@ var duplex = () => new (0, _stream2.Duplex)({ read() {
|
|
|
8540
8653
|
} });
|
|
8541
8654
|
var handleDummyPromise = async (error, verboseInfo, options) => handleResult(error, verboseInfo, options);
|
|
8542
8655
|
|
|
8543
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
8656
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/stdio/handle-async.js
|
|
8544
8657
|
init_cjs_shims();
|
|
8545
8658
|
|
|
8546
8659
|
|
|
@@ -8586,7 +8699,7 @@ var addPropertiesAsync = {
|
|
|
8586
8699
|
}
|
|
8587
8700
|
};
|
|
8588
8701
|
|
|
8589
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
8702
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/io/output-async.js
|
|
8590
8703
|
init_cjs_shims();
|
|
8591
8704
|
|
|
8592
8705
|
// ../../node_modules/.pnpm/@sindresorhus+merge-streams@4.0.0/node_modules/@sindresorhus/merge-streams/index.js
|
|
@@ -8700,7 +8813,7 @@ var onInputStreamsUnpipe = async (passThroughStream, streams, unpipeEvent, { sig
|
|
|
8700
8813
|
}
|
|
8701
8814
|
};
|
|
8702
8815
|
var validateStream = (stream) => {
|
|
8703
|
-
if (typeof _optionalChain([stream, 'optionalAccess',
|
|
8816
|
+
if (typeof _optionalChain([stream, 'optionalAccess', _32 => _32.pipe]) !== "function") {
|
|
8704
8817
|
throw new TypeError(`Expected a readable stream, got: \`${typeof stream}\`.`);
|
|
8705
8818
|
}
|
|
8706
8819
|
};
|
|
@@ -8794,390 +8907,123 @@ var errorOrAbortStream = (stream, error) => {
|
|
|
8794
8907
|
errorStream(stream, error);
|
|
8795
8908
|
}
|
|
8796
8909
|
};
|
|
8797
|
-
var isAbortError = (error) => _optionalChain([error, 'optionalAccess',
|
|
8910
|
+
var isAbortError = (error) => _optionalChain([error, 'optionalAccess', _33 => _33.code]) === "ERR_STREAM_PREMATURE_CLOSE";
|
|
8798
8911
|
var abortStream = (stream) => {
|
|
8799
8912
|
if (stream.readable || stream.writable) {
|
|
8800
8913
|
stream.destroy();
|
|
8801
8914
|
}
|
|
8802
8915
|
};
|
|
8803
8916
|
var errorStream = (stream, error) => {
|
|
8804
|
-
if (!stream.destroyed) {
|
|
8805
|
-
stream.once("error", noop2);
|
|
8806
|
-
stream.destroy(error);
|
|
8807
|
-
}
|
|
8808
|
-
};
|
|
8809
|
-
var noop2 = () => {
|
|
8810
|
-
};
|
|
8811
|
-
var updateMaxListeners = (passThroughStream, increment2) => {
|
|
8812
|
-
const maxListeners = passThroughStream.getMaxListeners();
|
|
8813
|
-
if (maxListeners !== 0 && maxListeners !== Number.POSITIVE_INFINITY) {
|
|
8814
|
-
passThroughStream.setMaxListeners(maxListeners + increment2);
|
|
8815
|
-
}
|
|
8816
|
-
};
|
|
8817
|
-
var PASSTHROUGH_LISTENERS_COUNT = 2;
|
|
8818
|
-
var PASSTHROUGH_LISTENERS_PER_STREAM = 1;
|
|
8819
|
-
|
|
8820
|
-
// ../../node_modules/.pnpm/execa@9.3.0/node_modules/execa/lib/io/pipeline.js
|
|
8821
|
-
init_cjs_shims();
|
|
8822
|
-
|
|
8823
|
-
var pipeStreams = (source, destination) => {
|
|
8824
|
-
source.pipe(destination);
|
|
8825
|
-
onSourceFinish(source, destination);
|
|
8826
|
-
onDestinationFinish(source, destination);
|
|
8827
|
-
};
|
|
8828
|
-
var onSourceFinish = async (source, destination) => {
|
|
8829
|
-
if (isStandardStream(source) || isStandardStream(destination)) {
|
|
8830
|
-
return;
|
|
8831
|
-
}
|
|
8832
|
-
try {
|
|
8833
|
-
await _promises3.finished.call(void 0, source, { cleanup: true, readable: true, writable: false });
|
|
8834
|
-
} catch (e7) {
|
|
8835
|
-
}
|
|
8836
|
-
endDestinationStream(destination);
|
|
8837
|
-
};
|
|
8838
|
-
var endDestinationStream = (destination) => {
|
|
8839
|
-
if (destination.writable) {
|
|
8840
|
-
destination.end();
|
|
8841
|
-
}
|
|
8842
|
-
};
|
|
8843
|
-
var onDestinationFinish = async (source, destination) => {
|
|
8844
|
-
if (isStandardStream(source) || isStandardStream(destination)) {
|
|
8845
|
-
return;
|
|
8846
|
-
}
|
|
8847
|
-
try {
|
|
8848
|
-
await _promises3.finished.call(void 0, destination, { cleanup: true, readable: false, writable: true });
|
|
8849
|
-
} catch (e8) {
|
|
8850
|
-
}
|
|
8851
|
-
abortSourceStream(source);
|
|
8852
|
-
};
|
|
8853
|
-
var abortSourceStream = (source) => {
|
|
8854
|
-
if (source.readable) {
|
|
8855
|
-
source.destroy();
|
|
8856
|
-
}
|
|
8857
|
-
};
|
|
8858
|
-
|
|
8859
|
-
// ../../node_modules/.pnpm/execa@9.3.0/node_modules/execa/lib/io/output-async.js
|
|
8860
|
-
var pipeOutputAsync = (subprocess, fileDescriptors, controller) => {
|
|
8861
|
-
const pipeGroups = /* @__PURE__ */ new Map();
|
|
8862
|
-
for (const [fdNumber, { stdioItems, direction }] of Object.entries(fileDescriptors)) {
|
|
8863
|
-
for (const { stream } of stdioItems.filter(({ type }) => TRANSFORM_TYPES.has(type))) {
|
|
8864
|
-
pipeTransform(subprocess, stream, direction, fdNumber);
|
|
8865
|
-
}
|
|
8866
|
-
for (const { stream } of stdioItems.filter(({ type }) => !TRANSFORM_TYPES.has(type))) {
|
|
8867
|
-
pipeStdioItem({
|
|
8868
|
-
subprocess,
|
|
8869
|
-
stream,
|
|
8870
|
-
direction,
|
|
8871
|
-
fdNumber,
|
|
8872
|
-
pipeGroups,
|
|
8873
|
-
controller
|
|
8874
|
-
});
|
|
8875
|
-
}
|
|
8876
|
-
}
|
|
8877
|
-
for (const [outputStream, inputStreams] of pipeGroups.entries()) {
|
|
8878
|
-
const inputStream = inputStreams.length === 1 ? inputStreams[0] : mergeStreams(inputStreams);
|
|
8879
|
-
pipeStreams(inputStream, outputStream);
|
|
8880
|
-
}
|
|
8881
|
-
};
|
|
8882
|
-
var pipeTransform = (subprocess, stream, direction, fdNumber) => {
|
|
8883
|
-
if (direction === "output") {
|
|
8884
|
-
pipeStreams(subprocess.stdio[fdNumber], stream);
|
|
8885
|
-
} else {
|
|
8886
|
-
pipeStreams(stream, subprocess.stdio[fdNumber]);
|
|
8887
|
-
}
|
|
8888
|
-
const streamProperty = SUBPROCESS_STREAM_PROPERTIES[fdNumber];
|
|
8889
|
-
if (streamProperty !== void 0) {
|
|
8890
|
-
subprocess[streamProperty] = stream;
|
|
8891
|
-
}
|
|
8892
|
-
subprocess.stdio[fdNumber] = stream;
|
|
8893
|
-
};
|
|
8894
|
-
var SUBPROCESS_STREAM_PROPERTIES = ["stdin", "stdout", "stderr"];
|
|
8895
|
-
var pipeStdioItem = ({ subprocess, stream, direction, fdNumber, pipeGroups, controller }) => {
|
|
8896
|
-
if (stream === void 0) {
|
|
8897
|
-
return;
|
|
8898
|
-
}
|
|
8899
|
-
setStandardStreamMaxListeners(stream, controller);
|
|
8900
|
-
const [inputStream, outputStream] = direction === "output" ? [stream, subprocess.stdio[fdNumber]] : [subprocess.stdio[fdNumber], stream];
|
|
8901
|
-
const outputStreams = _nullishCoalesce(pipeGroups.get(inputStream), () => ( []));
|
|
8902
|
-
pipeGroups.set(inputStream, [...outputStreams, outputStream]);
|
|
8903
|
-
};
|
|
8904
|
-
var setStandardStreamMaxListeners = (stream, { signal }) => {
|
|
8905
|
-
if (isStandardStream(stream)) {
|
|
8906
|
-
incrementMaxListeners(stream, MAX_LISTENERS_INCREMENT, signal);
|
|
8907
|
-
}
|
|
8908
|
-
};
|
|
8909
|
-
var MAX_LISTENERS_INCREMENT = 2;
|
|
8910
|
-
|
|
8911
|
-
// ../../node_modules/.pnpm/execa@9.3.0/node_modules/execa/lib/terminate/cleanup.js
|
|
8912
|
-
init_cjs_shims();
|
|
8913
|
-
|
|
8914
|
-
|
|
8915
|
-
// ../../node_modules/.pnpm/signal-exit@4.1.0/node_modules/signal-exit/dist/mjs/index.js
|
|
8916
|
-
init_cjs_shims();
|
|
8917
|
-
|
|
8918
|
-
// ../../node_modules/.pnpm/signal-exit@4.1.0/node_modules/signal-exit/dist/mjs/signals.js
|
|
8919
|
-
init_cjs_shims();
|
|
8920
|
-
var signals = [];
|
|
8921
|
-
signals.push("SIGHUP", "SIGINT", "SIGTERM");
|
|
8922
|
-
if (process.platform !== "win32") {
|
|
8923
|
-
signals.push(
|
|
8924
|
-
"SIGALRM",
|
|
8925
|
-
"SIGABRT",
|
|
8926
|
-
"SIGVTALRM",
|
|
8927
|
-
"SIGXCPU",
|
|
8928
|
-
"SIGXFSZ",
|
|
8929
|
-
"SIGUSR2",
|
|
8930
|
-
"SIGTRAP",
|
|
8931
|
-
"SIGSYS",
|
|
8932
|
-
"SIGQUIT",
|
|
8933
|
-
"SIGIOT"
|
|
8934
|
-
// should detect profiler and enable/disable accordingly.
|
|
8935
|
-
// see #21
|
|
8936
|
-
// 'SIGPROF'
|
|
8937
|
-
);
|
|
8938
|
-
}
|
|
8939
|
-
if (process.platform === "linux") {
|
|
8940
|
-
signals.push("SIGIO", "SIGPOLL", "SIGPWR", "SIGSTKFLT");
|
|
8941
|
-
}
|
|
8942
|
-
|
|
8943
|
-
// ../../node_modules/.pnpm/signal-exit@4.1.0/node_modules/signal-exit/dist/mjs/index.js
|
|
8944
|
-
var processOk = (process16) => !!process16 && typeof process16 === "object" && typeof process16.removeListener === "function" && typeof process16.emit === "function" && typeof process16.reallyExit === "function" && typeof process16.listeners === "function" && typeof process16.kill === "function" && typeof process16.pid === "number" && typeof process16.on === "function";
|
|
8945
|
-
var kExitEmitter = Symbol.for("signal-exit emitter");
|
|
8946
|
-
var global2 = globalThis;
|
|
8947
|
-
var ObjectDefineProperty = Object.defineProperty.bind(Object);
|
|
8948
|
-
var Emitter = class {
|
|
8949
|
-
constructor() {
|
|
8950
|
-
__publicField(this, "emitted", {
|
|
8951
|
-
afterExit: false,
|
|
8952
|
-
exit: false
|
|
8953
|
-
});
|
|
8954
|
-
__publicField(this, "listeners", {
|
|
8955
|
-
afterExit: [],
|
|
8956
|
-
exit: []
|
|
8957
|
-
});
|
|
8958
|
-
__publicField(this, "count", 0);
|
|
8959
|
-
__publicField(this, "id", Math.random());
|
|
8960
|
-
if (global2[kExitEmitter]) {
|
|
8961
|
-
return global2[kExitEmitter];
|
|
8962
|
-
}
|
|
8963
|
-
ObjectDefineProperty(global2, kExitEmitter, {
|
|
8964
|
-
value: this,
|
|
8965
|
-
writable: false,
|
|
8966
|
-
enumerable: false,
|
|
8967
|
-
configurable: false
|
|
8968
|
-
});
|
|
8969
|
-
}
|
|
8970
|
-
on(ev, fn) {
|
|
8971
|
-
this.listeners[ev].push(fn);
|
|
8972
|
-
}
|
|
8973
|
-
removeListener(ev, fn) {
|
|
8974
|
-
const list = this.listeners[ev];
|
|
8975
|
-
const i2 = list.indexOf(fn);
|
|
8976
|
-
if (i2 === -1) {
|
|
8977
|
-
return;
|
|
8978
|
-
}
|
|
8979
|
-
if (i2 === 0 && list.length === 1) {
|
|
8980
|
-
list.length = 0;
|
|
8981
|
-
} else {
|
|
8982
|
-
list.splice(i2, 1);
|
|
8983
|
-
}
|
|
8984
|
-
}
|
|
8985
|
-
emit(ev, code, signal) {
|
|
8986
|
-
if (this.emitted[ev]) {
|
|
8987
|
-
return false;
|
|
8988
|
-
}
|
|
8989
|
-
this.emitted[ev] = true;
|
|
8990
|
-
let ret = false;
|
|
8991
|
-
for (const fn of this.listeners[ev]) {
|
|
8992
|
-
ret = fn(code, signal) === true || ret;
|
|
8993
|
-
}
|
|
8994
|
-
if (ev === "exit") {
|
|
8995
|
-
ret = this.emit("afterExit", code, signal) || ret;
|
|
8996
|
-
}
|
|
8997
|
-
return ret;
|
|
8917
|
+
if (!stream.destroyed) {
|
|
8918
|
+
stream.once("error", noop2);
|
|
8919
|
+
stream.destroy(error);
|
|
8998
8920
|
}
|
|
8999
8921
|
};
|
|
9000
|
-
var
|
|
8922
|
+
var noop2 = () => {
|
|
9001
8923
|
};
|
|
9002
|
-
var
|
|
9003
|
-
|
|
9004
|
-
|
|
9005
|
-
|
|
9006
|
-
|
|
9007
|
-
load() {
|
|
9008
|
-
return handler.load();
|
|
9009
|
-
},
|
|
9010
|
-
unload() {
|
|
9011
|
-
return handler.unload();
|
|
9012
|
-
}
|
|
9013
|
-
};
|
|
8924
|
+
var updateMaxListeners = (passThroughStream, increment2) => {
|
|
8925
|
+
const maxListeners = passThroughStream.getMaxListeners();
|
|
8926
|
+
if (maxListeners !== 0 && maxListeners !== Number.POSITIVE_INFINITY) {
|
|
8927
|
+
passThroughStream.setMaxListeners(maxListeners + increment2);
|
|
8928
|
+
}
|
|
9014
8929
|
};
|
|
9015
|
-
var
|
|
9016
|
-
|
|
9017
|
-
|
|
9018
|
-
|
|
8930
|
+
var PASSTHROUGH_LISTENERS_COUNT = 2;
|
|
8931
|
+
var PASSTHROUGH_LISTENERS_PER_STREAM = 1;
|
|
8932
|
+
|
|
8933
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/io/pipeline.js
|
|
8934
|
+
init_cjs_shims();
|
|
8935
|
+
|
|
8936
|
+
var pipeStreams = (source, destination) => {
|
|
8937
|
+
source.pipe(destination);
|
|
8938
|
+
onSourceFinish(source, destination);
|
|
8939
|
+
onDestinationFinish(source, destination);
|
|
8940
|
+
};
|
|
8941
|
+
var onSourceFinish = async (source, destination) => {
|
|
8942
|
+
if (isStandardStream(source) || isStandardStream(destination)) {
|
|
8943
|
+
return;
|
|
9019
8944
|
}
|
|
9020
|
-
|
|
8945
|
+
try {
|
|
8946
|
+
await _promises3.finished.call(void 0, source, { cleanup: true, readable: true, writable: false });
|
|
8947
|
+
} catch (e8) {
|
|
9021
8948
|
}
|
|
9022
|
-
|
|
8949
|
+
endDestinationStream(destination);
|
|
8950
|
+
};
|
|
8951
|
+
var endDestinationStream = (destination) => {
|
|
8952
|
+
if (destination.writable) {
|
|
8953
|
+
destination.end();
|
|
9023
8954
|
}
|
|
9024
8955
|
};
|
|
9025
|
-
var
|
|
9026
|
-
|
|
9027
|
-
|
|
9028
|
-
super();
|
|
9029
|
-
__privateAdd(this, _SignalExit_instances);
|
|
9030
|
-
// "SIGHUP" throws an `ENOSYS` error on Windows,
|
|
9031
|
-
// so use a supported signal instead
|
|
9032
|
-
/* c8 ignore start */
|
|
9033
|
-
__privateAdd(this, _hupSig, process15.platform === "win32" ? "SIGINT" : "SIGHUP");
|
|
9034
|
-
/* c8 ignore stop */
|
|
9035
|
-
__privateAdd(this, _emitter, new Emitter());
|
|
9036
|
-
__privateAdd(this, _process);
|
|
9037
|
-
__privateAdd(this, _originalProcessEmit);
|
|
9038
|
-
__privateAdd(this, _originalProcessReallyExit);
|
|
9039
|
-
__privateAdd(this, _sigListeners, {});
|
|
9040
|
-
__privateAdd(this, _loaded, false);
|
|
9041
|
-
__privateSet(this, _process, process16);
|
|
9042
|
-
__privateSet(this, _sigListeners, {});
|
|
9043
|
-
for (const sig of signals) {
|
|
9044
|
-
__privateGet(this, _sigListeners)[sig] = () => {
|
|
9045
|
-
const listeners = __privateGet(this, _process).listeners(sig);
|
|
9046
|
-
let { count: count2 } = __privateGet(this, _emitter);
|
|
9047
|
-
const p3 = process16;
|
|
9048
|
-
if (typeof p3.__signal_exit_emitter__ === "object" && typeof p3.__signal_exit_emitter__.count === "number") {
|
|
9049
|
-
count2 += p3.__signal_exit_emitter__.count;
|
|
9050
|
-
}
|
|
9051
|
-
if (listeners.length === count2) {
|
|
9052
|
-
this.unload();
|
|
9053
|
-
const ret = __privateGet(this, _emitter).emit("exit", null, sig);
|
|
9054
|
-
const s = sig === "SIGHUP" ? __privateGet(this, _hupSig) : sig;
|
|
9055
|
-
if (!ret)
|
|
9056
|
-
process16.kill(process16.pid, s);
|
|
9057
|
-
}
|
|
9058
|
-
};
|
|
9059
|
-
}
|
|
9060
|
-
__privateSet(this, _originalProcessReallyExit, process16.reallyExit);
|
|
9061
|
-
__privateSet(this, _originalProcessEmit, process16.emit);
|
|
8956
|
+
var onDestinationFinish = async (source, destination) => {
|
|
8957
|
+
if (isStandardStream(source) || isStandardStream(destination)) {
|
|
8958
|
+
return;
|
|
9062
8959
|
}
|
|
9063
|
-
|
|
9064
|
-
|
|
9065
|
-
|
|
9066
|
-
};
|
|
9067
|
-
}
|
|
9068
|
-
if (__privateGet(this, _loaded) === false) {
|
|
9069
|
-
this.load();
|
|
9070
|
-
}
|
|
9071
|
-
const ev = _optionalChain([opts, 'optionalAccess', _33 => _33.alwaysLast]) ? "afterExit" : "exit";
|
|
9072
|
-
__privateGet(this, _emitter).on(ev, cb);
|
|
9073
|
-
return () => {
|
|
9074
|
-
__privateGet(this, _emitter).removeListener(ev, cb);
|
|
9075
|
-
if (__privateGet(this, _emitter).listeners["exit"].length === 0 && __privateGet(this, _emitter).listeners["afterExit"].length === 0) {
|
|
9076
|
-
this.unload();
|
|
9077
|
-
}
|
|
9078
|
-
};
|
|
8960
|
+
try {
|
|
8961
|
+
await _promises3.finished.call(void 0, destination, { cleanup: true, readable: false, writable: true });
|
|
8962
|
+
} catch (e9) {
|
|
9079
8963
|
}
|
|
9080
|
-
|
|
9081
|
-
|
|
9082
|
-
|
|
8964
|
+
abortSourceStream(source);
|
|
8965
|
+
};
|
|
8966
|
+
var abortSourceStream = (source) => {
|
|
8967
|
+
if (source.readable) {
|
|
8968
|
+
source.destroy();
|
|
8969
|
+
}
|
|
8970
|
+
};
|
|
8971
|
+
|
|
8972
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/io/output-async.js
|
|
8973
|
+
var pipeOutputAsync = (subprocess, fileDescriptors, controller) => {
|
|
8974
|
+
const pipeGroups = /* @__PURE__ */ new Map();
|
|
8975
|
+
for (const [fdNumber, { stdioItems, direction }] of Object.entries(fileDescriptors)) {
|
|
8976
|
+
for (const { stream } of stdioItems.filter(({ type }) => TRANSFORM_TYPES.has(type))) {
|
|
8977
|
+
pipeTransform(subprocess, stream, direction, fdNumber);
|
|
9083
8978
|
}
|
|
9084
|
-
|
|
9085
|
-
|
|
9086
|
-
|
|
9087
|
-
|
|
9088
|
-
|
|
9089
|
-
|
|
9090
|
-
|
|
9091
|
-
|
|
9092
|
-
}
|
|
8979
|
+
for (const { stream } of stdioItems.filter(({ type }) => !TRANSFORM_TYPES.has(type))) {
|
|
8980
|
+
pipeStdioItem({
|
|
8981
|
+
subprocess,
|
|
8982
|
+
stream,
|
|
8983
|
+
direction,
|
|
8984
|
+
fdNumber,
|
|
8985
|
+
pipeGroups,
|
|
8986
|
+
controller
|
|
8987
|
+
});
|
|
9093
8988
|
}
|
|
9094
|
-
__privateGet(this, _process).emit = (ev, ...a3) => {
|
|
9095
|
-
return __privateMethod(this, _SignalExit_instances, processEmit_fn).call(this, ev, ...a3);
|
|
9096
|
-
};
|
|
9097
|
-
__privateGet(this, _process).reallyExit = (code) => {
|
|
9098
|
-
return __privateMethod(this, _SignalExit_instances, processReallyExit_fn).call(this, code);
|
|
9099
|
-
};
|
|
9100
8989
|
}
|
|
9101
|
-
|
|
9102
|
-
|
|
9103
|
-
|
|
9104
|
-
}
|
|
9105
|
-
__privateSet(this, _loaded, false);
|
|
9106
|
-
signals.forEach((sig) => {
|
|
9107
|
-
const listener = __privateGet(this, _sigListeners)[sig];
|
|
9108
|
-
if (!listener) {
|
|
9109
|
-
throw new Error("Listener not defined for signal: " + sig);
|
|
9110
|
-
}
|
|
9111
|
-
try {
|
|
9112
|
-
__privateGet(this, _process).removeListener(sig, listener);
|
|
9113
|
-
} catch (_) {
|
|
9114
|
-
}
|
|
9115
|
-
});
|
|
9116
|
-
__privateGet(this, _process).emit = __privateGet(this, _originalProcessEmit);
|
|
9117
|
-
__privateGet(this, _process).reallyExit = __privateGet(this, _originalProcessReallyExit);
|
|
9118
|
-
__privateGet(this, _emitter).count -= 1;
|
|
8990
|
+
for (const [outputStream, inputStreams] of pipeGroups.entries()) {
|
|
8991
|
+
const inputStream = inputStreams.length === 1 ? inputStreams[0] : mergeStreams(inputStreams);
|
|
8992
|
+
pipeStreams(inputStream, outputStream);
|
|
9119
8993
|
}
|
|
9120
8994
|
};
|
|
9121
|
-
|
|
9122
|
-
|
|
9123
|
-
|
|
9124
|
-
|
|
9125
|
-
|
|
9126
|
-
_sigListeners = new WeakMap();
|
|
9127
|
-
_loaded = new WeakMap();
|
|
9128
|
-
_SignalExit_instances = new WeakSet();
|
|
9129
|
-
processReallyExit_fn = function(code) {
|
|
9130
|
-
if (!processOk(__privateGet(this, _process))) {
|
|
9131
|
-
return 0;
|
|
8995
|
+
var pipeTransform = (subprocess, stream, direction, fdNumber) => {
|
|
8996
|
+
if (direction === "output") {
|
|
8997
|
+
pipeStreams(subprocess.stdio[fdNumber], stream);
|
|
8998
|
+
} else {
|
|
8999
|
+
pipeStreams(stream, subprocess.stdio[fdNumber]);
|
|
9132
9000
|
}
|
|
9133
|
-
|
|
9134
|
-
|
|
9135
|
-
|
|
9001
|
+
const streamProperty = SUBPROCESS_STREAM_PROPERTIES[fdNumber];
|
|
9002
|
+
if (streamProperty !== void 0) {
|
|
9003
|
+
subprocess[streamProperty] = stream;
|
|
9004
|
+
}
|
|
9005
|
+
subprocess.stdio[fdNumber] = stream;
|
|
9136
9006
|
};
|
|
9137
|
-
|
|
9138
|
-
|
|
9139
|
-
if (
|
|
9140
|
-
|
|
9141
|
-
__privateGet(this, _process).exitCode = args[0];
|
|
9142
|
-
}
|
|
9143
|
-
const ret = og.call(__privateGet(this, _process), ev, ...args);
|
|
9144
|
-
__privateGet(this, _emitter).emit("exit", __privateGet(this, _process).exitCode, null);
|
|
9145
|
-
return ret;
|
|
9146
|
-
} else {
|
|
9147
|
-
return og.call(__privateGet(this, _process), ev, ...args);
|
|
9007
|
+
var SUBPROCESS_STREAM_PROPERTIES = ["stdin", "stdout", "stderr"];
|
|
9008
|
+
var pipeStdioItem = ({ subprocess, stream, direction, fdNumber, pipeGroups, controller }) => {
|
|
9009
|
+
if (stream === void 0) {
|
|
9010
|
+
return;
|
|
9148
9011
|
}
|
|
9012
|
+
setStandardStreamMaxListeners(stream, controller);
|
|
9013
|
+
const [inputStream, outputStream] = direction === "output" ? [stream, subprocess.stdio[fdNumber]] : [subprocess.stdio[fdNumber], stream];
|
|
9014
|
+
const outputStreams = _nullishCoalesce(pipeGroups.get(inputStream), () => ( []));
|
|
9015
|
+
pipeGroups.set(inputStream, [...outputStreams, outputStream]);
|
|
9149
9016
|
};
|
|
9150
|
-
var
|
|
9151
|
-
|
|
9152
|
-
|
|
9153
|
-
|
|
9154
|
-
|
|
9155
|
-
|
|
9156
|
-
|
|
9157
|
-
|
|
9158
|
-
|
|
9159
|
-
* Returns a function that may be used to unload signal-exit.
|
|
9160
|
-
*/
|
|
9161
|
-
onExit,
|
|
9162
|
-
/**
|
|
9163
|
-
* Load the listeners. Likely you never need to call this, unless
|
|
9164
|
-
* doing a rather deep integration with signal-exit functionality.
|
|
9165
|
-
* Mostly exposed for the benefit of testing.
|
|
9166
|
-
*
|
|
9167
|
-
* @internal
|
|
9168
|
-
*/
|
|
9169
|
-
load,
|
|
9170
|
-
/**
|
|
9171
|
-
* Unload the listeners. Likely you never need to call this, unless
|
|
9172
|
-
* doing a rather deep integration with signal-exit functionality.
|
|
9173
|
-
* Mostly exposed for the benefit of testing.
|
|
9174
|
-
*
|
|
9175
|
-
* @internal
|
|
9176
|
-
*/
|
|
9177
|
-
unload
|
|
9178
|
-
} = signalExitWrap(processOk(process15) ? new SignalExit(process15) : new SignalExitFallback());
|
|
9017
|
+
var setStandardStreamMaxListeners = (stream, { signal }) => {
|
|
9018
|
+
if (isStandardStream(stream)) {
|
|
9019
|
+
incrementMaxListeners(stream, MAX_LISTENERS_INCREMENT, signal);
|
|
9020
|
+
}
|
|
9021
|
+
};
|
|
9022
|
+
var MAX_LISTENERS_INCREMENT = 2;
|
|
9023
|
+
|
|
9024
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/terminate/cleanup.js
|
|
9025
|
+
init_cjs_shims();
|
|
9179
9026
|
|
|
9180
|
-
// ../../node_modules/.pnpm/execa@9.3.0/node_modules/execa/lib/terminate/cleanup.js
|
|
9181
9027
|
var cleanupOnExit = (subprocess, { cleanup, detached }, { signal }) => {
|
|
9182
9028
|
if (!cleanup || detached) {
|
|
9183
9029
|
return;
|
|
@@ -9190,10 +9036,10 @@ var cleanupOnExit = (subprocess, { cleanup, detached }, { signal }) => {
|
|
|
9190
9036
|
});
|
|
9191
9037
|
};
|
|
9192
9038
|
|
|
9193
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
9039
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/pipe/setup.js
|
|
9194
9040
|
init_cjs_shims();
|
|
9195
9041
|
|
|
9196
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
9042
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/pipe/pipe-arguments.js
|
|
9197
9043
|
init_cjs_shims();
|
|
9198
9044
|
var normalizePipeArguments = ({ source, sourcePromise, boundOptions, createNested }, ...pipeArguments) => {
|
|
9199
9045
|
const startTime = getStartTime();
|
|
@@ -9267,7 +9113,7 @@ var getSourceStream = (source, from) => {
|
|
|
9267
9113
|
}
|
|
9268
9114
|
};
|
|
9269
9115
|
|
|
9270
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
9116
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/pipe/throw.js
|
|
9271
9117
|
init_cjs_shims();
|
|
9272
9118
|
var handlePipeArgumentsError = ({
|
|
9273
9119
|
sourceStream,
|
|
@@ -9317,7 +9163,7 @@ var createNonCommandError = ({ error, fileDescriptors, sourceOptions, startTime
|
|
|
9317
9163
|
});
|
|
9318
9164
|
var PIPE_COMMAND_MESSAGE = "source.pipe(destination)";
|
|
9319
9165
|
|
|
9320
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
9166
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/pipe/sequence.js
|
|
9321
9167
|
init_cjs_shims();
|
|
9322
9168
|
var waitForBothSubprocesses = async (subprocessPromises) => {
|
|
9323
9169
|
const [
|
|
@@ -9336,7 +9182,7 @@ var waitForBothSubprocesses = async (subprocessPromises) => {
|
|
|
9336
9182
|
return destinationResult;
|
|
9337
9183
|
};
|
|
9338
9184
|
|
|
9339
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
9185
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/pipe/streaming.js
|
|
9340
9186
|
init_cjs_shims();
|
|
9341
9187
|
|
|
9342
9188
|
var pipeSubprocessStream = (sourceStream, destinationStream, maxListenersController) => {
|
|
@@ -9360,7 +9206,7 @@ var pipeMoreSubprocessStream = (sourceStream, destinationStream) => {
|
|
|
9360
9206
|
var cleanupMergedStreamsMap = async (destinationStream) => {
|
|
9361
9207
|
try {
|
|
9362
9208
|
await _promises3.finished.call(void 0, destinationStream, { cleanup: true, readable: false, writable: true });
|
|
9363
|
-
} catch (
|
|
9209
|
+
} catch (e10) {
|
|
9364
9210
|
}
|
|
9365
9211
|
MERGED_STREAMS.delete(destinationStream);
|
|
9366
9212
|
};
|
|
@@ -9368,7 +9214,7 @@ var MERGED_STREAMS = /* @__PURE__ */ new WeakMap();
|
|
|
9368
9214
|
var SOURCE_LISTENERS_PER_PIPE = 2;
|
|
9369
9215
|
var DESTINATION_LISTENERS_PER_PIPE = 1;
|
|
9370
9216
|
|
|
9371
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
9217
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/pipe/abort.js
|
|
9372
9218
|
init_cjs_shims();
|
|
9373
9219
|
|
|
9374
9220
|
var unpipeOnAbort = (unpipeSignal, unpipeContext) => unpipeSignal === void 0 ? [] : [unpipeOnSignalAbort(unpipeSignal, unpipeContext)];
|
|
@@ -9384,7 +9230,7 @@ var unpipeOnSignalAbort = async (unpipeSignal, { sourceStream, mergedStream, fil
|
|
|
9384
9230
|
});
|
|
9385
9231
|
};
|
|
9386
9232
|
|
|
9387
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
9233
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/pipe/setup.js
|
|
9388
9234
|
var pipeToSubprocess = (sourceInfo, ...pipeArguments) => {
|
|
9389
9235
|
if (isPlainObject(pipeArguments[0])) {
|
|
9390
9236
|
return pipeToSubprocess.bind(void 0, {
|
|
@@ -9443,17 +9289,17 @@ var handlePipePromise = async ({
|
|
|
9443
9289
|
};
|
|
9444
9290
|
var getSubprocessPromises = (sourcePromise, destination) => Promise.allSettled([sourcePromise, destination]);
|
|
9445
9291
|
|
|
9446
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
9292
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/resolve/all-async.js
|
|
9447
9293
|
init_cjs_shims();
|
|
9448
9294
|
|
|
9449
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
9295
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/resolve/stdio.js
|
|
9450
9296
|
init_cjs_shims();
|
|
9451
9297
|
|
|
9452
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
9298
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/io/contents.js
|
|
9453
9299
|
init_cjs_shims();
|
|
9454
9300
|
|
|
9455
9301
|
|
|
9456
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
9302
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/io/iterate.js
|
|
9457
9303
|
init_cjs_shims();
|
|
9458
9304
|
|
|
9459
9305
|
|
|
@@ -9473,7 +9319,7 @@ var iterateOnSubprocessStream = ({ subprocessStdout, subprocess, binary, shouldE
|
|
|
9473
9319
|
var stopReadingOnExit = async (subprocess, controller) => {
|
|
9474
9320
|
try {
|
|
9475
9321
|
await subprocess;
|
|
9476
|
-
} catch (
|
|
9322
|
+
} catch (e11) {
|
|
9477
9323
|
} finally {
|
|
9478
9324
|
controller.abort();
|
|
9479
9325
|
}
|
|
@@ -9495,7 +9341,7 @@ var iterateForResult = ({ stream, onStreamEnd, lines, encoding, stripFinalNewlin
|
|
|
9495
9341
|
var stopReadingOnStreamEnd = async (onStreamEnd, controller, stream) => {
|
|
9496
9342
|
try {
|
|
9497
9343
|
await onStreamEnd;
|
|
9498
|
-
} catch (
|
|
9344
|
+
} catch (e12) {
|
|
9499
9345
|
stream.destroy();
|
|
9500
9346
|
} finally {
|
|
9501
9347
|
controller.abort();
|
|
@@ -9547,7 +9393,7 @@ var getGenerators = ({ binary, shouldEncode, encoding, shouldSplit, preserveNewl
|
|
|
9547
9393
|
getSplitLinesGenerator(binary, preserveNewlines, !shouldSplit, {})
|
|
9548
9394
|
].filter(Boolean);
|
|
9549
9395
|
|
|
9550
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
9396
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/io/contents.js
|
|
9551
9397
|
var getStreamOutput = async ({ stream, onStreamEnd, fdNumber, encoding, buffer, maxBuffer, lines, allMixed, stripFinalNewline: stripFinalNewline2, verboseInfo, streamInfo }) => {
|
|
9552
9398
|
const logPromise = logOutputAsync({
|
|
9553
9399
|
stream,
|
|
@@ -9638,7 +9484,7 @@ var getBufferedData = async (streamPromise) => {
|
|
|
9638
9484
|
};
|
|
9639
9485
|
var handleBufferedData = ({ bufferedData }) => isArrayBuffer(bufferedData) ? new Uint8Array(bufferedData) : bufferedData;
|
|
9640
9486
|
|
|
9641
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
9487
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/resolve/wait-stream.js
|
|
9642
9488
|
init_cjs_shims();
|
|
9643
9489
|
|
|
9644
9490
|
var waitForStream = async (stream, fdNumber, streamInfo, { isSameDirection, stopOnExit = false } = {}) => {
|
|
@@ -9692,7 +9538,7 @@ var isInputFileDescriptor = ({ fileDescriptors }, fdNumber) => fdNumber !== "all
|
|
|
9692
9538
|
var isStreamAbort = (error) => _optionalChain([error, 'optionalAccess', _36 => _36.code]) === "ERR_STREAM_PREMATURE_CLOSE";
|
|
9693
9539
|
var isStreamEpipe = (error) => _optionalChain([error, 'optionalAccess', _37 => _37.code]) === "EPIPE";
|
|
9694
9540
|
|
|
9695
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
9541
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/resolve/stdio.js
|
|
9696
9542
|
var waitForStdioStreams = ({ subprocess, encoding, buffer, maxBuffer, lines, stripFinalNewline: stripFinalNewline2, verboseInfo, streamInfo }) => subprocess.stdio.map((stream, fdNumber) => waitForSubprocessStream({
|
|
9697
9543
|
stream,
|
|
9698
9544
|
fdNumber,
|
|
@@ -9733,7 +9579,7 @@ var waitForSubprocessStream = async ({ stream, fdNumber, encoding, buffer, maxBu
|
|
|
9733
9579
|
return output;
|
|
9734
9580
|
};
|
|
9735
9581
|
|
|
9736
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
9582
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/resolve/all-async.js
|
|
9737
9583
|
var makeAllStream = ({ stdout, stderr }, { all }) => all && (stdout || stderr) ? mergeStreams([stdout, stderr].filter(Boolean)) : void 0;
|
|
9738
9584
|
var waitForAllStream = ({ subprocess, encoding, buffer, maxBuffer, lines, stripFinalNewline: stripFinalNewline2, verboseInfo, streamInfo }) => waitForSubprocessStream({
|
|
9739
9585
|
...getAllStream(subprocess, buffer),
|
|
@@ -9761,14 +9607,14 @@ var getAllStream = ({ stdout, stderr, all }, [, bufferStdout, bufferStderr]) =>
|
|
|
9761
9607
|
};
|
|
9762
9608
|
var getAllMixed = ({ all, stdout, stderr }) => all && stdout && stderr && stdout.readableObjectMode !== stderr.readableObjectMode;
|
|
9763
9609
|
|
|
9764
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
9610
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/resolve/wait-subprocess.js
|
|
9765
9611
|
init_cjs_shims();
|
|
9766
9612
|
|
|
9767
9613
|
|
|
9768
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
9614
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/ipc/buffer-messages.js
|
|
9769
9615
|
init_cjs_shims();
|
|
9770
9616
|
|
|
9771
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
9617
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/verbose/ipc.js
|
|
9772
9618
|
init_cjs_shims();
|
|
9773
9619
|
var shouldLogIpc = (verboseInfo) => isFullVerbose(verboseInfo, "ipc");
|
|
9774
9620
|
var logIpcOutput = (message, verboseInfo) => {
|
|
@@ -9781,7 +9627,7 @@ var logIpcOutput = (message, verboseInfo) => {
|
|
|
9781
9627
|
});
|
|
9782
9628
|
};
|
|
9783
9629
|
|
|
9784
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
9630
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/ipc/buffer-messages.js
|
|
9785
9631
|
var waitForIpcOutput = async ({
|
|
9786
9632
|
subprocess,
|
|
9787
9633
|
buffer: bufferArray,
|
|
@@ -9819,7 +9665,7 @@ var getBufferedIpcOutput = async (ipcOutputPromise, ipcOutput) => {
|
|
|
9819
9665
|
return ipcOutput;
|
|
9820
9666
|
};
|
|
9821
9667
|
|
|
9822
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
9668
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/resolve/wait-subprocess.js
|
|
9823
9669
|
var waitForSubprocessResult = async ({
|
|
9824
9670
|
subprocess,
|
|
9825
9671
|
options: {
|
|
@@ -9935,10 +9781,10 @@ var throwOnSubprocessError = async (subprocess, { signal }) => {
|
|
|
9935
9781
|
throw error;
|
|
9936
9782
|
};
|
|
9937
9783
|
|
|
9938
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
9784
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/convert/add.js
|
|
9939
9785
|
init_cjs_shims();
|
|
9940
9786
|
|
|
9941
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
9787
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/convert/concurrent.js
|
|
9942
9788
|
init_cjs_shims();
|
|
9943
9789
|
var initializeConcurrentStreams = () => ({
|
|
9944
9790
|
readableDestroy: /* @__PURE__ */ new WeakMap(),
|
|
@@ -9953,11 +9799,11 @@ var addConcurrentStream = (concurrentStreams, stream, waitName) => {
|
|
|
9953
9799
|
const promises = weakMap.get(stream);
|
|
9954
9800
|
const promise = createDeferred();
|
|
9955
9801
|
promises.push(promise);
|
|
9956
|
-
const
|
|
9957
|
-
return { resolve:
|
|
9802
|
+
const resolve2 = promise.resolve.bind(promise);
|
|
9803
|
+
return { resolve: resolve2, promises };
|
|
9958
9804
|
};
|
|
9959
|
-
var waitForConcurrentStreams = async ({ resolve:
|
|
9960
|
-
|
|
9805
|
+
var waitForConcurrentStreams = async ({ resolve: resolve2, promises }, subprocess) => {
|
|
9806
|
+
resolve2();
|
|
9961
9807
|
const [isSubprocessExit] = await Promise.race([
|
|
9962
9808
|
Promise.allSettled([true, subprocess]),
|
|
9963
9809
|
Promise.all([false, ...promises])
|
|
@@ -9965,12 +9811,12 @@ var waitForConcurrentStreams = async ({ resolve: resolve4, promises }, subproces
|
|
|
9965
9811
|
return !isSubprocessExit;
|
|
9966
9812
|
};
|
|
9967
9813
|
|
|
9968
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
9814
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/convert/readable.js
|
|
9969
9815
|
init_cjs_shims();
|
|
9970
9816
|
|
|
9971
9817
|
|
|
9972
9818
|
|
|
9973
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
9819
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/convert/shared.js
|
|
9974
9820
|
init_cjs_shims();
|
|
9975
9821
|
|
|
9976
9822
|
var safeWaitForSubprocessStdin = async (subprocessStdin) => {
|
|
@@ -9979,7 +9825,7 @@ var safeWaitForSubprocessStdin = async (subprocessStdin) => {
|
|
|
9979
9825
|
}
|
|
9980
9826
|
try {
|
|
9981
9827
|
await waitForSubprocessStdin(subprocessStdin);
|
|
9982
|
-
} catch (
|
|
9828
|
+
} catch (e13) {
|
|
9983
9829
|
}
|
|
9984
9830
|
};
|
|
9985
9831
|
var safeWaitForSubprocessStdout = async (subprocessStdout) => {
|
|
@@ -9988,7 +9834,7 @@ var safeWaitForSubprocessStdout = async (subprocessStdout) => {
|
|
|
9988
9834
|
}
|
|
9989
9835
|
try {
|
|
9990
9836
|
await waitForSubprocessStdout(subprocessStdout);
|
|
9991
|
-
} catch (
|
|
9837
|
+
} catch (e14) {
|
|
9992
9838
|
}
|
|
9993
9839
|
};
|
|
9994
9840
|
var waitForSubprocessStdin = async (subprocessStdin) => {
|
|
@@ -10011,7 +9857,7 @@ var destroyOtherStream = (stream, isOpen, error) => {
|
|
|
10011
9857
|
}
|
|
10012
9858
|
};
|
|
10013
9859
|
|
|
10014
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
9860
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/convert/readable.js
|
|
10015
9861
|
var createReadable = ({ subprocess, concurrentStreams, encoding }, { from, binary: binaryOption = true, preserveNewlines = true } = {}) => {
|
|
10016
9862
|
const binary = binaryOption || BINARY_ENCODINGS.has(encoding);
|
|
10017
9863
|
const { subprocessStdout, waitReadableDestroy } = getSubprocessStdout(subprocess, from, concurrentStreams);
|
|
@@ -10069,7 +9915,7 @@ var onRead = async (readable2, onStdoutData, onStdoutDataDone) => {
|
|
|
10069
9915
|
} else {
|
|
10070
9916
|
readable2.push(value);
|
|
10071
9917
|
}
|
|
10072
|
-
} catch (
|
|
9918
|
+
} catch (e15) {
|
|
10073
9919
|
}
|
|
10074
9920
|
};
|
|
10075
9921
|
var onStdoutFinished = async ({ subprocessStdout, onStdoutDataDone, readable: readable2, subprocess, subprocessStdin }) => {
|
|
@@ -10096,7 +9942,7 @@ var destroyOtherReadable = (stream, error) => {
|
|
|
10096
9942
|
destroyOtherStream(stream, stream.readable, error);
|
|
10097
9943
|
};
|
|
10098
9944
|
|
|
10099
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
9945
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/convert/writable.js
|
|
10100
9946
|
init_cjs_shims();
|
|
10101
9947
|
|
|
10102
9948
|
|
|
@@ -10163,7 +10009,7 @@ var destroyOtherWritable = (stream, error) => {
|
|
|
10163
10009
|
destroyOtherStream(stream, stream.writable, error);
|
|
10164
10010
|
};
|
|
10165
10011
|
|
|
10166
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
10012
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/convert/duplex.js
|
|
10167
10013
|
init_cjs_shims();
|
|
10168
10014
|
|
|
10169
10015
|
|
|
@@ -10218,7 +10064,7 @@ var onDuplexDestroy = async ({ subprocessStdout, subprocessStdin, subprocess, wa
|
|
|
10218
10064
|
]);
|
|
10219
10065
|
};
|
|
10220
10066
|
|
|
10221
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
10067
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/convert/iterable.js
|
|
10222
10068
|
init_cjs_shims();
|
|
10223
10069
|
var createIterable = (subprocess, encoding, {
|
|
10224
10070
|
from,
|
|
@@ -10248,7 +10094,7 @@ var iterateOnStdoutData = async function* (onStdoutData, subprocessStdout, subpr
|
|
|
10248
10094
|
}
|
|
10249
10095
|
};
|
|
10250
10096
|
|
|
10251
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
10097
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/convert/add.js
|
|
10252
10098
|
var addConvertedStreams = (subprocess, { encoding }) => {
|
|
10253
10099
|
const concurrentStreams = initializeConcurrentStreams();
|
|
10254
10100
|
subprocess.readable = createReadable.bind(void 0, { subprocess, concurrentStreams, encoding });
|
|
@@ -10258,7 +10104,7 @@ var addConvertedStreams = (subprocess, { encoding }) => {
|
|
|
10258
10104
|
subprocess[Symbol.asyncIterator] = createIterable.bind(void 0, subprocess, encoding, {});
|
|
10259
10105
|
};
|
|
10260
10106
|
|
|
10261
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
10107
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/methods/promise.js
|
|
10262
10108
|
init_cjs_shims();
|
|
10263
10109
|
var mergePromise = (subprocess, promise) => {
|
|
10264
10110
|
for (const [property, descriptor] of descriptors) {
|
|
@@ -10273,7 +10119,7 @@ var descriptors = ["then", "catch", "finally"].map((property) => [
|
|
|
10273
10119
|
Reflect.getOwnPropertyDescriptor(nativePromisePrototype, property)
|
|
10274
10120
|
]);
|
|
10275
10121
|
|
|
10276
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
10122
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/methods/main-async.js
|
|
10277
10123
|
var execaCoreAsync = (rawFile, rawArguments, rawOptions, createNested) => {
|
|
10278
10124
|
const { file, commandArguments, command, escapedCommand, startTime, verboseInfo, options, fileDescriptors } = handleAsyncArguments(rawFile, rawArguments, rawOptions);
|
|
10279
10125
|
const { subprocess, promise } = spawnSubprocessAsync({
|
|
@@ -10428,7 +10274,7 @@ var getAsyncResult = ({ errorInfo, exitCode, signal, stdio, all, ipcOutput, cont
|
|
|
10428
10274
|
startTime
|
|
10429
10275
|
});
|
|
10430
10276
|
|
|
10431
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
10277
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/methods/bind.js
|
|
10432
10278
|
init_cjs_shims();
|
|
10433
10279
|
var mergeOptions = (boundOptions, options) => {
|
|
10434
10280
|
const newOptions = Object.fromEntries(
|
|
@@ -10447,7 +10293,7 @@ var mergeOption = (optionName, boundOptionValue, optionValue) => {
|
|
|
10447
10293
|
};
|
|
10448
10294
|
var DEEP_OPTIONS = /* @__PURE__ */ new Set(["env", ...FD_SPECIFIC_OPTIONS]);
|
|
10449
10295
|
|
|
10450
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
10296
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/methods/create.js
|
|
10451
10297
|
var createExeca = (mapArguments, boundOptions, deepOptions, setBoundExeca) => {
|
|
10452
10298
|
const createNested = (mapArguments2, boundOptions2, setBoundExeca2) => createExeca(mapArguments2, boundOptions2, deepOptions, setBoundExeca2);
|
|
10453
10299
|
const boundExeca = (...execaArguments) => callBoundExeca({
|
|
@@ -10493,7 +10339,7 @@ var parseArguments = ({ mapArguments, firstArgument, nextArguments, deepOptions,
|
|
|
10493
10339
|
};
|
|
10494
10340
|
};
|
|
10495
10341
|
|
|
10496
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
10342
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/methods/command.js
|
|
10497
10343
|
init_cjs_shims();
|
|
10498
10344
|
var mapCommandAsync = ({ file, commandArguments }) => parseCommand(file, commandArguments);
|
|
10499
10345
|
var mapCommandSync = ({ file, commandArguments }) => ({ ...parseCommand(file, commandArguments), isSync: true });
|
|
@@ -10525,7 +10371,7 @@ var parseCommandString = (command) => {
|
|
|
10525
10371
|
};
|
|
10526
10372
|
var SPACES_REGEXP = / +/g;
|
|
10527
10373
|
|
|
10528
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
10374
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/lib/methods/script.js
|
|
10529
10375
|
init_cjs_shims();
|
|
10530
10376
|
var setScriptSync = (boundExeca, createNested, boundOptions) => {
|
|
10531
10377
|
boundExeca.sync = createNested(mapScriptSync, boundOptions);
|
|
@@ -10537,7 +10383,7 @@ var getScriptOptions = (options) => ({ options: { ...getScriptStdinOption(option
|
|
|
10537
10383
|
var getScriptStdinOption = ({ input, inputFile, stdio }) => input === void 0 && inputFile === void 0 && stdio === void 0 ? { stdin: "inherit" } : {};
|
|
10538
10384
|
var deepScriptOptions = { preferLocal: true };
|
|
10539
10385
|
|
|
10540
|
-
// ../../node_modules/.pnpm/execa@9.3.
|
|
10386
|
+
// ../../node_modules/.pnpm/execa@9.3.1/node_modules/execa/index.js
|
|
10541
10387
|
var execa = createExeca(() => ({}));
|
|
10542
10388
|
var execaSync = createExeca(() => ({ isSync: true }));
|
|
10543
10389
|
var execaCommand = createExeca(mapCommandAsync);
|
|
@@ -10706,13 +10552,13 @@ async function writeLog(data) {
|
|
|
10706
10552
|
if (data.trim() === "") {
|
|
10707
10553
|
return void 0;
|
|
10708
10554
|
}
|
|
10709
|
-
const
|
|
10555
|
+
const path6 = _path.resolve.call(void 0, process.cwd(), "kubb-log.log");
|
|
10710
10556
|
let previousLogs = "";
|
|
10711
10557
|
try {
|
|
10712
|
-
previousLogs = await _fs3.read.call(void 0, _path.resolve.call(void 0,
|
|
10558
|
+
previousLogs = await _fs3.read.call(void 0, _path.resolve.call(void 0, path6));
|
|
10713
10559
|
} catch (_err) {
|
|
10714
10560
|
}
|
|
10715
|
-
return _fs3.write.call(void 0,
|
|
10561
|
+
return _fs3.write.call(void 0, path6, [previousLogs, data.trim()].filter(Boolean).join("\n\n\n"), { sanity: false });
|
|
10716
10562
|
}
|
|
10717
10563
|
|
|
10718
10564
|
// src/generate.ts
|
|
@@ -10801,4 +10647,4 @@ async function generate({ input, config, args }) {
|
|
|
10801
10647
|
|
|
10802
10648
|
|
|
10803
10649
|
exports.init_cjs_shims = init_cjs_shims; exports.p = p2; exports.spinner = spinner; exports.execa = execa; exports.generate = generate;
|
|
10804
|
-
//# sourceMappingURL=chunk-
|
|
10650
|
+
//# sourceMappingURL=chunk-DO3X4EJI.cjs.map
|