@shopify/cli 3.73.1 → 3.74.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/assets/dev-console/extensions/dev-console/assets/{index-D7F9wNys.js → index-lyGm6l3x.js} +12 -12
- package/dist/assets/dev-console/index.html +2 -2
- package/dist/assets/speedscope/SourceCodePro-Regular.ttf.f546cbe0.woff2 +0 -0
- package/dist/assets/speedscope/demangle-cpp.1768f4cc.js +4 -0
- package/dist/assets/speedscope/favicon-16x16.f74b3187.png +0 -0
- package/dist/assets/speedscope/favicon-32x32.bc503437.png +0 -0
- package/dist/assets/speedscope/file-format-schema.json +324 -0
- package/dist/assets/speedscope/import.bcbb2033.js +123 -0
- package/dist/assets/speedscope/index.html +2 -0
- package/dist/assets/speedscope/perf-vertx-stacks-01-collapsed-all.2681da68.txt +199 -0
- package/dist/assets/speedscope/release.txt +3 -0
- package/dist/assets/speedscope/reset.8c46b7a1.css +2 -0
- package/dist/assets/speedscope/source-code-pro.52b1676f.css +2 -0
- package/dist/assets/speedscope/source-code-pro.LICENSE.md +93 -0
- package/dist/assets/speedscope/source-map.438fa06b.js +24 -0
- package/dist/assets/speedscope/speedscope.6f107512.js +193 -0
- package/dist/{chokidar-5LLC6S6D.js → chokidar-BLUAYFAB.js} +13 -1044
- package/dist/chokidar-OATAHMV6.js +1122 -0
- package/dist/{chunk-PWMEMGZN.js → chunk-2GCE2GUM.js} +3 -3
- package/dist/chunk-3I3GQNEW.js +95 -0
- package/dist/{chunk-OFYEMT6X.js → chunk-4QRIOWN3.js} +2 -2
- package/dist/{chunk-TIXENOYB.js → chunk-4W33LVQQ.js} +3 -3
- package/dist/{chunk-PVMQM44E.js → chunk-53WQGP7S.js} +4 -4
- package/dist/chunk-57Q6OQG4.js +111 -0
- package/dist/{chunk-MHUINF7I.js → chunk-5CLGH5PH.js} +2 -2
- package/dist/{chunk-CRHXI6PS.js → chunk-5DBS6QOU.js} +102 -638
- package/dist/{chunk-SNXQ36U2.js → chunk-5JC3BUPR.js} +3 -3
- package/dist/{chunk-3UQTWISO.js → chunk-5JWRABV2.js} +8 -8
- package/dist/{chunk-4SP4IRCQ.js → chunk-6JNRBEP6.js} +7 -9
- package/dist/{chunk-NHV2E73I.js → chunk-76NEANNG.js} +6442 -3165
- package/dist/{chunk-X4N2QZOS.js → chunk-7T4EKFVU.js} +16 -2
- package/dist/{chunk-I72O5WWR.js → chunk-ACIVN2Q4.js} +502 -699
- package/dist/{chunk-ZX3L2JKV.js → chunk-AKL7T64Q.js} +80 -133
- package/dist/{chunk-YVXC5Q6R.js → chunk-B27LGWRZ.js} +3 -3
- package/dist/{chunk-BUFIEXZ5.js → chunk-B3YWYURY.js} +701 -141
- package/dist/{chunk-X5WKMCE4.js → chunk-BWBSJLZN.js} +333 -156
- package/dist/{chunk-K7HGDAI4.js → chunk-CDBXAE2F.js} +20 -104
- package/dist/{chunk-SBPFWO4S.js → chunk-CDQA3SST.js} +56182 -37290
- package/dist/chunk-CP3BRHWK.js +33 -0
- package/dist/{chunk-RZOW7U2N.js → chunk-D5AR5HKB.js} +2 -2
- package/dist/chunk-EMPP4I5H.js +497 -0
- package/dist/{chunk-DZHO64DX.js → chunk-FCWD4NEK.js} +3 -3
- package/dist/{chunk-7JQIHXLD.js → chunk-FMXC2O6H.js} +2 -2
- package/dist/{chunk-P63UVLRS.js → chunk-GVMUVIT5.js} +7 -7
- package/dist/{chunk-KUM3DVPF.js → chunk-HMDWNGIV.js} +142 -471
- package/dist/{chunk-MJWFXPPX.js → chunk-I6YWZKVU.js} +2 -2
- package/dist/{chunk-MLL3JKVY.js → chunk-IYQNHNNP.js} +4 -4
- package/dist/{chunk-QIM24FVT.js → chunk-JWRRKMF2.js} +2 -2
- package/dist/{chunk-OXS42VB7.js → chunk-L3FVJFIT.js} +498 -412
- package/dist/{chunk-HIQDOFZI.js → chunk-LH6BHL6J.js} +3 -3
- package/dist/{chunk-OAZFIMJ3.js → chunk-LQ2ZKVR6.js} +45 -115
- package/dist/{chunk-4UAFBJXJ.js → chunk-MDJOXUMQ.js} +4 -4
- package/dist/{chunk-EKIVYQZC.js → chunk-MSBZRBI5.js} +4 -4
- package/dist/{chunk-3HBRMIPY.js → chunk-MW7RWHY5.js} +341 -211
- package/dist/{chunk-GLYEBL66.js → chunk-NUW6LQU4.js} +4 -4
- package/dist/{chunk-LPBV67AA.js → chunk-PMOQBQSE.js} +3 -3
- package/dist/{chunk-NQZUE7SY.js → chunk-QEUQO265.js} +5 -7
- package/dist/chunk-QRARFXIM.js +1137 -0
- package/dist/{chunk-KD7WMX4J.js → chunk-R7RENZQC.js} +3 -3
- package/dist/chunk-UB7RN523.js +15933 -0
- package/dist/{chunk-O72ZUVEA.js → chunk-VI4NVMJH.js} +2 -2
- package/dist/{chunk-RDZJQNFU.js → chunk-WBTJ7MQU.js} +3 -3
- package/dist/{chunk-CXHISGHD.js → chunk-WKO4CJCL.js} +5 -7
- package/dist/{chunk-6NZVGPSV.js → chunk-WNUVUNTL.js} +41 -23
- package/dist/{chunk-RBLSG22M.js → chunk-XBIDXV7B.js} +4 -4
- package/dist/{chunk-PBDGN4T2.js → chunk-XJNTFQIK.js} +5 -5
- package/dist/cli/commands/auth/logout.js +20 -19
- package/dist/cli/commands/auth/logout.test.js +22 -21
- package/dist/cli/commands/cache/clear.js +19 -18
- package/dist/cli/commands/debug/command-flags.js +19 -18
- package/dist/cli/commands/docs/generate.js +19 -18
- package/dist/cli/commands/docs/generate.test.js +20 -19
- package/dist/cli/commands/help.js +19 -18
- package/dist/cli/commands/kitchen-sink/async.js +20 -19
- package/dist/cli/commands/kitchen-sink/async.test.js +21 -20
- package/dist/cli/commands/kitchen-sink/index.js +22 -21
- package/dist/cli/commands/kitchen-sink/index.test.js +23 -22
- package/dist/cli/commands/kitchen-sink/prompts.js +20 -19
- package/dist/cli/commands/kitchen-sink/prompts.test.js +21 -20
- package/dist/cli/commands/kitchen-sink/static.js +20 -19
- package/dist/cli/commands/kitchen-sink/static.test.js +21 -20
- package/dist/cli/commands/notifications/generate.js +20 -19
- package/dist/cli/commands/notifications/list.js +20 -19
- package/dist/cli/commands/search.js +20 -19
- package/dist/cli/commands/upgrade.js +20 -19
- package/dist/cli/commands/upgrade.test.js +2 -1
- package/dist/cli/commands/version.js +20 -19
- package/dist/cli/commands/version.test.js +21 -20
- package/dist/cli/services/commands/notifications.js +14 -13
- package/dist/cli/services/commands/search.js +9 -8
- package/dist/cli/services/commands/search.test.js +10 -9
- package/dist/cli/services/commands/version.js +10 -9
- package/dist/cli/services/commands/version.test.js +12 -11
- package/dist/cli/services/kitchen-sink/async.js +9 -8
- package/dist/cli/services/kitchen-sink/prompts.js +9 -8
- package/dist/cli/services/kitchen-sink/static.js +9 -8
- package/dist/cli/services/upgrade.d.ts +0 -1
- package/dist/cli/services/upgrade.js +11 -10
- package/dist/cli/services/upgrade.test.js +14 -13
- package/dist/configs/all.yml +6 -0
- package/dist/configs/recommended.yml +6 -0
- package/dist/{custom-oclif-loader-L4JT3EUD.js → custom-oclif-loader-ZY5GUSB3.js} +9 -8
- package/dist/{del-P2RS6GN2.js → del-FBU5JYXS.js} +4 -4
- package/dist/{devtools-K7FXBBFZ.js → devtools-6LOQORRT.js} +2 -2
- package/dist/{error-handler-4CU3ZOV7.js → error-handler-YRN4E6SY.js} +17 -16
- package/dist/hooks/postrun.js +18 -16
- package/dist/hooks/prerun.js +15 -14
- package/dist/{http-proxy-FXWKYHZ3.js → http-proxy-L3MCJRQS.js} +3 -2
- package/dist/index.js +18723 -17426
- package/dist/lib-E2DSNKUX.js +13 -0
- package/dist/{local-2K66O4X2.js → local-VTZT5Q4L.js} +11 -10
- package/dist/{morph-OSHCID2F.js → morph-ACVSDUS7.js} +3 -3
- package/dist/{node-342GUJIM.js → node-ONVZF27D.js} +23 -20
- package/dist/{node-package-manager-RJSBCFD7.js → node-package-manager-BZNXJETD.js} +11 -10
- package/dist/{npa-TM76BGG3.js → npa-JAX2F6CO.js} +2 -2
- package/dist/out-AZBX4ITJ.js +7 -0
- package/dist/{path-2HZUSAGR.js → path-2K5HIMHZ.js} +3 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-YBLW4B72.js → ui-3RKZNTJR.js} +9 -8
- package/dist/{workerd-5KR5CP5F.js → workerd-PSNADDQA.js} +23 -20
- package/oclif.manifest.json +103 -2
- package/package.json +9 -9
- package/LICENSE +0 -8
- package/dist/chunk-5YYJVU2L.js +0 -15746
- package/dist/chunk-HYVCBINV.js +0 -3811
- package/dist/lib-QZGSY5YB.js +0 -13
- package/dist/out-JR4DWQ2G.js +0 -7
- /package/dist/assets/dev-console/extensions/dev-console/assets/{index-Cgb-oKsM.css → index-n8yr6cxq.css} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
staticService
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7T4EKFVU.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6JNRBEP6.js";
|
|
7
7
|
import {
|
|
8
8
|
init_cjs_shims
|
|
9
9
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -25,4 +25,4 @@ var KitchenSinkStatic = class extends base_command_default {
|
|
|
25
25
|
export {
|
|
26
26
|
KitchenSinkStatic
|
|
27
27
|
};
|
|
28
|
-
//# sourceMappingURL=chunk-
|
|
28
|
+
//# sourceMappingURL=chunk-LH6BHL6J.js.map
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
+
import {
|
|
2
|
+
require_supports_color
|
|
3
|
+
} from "./chunk-3I3GQNEW.js";
|
|
1
4
|
import {
|
|
2
5
|
__commonJS,
|
|
3
6
|
__require,
|
|
4
7
|
init_cjs_shims
|
|
5
8
|
} from "./chunk-PKR7KJ6P.js";
|
|
6
9
|
|
|
7
|
-
// ../../node_modules/.pnpm/ms@2.1.
|
|
10
|
+
// ../../node_modules/.pnpm/ms@2.1.3/node_modules/ms/index.js
|
|
8
11
|
var require_ms = __commonJS({
|
|
9
|
-
"../../node_modules/.pnpm/ms@2.1.
|
|
12
|
+
"../../node_modules/.pnpm/ms@2.1.3/node_modules/ms/index.js"(exports, module) {
|
|
10
13
|
init_cjs_shims();
|
|
11
14
|
var s = 1e3, m = s * 60, h = m * 60, d = h * 24, w = d * 7, y = d * 365.25;
|
|
12
15
|
module.exports = function(val, options) {
|
|
@@ -87,9 +90,9 @@ var require_ms = __commonJS({
|
|
|
87
90
|
}
|
|
88
91
|
});
|
|
89
92
|
|
|
90
|
-
// ../../node_modules/.pnpm/debug@4.
|
|
93
|
+
// ../../node_modules/.pnpm/debug@4.4.0_supports-color@8.1.1/node_modules/debug/src/common.js
|
|
91
94
|
var require_common = __commonJS({
|
|
92
|
-
"../../node_modules/.pnpm/debug@4.
|
|
95
|
+
"../../node_modules/.pnpm/debug@4.4.0_supports-color@8.1.1/node_modules/debug/src/common.js"(exports, module) {
|
|
93
96
|
init_cjs_shims();
|
|
94
97
|
function setup(env) {
|
|
95
98
|
createDebug.debug = createDebug, createDebug.default = createDebug, createDebug.coerce = coerce, createDebug.disable = disable, createDebug.enable = enable, createDebug.enabled = enabled, createDebug.humanize = require_ms(), createDebug.destroy = destroy, Object.keys(env).forEach((key) => {
|
|
@@ -137,32 +140,39 @@ var require_common = __commonJS({
|
|
|
137
140
|
}
|
|
138
141
|
function enable(namespaces) {
|
|
139
142
|
createDebug.save(namespaces), createDebug.namespaces = namespaces, createDebug.names = [], createDebug.skips = [];
|
|
140
|
-
let
|
|
141
|
-
for (
|
|
142
|
-
|
|
143
|
+
let split = (typeof namespaces == "string" ? namespaces : "").trim().replace(" ", ",").split(",").filter(Boolean);
|
|
144
|
+
for (let ns of split)
|
|
145
|
+
ns[0] === "-" ? createDebug.skips.push(ns.slice(1)) : createDebug.names.push(ns);
|
|
146
|
+
}
|
|
147
|
+
function matchesTemplate(search, template) {
|
|
148
|
+
let searchIndex = 0, templateIndex = 0, starIndex = -1, matchIndex = 0;
|
|
149
|
+
for (; searchIndex < search.length; )
|
|
150
|
+
if (templateIndex < template.length && (template[templateIndex] === search[searchIndex] || template[templateIndex] === "*"))
|
|
151
|
+
template[templateIndex] === "*" ? (starIndex = templateIndex, matchIndex = searchIndex, templateIndex++) : (searchIndex++, templateIndex++);
|
|
152
|
+
else if (starIndex !== -1)
|
|
153
|
+
templateIndex = starIndex + 1, matchIndex++, searchIndex = matchIndex;
|
|
154
|
+
else
|
|
155
|
+
return !1;
|
|
156
|
+
for (; templateIndex < template.length && template[templateIndex] === "*"; )
|
|
157
|
+
templateIndex++;
|
|
158
|
+
return templateIndex === template.length;
|
|
143
159
|
}
|
|
144
160
|
function disable() {
|
|
145
161
|
let namespaces = [
|
|
146
|
-
...createDebug.names
|
|
147
|
-
...createDebug.skips.map(
|
|
162
|
+
...createDebug.names,
|
|
163
|
+
...createDebug.skips.map((namespace) => "-" + namespace)
|
|
148
164
|
].join(",");
|
|
149
165
|
return createDebug.enable(""), namespaces;
|
|
150
166
|
}
|
|
151
167
|
function enabled(name) {
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
let i, len;
|
|
155
|
-
for (i = 0, len = createDebug.skips.length; i < len; i++)
|
|
156
|
-
if (createDebug.skips[i].test(name))
|
|
168
|
+
for (let skip of createDebug.skips)
|
|
169
|
+
if (matchesTemplate(name, skip))
|
|
157
170
|
return !1;
|
|
158
|
-
for (
|
|
159
|
-
if (
|
|
171
|
+
for (let ns of createDebug.names)
|
|
172
|
+
if (matchesTemplate(name, ns))
|
|
160
173
|
return !0;
|
|
161
174
|
return !1;
|
|
162
175
|
}
|
|
163
|
-
function toNamespace(regexp) {
|
|
164
|
-
return regexp.toString().substring(2, regexp.toString().length - 2).replace(/\.\*\?$/, "*");
|
|
165
|
-
}
|
|
166
176
|
function coerce(val) {
|
|
167
177
|
return val instanceof Error ? val.stack || val.message : val;
|
|
168
178
|
}
|
|
@@ -175,9 +185,9 @@ var require_common = __commonJS({
|
|
|
175
185
|
}
|
|
176
186
|
});
|
|
177
187
|
|
|
178
|
-
// ../../node_modules/.pnpm/debug@4.
|
|
188
|
+
// ../../node_modules/.pnpm/debug@4.4.0_supports-color@8.1.1/node_modules/debug/src/browser.js
|
|
179
189
|
var require_browser = __commonJS({
|
|
180
|
-
"../../node_modules/.pnpm/debug@4.
|
|
190
|
+
"../../node_modules/.pnpm/debug@4.4.0_supports-color@8.1.1/node_modules/debug/src/browser.js"(exports, module) {
|
|
181
191
|
init_cjs_shims();
|
|
182
192
|
exports.formatArgs = formatArgs;
|
|
183
193
|
exports.save = save;
|
|
@@ -269,10 +279,15 @@ var require_browser = __commonJS({
|
|
|
269
279
|
"#FFCC33"
|
|
270
280
|
];
|
|
271
281
|
function useColors() {
|
|
272
|
-
|
|
282
|
+
if (typeof window < "u" && window.process && (window.process.type === "renderer" || window.process.__nwjs))
|
|
283
|
+
return !0;
|
|
284
|
+
if (typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))
|
|
285
|
+
return !1;
|
|
286
|
+
let m;
|
|
287
|
+
return typeof document < "u" && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || // Is firebug? http://stackoverflow.com/a/398120/376773
|
|
273
288
|
typeof window < "u" && window.console && (window.console.firebug || window.console.exception && window.console.table) || // Is firefox >= v31?
|
|
274
289
|
// https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages
|
|
275
|
-
typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(
|
|
290
|
+
typeof navigator < "u" && navigator.userAgent && (m = navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)) && parseInt(m[1], 10) >= 31 || // Double check webkit in userAgent just in case we are in a worker
|
|
276
291
|
typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
|
|
277
292
|
}
|
|
278
293
|
function formatArgs(args) {
|
|
@@ -319,93 +334,9 @@ var require_browser = __commonJS({
|
|
|
319
334
|
}
|
|
320
335
|
});
|
|
321
336
|
|
|
322
|
-
// ../../node_modules/.pnpm/
|
|
323
|
-
var require_has_flag = __commonJS({
|
|
324
|
-
"../../node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js"(exports, module) {
|
|
325
|
-
"use strict";
|
|
326
|
-
init_cjs_shims();
|
|
327
|
-
module.exports = (flag, argv = process.argv) => {
|
|
328
|
-
let prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--", position = argv.indexOf(prefix + flag), terminatorPosition = argv.indexOf("--");
|
|
329
|
-
return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
|
|
330
|
-
};
|
|
331
|
-
}
|
|
332
|
-
});
|
|
333
|
-
|
|
334
|
-
// ../../node_modules/.pnpm/supports-color@8.1.1/node_modules/supports-color/index.js
|
|
335
|
-
var require_supports_color = __commonJS({
|
|
336
|
-
"../../node_modules/.pnpm/supports-color@8.1.1/node_modules/supports-color/index.js"(exports, module) {
|
|
337
|
-
"use strict";
|
|
338
|
-
init_cjs_shims();
|
|
339
|
-
var os = __require("os"), tty = __require("tty"), hasFlag = require_has_flag(), { env } = process, flagForceColor;
|
|
340
|
-
hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never") ? flagForceColor = 0 : (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) && (flagForceColor = 1);
|
|
341
|
-
function envForceColor() {
|
|
342
|
-
if ("FORCE_COLOR" in env)
|
|
343
|
-
return env.FORCE_COLOR === "true" ? 1 : env.FORCE_COLOR === "false" ? 0 : env.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(env.FORCE_COLOR, 10), 3);
|
|
344
|
-
}
|
|
345
|
-
function translateLevel(level) {
|
|
346
|
-
return level === 0 ? !1 : {
|
|
347
|
-
level,
|
|
348
|
-
hasBasic: !0,
|
|
349
|
-
has256: level >= 2,
|
|
350
|
-
has16m: level >= 3
|
|
351
|
-
};
|
|
352
|
-
}
|
|
353
|
-
function supportsColor(haveStream, { streamIsTTY, sniffFlags = !0 } = {}) {
|
|
354
|
-
let noFlagForceColor = envForceColor();
|
|
355
|
-
noFlagForceColor !== void 0 && (flagForceColor = noFlagForceColor);
|
|
356
|
-
let forceColor = sniffFlags ? flagForceColor : noFlagForceColor;
|
|
357
|
-
if (forceColor === 0)
|
|
358
|
-
return 0;
|
|
359
|
-
if (sniffFlags) {
|
|
360
|
-
if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor"))
|
|
361
|
-
return 3;
|
|
362
|
-
if (hasFlag("color=256"))
|
|
363
|
-
return 2;
|
|
364
|
-
}
|
|
365
|
-
if (haveStream && !streamIsTTY && forceColor === void 0)
|
|
366
|
-
return 0;
|
|
367
|
-
let min = forceColor || 0;
|
|
368
|
-
if (env.TERM === "dumb")
|
|
369
|
-
return min;
|
|
370
|
-
if (process.platform === "win32") {
|
|
371
|
-
let osRelease = os.release().split(".");
|
|
372
|
-
return Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586 ? Number(osRelease[2]) >= 14931 ? 3 : 2 : 1;
|
|
373
|
-
}
|
|
374
|
-
if ("CI" in env)
|
|
375
|
-
return ["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "GITHUB_ACTIONS", "BUILDKITE", "DRONE"].some((sign) => sign in env) || env.CI_NAME === "codeship" ? 1 : min;
|
|
376
|
-
if ("TEAMCITY_VERSION" in env)
|
|
377
|
-
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
|
|
378
|
-
if (env.COLORTERM === "truecolor")
|
|
379
|
-
return 3;
|
|
380
|
-
if ("TERM_PROGRAM" in env) {
|
|
381
|
-
let version = Number.parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
|
|
382
|
-
switch (env.TERM_PROGRAM) {
|
|
383
|
-
case "iTerm.app":
|
|
384
|
-
return version >= 3 ? 3 : 2;
|
|
385
|
-
case "Apple_Terminal":
|
|
386
|
-
return 2;
|
|
387
|
-
}
|
|
388
|
-
}
|
|
389
|
-
return /-256(color)?$/i.test(env.TERM) ? 2 : /^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM) || "COLORTERM" in env ? 1 : min;
|
|
390
|
-
}
|
|
391
|
-
function getSupportLevel(stream, options = {}) {
|
|
392
|
-
let level = supportsColor(stream, {
|
|
393
|
-
streamIsTTY: stream && stream.isTTY,
|
|
394
|
-
...options
|
|
395
|
-
});
|
|
396
|
-
return translateLevel(level);
|
|
397
|
-
}
|
|
398
|
-
module.exports = {
|
|
399
|
-
supportsColor: getSupportLevel,
|
|
400
|
-
stdout: getSupportLevel({ isTTY: tty.isatty(1) }),
|
|
401
|
-
stderr: getSupportLevel({ isTTY: tty.isatty(2) })
|
|
402
|
-
};
|
|
403
|
-
}
|
|
404
|
-
});
|
|
405
|
-
|
|
406
|
-
// ../../node_modules/.pnpm/debug@4.3.4_supports-color@8.1.1/node_modules/debug/src/node.js
|
|
337
|
+
// ../../node_modules/.pnpm/debug@4.4.0_supports-color@8.1.1/node_modules/debug/src/node.js
|
|
407
338
|
var require_node = __commonJS({
|
|
408
|
-
"../../node_modules/.pnpm/debug@4.
|
|
339
|
+
"../../node_modules/.pnpm/debug@4.4.0_supports-color@8.1.1/node_modules/debug/src/node.js"(exports, module) {
|
|
409
340
|
init_cjs_shims();
|
|
410
341
|
var tty = __require("tty"), util = __require("util");
|
|
411
342
|
exports.init = init;
|
|
@@ -523,7 +454,7 @@ var require_node = __commonJS({
|
|
|
523
454
|
return exports.inspectOpts.hideDate ? "" : (/* @__PURE__ */ new Date()).toISOString() + " ";
|
|
524
455
|
}
|
|
525
456
|
function log(...args) {
|
|
526
|
-
return process.stderr.write(util.
|
|
457
|
+
return process.stderr.write(util.formatWithOptions(exports.inspectOpts, ...args) + `
|
|
527
458
|
`);
|
|
528
459
|
}
|
|
529
460
|
function save(namespaces) {
|
|
@@ -550,17 +481,16 @@ var require_node = __commonJS({
|
|
|
550
481
|
}
|
|
551
482
|
});
|
|
552
483
|
|
|
553
|
-
// ../../node_modules/.pnpm/debug@4.
|
|
484
|
+
// ../../node_modules/.pnpm/debug@4.4.0_supports-color@8.1.1/node_modules/debug/src/index.js
|
|
554
485
|
var require_src = __commonJS({
|
|
555
|
-
"../../node_modules/.pnpm/debug@4.
|
|
486
|
+
"../../node_modules/.pnpm/debug@4.4.0_supports-color@8.1.1/node_modules/debug/src/index.js"(exports, module) {
|
|
556
487
|
init_cjs_shims();
|
|
557
488
|
typeof process > "u" || process.type === "renderer" || process.browser === !0 || process.__nwjs ? module.exports = require_browser() : module.exports = require_node();
|
|
558
489
|
}
|
|
559
490
|
});
|
|
560
491
|
|
|
561
492
|
export {
|
|
562
|
-
|
|
563
|
-
require_supports_color,
|
|
493
|
+
require_ms,
|
|
564
494
|
require_src
|
|
565
495
|
};
|
|
566
|
-
//# sourceMappingURL=chunk-
|
|
496
|
+
//# sourceMappingURL=chunk-LQ2ZKVR6.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
base_command_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6JNRBEP6.js";
|
|
4
4
|
import {
|
|
5
5
|
renderTable,
|
|
6
6
|
renderText
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-L3FVJFIT.js";
|
|
8
8
|
import {
|
|
9
9
|
require_lib
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-CDQA3SST.js";
|
|
11
11
|
import {
|
|
12
12
|
__toESM,
|
|
13
13
|
init_cjs_shims
|
|
@@ -83,4 +83,4 @@ var import_core = __toESM(require_lib(), 1), CommandFlags = class _CommandFlags
|
|
|
83
83
|
export {
|
|
84
84
|
CommandFlags
|
|
85
85
|
};
|
|
86
|
-
//# sourceMappingURL=chunk-
|
|
86
|
+
//# sourceMappingURL=chunk-MDJOXUMQ.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
logout
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WKO4CJCL.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6JNRBEP6.js";
|
|
7
7
|
import {
|
|
8
8
|
outputSuccess
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-L3FVJFIT.js";
|
|
10
10
|
import {
|
|
11
11
|
init_cjs_shims
|
|
12
12
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -25,4 +25,4 @@ var Logout = class extends base_command_default {
|
|
|
25
25
|
export {
|
|
26
26
|
Logout
|
|
27
27
|
};
|
|
28
|
-
//# sourceMappingURL=chunk-
|
|
28
|
+
//# sourceMappingURL=chunk-MSBZRBI5.js.map
|