Lines 16-56javascript
16 for (let key of __getOwnPropNames(from))
17 if (!__hasOwnProp.call(to, key) && key !== except)
18 __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
22var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
23 // If the importer is in node compatibility mode or this is not an ESM
24 // file that has been converted to a CommonJS file using a Babel-
25 // compatible transform (i.e. "__esModule" has not been set), then set
26 // "default" to the CommonJS "module.exports" for node compatibility.
27 isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
31// ../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js
32var require_picocolors = __commonJS({
33 "../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js"(exports, module) {
34 var p = process || {};
35 var argv = p.argv || [];
36 var env = p.env || {};
37 var isColorSupported = !(!!env.NO_COLOR || argv.includes("--no-color")) && (!!env.FORCE_COLOR || argv.includes("--color") || p.platform === "win32" || (p.stdout || {}).isTTY && env.TERM !== "dumb" || !!
38 var formatter = (open, close, replace = open) => (input) => {
HighSandbox Evasion Gated Capability
Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
dist/cli.jsView on unpkg · L36 39 let string = "" + input, index = string.indexOf(close, open.length);
40 return ~index ? open + replaceClose(string, close, replace, index) + close : open + string + close;
42 var replaceClose = (string, close, replace, index) => {
43 let result = "", cursor = 0;
45 result += string.substring(cursor, index) + replace;
46 cursor = index + close.length;
47 index = string.indexOf(close, cursor);
49 return result + string.substring(cursor);
51 var createColors = (enabled = isColorSupported) => {
52 let f = enabled ? formatter : () => String;
54 isColorSupported: enabled,
55 reset: f("\x1B[0m", "\x1B[0m"),
56 bold: f("\x1B[1m", "\x1B[22m", "\x1B[22m\x1B[1m"),