@shopify/create-app 3.73.2 → 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.
Files changed (39) hide show
  1. package/dist/{chokidar-5LLC6S6D.js → chokidar-LYCK7UIU.js} +20 -574
  2. package/dist/chunk-3I3GQNEW.js +95 -0
  3. package/dist/{chunk-CRHXI6PS.js → chunk-5DBS6QOU.js} +102 -638
  4. package/dist/{chunk-Z2K6T5HO.js → chunk-A2CUF3IE.js} +2 -2
  5. package/dist/{chunk-BUFIEXZ5.js → chunk-B3YWYURY.js} +701 -141
  6. package/dist/{chunk-K7HGDAI4.js → chunk-CDBXAE2F.js} +20 -104
  7. package/dist/chunk-CP3BRHWK.js +33 -0
  8. package/dist/{chunk-OAZFIMJ3.js → chunk-LQ2ZKVR6.js} +45 -115
  9. package/dist/{chunk-5MQK53ZB.js → chunk-MFOTVT4R.js} +489 -410
  10. package/dist/{chunk-3HBRMIPY.js → chunk-MW7RWHY5.js} +341 -211
  11. package/dist/{chunk-BOBYVF6Z.js → chunk-NBA3G6YQ.js} +55430 -36539
  12. package/dist/{chunk-7BLDARWR.js → chunk-PNW5KDM2.js} +40 -22
  13. package/dist/{chunk-55N7E5WW.js → chunk-QPEQYFIE.js} +1849 -4319
  14. package/dist/chunk-RVS7NPOH.js +15929 -0
  15. package/dist/{chunk-U52U2BAX.js → chunk-VK6YB4CW.js} +640 -1166
  16. package/dist/{chunk-EZFQXNK5.js → chunk-ZKGBK6WQ.js} +2 -2
  17. package/dist/chunk-ZUCWDIGE.js +111 -0
  18. package/dist/{custom-oclif-loader-COXUWDRX.js → custom-oclif-loader-3WFQ2GRD.js} +9 -8
  19. package/dist/{del-WGII2Y5S.js → del-CKAQ44SX.js} +5 -5
  20. package/dist/{devtools-K7FXBBFZ.js → devtools-6LOQORRT.js} +2 -2
  21. package/dist/{error-handler-NLEDBRP4.js → error-handler-N6P2X42R.js} +13 -12
  22. package/dist/hooks/postrun.js +14 -12
  23. package/dist/hooks/prerun.js +27 -12
  24. package/dist/{http-proxy-FXWKYHZ3.js → http-proxy-L3MCJRQS.js} +3 -2
  25. package/dist/index.js +19912 -17261
  26. package/dist/index.test.js +80 -133
  27. package/dist/lib-ZAUU5FOJ.js +11 -0
  28. package/dist/{local-WM5Y2GKE.js → local-EBAW6AUD.js} +11 -10
  29. package/dist/{node-package-manager-U4IKWNRD.js → node-package-manager-VTG2B4KW.js} +10 -9
  30. package/dist/out-AZBX4ITJ.js +7 -0
  31. package/dist/{path-2HZUSAGR.js → path-GWAZZN2N.js} +3 -2
  32. package/dist/tsconfig.tsbuildinfo +1 -1
  33. package/dist/{ui-NMBUMLWD.js → ui-QBKDPUJX.js} +9 -8
  34. package/oclif.manifest.json +1 -1
  35. package/package.json +3 -4
  36. package/dist/chunk-JHSNPAK4.js +0 -15742
  37. package/dist/chunk-TKDPJ4ZU.js +0 -27
  38. package/dist/lib-CKTRCGTR.js +0 -11
  39. package/dist/out-JR4DWQ2G.js +0 -7
@@ -1,46 +1,14 @@
1
1
  import {
2
- __commonJS,
3
- __require,
4
- __toESM,
5
2
  init_cjs_shims
6
3
  } from "./chunk-PKR7KJ6P.js";
7
4
 
8
- // ../../node_modules/.pnpm/commondir@1.0.1/node_modules/commondir/index.js
9
- var require_commondir = __commonJS({
10
- "../../node_modules/.pnpm/commondir@1.0.1/node_modules/commondir/index.js"(exports, module) {
11
- init_cjs_shims();
12
- var path2 = __require("path");
13
- module.exports = function(basedir, relfiles) {
14
- if (relfiles)
15
- var files = relfiles.map(function(r) {
16
- return path2.resolve(basedir, r);
17
- });
18
- else
19
- var files = basedir;
20
- var res = files.slice(1).reduce(function(ps, file) {
21
- if (!file.match(/^([A-Za-z]:)?\/|\\/))
22
- throw new Error("relative path without a basedir");
23
- for (var xs = file.split(/\/+|\\+/), i = 0; ps[i] === xs[i] && i < Math.min(ps.length, xs.length); i++) ;
24
- return ps.slice(0, i);
25
- }, files[0].split(/\/+|\\+/));
26
- return res.length > 1 ? res.join("/") : "/";
27
- };
28
- }
29
- });
30
-
31
- // ../cli-kit/dist/public/node/path.js
32
- init_cjs_shims();
33
- var import_commondir = __toESM(require_commondir());
34
-
35
- // ../../node_modules/.pnpm/pathe@1.1.1/node_modules/pathe/dist/index.mjs
36
- init_cjs_shims();
37
-
38
- // ../../node_modules/.pnpm/pathe@1.1.1/node_modules/pathe/dist/shared/pathe.92c04245.mjs
5
+ // ../../node_modules/.pnpm/pathe@1.1.2/node_modules/pathe/dist/shared/pathe.ff20891b.mjs
39
6
  init_cjs_shims();
