wxt 0.17.12 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-C4ZVXF53.js → chunk-A7YRDAFI.js} +244 -167
- package/dist/chunk-NAMV4VWQ.js +1065 -0
- package/dist/chunk-ZZCTFNQ5.js +1063 -0
- package/dist/cli.js +355 -251
- package/dist/client.d.ts +1 -1
- package/dist/{execa-Y2EWTC4S.js → execa-6HO2IY2B.js} +62 -62
- package/dist/{execa-4F7CCWCA.js → execa-VDW6HLFV.js} +62 -62
- package/dist/{index-mYGv2dqk.d.ts → index-CiL7hzu6.d.ts} +17 -5
- package/dist/{index-NHTTcok1.d.ts → index-DKN-8I90.d.cts} +40 -5
- package/dist/{index-NHTTcok1.d.cts → index-DKN-8I90.d.ts} +40 -5
- package/dist/index.cjs +2395 -418
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +22 -16
- package/dist/prompt-TFJ7OLL7.js +781 -0
- package/dist/prompt-Y7B5HSD5.js +782 -0
- package/dist/sandbox.d.ts +1 -1
- package/dist/testing.cjs +1951 -57
- package/dist/testing.d.cts +1 -1
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js +2 -1
- package/dist/virtual/content-script-isolated-world-entrypoint.js +7 -2
- package/dist/virtual/content-script-main-world-entrypoint.js +7 -2
- package/dist/virtual/unlisted-script-entrypoint.js +7 -2
- package/package.json +7 -41
package/dist/client.d.ts
CHANGED
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
__toESM
|
|
6
6
|
} from "./chunk-73I7FAJU.js";
|
|
7
7
|
|
|
8
|
-
// node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js
|
|
8
|
+
// ../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js
|
|
9
9
|
var require_windows = __commonJS({
|
|
10
|
-
"node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js"(exports, module) {
|
|
10
|
+
"../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js"(exports, module) {
|
|
11
11
|
"use strict";
|
|
12
12
|
module.exports = isexe;
|
|
13
13
|
isexe.sync = sync;
|
|
@@ -46,9 +46,9 @@ var require_windows = __commonJS({
|
|
|
46
46
|
}
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
// node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js
|
|
49
|
+
// ../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js
|
|
50
50
|
var require_mode = __commonJS({
|
|
51
|
-
"node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js"(exports, module) {
|
|
51
|
+
"../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js"(exports, module) {
|
|
52
52
|
"use strict";
|
|
53
53
|
module.exports = isexe;
|
|
54
54
|
isexe.sync = sync;
|
|
@@ -80,9 +80,9 @@ var require_mode = __commonJS({
|
|
|
80
80
|
}
|
|
81
81
|
});
|
|
82
82
|
|
|
83
|
-
// node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js
|
|
83
|
+
// ../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js
|
|
84
84
|
var require_isexe = __commonJS({
|
|
85
|
-
"node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js"(exports, module) {
|
|
85
|
+
"../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js"(exports, module) {
|
|
86
86
|
"use strict";
|
|
87
87
|
var fs = __require("fs");
|
|
88
88
|
var core;
|
|
@@ -136,9 +136,9 @@ var require_isexe = __commonJS({
|
|
|
136
136
|
}
|
|
137
137
|
});
|
|
138
138
|
|
|
139
|
-
// node_modules/.pnpm/which@2.0.2/node_modules/which/which.js
|
|
139
|
+
// ../../node_modules/.pnpm/which@2.0.2/node_modules/which/which.js
|
|
140
140
|
var require_which = __commonJS({
|
|
141
|
-
"node_modules/.pnpm/which@2.0.2/node_modules/which/which.js"(exports, module) {
|
|
141
|
+
"../../node_modules/.pnpm/which@2.0.2/node_modules/which/which.js"(exports, module) {
|
|
142
142
|
"use strict";
|
|
143
143
|
var isWindows = process.platform === "win32" || process.env.OSTYPE === "cygwin" || process.env.OSTYPE === "msys";
|
|
144
144
|
var path3 = __require("path");
|
|
@@ -233,9 +233,9 @@ var require_which = __commonJS({
|
|
|
233
233
|
}
|
|
234
234
|
});
|
|
235
235
|
|
|
236
|
-
// node_modules/.pnpm/path-key@3.1.1/node_modules/path-key/index.js
|
|
236
|
+
// ../../node_modules/.pnpm/path-key@3.1.1/node_modules/path-key/index.js
|
|
237
237
|
var require_path_key = __commonJS({
|
|
238
|
-
"node_modules/.pnpm/path-key@3.1.1/node_modules/path-key/index.js"(exports, module) {
|
|
238
|
+
"../../node_modules/.pnpm/path-key@3.1.1/node_modules/path-key/index.js"(exports, module) {
|
|
239
239
|
"use strict";
|
|
240
240
|
var pathKey2 = (options = {}) => {
|
|
241
241
|
const environment = options.env || process.env;
|
|
@@ -250,9 +250,9 @@ var require_path_key = __commonJS({
|
|
|
250
250
|
}
|
|
251
251
|
});
|
|
252
252
|
|
|
253
|
-
// node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/resolveCommand.js
|
|
253
|
+
// ../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/resolveCommand.js
|
|
254
254
|
var require_resolveCommand = __commonJS({
|
|
255
|
-
"node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/resolveCommand.js"(exports, module) {
|
|
255
|
+
"../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/resolveCommand.js"(exports, module) {
|
|
256
256
|
"use strict";
|
|
257
257
|
var path3 = __require("path");
|
|
258
258
|
var which = require_which();
|
|
@@ -292,9 +292,9 @@ var require_resolveCommand = __commonJS({
|
|
|
292
292
|
}
|
|
293
293
|
});
|
|
294
294
|
|
|
295
|
-
// node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/escape.js
|
|
295
|
+
// ../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/escape.js
|
|
296
296
|
var require_escape = __commonJS({
|
|
297
|
-
"node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/escape.js"(exports, module) {
|
|
297
|
+
"../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/escape.js"(exports, module) {
|
|
298
298
|
"use strict";
|
|
299
299
|
var metaCharsRegExp = /([()\][%!^"`<>&|;, *?])/g;
|
|
300
300
|
function escapeCommand(arg) {
|
|
@@ -317,17 +317,17 @@ var require_escape = __commonJS({
|
|
|
317
317
|
}
|
|
318
318
|
});
|
|
319
319
|
|
|
320
|
-
// node_modules/.pnpm/shebang-regex@3.0.0/node_modules/shebang-regex/index.js
|
|
320
|
+
// ../../node_modules/.pnpm/shebang-regex@3.0.0/node_modules/shebang-regex/index.js
|
|
321
321
|
var require_shebang_regex = __commonJS({
|
|
322
|
-
"node_modules/.pnpm/shebang-regex@3.0.0/node_modules/shebang-regex/index.js"(exports, module) {
|
|
322
|
+
"../../node_modules/.pnpm/shebang-regex@3.0.0/node_modules/shebang-regex/index.js"(exports, module) {
|
|
323
323
|
"use strict";
|
|
324
324
|
module.exports = /^#!(.*)/;
|
|
325
325
|
}
|
|
326
326
|
});
|
|
327
327
|
|
|
328
|
-
// node_modules/.pnpm/shebang-command@2.0.0/node_modules/shebang-command/index.js
|
|
328
|
+
// ../../node_modules/.pnpm/shebang-command@2.0.0/node_modules/shebang-command/index.js
|
|
329
329
|
var require_shebang_command = __commonJS({
|
|
330
|
-
"node_modules/.pnpm/shebang-command@2.0.0/node_modules/shebang-command/index.js"(exports, module) {
|
|
330
|
+
"../../node_modules/.pnpm/shebang-command@2.0.0/node_modules/shebang-command/index.js"(exports, module) {
|
|
331
331
|
"use strict";
|
|
332
332
|
var shebangRegex = require_shebang_regex();
|
|
333
333
|
module.exports = (string = "") => {
|
|
@@ -345,9 +345,9 @@ var require_shebang_command = __commonJS({
|
|
|
345
345
|
}
|
|
346
346
|
});
|
|
347
347
|
|
|
348
|
-
// node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/readShebang.js
|
|
348
|
+
// ../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/readShebang.js
|
|
349
349
|
var require_readShebang = __commonJS({
|
|
350
|
-
"node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/readShebang.js"(exports, module) {
|
|
350
|
+
"../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/readShebang.js"(exports, module) {
|
|
351
351
|
"use strict";
|
|
352
352
|
var fs = __require("fs");
|
|
353
353
|
var shebangCommand = require_shebang_command();
|
|
@@ -367,9 +367,9 @@ var require_readShebang = __commonJS({
|
|
|
367
367
|
}
|
|
368
368
|
});
|
|
369
369
|
|
|
370
|
-
// node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/parse.js
|
|
370
|
+
// ../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/parse.js
|
|
371
371
|
var require_parse = __commonJS({
|
|
372
|
-
"node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/parse.js"(exports, module) {
|
|
372
|
+
"../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/parse.js"(exports, module) {
|
|
373
373
|
"use strict";
|
|
374
374
|
var path3 = __require("path");
|
|
375
375
|
var resolveCommand = require_resolveCommand();
|
|
@@ -429,9 +429,9 @@ var require_parse = __commonJS({
|
|
|
429
429
|
}
|
|
430
430
|
});
|
|
431
431
|
|
|
432
|
-
// node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/enoent.js
|
|
432
|
+
// ../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/enoent.js
|
|
433
433
|
var require_enoent = __commonJS({
|
|
434
|
-
"node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/enoent.js"(exports, module) {
|
|
434
|
+
"../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/enoent.js"(exports, module) {
|
|
435
435
|
"use strict";
|
|
436
436
|
var isWin = process.platform === "win32";
|
|
437
437
|
function notFoundError(original, syscall) {
|
|
@@ -479,9 +479,9 @@ var require_enoent = __commonJS({
|
|
|
479
479
|
}
|
|
480
480
|
});
|
|
481
481
|
|
|
482
|
-
// node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/index.js
|
|
482
|
+
// ../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/index.js
|
|
483
483
|
var require_cross_spawn = __commonJS({
|
|
484
|
-
"node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/index.js"(exports, module) {
|
|
484
|
+
"../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/index.js"(exports, module) {
|
|
485
485
|
"use strict";
|
|
486
486
|
var cp = __require("child_process");
|
|
487
487
|
var parse = require_parse();
|
|
@@ -506,9 +506,9 @@ var require_cross_spawn = __commonJS({
|
|
|
506
506
|
}
|
|
507
507
|
});
|
|
508
508
|
|
|
509
|
-
// node_modules/.pnpm/merge-stream@2.0.0/node_modules/merge-stream/index.js
|
|
509
|
+
// ../../node_modules/.pnpm/merge-stream@2.0.0/node_modules/merge-stream/index.js
|
|
510
510
|
var require_merge_stream = __commonJS({
|
|
511
|
-
"node_modules/.pnpm/merge-stream@2.0.0/node_modules/merge-stream/index.js"(exports, module) {
|
|
511
|
+
"../../node_modules/.pnpm/merge-stream@2.0.0/node_modules/merge-stream/index.js"(exports, module) {
|
|
512
512
|
"use strict";
|
|
513
513
|
var { PassThrough } = __require("stream");
|
|
514
514
|
module.exports = function() {
|
|
@@ -546,14 +546,14 @@ var require_merge_stream = __commonJS({
|
|
|
546
546
|
}
|
|
547
547
|
});
|
|
548
548
|
|
|
549
|
-
// node_modules/.pnpm/execa@8.0.1/node_modules/execa/index.js
|
|
549
|
+
// ../../node_modules/.pnpm/execa@8.0.1/node_modules/execa/index.js
|
|
550
550
|
var import_cross_spawn = __toESM(require_cross_spawn(), 1);
|
|
551
551
|
import { Buffer as Buffer3 } from "node:buffer";
|
|
552
552
|
import path2 from "node:path";
|
|
553
553
|
import childProcess from "node:child_process";
|
|
554
554
|
import process6 from "node:process";
|
|
555
555
|
|
|
556
|
-
// node_modules/.pnpm/strip-final-newline@3.0.0/node_modules/strip-final-newline/index.js
|
|
556
|
+
// ../../node_modules/.pnpm/strip-final-newline@3.0.0/node_modules/strip-final-newline/index.js
|
|
557
557
|
function stripFinalNewline(input) {
|
|
558
558
|
const LF = typeof input === "string" ? "\n" : "\n".charCodeAt();
|
|
559
559
|
const CR = typeof input === "string" ? "\r" : "\r".charCodeAt();
|
|
@@ -566,12 +566,12 @@ function stripFinalNewline(input) {
|
|
|
566
566
|
return input;
|
|
567
567
|
}
|
|
568
568
|
|
|
569
|
-
// node_modules/.pnpm/npm-run-path@5.1.0/node_modules/npm-run-path/index.js
|
|
569
|
+
// ../../node_modules/.pnpm/npm-run-path@5.1.0/node_modules/npm-run-path/index.js
|
|
570
570
|
import process2 from "node:process";
|
|
571
571
|
import path from "node:path";
|
|
572
572
|
import url from "node:url";
|
|
573
573
|
|
|
574
|
-
// node_modules/.pnpm/path-key@4.0.0/node_modules/path-key/index.js
|
|
574
|
+
// ../../node_modules/.pnpm/path-key@4.0.0/node_modules/path-key/index.js
|
|
575
575
|
function pathKey(options = {}) {
|
|
576
576
|
const {
|
|
577
577
|
env = process.env,
|
|
@@ -583,7 +583,7 @@ function pathKey(options = {}) {
|
|
|
583
583
|
return Object.keys(env).reverse().find((key) => key.toUpperCase() === "PATH") || "Path";
|
|
584
584
|
}
|
|
585
585
|
|
|
586
|
-
// node_modules/.pnpm/npm-run-path@5.1.0/node_modules/npm-run-path/index.js
|
|
586
|
+
// ../../node_modules/.pnpm/npm-run-path@5.1.0/node_modules/npm-run-path/index.js
|
|
587
587
|
function npmRunPath(options = {}) {
|
|
588
588
|
const {
|
|
589
589
|
cwd = process2.cwd(),
|
|
@@ -610,7 +610,7 @@ function npmRunPathEnv({ env = process2.env, ...options } = {}) {
|
|
|
610
610
|
return env;
|
|
611
611
|
}
|
|
612
612
|
|
|
613
|
-
// node_modules/.pnpm/mimic-fn@4.0.0/node_modules/mimic-fn/index.js
|
|
613
|
+
// ../../node_modules/.pnpm/mimic-fn@4.0.0/node_modules/mimic-fn/index.js
|
|
614
614
|
var copyProperty = (to, from, property, ignoreNonConfigurable) => {
|
|
615
615
|
if (property === "length" || property === "prototype") {
|
|
616
616
|
return;
|
|
@@ -655,7 +655,7 @@ function mimicFunction(to, from, { ignoreNonConfigurable = false } = {}) {
|
|
|
655
655
|
return to;
|
|
656
656
|
}
|
|
657
657
|
|
|
658
|
-
// node_modules/.pnpm/onetime@6.0.0/node_modules/onetime/index.js
|
|
658
|
+
// ../../node_modules/.pnpm/onetime@6.0.0/node_modules/onetime/index.js
|
|
659
659
|
var calledFunctions = /* @__PURE__ */ new WeakMap();
|
|
660
660
|
var onetime = (function_, options = {}) => {
|
|
661
661
|
if (typeof function_ !== "function") {
|
|
@@ -686,13 +686,13 @@ onetime.callCount = (function_) => {
|
|
|
686
686
|
};
|
|
687
687
|
var onetime_default = onetime;
|
|
688
688
|
|
|
689
|
-
// node_modules/.pnpm/execa@8.0.1/node_modules/execa/lib/error.js
|
|
689
|
+
// ../../node_modules/.pnpm/execa@8.0.1/node_modules/execa/lib/error.js
|
|
690
690
|
import process3 from "node:process";
|
|
691
691
|
|
|
692
|
-
// node_modules/.pnpm/human-signals@5.0.0/node_modules/human-signals/build/src/main.js
|
|
692
|
+
// ../../node_modules/.pnpm/human-signals@5.0.0/node_modules/human-signals/build/src/main.js
|
|
693
693
|
import { constants as constants2 } from "node:os";
|
|
694
694
|
|
|
695
|
-
// node_modules/.pnpm/human-signals@5.0.0/node_modules/human-signals/build/src/realtime.js
|
|
695
|
+
// ../../node_modules/.pnpm/human-signals@5.0.0/node_modules/human-signals/build/src/realtime.js
|
|
696
696
|
var getRealtimeSignals = () => {
|
|
697
697
|
const length = SIGRTMAX - SIGRTMIN + 1;
|
|
698
698
|
return Array.from({ length }, getRealtimeSignal);
|
|
@@ -707,10 +707,10 @@ var getRealtimeSignal = (value, index) => ({
|
|
|
707
707
|
var SIGRTMIN = 34;
|
|
708
708
|
var SIGRTMAX = 64;
|
|
709
709
|
|
|
710
|
-
// node_modules/.pnpm/human-signals@5.0.0/node_modules/human-signals/build/src/signals.js
|
|
710
|
+
// ../../node_modules/.pnpm/human-signals@5.0.0/node_modules/human-signals/build/src/signals.js
|
|
711
711
|
import { constants } from "node:os";
|
|
712
712
|
|
|
713
|
-
// node_modules/.pnpm/human-signals@5.0.0/node_modules/human-signals/build/src/core.js
|
|
713
|
+
// ../../node_modules/.pnpm/human-signals@5.0.0/node_modules/human-signals/build/src/core.js
|
|
714
714
|
var SIGNALS = [
|
|
715
715
|
{
|
|
716
716
|
name: "SIGHUP",
|
|
@@ -983,7 +983,7 @@ var SIGNALS = [
|
|
|
983
983
|
}
|
|
984
984
|
];
|
|
985
985
|
|
|
986
|
-
// node_modules/.pnpm/human-signals@5.0.0/node_modules/human-signals/build/src/signals.js
|
|
986
|
+
// ../../node_modules/.pnpm/human-signals@5.0.0/node_modules/human-signals/build/src/signals.js
|
|
987
987
|
var getSignals = () => {
|
|
988
988
|
const realtimeSignals = getRealtimeSignals();
|
|
989
989
|
const signals2 = [...SIGNALS, ...realtimeSignals].map(normalizeSignal);
|
|
@@ -1005,7 +1005,7 @@ var normalizeSignal = ({
|
|
|
1005
1005
|
return { name, number, description, supported, action, forced, standard };
|
|
1006
1006
|
};
|
|
1007
1007
|
|
|
1008
|
-
// node_modules/.pnpm/human-signals@5.0.0/node_modules/human-signals/build/src/main.js
|
|
1008
|
+
// ../../node_modules/.pnpm/human-signals@5.0.0/node_modules/human-signals/build/src/main.js
|
|
1009
1009
|
var getSignalsByName = () => {
|
|
1010
1010
|
const signals2 = getSignals();
|
|
1011
1011
|
return Object.fromEntries(signals2.map(getSignalByName));
|
|
@@ -1056,7 +1056,7 @@ var findSignalByNumber = (number, signals2) => {
|
|
|
1056
1056
|
};
|
|
1057
1057
|
var signalsByNumber = getSignalsByNumber();
|
|
1058
1058
|
|
|
1059
|
-
// node_modules/.pnpm/execa@8.0.1/node_modules/execa/lib/error.js
|
|
1059
|
+
// ../../node_modules/.pnpm/execa@8.0.1/node_modules/execa/lib/error.js
|
|
1060
1060
|
var getErrorPrefix = ({ timedOut, timeout, errorCode, signal, signalDescription, exitCode, isCanceled }) => {
|
|
1061
1061
|
if (timedOut) {
|
|
1062
1062
|
return `timed out after ${timeout} milliseconds`;
|
|
@@ -1127,7 +1127,7 @@ ${error.message}` : execaMessage;
|
|
|
1127
1127
|
return error;
|
|
1128
1128
|
};
|
|
1129
1129
|
|
|
1130
|
-
// node_modules/.pnpm/execa@8.0.1/node_modules/execa/lib/stdio.js
|
|
1130
|
+
// ../../node_modules/.pnpm/execa@8.0.1/node_modules/execa/lib/stdio.js
|
|
1131
1131
|
var aliases = ["stdin", "stdout", "stderr"];
|
|
1132
1132
|
var hasAlias = (options) => aliases.some((alias) => options[alias] !== void 0);
|
|
1133
1133
|
var normalizeStdio = (options) => {
|
|
@@ -1164,10 +1164,10 @@ var normalizeStdioNode = (options) => {
|
|
|
1164
1164
|
return [...stdio, "ipc"];
|
|
1165
1165
|
};
|
|
1166
1166
|
|
|
1167
|
-
// node_modules/.pnpm/execa@8.0.1/node_modules/execa/lib/kill.js
|
|
1167
|
+
// ../../node_modules/.pnpm/execa@8.0.1/node_modules/execa/lib/kill.js
|
|
1168
1168
|
import os from "node:os";
|
|
1169
1169
|
|
|
1170
|
-
// node_modules/.pnpm/signal-exit@4.1.0/node_modules/signal-exit/dist/mjs/signals.js
|
|
1170
|
+
// ../../node_modules/.pnpm/signal-exit@4.1.0/node_modules/signal-exit/dist/mjs/signals.js
|
|
1171
1171
|
var signals = [];
|
|
1172
1172
|
signals.push("SIGHUP", "SIGINT", "SIGTERM");
|
|
1173
1173
|
if (process.platform !== "win32") {
|
|
@@ -1191,7 +1191,7 @@ if (process.platform === "linux") {
|
|
|
1191
1191
|
signals.push("SIGIO", "SIGPOLL", "SIGPWR", "SIGSTKFLT");
|
|
1192
1192
|
}
|
|
1193
1193
|
|
|
1194
|
-
// node_modules/.pnpm/signal-exit@4.1.0/node_modules/signal-exit/dist/mjs/index.js
|
|
1194
|
+
// ../../node_modules/.pnpm/signal-exit@4.1.0/node_modules/signal-exit/dist/mjs/index.js
|
|
1195
1195
|
var processOk = (process7) => !!process7 && typeof process7 === "object" && typeof process7.removeListener === "function" && typeof process7.emit === "function" && typeof process7.reallyExit === "function" && typeof process7.listeners === "function" && typeof process7.kill === "function" && typeof process7.pid === "number" && typeof process7.on === "function";
|
|
1196
1196
|
var kExitEmitter = Symbol.for("signal-exit emitter");
|
|
1197
1197
|
var global2 = globalThis;
|
|
@@ -1418,7 +1418,7 @@ var {
|
|
|
1418
1418
|
unload
|
|
1419
1419
|
} = signalExitWrap(processOk(process4) ? new SignalExit(process4) : new SignalExitFallback());
|
|
1420
1420
|
|
|
1421
|
-
// node_modules/.pnpm/execa@8.0.1/node_modules/execa/lib/kill.js
|
|
1421
|
+
// ../../node_modules/.pnpm/execa@8.0.1/node_modules/execa/lib/kill.js
|
|
1422
1422
|
var DEFAULT_FORCE_KILL_TIMEOUT = 1e3 * 5;
|
|
1423
1423
|
var spawnedKill = (kill, signal = "SIGTERM", options = {}) => {
|
|
1424
1424
|
const killResult = kill(signal);
|
|
@@ -1490,11 +1490,11 @@ var setExitHandler = async (spawned, { cleanup, detached }, timedPromise) => {
|
|
|
1490
1490
|
});
|
|
1491
1491
|
};
|
|
1492
1492
|
|
|
1493
|
-
// node_modules/.pnpm/execa@8.0.1/node_modules/execa/lib/pipe.js
|
|
1493
|
+
// ../../node_modules/.pnpm/execa@8.0.1/node_modules/execa/lib/pipe.js
|
|
1494
1494
|
import { createWriteStream } from "node:fs";
|
|
1495
1495
|
import { ChildProcess } from "node:child_process";
|
|
1496
1496
|
|
|
1497
|
-
// node_modules/.pnpm/is-stream@3.0.0/node_modules/is-stream/index.js
|
|
1497
|
+
// ../../node_modules/.pnpm/is-stream@3.0.0/node_modules/is-stream/index.js
|
|
1498
1498
|
function isStream(stream) {
|
|
1499
1499
|
return stream !== null && typeof stream === "object" && typeof stream.pipe === "function";
|
|
1500
1500
|
}
|
|
@@ -1502,7 +1502,7 @@ function isWritableStream(stream) {
|
|
|
1502
1502
|
return isStream(stream) && stream.writable !== false && typeof stream._write === "function" && typeof stream._writableState === "object";
|
|
1503
1503
|
}
|
|
1504
1504
|
|
|
1505
|
-
// node_modules/.pnpm/execa@8.0.1/node_modules/execa/lib/pipe.js
|
|
1505
|
+
// ../../node_modules/.pnpm/execa@8.0.1/node_modules/execa/lib/pipe.js
|
|
1506
1506
|
var isExecaChildProcess = (target) => target instanceof ChildProcess && typeof target.then === "function";
|
|
1507
1507
|
var pipeToTarget = (spawned, streamName, target) => {
|
|
1508
1508
|
if (typeof target === "string") {
|
|
@@ -1534,11 +1534,11 @@ var addPipeMethods = (spawned) => {
|
|
|
1534
1534
|
}
|
|
1535
1535
|
};
|
|
1536
1536
|
|
|
1537
|
-
// node_modules/.pnpm/execa@8.0.1/node_modules/execa/lib/stream.js
|
|
1537
|
+
// ../../node_modules/.pnpm/execa@8.0.1/node_modules/execa/lib/stream.js
|
|
1538
1538
|
import { createReadStream, readFileSync } from "node:fs";
|
|
1539
1539
|
import { setTimeout as setTimeout2 } from "node:timers/promises";
|
|
1540
1540
|
|
|
1541
|
-
// node_modules/.pnpm/get-stream@8.0.1/node_modules/get-stream/source/contents.js
|
|
1541
|
+
// ../../node_modules/.pnpm/get-stream@8.0.1/node_modules/get-stream/source/contents.js
|
|
1542
1542
|
var getStreamContents = async (stream, { init, convertChunk, getSize, truncateChunk, addChunk, getFinalChunk, finalize }, { maxBuffer = Number.POSITIVE_INFINITY } = {}) => {
|
|
1543
1543
|
if (!isAsyncIterable(stream)) {
|
|
1544
1544
|
throw new Error("The first argument must be a Readable, a ReadableStream, or an async iterable.");
|
|
@@ -1613,7 +1613,7 @@ var MaxBufferError = class extends Error {
|
|
|
1613
1613
|
}
|
|
1614
1614
|
};
|
|
1615
1615
|
|
|
1616
|
-
// node_modules/.pnpm/get-stream@8.0.1/node_modules/get-stream/source/utils.js
|
|
1616
|
+
// ../../node_modules/.pnpm/get-stream@8.0.1/node_modules/get-stream/source/utils.js
|
|
1617
1617
|
var identity = (value) => value;
|
|
1618
1618
|
var noop = () => void 0;
|
|
1619
1619
|
var getContentsProp = ({ contents }) => contents;
|
|
@@ -1622,7 +1622,7 @@ var throwObjectStream = (chunk) => {
|
|
|
1622
1622
|
};
|
|
1623
1623
|
var getLengthProp = (convertedChunk) => convertedChunk.length;
|
|
1624
1624
|
|
|
1625
|
-
// node_modules/.pnpm/get-stream@8.0.1/node_modules/get-stream/source/array-buffer.js
|
|
1625
|
+
// ../../node_modules/.pnpm/get-stream@8.0.1/node_modules/get-stream/source/array-buffer.js
|
|
1626
1626
|
async function getStreamAsArrayBuffer(stream, options) {
|
|
1627
1627
|
return getStreamContents(stream, arrayBufferMethods, options);
|
|
1628
1628
|
}
|
|
@@ -1675,7 +1675,7 @@ var arrayBufferMethods = {
|
|
|
1675
1675
|
finalize: finalizeArrayBuffer
|
|
1676
1676
|
};
|
|
1677
1677
|
|
|
1678
|
-
// node_modules/.pnpm/get-stream@8.0.1/node_modules/get-stream/source/buffer.js
|
|
1678
|
+
// ../../node_modules/.pnpm/get-stream@8.0.1/node_modules/get-stream/source/buffer.js
|
|
1679
1679
|
async function getStreamAsBuffer(stream, options) {
|
|
1680
1680
|
if (!("Buffer" in globalThis)) {
|
|
1681
1681
|
throw new Error("getStreamAsBuffer() is only supported in Node.js");
|
|
@@ -1691,7 +1691,7 @@ async function getStreamAsBuffer(stream, options) {
|
|
|
1691
1691
|
}
|
|
1692
1692
|
var arrayBufferToNodeBuffer = (arrayBuffer) => globalThis.Buffer.from(arrayBuffer);
|
|
1693
1693
|
|
|
1694
|
-
// node_modules/.pnpm/get-stream@8.0.1/node_modules/get-stream/source/string.js
|
|
1694
|
+
// ../../node_modules/.pnpm/get-stream@8.0.1/node_modules/get-stream/source/string.js
|
|
1695
1695
|
async function getStreamAsString(stream, options) {
|
|
1696
1696
|
return getStreamContents(stream, stringMethods, options);
|
|
1697
1697
|
}
|
|
@@ -1720,7 +1720,7 @@ var stringMethods = {
|
|
|
1720
1720
|
finalize: getContentsProp
|
|
1721
1721
|
};
|
|
1722
1722
|
|
|
1723
|
-
// node_modules/.pnpm/execa@8.0.1/node_modules/execa/lib/stream.js
|
|
1723
|
+
// ../../node_modules/.pnpm/execa@8.0.1/node_modules/execa/lib/stream.js
|
|
1724
1724
|
var import_merge_stream = __toESM(require_merge_stream(), 1);
|
|
1725
1725
|
var validateInputOptions = (input) => {
|
|
1726
1726
|
if (input !== void 0) {
|
|
@@ -1816,7 +1816,7 @@ var getSpawnedResult = async ({ stdout, stderr, all }, { encoding, buffer, maxBu
|
|
|
1816
1816
|
}
|
|
1817
1817
|
};
|
|
1818
1818
|
|
|
1819
|
-
// node_modules/.pnpm/execa@8.0.1/node_modules/execa/lib/promise.js
|
|
1819
|
+
// ../../node_modules/.pnpm/execa@8.0.1/node_modules/execa/lib/promise.js
|
|
1820
1820
|
var nativePromisePrototype = (async () => {
|
|
1821
1821
|
})().constructor.prototype;
|
|
1822
1822
|
var descriptors = ["then", "catch", "finally"].map((property) => [
|
|
@@ -1843,7 +1843,7 @@ var getSpawnedPromise = (spawned) => new Promise((resolve, reject) => {
|
|
|
1843
1843
|
}
|
|
1844
1844
|
});
|
|
1845
1845
|
|
|
1846
|
-
// node_modules/.pnpm/execa@8.0.1/node_modules/execa/lib/command.js
|
|
1846
|
+
// ../../node_modules/.pnpm/execa@8.0.1/node_modules/execa/lib/command.js
|
|
1847
1847
|
import { Buffer as Buffer2 } from "node:buffer";
|
|
1848
1848
|
import { ChildProcess as ChildProcess2 } from "node:child_process";
|
|
1849
1849
|
var normalizeArgs = (file, args = []) => {
|
|
@@ -1926,7 +1926,7 @@ var parseTemplates = (templates, expressions) => {
|
|
|
1926
1926
|
return tokens;
|
|
1927
1927
|
};
|
|
1928
1928
|
|
|
1929
|
-
// node_modules/.pnpm/execa@8.0.1/node_modules/execa/lib/verbose.js
|
|
1929
|
+
// ../../node_modules/.pnpm/execa@8.0.1/node_modules/execa/lib/verbose.js
|
|
1930
1930
|
import { debuglog } from "node:util";
|
|
1931
1931
|
import process5 from "node:process";
|
|
1932
1932
|
var verboseDefault = debuglog("execa").enabled;
|
|
@@ -1943,7 +1943,7 @@ var logCommand = (escapedCommand, { verbose }) => {
|
|
|
1943
1943
|
`);
|
|
1944
1944
|
};
|
|
1945
1945
|
|
|
1946
|
-
// node_modules/.pnpm/execa@8.0.1/node_modules/execa/index.js
|
|
1946
|
+
// ../../node_modules/.pnpm/execa@8.0.1/node_modules/execa/index.js
|
|
1947
1947
|
var DEFAULT_MAX_BUFFER = 1e3 * 1e3 * 100;
|
|
1948
1948
|
var getEnv = ({ env: envOption, extendEnv, preferLocal, localDir, execPath }) => {
|
|
1949
1949
|
const env = extendEnv ? { ...process6.env, ...envOption } : envOption;
|