7
+ var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
40
8
  function normalizeWindowsPath(input = "") {
41
- return !input || !input.includes("\\") ? input : input.replace(/\\/g, "/");
9
+ return input && input.replace(/\\/g, "/").replace(_DRIVE_LETTER_START_RE, (r) => r.toUpperCase());
42
10
  }
43
- var _UNC_REGEX = /^[/\\]{2}/, _IS_ABSOLUTE_RE = /^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/, _DRIVE_LETTER_RE = /^[A-Za-z]:$/;
11
+ var _UNC_REGEX = /^[/\\]{2}/, _IS_ABSOLUTE_RE = /^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/, _DRIVE_LETTER_RE = /^[A-Za-z]:$/, _ROOT_FOLDER_RE = /^\/([A-Za-z]:)?$/;
44
12
  var delimiter = ":", normalize = function(path2) {
45
13
  if (path2.length === 0)
46
14
  return ".";
@@ -56,7 +24,7 @@ var delimiter = ":", normalize = function(path2) {
56
24
  return joined === void 0 ? "." : normalize(joined.replace(/\/\/+/g, "/"));
57
25
  };
58
26
  function cwd() {
59
- return typeof process < "u" ? process.cwd().replace(/\\/g, "/") : "/";
27
+ return typeof process < "u" && typeof process.cwd == "function" ? process.cwd().replace(/\\/g, "/") : "/";
60
28
  }
61
29
  var resolve = function(...arguments_) {
62
30
  arguments_ = arguments_.map((argument) => normalizeWindowsPath(argument));
@@ -104,7 +72,10 @@ var _EXTNAME_RE = /.(\.[^./]+)$/, extname = function(p) {
104
72
  let match = _EXTNAME_RE.exec(normalizeWindowsPath(p));
105
73
  return match && match[1] || "";
106
74
  }, relative = function(from, to) {
107
- let _from = resolve(from).split("/"), _to = resolve(to).split("/"), _fromCopy = [..._from];
75
+ let _from = resolve(from).replace(_ROOT_FOLDER_RE, "$1").split("/"), _to = resolve(to).replace(_ROOT_FOLDER_RE, "$1").split("/");
76
+ if (_to[0][1] === ":" && _from[0][1] === ":" && _from[0] !== _to[0])
77
+ return _to.join("/");
78
+ let _fromCopy = [..._from];
108
79
  for (let segment of _fromCopy) {
109
80
  if (_to[0] !== segment)
110
81
  break;
@@ -120,73 +91,18 @@ var basename = function(p, extension) {
120
91
  return extension && lastSegment.endsWith(extension) ? lastSegment.slice(0, -extension.length) : lastSegment;
121
92
  };
122
93
 
123
- // ../cli-kit/dist/public/node/path.js
124
- import { fileURLToPath } from "url";
125
- function joinPath(...paths) {
126
- return join(...paths);
127
- }
128
- function normalizePath(path2) {
129
- return normalize(path2);
130
- }
131
- function resolvePath(...paths) {
132
- return resolve(...paths);
133
- }
134
- function relativePath(from, to) {
135
- return relative(from, to);
136
- }
137
- function isAbsolutePath(path2) {
138
- return isAbsolute(path2);
139
- }
140
- function dirname2(path2) {
141
- return dirname(path2);
142
- }
143
- function basename2(path2, ext) {
144
- return basename(path2, ext);
145
- }
146
- function extname2(path2) {
147
- return extname(path2);
148
- }
149
- function relativizePath(path2, dir = cwd2()) {
150
- let result = (0, import_commondir.default)([path2, dir]), relativePath2 = relative(dir, path2), relativeComponents = relativePath2.split("/").filter((component) => component === "..").length;
151
- return result === "/" || relativePath2 === "" || relativeComponents > 2 ? path2 : relativePath2;
152
- }
153
- function isSubpath(mainPath, subpath) {
154
- let relativePath2 = relative(mainPath, subpath);
155
- return !relativePath2.startsWith("..") && !isAbsolutePath(relativePath2);
156
- }
157
- function moduleDirectory(moduleURL) {
158
- return dirname2(fileURLToPath(moduleURL));
159
- }
160
- function cwd2() {
161
- return normalize(process.env.INIT_CWD ? process.env.INIT_CWD : process.cwd());
162
- }
163
- function sniffForPath(argv = process.argv) {
164
- let pathFlagIndex = argv.indexOf("--path");
165
- if (pathFlagIndex === -1)
166
- return argv.find((arg) => arg.startsWith("--path="))?.split("=")[1];
167
- let pathFlag = argv[pathFlagIndex + 1];
168
- if (!(!pathFlag || pathFlag.startsWith("-")))
169
- return pathFlag;
170
- }
171
- function sniffForJson(argv = process.argv) {
172
- return argv.includes("--json") || argv.includes("-j");
173
- }
94
+ // ../../node_modules/.pnpm/pathe@1.1.2/node_modules/pathe/dist/index.mjs
95
+ init_cjs_shims();
174
96
 
175
97
  export {
176
98
  delimiter,
177
- joinPath,
178
- normalizePath,
179
- resolvePath,
180
- relativePath,
181
- isAbsolutePath,
182
- dirname2 as dirname,
183
- basename2 as basename,
184
- extname2 as extname,
185
- relativizePath,
186
- isSubpath,
187
- moduleDirectory,
188
- cwd2 as cwd,
189
- sniffForPath,
190
- sniffForJson
99
+ normalize,
100
+ join,
101
+ resolve,
102
+ isAbsolute,
103
+ extname,
104
+ relative,
105
+ dirname,
106
+ basename
191
107
  };
192
- //# sourceMappingURL=chunk-K7HGDAI4.js.map
108
+ //# sourceMappingURL=chunk-CDBXAE2F.js.map
@@ -0,0 +1,33 @@
1
+ import {
2
+ init_cjs_shims
3
+ } from "./chunk-PKR7KJ6P.js";
4
+
5
+ // ../cli-kit/dist/private/node/context/deprecations-store.js
6
+ init_cjs_shims();
7
+ var globalWithDeprecationsStore = {
8
+ ...globalThis,
9
+ deprecationsStore: {
10
+ nextDeprecationDate: void 0
11
+ }
12
+ };
13
+ function getNextDeprecationDate() {
14
+ return globalWithDeprecationsStore.deprecationsStore.nextDeprecationDate;
15
+ }
16
+ function setNextDeprecationDate(dates) {
17
+ if (dates.length < 1)
18
+ return;
19
+ let earliestFutureDateTime = earliestDateTimeAfter(Date.now(), dates);
20
+ if (!earliestFutureDateTime)
21
+ return;
22
+ let nextDeprecationDate = getNextDeprecationDate();
23
+ (!nextDeprecationDate || earliestFutureDateTime < nextDeprecationDate.getTime()) && (globalWithDeprecationsStore.deprecationsStore.nextDeprecationDate = new Date(earliestFutureDateTime));
24
+ }
25
+ function earliestDateTimeAfter(afterTime, dates) {
26
+ return dates.map((date) => date.getTime()).sort().find((time) => time > afterTime);
27
+ }
28
+
29
+ export {
30
+ getNextDeprecationDate,
31
+ setNextDeprecationDate
32
+ };
33
+ //# sourceMappingURL=chunk-CP3BRHWK.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.2/node_modules/ms/index.js
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.2/node_modules/ms/index.js"(exports, module) {
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.3.4_supports-color@8.1.1/node_modules/debug/src/common.js
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.3.4_supports-color@8.1.1/node_modules/debug/src/common.js"(exports, module) {
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 i, split = (typeof namespaces == "string" ? namespaces : "").split(/[\s,]+/), len = split.length;
141
- for (i = 0; i < len; i++)
142
- split[i] && (namespaces = split[i].replace(/\*/g, ".*?"), namespaces[0] === "-" ? createDebug.skips.push(new RegExp("^" + namespaces.slice(1) + "$")) : createDebug.names.push(new RegExp("^" + namespaces + "$")));
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.map(toNamespace),
147
- ...createDebug.skips.map(toNamespace).map((namespace) => "-" + namespace)
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
- if (name[name.length - 1] === "*")
153
- return !0;
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 (i = 0, len = createDebug.names.length; i < len; i++)
159
- if (createDebug.names[i].test(name))
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.3.4_supports-color@8.1.1/node_modules/debug/src/browser.js
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.3.4_supports-color@8.1.1/node_modules/debug/src/browser.js"(exports, module) {
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
- return typeof window < "u" && window.process && (window.process.type === "renderer" || window.process.__nwjs) ? !0 : typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/) ? !1 : typeof document < "u" && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || // Is firebug? http://stackoverflow.com/a/398120/376773
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(RegExp.$1, 10) >= 31 || // Double check webkit in userAgent just in case we are in a worker
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/has-flag@4.0.0/node_modules/has-flag/index.js
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.3.4_supports-color@8.1.1/node_modules/debug/src/node.js"(exports, module) {
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.format(...args) + `
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.3.4_supports-color@8.1.1/node_modules/debug/src/index.js
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.3.4_supports-color@8.1.1/node_modules/debug/src/index.js"(exports, module) {
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
- require_has_flag,
563
- require_supports_color,
493
+ require_ms,
564
494
  require_src
565
495
  };
566
- //# sourceMappingURL=chunk-OAZFIMJ3.js.map
496
+ //# sourceMappingURL=chunk-LQ2ZKVR6.js.map