@shopify/cli 3.84.2 → 3.85.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 (105) hide show
  1. package/README.md +1 -1
  2. package/dist/{chokidar-KCZH6DIC.js → chokidar-TTCYG5AA.js} +5 -5
  3. package/dist/{chokidar-XPSJ2FUJ.js → chokidar-XUA2BN3J.js} +5 -5
  4. package/dist/{chunk-QS5WPZTS.js → chunk-2IA24ROR.js} +9 -8
  5. package/dist/{chunk-T2Z26YN7.js → chunk-2IEQZDJI.js} +3 -3
  6. package/dist/{chunk-MRQXBTNU.js → chunk-47CMAYQE.js} +3 -3
  7. package/dist/{chunk-M6EH6UKK.js → chunk-4JN3JAPL.js} +3 -3
  8. package/dist/{chunk-BSKQ4RKV.js → chunk-5FNCRAPA.js} +3 -3
  9. package/dist/{chunk-L5OKA4W4.js → chunk-76S5M67J.js} +7 -7
  10. package/dist/{chunk-DZCCH5OM.js → chunk-A26YXFMX.js} +8 -8
  11. package/dist/{chunk-YNNUWX3I.js → chunk-AJOVRT5K.js} +3 -3
  12. package/dist/{chunk-7YVG6N4O.js → chunk-AJYT5DKD.js} +2 -2
  13. package/dist/{chunk-HMDWNGIV.js → chunk-AM4QB5OM.js} +206 -100
  14. package/dist/{chunk-TAA5HGRT.js → chunk-B36FYNEM.js} +664 -587
  15. package/dist/{chunk-46YOOMEM.js → chunk-BB4VAGLH.js} +2 -2
  16. package/dist/{chunk-W5G2YPO2.js → chunk-BQ3PZIHZ.js} +7 -7
  17. package/dist/{chunk-ZBPY6YL5.js → chunk-C4XAKIGB.js} +8 -8
  18. package/dist/{chunk-AQVXNWM2.js → chunk-DJVJNSKZ.js} +2 -2
  19. package/dist/{chunk-BX2C6EVM.js → chunk-DKG2TMNN.js} +2 -2
  20. package/dist/{del-SAZHGAZZ.js → chunk-EFOOQV72.js} +17 -378
  21. package/dist/{chunk-3FBDJEGD.js → chunk-F7F4BQYW.js} +1824 -762
  22. package/dist/{chunk-66VZYBID.js → chunk-F7J5CUMZ.js} +4 -4
  23. package/dist/{chunk-KHBZ52PT.js → chunk-G2VTHDI5.js} +41 -17
  24. package/dist/{chunk-Z6MEYGAG.js → chunk-HNHQAN5R.js} +3 -3
  25. package/dist/chunk-IWFYXDPH.js +109 -0
  26. package/dist/{chunk-G74IQQ6M.js → chunk-JF6OJWJV.js} +3 -3
  27. package/dist/{chunk-UOLT7THS.js → chunk-JR35C77F.js} +3 -3
  28. package/dist/{chunk-YPRC4TK6.js → chunk-K2VBTQSL.js} +187 -43
  29. package/dist/chunk-KU6FTMKN.js +87 -0
  30. package/dist/{chunk-JHLYV5K7.js → chunk-NYUWDGSK.js} +7 -7
  31. package/dist/{chunk-OCEWRJZI.js → chunk-PUO72IWW.js} +16 -20
  32. package/dist/{chunk-ZRU5CKDG.js → chunk-T3FBGLW4.js} +4 -4
  33. package/dist/{chunk-G5R6YD27.js → chunk-UATXMR5F.js} +2 -103
  34. package/dist/{chunk-6A27UWO7.js → chunk-UGBL65P2.js} +4 -4
  35. package/dist/{chunk-RTTTZZGY.js → chunk-VELVK2EZ.js} +4 -4
  36. package/dist/{chunk-TFVMB62A.js → chunk-VLSFD7SJ.js} +19 -18
  37. package/dist/{chunk-YUI23PKV.js → chunk-WRIQTRQE.js} +2 -2
  38. package/dist/{chunk-2TBGVDDK.js → chunk-XO7GQ2WG.js} +3 -3
  39. package/dist/{chunk-6JFZSZKE.js → chunk-XTCT7ABH.js} +16379 -5792
  40. package/dist/{chunk-DCU33ZNP.js → chunk-Y4DWHLHN.js} +3 -3
  41. package/dist/{chunk-XD5EFQE2.js → chunk-Y7JIZJYE.js} +5 -5
  42. package/dist/{chunk-7UHRC35E.js → chunk-Z7TXQNKI.js} +2 -2
  43. package/dist/chunk-ZAVXS5HH.js +4654 -0
  44. package/dist/{chunk-MXDBI4PG.js → chunk-ZXKNRG53.js} +5 -5
  45. package/dist/cli/commands/auth/login.d.ts +8 -0
  46. package/dist/cli/commands/auth/login.js +28 -0
  47. package/dist/cli/commands/auth/login.test.js +53 -0
  48. package/dist/cli/commands/auth/logout.js +15 -17
  49. package/dist/cli/commands/auth/logout.test.js +20 -22
  50. package/dist/cli/commands/cache/clear.js +15 -16
  51. package/dist/cli/commands/debug/command-flags.js +15 -16
  52. package/dist/cli/commands/docs/generate.js +15 -16
  53. package/dist/cli/commands/docs/generate.test.js +21 -22
  54. package/dist/cli/commands/help.js +15 -16
  55. package/dist/cli/commands/kitchen-sink/async.js +16 -17
  56. package/dist/cli/commands/kitchen-sink/async.test.js +17 -18
  57. package/dist/cli/commands/kitchen-sink/index.js +18 -19
  58. package/dist/cli/commands/kitchen-sink/index.test.js +21 -22
  59. package/dist/cli/commands/kitchen-sink/prompts.js +16 -17
  60. package/dist/cli/commands/kitchen-sink/prompts.test.js +17 -18
  61. package/dist/cli/commands/kitchen-sink/static.js +16 -17
  62. package/dist/cli/commands/kitchen-sink/static.test.js +17 -18
  63. package/dist/cli/commands/notifications/generate.js +16 -17
  64. package/dist/cli/commands/notifications/list.js +16 -17
  65. package/dist/cli/commands/search.js +16 -17
  66. package/dist/cli/commands/upgrade.js +16 -17
  67. package/dist/cli/commands/upgrade.test.js +1 -1
  68. package/dist/cli/commands/version.js +16 -17
  69. package/dist/cli/commands/version.test.js +17 -18
  70. package/dist/cli/services/commands/notifications.js +11 -12
  71. package/dist/cli/services/commands/search.js +7 -8
  72. package/dist/cli/services/commands/search.test.js +8 -9
  73. package/dist/cli/services/commands/version.js +8 -9
  74. package/dist/cli/services/commands/version.test.js +10 -11
  75. package/dist/cli/services/kitchen-sink/async.js +7 -8
  76. package/dist/cli/services/kitchen-sink/prompts.js +7 -8
  77. package/dist/cli/services/kitchen-sink/static.js +7 -8
  78. package/dist/cli/services/upgrade.js +8 -9
  79. package/dist/cli/services/upgrade.test.js +12 -13
  80. package/dist/configs/all.yml +3 -0
  81. package/dist/configs/recommended.yml +3 -0
  82. package/dist/{custom-oclif-loader-BBMEEF2H.js → custom-oclif-loader-J2DN7UTY.js} +11 -12
  83. package/dist/data/objects.json +2 -2
  84. package/dist/data/shopify_system_translations.json +69 -22
  85. package/dist/data/tags.json +10 -10
  86. package/dist/del-DNZ7X2HW.js +377 -0
  87. package/dist/{error-handler-734CUCMD.js → error-handler-JJ76ZQMC.js} +13 -14
  88. package/dist/hooks/postrun.js +13 -15
  89. package/dist/hooks/prerun.js +14 -15
  90. package/dist/index.d.ts +1 -1
  91. package/dist/index.js +7473 -5646
  92. package/dist/{lib-OSXFX3I2.js → lib-DEEC6IKU.js} +3 -4
  93. package/dist/{local-5AKZWHSS.js → local-2JWTG2IJ.js} +7 -8
  94. package/dist/{morph-TYIH255V.js → morph-5D7H6MU2.js} +13 -11
  95. package/dist/{node-package-manager-DMOU4DTB.js → node-package-manager-YCQL3774.js} +8 -9
  96. package/dist/{npa-E675GQOI.js → npa-LHT53SWR.js} +3 -5
  97. package/dist/tsconfig.tsbuildinfo +1 -1
  98. package/dist/{ui-JQXGLHMO.js → ui-HITLA3H3.js} +9 -8
  99. package/dist/{workerd-FTKMK3NR.js → workerd-KHWXFNPK.js} +22 -22
  100. package/oclif.manifest.json +79 -9
  101. package/package.json +10 -10
  102. package/dist/chunk-CP3BRHWK.js +0 -33
  103. package/dist/chunk-EZQWZ57B.js +0 -53
  104. package/dist/chunk-SJMHVGQ5.js +0 -119
  105. package/dist/chunk-SM7O6ZFJ.js +0 -1216
@@ -3,27 +3,26 @@ import {
3
3
  require_supports_color
4
4
  } from "./chunk-UMUTXITN.js";
5
5
  import {
6
- require_semver
7
- } from "./chunk-HMDWNGIV.js";
8
- import {
9
- require_brace_expansion,
10
6
  require_source_map_support
11
- } from "./chunk-G5R6YD27.js";
7
+ } from "./chunk-UATXMR5F.js";
12
8
  import {
13
9
  require_is_wsl
14
10
  } from "./chunk-G2ZZKGSV.js";
15
11
  import {
16
12
  require_indent_string
17
13
  } from "./chunk-UV5N2VL7.js";
14
+ import {
15
+ require_balanced_match
16
+ } from "./chunk-XE5EOEBL.js";
18
17
  import {
19
18
  __commonJS,
20
19
  __require,
21
20
  init_cjs_shims
22
21
  } from "./chunk-PKR7KJ6P.js";
23
22
 
24
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/util/util.js
23
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/util.js
25
24
  var require_util = __commonJS({
26
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/util/util.js"(exports) {
25
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/util.js"(exports) {
27
26
  "use strict";
28
27
  init_cjs_shims();
29
28
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -110,9 +109,1133 @@ var require_util = __commonJS({
110
109
  }
111
110
  });
112
111
 
113
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/util/fs.js
112
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/constants.js
113
+ var require_constants = __commonJS({
114
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/constants.js"(exports, module) {
115
+ init_cjs_shims();
116
+ var SEMVER_SPEC_VERSION = "2.0.0", MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */
117
+ 9007199254740991, MAX_SAFE_COMPONENT_LENGTH = 16, MAX_SAFE_BUILD_LENGTH = 250, RELEASE_TYPES = [
118
+ "major",
119
+ "premajor",
120
+ "minor",
121
+ "preminor",
122
+ "patch",
123
+ "prepatch",
124
+ "prerelease"
125
+ ];
126
+ module.exports = {
127
+ MAX_LENGTH: 256,
128
+ MAX_SAFE_COMPONENT_LENGTH,
129
+ MAX_SAFE_BUILD_LENGTH,
130
+ MAX_SAFE_INTEGER,
131
+ RELEASE_TYPES,
132
+ SEMVER_SPEC_VERSION,
133
+ FLAG_INCLUDE_PRERELEASE: 1,
134
+ FLAG_LOOSE: 2
135
+ };
136
+ }
137
+ });
138
+
139
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/debug.js
140
+ var require_debug = __commonJS({
141
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/debug.js"(exports, module) {
142
+ init_cjs_shims();
143
+ var debug = typeof process == "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {
144
+ };
145
+ module.exports = debug;
146
+ }
147
+ });
148
+
149
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/re.js
150
+ var require_re = __commonJS({
151
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/re.js"(exports, module) {
152
+ init_cjs_shims();
153
+ var {
154
+ MAX_SAFE_COMPONENT_LENGTH,
155
+ MAX_SAFE_BUILD_LENGTH,
156
+ MAX_LENGTH
157
+ } = require_constants(), debug = require_debug();
158
+ exports = module.exports = {};
159
+ var re = exports.re = [], safeRe = exports.safeRe = [], src = exports.src = [], t = exports.t = {}, R = 0, LETTERDASHNUMBER = "[a-zA-Z0-9-]", safeRegexReplacements = [
160
+ ["\\s", 1],
161
+ ["\\d", MAX_LENGTH],
162
+ [LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH]
163
+ ], makeSafeRegex = (value) => {
164
+ for (let [token, max] of safeRegexReplacements)
165
+ value = value.split(`${token}*`).join(`${token}{0,${max}}`).split(`${token}+`).join(`${token}{1,${max}}`);
166
+ return value;
167
+ }, createToken = (name, value, isGlobal) => {
168
+ let safe = makeSafeRegex(value), index = R++;
169
+ debug(name, index, value), t[name] = index, src[index] = value, re[index] = new RegExp(value, isGlobal ? "g" : void 0), safeRe[index] = new RegExp(safe, isGlobal ? "g" : void 0);
170
+ };
171
+ createToken("NUMERICIDENTIFIER", "0|[1-9]\\d*");
172
+ createToken("NUMERICIDENTIFIERLOOSE", "\\d+");
173
+ createToken("NONNUMERICIDENTIFIER", `\\d*[a-zA-Z-]${LETTERDASHNUMBER}*`);
174
+ createToken("MAINVERSION", `(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})`);
175
+ createToken("MAINVERSIONLOOSE", `(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})`);
176
+ createToken("PRERELEASEIDENTIFIER", `(?:${src[t.NUMERICIDENTIFIER]}|${src[t.NONNUMERICIDENTIFIER]})`);
177
+ createToken("PRERELEASEIDENTIFIERLOOSE", `(?:${src[t.NUMERICIDENTIFIERLOOSE]}|${src[t.NONNUMERICIDENTIFIER]})`);
178
+ createToken("PRERELEASE", `(?:-(${src[t.PRERELEASEIDENTIFIER]}(?:\\.${src[t.PRERELEASEIDENTIFIER]})*))`);
179
+ createToken("PRERELEASELOOSE", `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`);
180
+ createToken("BUILDIDENTIFIER", `${LETTERDASHNUMBER}+`);
181
+ createToken("BUILD", `(?:\\+(${src[t.BUILDIDENTIFIER]}(?:\\.${src[t.BUILDIDENTIFIER]})*))`);
182
+ createToken("FULLPLAIN", `v?${src[t.MAINVERSION]}${src[t.PRERELEASE]}?${src[t.BUILD]}?`);
183
+ createToken("FULL", `^${src[t.FULLPLAIN]}$`);
184
+ createToken("LOOSEPLAIN", `[v=\\s]*${src[t.MAINVERSIONLOOSE]}${src[t.PRERELEASELOOSE]}?${src[t.BUILD]}?`);
185
+ createToken("LOOSE", `^${src[t.LOOSEPLAIN]}$`);
186
+ createToken("GTLT", "((?:<|>)?=?)");
187
+ createToken("XRANGEIDENTIFIERLOOSE", `${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);
188
+ createToken("XRANGEIDENTIFIER", `${src[t.NUMERICIDENTIFIER]}|x|X|\\*`);
189
+ createToken("XRANGEPLAIN", `[v=\\s]*(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:${src[t.PRERELEASE]})?${src[t.BUILD]}?)?)?`);
190
+ createToken("XRANGEPLAINLOOSE", `[v=\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:${src[t.PRERELEASELOOSE]})?${src[t.BUILD]}?)?)?`);
191
+ createToken("XRANGE", `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAIN]}$`);
192
+ createToken("XRANGELOOSE", `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAINLOOSE]}$`);
193
+ createToken("COERCEPLAIN", `(^|[^\\d])(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}})(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`);
194
+ createToken("COERCE", `${src[t.COERCEPLAIN]}(?:$|[^\\d])`);
195
+ createToken("COERCEFULL", src[t.COERCEPLAIN] + `(?:${src[t.PRERELEASE]})?(?:${src[t.BUILD]})?(?:$|[^\\d])`);
196
+ createToken("COERCERTL", src[t.COERCE], !0);
197
+ createToken("COERCERTLFULL", src[t.COERCEFULL], !0);
198
+ createToken("LONETILDE", "(?:~>?)");
199
+ createToken("TILDETRIM", `(\\s*)${src[t.LONETILDE]}\\s+`, !0);
200
+ exports.tildeTrimReplace = "$1~";
201
+ createToken("TILDE", `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`);
202
+ createToken("TILDELOOSE", `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`);
203
+ createToken("LONECARET", "(?:\\^)");
204
+ createToken("CARETTRIM", `(\\s*)${src[t.LONECARET]}\\s+`, !0);
205
+ exports.caretTrimReplace = "$1^";
206
+ createToken("CARET", `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`);
207
+ createToken("CARETLOOSE", `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`);
208
+ createToken("COMPARATORLOOSE", `^${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]})$|^$`);
209
+ createToken("COMPARATOR", `^${src[t.GTLT]}\\s*(${src[t.FULLPLAIN]})$|^$`);
210
+ createToken("COMPARATORTRIM", `(\\s*)${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, !0);
211
+ exports.comparatorTrimReplace = "$1$2$3";
212
+ createToken("HYPHENRANGE", `^\\s*(${src[t.XRANGEPLAIN]})\\s+-\\s+(${src[t.XRANGEPLAIN]})\\s*$`);
213
+ createToken("HYPHENRANGELOOSE", `^\\s*(${src[t.XRANGEPLAINLOOSE]})\\s+-\\s+(${src[t.XRANGEPLAINLOOSE]})\\s*$`);
214
+ createToken("STAR", "(<|>)?=?\\s*\\*");
215
+ createToken("GTE0", "^\\s*>=\\s*0\\.0\\.0\\s*$");
216
+ createToken("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$");
217
+ }
218
+ });
219
+
220
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/parse-options.js
221
+ var require_parse_options = __commonJS({
222
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/parse-options.js"(exports, module) {
223
+ init_cjs_shims();
224
+ var looseOption = Object.freeze({ loose: !0 }), emptyOpts = Object.freeze({}), parseOptions = (options) => options ? typeof options != "object" ? looseOption : options : emptyOpts;
225
+ module.exports = parseOptions;
226
+ }
227
+ });
228
+
229
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/identifiers.js
230
+ var require_identifiers = __commonJS({
231
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/identifiers.js"(exports, module) {
232
+ init_cjs_shims();
233
+ var numeric = /^[0-9]+$/, compareIdentifiers = (a, b) => {
234
+ let anum = numeric.test(a), bnum = numeric.test(b);
235
+ return anum && bnum && (a = +a, b = +b), a === b ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a < b ? -1 : 1;
236
+ }, rcompareIdentifiers = (a, b) => compareIdentifiers(b, a);
237
+ module.exports = {
238
+ compareIdentifiers,
239
+ rcompareIdentifiers
240
+ };
241
+ }
242
+ });
243
+
244
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js
245
+ var require_semver = __commonJS({
246
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js"(exports, module) {
247
+ init_cjs_shims();
248
+ var debug = require_debug(), { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants(), { safeRe: re, t } = require_re(), parseOptions = require_parse_options(), { compareIdentifiers } = require_identifiers(), SemVer = class _SemVer {
249
+ constructor(version, options) {
250
+ if (options = parseOptions(options), version instanceof _SemVer) {
251
+ if (version.loose === !!options.loose && version.includePrerelease === !!options.includePrerelease)
252
+ return version;
253
+ version = version.version;
254
+ } else if (typeof version != "string")
255
+ throw new TypeError(`Invalid version. Must be a string. Got type "${typeof version}".`);
256
+ if (version.length > MAX_LENGTH)
257
+ throw new TypeError(
258
+ `version is longer than ${MAX_LENGTH} characters`
259
+ );
260
+ debug("SemVer", version, options), this.options = options, this.loose = !!options.loose, this.includePrerelease = !!options.includePrerelease;
261
+ let m = version.trim().match(options.loose ? re[t.LOOSE] : re[t.FULL]);
262
+ if (!m)
263
+ throw new TypeError(`Invalid Version: ${version}`);
264
+ if (this.raw = version, this.major = +m[1], this.minor = +m[2], this.patch = +m[3], this.major > MAX_SAFE_INTEGER || this.major < 0)
265
+ throw new TypeError("Invalid major version");
266
+ if (this.minor > MAX_SAFE_INTEGER || this.minor < 0)
267
+ throw new TypeError("Invalid minor version");
268
+ if (this.patch > MAX_SAFE_INTEGER || this.patch < 0)
269
+ throw new TypeError("Invalid patch version");
270
+ m[4] ? this.prerelease = m[4].split(".").map((id) => {
271
+ if (/^[0-9]+$/.test(id)) {
272
+ let num = +id;
273
+ if (num >= 0 && num < MAX_SAFE_INTEGER)
274
+ return num;
275
+ }
276
+ return id;
277
+ }) : this.prerelease = [], this.build = m[5] ? m[5].split(".") : [], this.format();
278
+ }
279
+ format() {
280
+ return this.version = `${this.major}.${this.minor}.${this.patch}`, this.prerelease.length && (this.version += `-${this.prerelease.join(".")}`), this.version;
281
+ }
282
+ toString() {
283
+ return this.version;
284
+ }
285
+ compare(other) {
286
+ if (debug("SemVer.compare", this.version, this.options, other), !(other instanceof _SemVer)) {
287
+ if (typeof other == "string" && other === this.version)
288
+ return 0;
289
+ other = new _SemVer(other, this.options);
290
+ }
291
+ return other.version === this.version ? 0 : this.compareMain(other) || this.comparePre(other);
292
+ }
293
+ compareMain(other) {
294
+ return other instanceof _SemVer || (other = new _SemVer(other, this.options)), compareIdentifiers(this.major, other.major) || compareIdentifiers(this.minor, other.minor) || compareIdentifiers(this.patch, other.patch);
295
+ }
296
+ comparePre(other) {
297
+ if (other instanceof _SemVer || (other = new _SemVer(other, this.options)), this.prerelease.length && !other.prerelease.length)
298
+ return -1;
299
+ if (!this.prerelease.length && other.prerelease.length)
300
+ return 1;
301
+ if (!this.prerelease.length && !other.prerelease.length)
302
+ return 0;
303
+ let i = 0;
304
+ do {
305
+ let a = this.prerelease[i], b = other.prerelease[i];
306
+ if (debug("prerelease compare", i, a, b), a === void 0 && b === void 0)
307
+ return 0;
308
+ if (b === void 0)
309
+ return 1;
310
+ if (a === void 0)
311
+ return -1;
312
+ if (a === b)
313
+ continue;
314
+ return compareIdentifiers(a, b);
315
+ } while (++i);
316
+ }
317
+ compareBuild(other) {
318
+ other instanceof _SemVer || (other = new _SemVer(other, this.options));
319
+ let i = 0;
320
+ do {
321
+ let a = this.build[i], b = other.build[i];
322
+ if (debug("build compare", i, a, b), a === void 0 && b === void 0)
323
+ return 0;
324
+ if (b === void 0)
325
+ return 1;
326
+ if (a === void 0)
327
+ return -1;
328
+ if (a === b)
329
+ continue;
330
+ return compareIdentifiers(a, b);
331
+ } while (++i);
332
+ }
333
+ // preminor will bump the version up to the next minor release, and immediately
334
+ // down to pre-release. premajor and prepatch work the same way.
335
+ inc(release, identifier, identifierBase) {
336
+ switch (release) {
337
+ case "premajor":
338
+ this.prerelease.length = 0, this.patch = 0, this.minor = 0, this.major++, this.inc("pre", identifier, identifierBase);
339
+ break;
340
+ case "preminor":
341
+ this.prerelease.length = 0, this.patch = 0, this.minor++, this.inc("pre", identifier, identifierBase);
342
+ break;
343
+ case "prepatch":
344
+ this.prerelease.length = 0, this.inc("patch", identifier, identifierBase), this.inc("pre", identifier, identifierBase);
345
+ break;
346
+ // If the input is a non-prerelease version, this acts the same as
347
+ // prepatch.
348
+ case "prerelease":
349
+ this.prerelease.length === 0 && this.inc("patch", identifier, identifierBase), this.inc("pre", identifier, identifierBase);
350
+ break;
351
+ case "major":
352
+ (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) && this.major++, this.minor = 0, this.patch = 0, this.prerelease = [];
353
+ break;
354
+ case "minor":
355
+ (this.patch !== 0 || this.prerelease.length === 0) && this.minor++, this.patch = 0, this.prerelease = [];
356
+ break;
357
+ case "patch":
358
+ this.prerelease.length === 0 && this.patch++, this.prerelease = [];
359
+ break;
360
+ // This probably shouldn't be used publicly.
361
+ // 1.0.0 'pre' would become 1.0.0-0 which is the wrong direction.
362
+ case "pre": {
363
+ let base = Number(identifierBase) ? 1 : 0;
364
+ if (!identifier && identifierBase === !1)
365
+ throw new Error("invalid increment argument: identifier is empty");
366
+ if (this.prerelease.length === 0)
367
+ this.prerelease = [base];
368
+ else {
369
+ let i = this.prerelease.length;
370
+ for (; --i >= 0; )
371
+ typeof this.prerelease[i] == "number" && (this.prerelease[i]++, i = -2);
372
+ if (i === -1) {
373
+ if (identifier === this.prerelease.join(".") && identifierBase === !1)
374
+ throw new Error("invalid increment argument: identifier already exists");
375
+ this.prerelease.push(base);
376
+ }
377
+ }
378
+ if (identifier) {
379
+ let prerelease = [identifier, base];
380
+ identifierBase === !1 && (prerelease = [identifier]), compareIdentifiers(this.prerelease[0], identifier) === 0 ? isNaN(this.prerelease[1]) && (this.prerelease = prerelease) : this.prerelease = prerelease;
381
+ }
382
+ break;
383
+ }
384
+ default:
385
+ throw new Error(`invalid increment argument: ${release}`);
386
+ }
387
+ return this.raw = this.format(), this.build.length && (this.raw += `+${this.build.join(".")}`), this;
388
+ }
389
+ };
390
+ module.exports = SemVer;
391
+ }
392
+ });
393
+
394
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/parse.js
395
+ var require_parse = __commonJS({
396
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/parse.js"(exports, module) {
397
+ init_cjs_shims();
398
+ var SemVer = require_semver(), parse = (version, options, throwErrors = !1) => {
399
+ if (version instanceof SemVer)
400
+ return version;
401
+ try {
402
+ return new SemVer(version, options);
403
+ } catch (er) {
404
+ if (!throwErrors)
405
+ return null;
406
+ throw er;
407
+ }
408
+ };
409
+ module.exports = parse;
410
+ }
411
+ });
412
+
413
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/valid.js
414
+ var require_valid = __commonJS({
415
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/valid.js"(exports, module) {
416
+ init_cjs_shims();
417
+ var parse = require_parse(), valid = (version, options) => {
418
+ let v = parse(version, options);
419
+ return v ? v.version : null;
420
+ };
421
+ module.exports = valid;
422
+ }
423
+ });
424
+
425
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/clean.js
426
+ var require_clean = __commonJS({
427
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/clean.js"(exports, module) {
428
+ init_cjs_shims();
429
+ var parse = require_parse(), clean = (version, options) => {
430
+ let s = parse(version.trim().replace(/^[=v]+/, ""), options);
431
+ return s ? s.version : null;
432
+ };
433
+ module.exports = clean;
434
+ }
435
+ });
436
+
437
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/inc.js
438
+ var require_inc = __commonJS({
439
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/inc.js"(exports, module) {
440
+ init_cjs_shims();
441
+ var SemVer = require_semver(), inc = (version, release, options, identifier, identifierBase) => {
442
+ typeof options == "string" && (identifierBase = identifier, identifier = options, options = void 0);
443
+ try {
444
+ return new SemVer(
445
+ version instanceof SemVer ? version.version : version,
446
+ options
447
+ ).inc(release, identifier, identifierBase).version;
448
+ } catch {
449
+ return null;
450
+ }
451
+ };
452
+ module.exports = inc;
453
+ }
454
+ });
455
+
456
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/diff.js
457
+ var require_diff = __commonJS({
458
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/diff.js"(exports, module) {
459
+ init_cjs_shims();
460
+ var parse = require_parse(), diff = (version1, version2) => {
461
+ let v1 = parse(version1, null, !0), v2 = parse(version2, null, !0), comparison = v1.compare(v2);
462
+ if (comparison === 0)
463
+ return null;
464
+ let v1Higher = comparison > 0, highVersion = v1Higher ? v1 : v2, lowVersion = v1Higher ? v2 : v1, highHasPre = !!highVersion.prerelease.length;
465
+ if (!!lowVersion.prerelease.length && !highHasPre)
466
+ return !lowVersion.patch && !lowVersion.minor ? "major" : highVersion.patch ? "patch" : highVersion.minor ? "minor" : "major";
467
+ let prefix = highHasPre ? "pre" : "";
468
+ return v1.major !== v2.major ? prefix + "major" : v1.minor !== v2.minor ? prefix + "minor" : v1.patch !== v2.patch ? prefix + "patch" : "prerelease";
469
+ };
470
+ module.exports = diff;
471
+ }
472
+ });
473
+
474
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/major.js
475
+ var require_major = __commonJS({
476
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/major.js"(exports, module) {
477
+ init_cjs_shims();
478
+ var SemVer = require_semver(), major = (a, loose) => new SemVer(a, loose).major;
479
+ module.exports = major;
480
+ }
481
+ });
482
+
483
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/minor.js
484
+ var require_minor = __commonJS({
485
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/minor.js"(exports, module) {
486
+ init_cjs_shims();
487
+ var SemVer = require_semver(), minor = (a, loose) => new SemVer(a, loose).minor;
488
+ module.exports = minor;
489
+ }
490
+ });
491
+
492
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/patch.js
493
+ var require_patch = __commonJS({
494
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/patch.js"(exports, module) {
495
+ init_cjs_shims();
496
+ var SemVer = require_semver(), patch = (a, loose) => new SemVer(a, loose).patch;
497
+ module.exports = patch;
498
+ }
499
+ });
500
+
501
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/prerelease.js
502
+ var require_prerelease = __commonJS({
503
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/prerelease.js"(exports, module) {
504
+ init_cjs_shims();
505
+ var parse = require_parse(), prerelease = (version, options) => {
506
+ let parsed = parse(version, options);
507
+ return parsed && parsed.prerelease.length ? parsed.prerelease : null;
508
+ };
509
+ module.exports = prerelease;
510
+ }
511
+ });
512
+
513
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare.js
514
+ var require_compare = __commonJS({
515
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare.js"(exports, module) {
516
+ init_cjs_shims();
517
+ var SemVer = require_semver(), compare = (a, b, loose) => new SemVer(a, loose).compare(new SemVer(b, loose));
518
+ module.exports = compare;
519
+ }
520
+ });
521
+
522
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/rcompare.js
523
+ var require_rcompare = __commonJS({
524
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/rcompare.js"(exports, module) {
525
+ init_cjs_shims();
526
+ var compare = require_compare(), rcompare = (a, b, loose) => compare(b, a, loose);
527
+ module.exports = rcompare;
528
+ }
529
+ });
530
+
531
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare-loose.js
532
+ var require_compare_loose = __commonJS({
533
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare-loose.js"(exports, module) {
534
+ init_cjs_shims();
535
+ var compare = require_compare(), compareLoose = (a, b) => compare(a, b, !0);
536
+ module.exports = compareLoose;
537
+ }
538
+ });
539
+
540
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare-build.js
541
+ var require_compare_build = __commonJS({
542
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare-build.js"(exports, module) {
543
+ init_cjs_shims();
544
+ var SemVer = require_semver(), compareBuild = (a, b, loose) => {
545
+ let versionA = new SemVer(a, loose), versionB = new SemVer(b, loose);
546
+ return versionA.compare(versionB) || versionA.compareBuild(versionB);
547
+ };
548
+ module.exports = compareBuild;
549
+ }
550
+ });
551
+
552
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/sort.js
553
+ var require_sort = __commonJS({
554
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/sort.js"(exports, module) {
555
+ init_cjs_shims();
556
+ var compareBuild = require_compare_build(), sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose));
557
+ module.exports = sort;
558
+ }
559
+ });
560
+
561
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/rsort.js
562
+ var require_rsort = __commonJS({
563
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/rsort.js"(exports, module) {
564
+ init_cjs_shims();
565
+ var compareBuild = require_compare_build(), rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose));
566
+ module.exports = rsort;
567
+ }
568
+ });
569
+
570
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/gt.js
571
+ var require_gt = __commonJS({
572
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/gt.js"(exports, module) {
573
+ init_cjs_shims();
574
+ var compare = require_compare(), gt = (a, b, loose) => compare(a, b, loose) > 0;
575
+ module.exports = gt;
576
+ }
577
+ });
578
+
579
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/lt.js
580
+ var require_lt = __commonJS({
581
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/lt.js"(exports, module) {
582
+ init_cjs_shims();
583
+ var compare = require_compare(), lt = (a, b, loose) => compare(a, b, loose) < 0;
584
+ module.exports = lt;
585
+ }
586
+ });
587
+
588
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/eq.js
589
+ var require_eq = __commonJS({
590
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/eq.js"(exports, module) {
591
+ init_cjs_shims();
592
+ var compare = require_compare(), eq = (a, b, loose) => compare(a, b, loose) === 0;
593
+ module.exports = eq;
594
+ }
595
+ });
596
+
597
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/neq.js
598
+ var require_neq = __commonJS({
599
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/neq.js"(exports, module) {
600
+ init_cjs_shims();
601
+ var compare = require_compare(), neq = (a, b, loose) => compare(a, b, loose) !== 0;
602
+ module.exports = neq;
603
+ }
604
+ });
605
+
606
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/gte.js
607
+ var require_gte = __commonJS({
608
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/gte.js"(exports, module) {
609
+ init_cjs_shims();
610
+ var compare = require_compare(), gte = (a, b, loose) => compare(a, b, loose) >= 0;
611
+ module.exports = gte;
612
+ }
613
+ });
614
+
615
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/lte.js
616
+ var require_lte = __commonJS({
617
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/lte.js"(exports, module) {
618
+ init_cjs_shims();
619
+ var compare = require_compare(), lte = (a, b, loose) => compare(a, b, loose) <= 0;
620
+ module.exports = lte;
621
+ }
622
+ });
623
+
624
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/cmp.js
625
+ var require_cmp = __commonJS({
626
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/cmp.js"(exports, module) {
627
+ init_cjs_shims();
628
+ var eq = require_eq(), neq = require_neq(), gt = require_gt(), gte = require_gte(), lt = require_lt(), lte = require_lte(), cmp = (a, op, b, loose) => {
629
+ switch (op) {
630
+ case "===":
631
+ return typeof a == "object" && (a = a.version), typeof b == "object" && (b = b.version), a === b;
632
+ case "!==":
633
+ return typeof a == "object" && (a = a.version), typeof b == "object" && (b = b.version), a !== b;
634
+ case "":
635
+ case "=":
636
+ case "==":
637
+ return eq(a, b, loose);
638
+ case "!=":
639
+ return neq(a, b, loose);
640
+ case ">":
641
+ return gt(a, b, loose);
642
+ case ">=":
643
+ return gte(a, b, loose);
644
+ case "<":
645
+ return lt(a, b, loose);
646
+ case "<=":
647
+ return lte(a, b, loose);
648
+ default:
649
+ throw new TypeError(`Invalid operator: ${op}`);
650
+ }
651
+ };
652
+ module.exports = cmp;
653
+ }
654
+ });
655
+
656
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/coerce.js
657
+ var require_coerce = __commonJS({
658
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/coerce.js"(exports, module) {
659
+ init_cjs_shims();
660
+ var SemVer = require_semver(), parse = require_parse(), { safeRe: re, t } = require_re(), coerce = (version, options) => {
661
+ if (version instanceof SemVer)
662
+ return version;
663
+ if (typeof version == "number" && (version = String(version)), typeof version != "string")
664
+ return null;
665
+ options = options || {};
666
+ let match = null;
667
+ if (!options.rtl)
668
+ match = version.match(options.includePrerelease ? re[t.COERCEFULL] : re[t.COERCE]);
669
+ else {
670
+ let coerceRtlRegex = options.includePrerelease ? re[t.COERCERTLFULL] : re[t.COERCERTL], next;
671
+ for (; (next = coerceRtlRegex.exec(version)) && (!match || match.index + match[0].length !== version.length); )
672
+ (!match || next.index + next[0].length !== match.index + match[0].length) && (match = next), coerceRtlRegex.lastIndex = next.index + next[1].length + next[2].length;
673
+ coerceRtlRegex.lastIndex = -1;
674
+ }
675
+ if (match === null)
676
+ return null;
677
+ let major = match[2], minor = match[3] || "0", patch = match[4] || "0", prerelease = options.includePrerelease && match[5] ? `-${match[5]}` : "", build = options.includePrerelease && match[6] ? `+${match[6]}` : "";
678
+ return parse(`${major}.${minor}.${patch}${prerelease}${build}`, options);
679
+ };
680
+ module.exports = coerce;
681
+ }
682
+ });
683
+
684
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/lrucache.js
685
+ var require_lrucache = __commonJS({
686
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/lrucache.js"(exports, module) {
687
+ init_cjs_shims();
688
+ var LRUCache = class {
689
+ constructor() {
690
+ this.max = 1e3, this.map = /* @__PURE__ */ new Map();
691
+ }
692
+ get(key) {
693
+ let value = this.map.get(key);
694
+ if (value !== void 0)
695
+ return this.map.delete(key), this.map.set(key, value), value;
696
+ }
697
+ delete(key) {
698
+ return this.map.delete(key);
699
+ }
700
+ set(key, value) {
701
+ if (!this.delete(key) && value !== void 0) {
702
+ if (this.map.size >= this.max) {
703
+ let firstKey = this.map.keys().next().value;
704
+ this.delete(firstKey);
705
+ }
706
+ this.map.set(key, value);
707
+ }
708
+ return this;
709
+ }
710
+ };
711
+ module.exports = LRUCache;
712
+ }
713
+ });
714
+
715
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/range.js
716
+ var require_range = __commonJS({
717
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/range.js"(exports, module) {
718
+ init_cjs_shims();
719
+ var SPACE_CHARACTERS = /\s+/g, Range = class _Range {
720
+ constructor(range, options) {
721
+ if (options = parseOptions(options), range instanceof _Range)
722
+ return range.loose === !!options.loose && range.includePrerelease === !!options.includePrerelease ? range : new _Range(range.raw, options);
723
+ if (range instanceof Comparator)
724
+ return this.raw = range.value, this.set = [[range]], this.formatted = void 0, this;
725
+ if (this.options = options, this.loose = !!options.loose, this.includePrerelease = !!options.includePrerelease, this.raw = range.trim().replace(SPACE_CHARACTERS, " "), this.set = this.raw.split("||").map((r) => this.parseRange(r.trim())).filter((c) => c.length), !this.set.length)
726
+ throw new TypeError(`Invalid SemVer Range: ${this.raw}`);
727
+ if (this.set.length > 1) {
728
+ let first = this.set[0];
729
+ if (this.set = this.set.filter((c) => !isNullSet(c[0])), this.set.length === 0)
730
+ this.set = [first];
731
+ else if (this.set.length > 1) {
732
+ for (let c of this.set)
733
+ if (c.length === 1 && isAny(c[0])) {
734
+ this.set = [c];
735
+ break;
736
+ }
737
+ }
738
+ }
739
+ this.formatted = void 0;
740
+ }
741
+ get range() {
742
+ if (this.formatted === void 0) {
743
+ this.formatted = "";
744
+ for (let i = 0; i < this.set.length; i++) {
745
+ i > 0 && (this.formatted += "||");
746
+ let comps = this.set[i];
747
+ for (let k = 0; k < comps.length; k++)
748
+ k > 0 && (this.formatted += " "), this.formatted += comps[k].toString().trim();
749
+ }
750
+ }
751
+ return this.formatted;
752
+ }
753
+ format() {
754
+ return this.range;
755
+ }
756
+ toString() {
757
+ return this.range;
758
+ }
759
+ parseRange(range) {
760
+ let memoKey = ((this.options.includePrerelease && FLAG_INCLUDE_PRERELEASE) | (this.options.loose && FLAG_LOOSE)) + ":" + range, cached = cache.get(memoKey);
761
+ if (cached)
762
+ return cached;
763
+ let loose = this.options.loose, hr = loose ? re[t.HYPHENRANGELOOSE] : re[t.HYPHENRANGE];
764
+ range = range.replace(hr, hyphenReplace(this.options.includePrerelease)), debug("hyphen replace", range), range = range.replace(re[t.COMPARATORTRIM], comparatorTrimReplace), debug("comparator trim", range), range = range.replace(re[t.TILDETRIM], tildeTrimReplace), debug("tilde trim", range), range = range.replace(re[t.CARETTRIM], caretTrimReplace), debug("caret trim", range);
765
+ let rangeList = range.split(" ").map((comp) => parseComparator(comp, this.options)).join(" ").split(/\s+/).map((comp) => replaceGTE0(comp, this.options));
766
+ loose && (rangeList = rangeList.filter((comp) => (debug("loose invalid filter", comp, this.options), !!comp.match(re[t.COMPARATORLOOSE])))), debug("range list", rangeList);
767
+ let rangeMap = /* @__PURE__ */ new Map(), comparators = rangeList.map((comp) => new Comparator(comp, this.options));
768
+ for (let comp of comparators) {
769
+ if (isNullSet(comp))
770
+ return [comp];
771
+ rangeMap.set(comp.value, comp);
772
+ }
773
+ rangeMap.size > 1 && rangeMap.has("") && rangeMap.delete("");
774
+ let result = [...rangeMap.values()];
775
+ return cache.set(memoKey, result), result;
776
+ }
777
+ intersects(range, options) {
778
+ if (!(range instanceof _Range))
779
+ throw new TypeError("a Range is required");
780
+ return this.set.some((thisComparators) => isSatisfiable(thisComparators, options) && range.set.some((rangeComparators) => isSatisfiable(rangeComparators, options) && thisComparators.every((thisComparator) => rangeComparators.every((rangeComparator) => thisComparator.intersects(rangeComparator, options)))));
781
+ }
782
+ // if ANY of the sets match ALL of its comparators, then pass
783
+ test(version) {
784
+ if (!version)
785
+ return !1;
786
+ if (typeof version == "string")
787
+ try {
788
+ version = new SemVer(version, this.options);
789
+ } catch {
790
+ return !1;
791
+ }
792
+ for (let i = 0; i < this.set.length; i++)
793
+ if (testSet(this.set[i], version, this.options))
794
+ return !0;
795
+ return !1;
796
+ }
797
+ };
798
+ module.exports = Range;
799
+ var LRU = require_lrucache(), cache = new LRU(), parseOptions = require_parse_options(), Comparator = require_comparator(), debug = require_debug(), SemVer = require_semver(), {
800
+ safeRe: re,
801
+ t,
802
+ comparatorTrimReplace,
803
+ tildeTrimReplace,
804
+ caretTrimReplace
805
+ } = require_re(), { FLAG_INCLUDE_PRERELEASE, FLAG_LOOSE } = require_constants(), isNullSet = (c) => c.value === "<0.0.0-0", isAny = (c) => c.value === "", isSatisfiable = (comparators, options) => {
806
+ let result = !0, remainingComparators = comparators.slice(), testComparator = remainingComparators.pop();
807
+ for (; result && remainingComparators.length; )
808
+ result = remainingComparators.every((otherComparator) => testComparator.intersects(otherComparator, options)), testComparator = remainingComparators.pop();
809
+ return result;
810
+ }, parseComparator = (comp, options) => (debug("comp", comp, options), comp = replaceCarets(comp, options), debug("caret", comp), comp = replaceTildes(comp, options), debug("tildes", comp), comp = replaceXRanges(comp, options), debug("xrange", comp), comp = replaceStars(comp, options), debug("stars", comp), comp), isX = (id) => !id || id.toLowerCase() === "x" || id === "*", replaceTildes = (comp, options) => comp.trim().split(/\s+/).map((c) => replaceTilde(c, options)).join(" "), replaceTilde = (comp, options) => {
811
+ let r = options.loose ? re[t.TILDELOOSE] : re[t.TILDE];
812
+ return comp.replace(r, (_, M, m, p, pr) => {
813
+ debug("tilde", comp, _, M, m, p, pr);
814
+ let ret;
815
+ return isX(M) ? ret = "" : isX(m) ? ret = `>=${M}.0.0 <${+M + 1}.0.0-0` : isX(p) ? ret = `>=${M}.${m}.0 <${M}.${+m + 1}.0-0` : pr ? (debug("replaceTilde pr", pr), ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`) : ret = `>=${M}.${m}.${p} <${M}.${+m + 1}.0-0`, debug("tilde return", ret), ret;
816
+ });
817
+ }, replaceCarets = (comp, options) => comp.trim().split(/\s+/).map((c) => replaceCaret(c, options)).join(" "), replaceCaret = (comp, options) => {
818
+ debug("caret", comp, options);
819
+ let r = options.loose ? re[t.CARETLOOSE] : re[t.CARET], z = options.includePrerelease ? "-0" : "";
820
+ return comp.replace(r, (_, M, m, p, pr) => {
821
+ debug("caret", comp, _, M, m, p, pr);
822
+ let ret;
823
+ return isX(M) ? ret = "" : isX(m) ? ret = `>=${M}.0.0${z} <${+M + 1}.0.0-0` : isX(p) ? M === "0" ? ret = `>=${M}.${m}.0${z} <${M}.${+m + 1}.0-0` : ret = `>=${M}.${m}.0${z} <${+M + 1}.0.0-0` : pr ? (debug("replaceCaret pr", pr), M === "0" ? m === "0" ? ret = `>=${M}.${m}.${p}-${pr} <${M}.${m}.${+p + 1}-0` : ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0` : ret = `>=${M}.${m}.${p}-${pr} <${+M + 1}.0.0-0`) : (debug("no pr"), M === "0" ? m === "0" ? ret = `>=${M}.${m}.${p}${z} <${M}.${m}.${+p + 1}-0` : ret = `>=${M}.${m}.${p}${z} <${M}.${+m + 1}.0-0` : ret = `>=${M}.${m}.${p} <${+M + 1}.0.0-0`), debug("caret return", ret), ret;
824
+ });
825
+ }, replaceXRanges = (comp, options) => (debug("replaceXRanges", comp, options), comp.split(/\s+/).map((c) => replaceXRange(c, options)).join(" ")), replaceXRange = (comp, options) => {
826
+ comp = comp.trim();
827
+ let r = options.loose ? re[t.XRANGELOOSE] : re[t.XRANGE];
828
+ return comp.replace(r, (ret, gtlt, M, m, p, pr) => {
829
+ debug("xRange", comp, ret, gtlt, M, m, p, pr);
830
+ let xM = isX(M), xm = xM || isX(m), xp = xm || isX(p), anyX = xp;
831
+ return gtlt === "=" && anyX && (gtlt = ""), pr = options.includePrerelease ? "-0" : "", xM ? gtlt === ">" || gtlt === "<" ? ret = "<0.0.0-0" : ret = "*" : gtlt && anyX ? (xm && (m = 0), p = 0, gtlt === ">" ? (gtlt = ">=", xm ? (M = +M + 1, m = 0, p = 0) : (m = +m + 1, p = 0)) : gtlt === "<=" && (gtlt = "<", xm ? M = +M + 1 : m = +m + 1), gtlt === "<" && (pr = "-0"), ret = `${gtlt + M}.${m}.${p}${pr}`) : xm ? ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0` : xp && (ret = `>=${M}.${m}.0${pr} <${M}.${+m + 1}.0-0`), debug("xRange return", ret), ret;
832
+ });
833
+ }, replaceStars = (comp, options) => (debug("replaceStars", comp, options), comp.trim().replace(re[t.STAR], "")), replaceGTE0 = (comp, options) => (debug("replaceGTE0", comp, options), comp.trim().replace(re[options.includePrerelease ? t.GTE0PRE : t.GTE0], "")), hyphenReplace = (incPr) => ($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr) => (isX(fM) ? from = "" : isX(fm) ? from = `>=${fM}.0.0${incPr ? "-0" : ""}` : isX(fp) ? from = `>=${fM}.${fm}.0${incPr ? "-0" : ""}` : fpr ? from = `>=${from}` : from = `>=${from}${incPr ? "-0" : ""}`, isX(tM) ? to = "" : isX(tm) ? to = `<${+tM + 1}.0.0-0` : isX(tp) ? to = `<${tM}.${+tm + 1}.0-0` : tpr ? to = `<=${tM}.${tm}.${tp}-${tpr}` : incPr ? to = `<${tM}.${tm}.${+tp + 1}-0` : to = `<=${to}`, `${from} ${to}`.trim()), testSet = (set, version, options) => {
834
+ for (let i = 0; i < set.length; i++)
835
+ if (!set[i].test(version))
836
+ return !1;
837
+ if (version.prerelease.length && !options.includePrerelease) {
838
+ for (let i = 0; i < set.length; i++)
839
+ if (debug(set[i].semver), set[i].semver !== Comparator.ANY && set[i].semver.prerelease.length > 0) {
840
+ let allowed = set[i].semver;
841
+ if (allowed.major === version.major && allowed.minor === version.minor && allowed.patch === version.patch)
842
+ return !0;
843
+ }
844
+ return !1;
845
+ }
846
+ return !0;
847
+ };
848
+ }
849
+ });
850
+
851
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/comparator.js
852
+ var require_comparator = __commonJS({
853
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/comparator.js"(exports, module) {
854
+ init_cjs_shims();
855
+ var ANY = Symbol("SemVer ANY"), Comparator = class _Comparator {
856
+ static get ANY() {
857
+ return ANY;
858
+ }
859
+ constructor(comp, options) {
860
+ if (options = parseOptions(options), comp instanceof _Comparator) {
861
+ if (comp.loose === !!options.loose)
862
+ return comp;
863
+ comp = comp.value;
864
+ }
865
+ comp = comp.trim().split(/\s+/).join(" "), debug("comparator", comp, options), this.options = options, this.loose = !!options.loose, this.parse(comp), this.semver === ANY ? this.value = "" : this.value = this.operator + this.semver.version, debug("comp", this);
866
+ }
867
+ parse(comp) {
868
+ let r = this.options.loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR], m = comp.match(r);
869
+ if (!m)
870
+ throw new TypeError(`Invalid comparator: ${comp}`);
871
+ this.operator = m[1] !== void 0 ? m[1] : "", this.operator === "=" && (this.operator = ""), m[2] ? this.semver = new SemVer(m[2], this.options.loose) : this.semver = ANY;
872
+ }
873
+ toString() {
874
+ return this.value;
875
+ }
876
+ test(version) {
877
+ if (debug("Comparator.test", version, this.options.loose), this.semver === ANY || version === ANY)
878
+ return !0;
879
+ if (typeof version == "string")
880
+ try {
881
+ version = new SemVer(version, this.options);
882
+ } catch {
883
+ return !1;
884
+ }
885
+ return cmp(version, this.operator, this.semver, this.options);
886
+ }
887
+ intersects(comp, options) {
888
+ if (!(comp instanceof _Comparator))
889
+ throw new TypeError("a Comparator is required");
890
+ return this.operator === "" ? this.value === "" ? !0 : new Range(comp.value, options).test(this.value) : comp.operator === "" ? comp.value === "" ? !0 : new Range(this.value, options).test(comp.semver) : (options = parseOptions(options), options.includePrerelease && (this.value === "<0.0.0-0" || comp.value === "<0.0.0-0") || !options.includePrerelease && (this.value.startsWith("<0.0.0") || comp.value.startsWith("<0.0.0")) ? !1 : !!(this.operator.startsWith(">") && comp.operator.startsWith(">") || this.operator.startsWith("<") && comp.operator.startsWith("<") || this.semver.version === comp.semver.version && this.operator.includes("=") && comp.operator.includes("=") || cmp(this.semver, "<", comp.semver, options) && this.operator.startsWith(">") && comp.operator.startsWith("<") || cmp(this.semver, ">", comp.semver, options) && this.operator.startsWith("<") && comp.operator.startsWith(">")));
891
+ }
892
+ };
893
+ module.exports = Comparator;
894
+ var parseOptions = require_parse_options(), { safeRe: re, t } = require_re(), cmp = require_cmp(), debug = require_debug(), SemVer = require_semver(), Range = require_range();
895
+ }
896
+ });
897
+
898
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/satisfies.js
899
+ var require_satisfies = __commonJS({
900
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/satisfies.js"(exports, module) {
901
+ init_cjs_shims();
902
+ var Range = require_range(), satisfies = (version, range, options) => {
903
+ try {
904
+ range = new Range(range, options);
905
+ } catch {
906
+ return !1;
907
+ }
908
+ return range.test(version);
909
+ };
910
+ module.exports = satisfies;
911
+ }
912
+ });
913
+
914
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/to-comparators.js
915
+ var require_to_comparators = __commonJS({
916
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/to-comparators.js"(exports, module) {
917
+ init_cjs_shims();
918
+ var Range = require_range(), toComparators = (range, options) => new Range(range, options).set.map((comp) => comp.map((c) => c.value).join(" ").trim().split(" "));
919
+ module.exports = toComparators;
920
+ }
921
+ });
922
+
923
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/max-satisfying.js
924
+ var require_max_satisfying = __commonJS({
925
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/max-satisfying.js"(exports, module) {
926
+ init_cjs_shims();
927
+ var SemVer = require_semver(), Range = require_range(), maxSatisfying = (versions, range, options) => {
928
+ let max = null, maxSV = null, rangeObj = null;
929
+ try {
930
+ rangeObj = new Range(range, options);
931
+ } catch {
932
+ return null;
933
+ }
934
+ return versions.forEach((v) => {
935
+ rangeObj.test(v) && (!max || maxSV.compare(v) === -1) && (max = v, maxSV = new SemVer(max, options));
936
+ }), max;
937
+ };
938
+ module.exports = maxSatisfying;
939
+ }
940
+ });
941
+
942
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/min-satisfying.js
943
+ var require_min_satisfying = __commonJS({
944
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/min-satisfying.js"(exports, module) {
945
+ init_cjs_shims();
946
+ var SemVer = require_semver(), Range = require_range(), minSatisfying = (versions, range, options) => {
947
+ let min = null, minSV = null, rangeObj = null;
948
+ try {
949
+ rangeObj = new Range(range, options);
950
+ } catch {
951
+ return null;
952
+ }
953
+ return versions.forEach((v) => {
954
+ rangeObj.test(v) && (!min || minSV.compare(v) === 1) && (min = v, minSV = new SemVer(min, options));
955
+ }), min;
956
+ };
957
+ module.exports = minSatisfying;
958
+ }
959
+ });
960
+
961
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/min-version.js
962
+ var require_min_version = __commonJS({
963
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/min-version.js"(exports, module) {
964
+ init_cjs_shims();
965
+ var SemVer = require_semver(), Range = require_range(), gt = require_gt(), minVersion = (range, loose) => {
966
+ range = new Range(range, loose);
967
+ let minver = new SemVer("0.0.0");
968
+ if (range.test(minver) || (minver = new SemVer("0.0.0-0"), range.test(minver)))
969
+ return minver;
970
+ minver = null;
971
+ for (let i = 0; i < range.set.length; ++i) {
972
+ let comparators = range.set[i], setMin = null;
973
+ comparators.forEach((comparator) => {
974
+ let compver = new SemVer(comparator.semver.version);
975
+ switch (comparator.operator) {
976
+ case ">":
977
+ compver.prerelease.length === 0 ? compver.patch++ : compver.prerelease.push(0), compver.raw = compver.format();
978
+ /* fallthrough */
979
+ case "":
980
+ case ">=":
981
+ (!setMin || gt(compver, setMin)) && (setMin = compver);
982
+ break;
983
+ case "<":
984
+ case "<=":
985
+ break;
986
+ /* istanbul ignore next */
987
+ default:
988
+ throw new Error(`Unexpected operation: ${comparator.operator}`);
989
+ }
990
+ }), setMin && (!minver || gt(minver, setMin)) && (minver = setMin);
991
+ }
992
+ return minver && range.test(minver) ? minver : null;
993
+ };
994
+ module.exports = minVersion;
995
+ }
996
+ });
997
+
998
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/valid.js
999
+ var require_valid2 = __commonJS({
1000
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/valid.js"(exports, module) {
1001
+ init_cjs_shims();
1002
+ var Range = require_range(), validRange = (range, options) => {
1003
+ try {
1004
+ return new Range(range, options).range || "*";
1005
+ } catch {
1006
+ return null;
1007
+ }
1008
+ };
1009
+ module.exports = validRange;
1010
+ }
1011
+ });
1012
+
1013
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/outside.js
1014
+ var require_outside = __commonJS({
1015
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/outside.js"(exports, module) {
1016
+ init_cjs_shims();
1017
+ var SemVer = require_semver(), Comparator = require_comparator(), { ANY } = Comparator, Range = require_range(), satisfies = require_satisfies(), gt = require_gt(), lt = require_lt(), lte = require_lte(), gte = require_gte(), outside = (version, range, hilo, options) => {
1018
+ version = new SemVer(version, options), range = new Range(range, options);
1019
+ let gtfn, ltefn, ltfn, comp, ecomp;
1020
+ switch (hilo) {
1021
+ case ">":
1022
+ gtfn = gt, ltefn = lte, ltfn = lt, comp = ">", ecomp = ">=";
1023
+ break;
1024
+ case "<":
1025
+ gtfn = lt, ltefn = gte, ltfn = gt, comp = "<", ecomp = "<=";
1026
+ break;
1027
+ default:
1028
+ throw new TypeError('Must provide a hilo val of "<" or ">"');
1029
+ }
1030
+ if (satisfies(version, range, options))
1031
+ return !1;
1032
+ for (let i = 0; i < range.set.length; ++i) {
1033
+ let comparators = range.set[i], high = null, low = null;
1034
+ if (comparators.forEach((comparator) => {
1035
+ comparator.semver === ANY && (comparator = new Comparator(">=0.0.0")), high = high || comparator, low = low || comparator, gtfn(comparator.semver, high.semver, options) ? high = comparator : ltfn(comparator.semver, low.semver, options) && (low = comparator);
1036
+ }), high.operator === comp || high.operator === ecomp || (!low.operator || low.operator === comp) && ltefn(version, low.semver))
1037
+ return !1;
1038
+ if (low.operator === ecomp && ltfn(version, low.semver))
1039
+ return !1;
1040
+ }
1041
+ return !0;
1042
+ };
1043
+ module.exports = outside;
1044
+ }
1045
+ });
1046
+
1047
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/gtr.js
1048
+ var require_gtr = __commonJS({
1049
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/gtr.js"(exports, module) {
1050
+ init_cjs_shims();
1051
+ var outside = require_outside(), gtr = (version, range, options) => outside(version, range, ">", options);
1052
+ module.exports = gtr;
1053
+ }
1054
+ });
1055
+
1056
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/ltr.js
1057
+ var require_ltr = __commonJS({
1058
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/ltr.js"(exports, module) {
1059
+ init_cjs_shims();
1060
+ var outside = require_outside(), ltr = (version, range, options) => outside(version, range, "<", options);
1061
+ module.exports = ltr;
1062
+ }
1063
+ });
1064
+
1065
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/intersects.js
1066
+ var require_intersects = __commonJS({
1067
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/intersects.js"(exports, module) {
1068
+ init_cjs_shims();
1069
+ var Range = require_range(), intersects = (r1, r2, options) => (r1 = new Range(r1, options), r2 = new Range(r2, options), r1.intersects(r2, options));
1070
+ module.exports = intersects;
1071
+ }
1072
+ });
1073
+
1074
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/simplify.js
1075
+ var require_simplify = __commonJS({
1076
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/simplify.js"(exports, module) {
1077
+ init_cjs_shims();
1078
+ var satisfies = require_satisfies(), compare = require_compare();
1079
+ module.exports = (versions, range, options) => {
1080
+ let set = [], first = null, prev = null, v = versions.sort((a, b) => compare(a, b, options));
1081
+ for (let version of v)
1082
+ satisfies(version, range, options) ? (prev = version, first || (first = version)) : (prev && set.push([first, prev]), prev = null, first = null);
1083
+ first && set.push([first, null]);
1084
+ let ranges = [];
1085
+ for (let [min, max] of set)
1086
+ min === max ? ranges.push(min) : !max && min === v[0] ? ranges.push("*") : max ? min === v[0] ? ranges.push(`<=${max}`) : ranges.push(`${min} - ${max}`) : ranges.push(`>=${min}`);
1087
+ let simplified = ranges.join(" || "), original = typeof range.raw == "string" ? range.raw : String(range);
1088
+ return simplified.length < original.length ? simplified : range;
1089
+ };
1090
+ }
1091
+ });
1092
+
1093
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/subset.js
1094
+ var require_subset = __commonJS({
1095
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/subset.js"(exports, module) {
1096
+ init_cjs_shims();
1097
+ var Range = require_range(), Comparator = require_comparator(), { ANY } = Comparator, satisfies = require_satisfies(), compare = require_compare(), subset = (sub, dom, options = {}) => {
1098
+ if (sub === dom)
1099
+ return !0;
1100
+ sub = new Range(sub, options), dom = new Range(dom, options);
1101
+ let sawNonNull = !1;
1102
+ OUTER: for (let simpleSub of sub.set) {
1103
+ for (let simpleDom of dom.set) {
1104
+ let isSub = simpleSubset(simpleSub, simpleDom, options);
1105
+ if (sawNonNull = sawNonNull || isSub !== null, isSub)
1106
+ continue OUTER;
1107
+ }
1108
+ if (sawNonNull)
1109
+ return !1;
1110
+ }
1111
+ return !0;
1112
+ }, minimumVersionWithPreRelease = [new Comparator(">=0.0.0-0")], minimumVersion = [new Comparator(">=0.0.0")], simpleSubset = (sub, dom, options) => {
1113
+ if (sub === dom)
1114
+ return !0;
1115
+ if (sub.length === 1 && sub[0].semver === ANY) {
1116
+ if (dom.length === 1 && dom[0].semver === ANY)
1117
+ return !0;
1118
+ options.includePrerelease ? sub = minimumVersionWithPreRelease : sub = minimumVersion;
1119
+ }
1120
+ if (dom.length === 1 && dom[0].semver === ANY) {
1121
+ if (options.includePrerelease)
1122
+ return !0;
1123
+ dom = minimumVersion;
1124
+ }
1125
+ let eqSet = /* @__PURE__ */ new Set(), gt, lt;
1126
+ for (let c of sub)
1127
+ c.operator === ">" || c.operator === ">=" ? gt = higherGT(gt, c, options) : c.operator === "<" || c.operator === "<=" ? lt = lowerLT(lt, c, options) : eqSet.add(c.semver);
1128
+ if (eqSet.size > 1)
1129
+ return null;
1130
+ let gtltComp;
1131
+ if (gt && lt) {
1132
+ if (gtltComp = compare(gt.semver, lt.semver, options), gtltComp > 0)
1133
+ return null;
1134
+ if (gtltComp === 0 && (gt.operator !== ">=" || lt.operator !== "<="))
1135
+ return null;
1136
+ }
1137
+ for (let eq of eqSet) {
1138
+ if (gt && !satisfies(eq, String(gt), options) || lt && !satisfies(eq, String(lt), options))
1139
+ return null;
1140
+ for (let c of dom)
1141
+ if (!satisfies(eq, String(c), options))
1142
+ return !1;
1143
+ return !0;
1144
+ }
1145
+ let higher, lower, hasDomLT, hasDomGT, needDomLTPre = lt && !options.includePrerelease && lt.semver.prerelease.length ? lt.semver : !1, needDomGTPre = gt && !options.includePrerelease && gt.semver.prerelease.length ? gt.semver : !1;
1146
+ needDomLTPre && needDomLTPre.prerelease.length === 1 && lt.operator === "<" && needDomLTPre.prerelease[0] === 0 && (needDomLTPre = !1);
1147
+ for (let c of dom) {
1148
+ if (hasDomGT = hasDomGT || c.operator === ">" || c.operator === ">=", hasDomLT = hasDomLT || c.operator === "<" || c.operator === "<=", gt) {
1149
+ if (needDomGTPre && c.semver.prerelease && c.semver.prerelease.length && c.semver.major === needDomGTPre.major && c.semver.minor === needDomGTPre.minor && c.semver.patch === needDomGTPre.patch && (needDomGTPre = !1), c.operator === ">" || c.operator === ">=") {
1150
+ if (higher = higherGT(gt, c, options), higher === c && higher !== gt)
1151
+ return !1;
1152
+ } else if (gt.operator === ">=" && !satisfies(gt.semver, String(c), options))
1153
+ return !1;
1154
+ }
1155
+ if (lt) {
1156
+ if (needDomLTPre && c.semver.prerelease && c.semver.prerelease.length && c.semver.major === needDomLTPre.major && c.semver.minor === needDomLTPre.minor && c.semver.patch === needDomLTPre.patch && (needDomLTPre = !1), c.operator === "<" || c.operator === "<=") {
1157
+ if (lower = lowerLT(lt, c, options), lower === c && lower !== lt)
1158
+ return !1;
1159
+ } else if (lt.operator === "<=" && !satisfies(lt.semver, String(c), options))
1160
+ return !1;
1161
+ }
1162
+ if (!c.operator && (lt || gt) && gtltComp !== 0)
1163
+ return !1;
1164
+ }
1165
+ return !(gt && hasDomLT && !lt && gtltComp !== 0 || lt && hasDomGT && !gt && gtltComp !== 0 || needDomGTPre || needDomLTPre);
1166
+ }, higherGT = (a, b, options) => {
1167
+ if (!a)
1168
+ return b;
1169
+ let comp = compare(a.semver, b.semver, options);
1170
+ return comp > 0 ? a : comp < 0 || b.operator === ">" && a.operator === ">=" ? b : a;
1171
+ }, lowerLT = (a, b, options) => {
1172
+ if (!a)
1173
+ return b;
1174
+ let comp = compare(a.semver, b.semver, options);
1175
+ return comp < 0 ? a : comp > 0 || b.operator === "<" && a.operator === "<=" ? b : a;
1176
+ };
1177
+ module.exports = subset;
1178
+ }
1179
+ });
1180
+
1181
+ // ../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/index.js
1182
+ var require_semver2 = __commonJS({
1183
+ "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/index.js"(exports, module) {
1184
+ init_cjs_shims();
1185
+ var internalRe = require_re(), constants = require_constants(), SemVer = require_semver(), identifiers = require_identifiers(), parse = require_parse(), valid = require_valid(), clean = require_clean(), inc = require_inc(), diff = require_diff(), major = require_major(), minor = require_minor(), patch = require_patch(), prerelease = require_prerelease(), compare = require_compare(), rcompare = require_rcompare(), compareLoose = require_compare_loose(), compareBuild = require_compare_build(), sort = require_sort(), rsort = require_rsort(), gt = require_gt(), lt = require_lt(), eq = require_eq(), neq = require_neq(), gte = require_gte(), lte = require_lte(), cmp = require_cmp(), coerce = require_coerce(), Comparator = require_comparator(), Range = require_range(), satisfies = require_satisfies(), toComparators = require_to_comparators(), maxSatisfying = require_max_satisfying(), minSatisfying = require_min_satisfying(), minVersion = require_min_version(), validRange = require_valid2(), outside = require_outside(), gtr = require_gtr(), ltr = require_ltr(), intersects = require_intersects(), simplifyRange = require_simplify(), subset = require_subset();
1186
+ module.exports = {
1187
+ parse,
1188
+ valid,
1189
+ clean,
1190
+ inc,
1191
+ diff,
1192
+ major,
1193
+ minor,
1194
+ patch,
1195
+ prerelease,
1196
+ compare,
1197
+ rcompare,
1198
+ compareLoose,
1199
+ compareBuild,
1200
+ sort,
1201
+ rsort,
1202
+ gt,
1203
+ lt,
1204
+ eq,
1205
+ neq,
1206
+ gte,
1207
+ lte,
1208
+ cmp,
1209
+ coerce,
1210
+ Comparator,
1211
+ Range,
1212
+ satisfies,
1213
+ toComparators,
1214
+ maxSatisfying,
1215
+ minSatisfying,
1216
+ minVersion,
1217
+ validRange,
1218
+ outside,
1219
+ gtr,
1220
+ ltr,
1221
+ intersects,
1222
+ simplifyRange,
1223
+ subset,
1224
+ SemVer,
1225
+ re: internalRe.re,
1226
+ src: internalRe.src,
1227
+ tokens: internalRe.t,
1228
+ SEMVER_SPEC_VERSION: constants.SEMVER_SPEC_VERSION,
1229
+ RELEASE_TYPES: constants.RELEASE_TYPES,
1230
+ compareIdentifiers: identifiers.compareIdentifiers,
1231
+ rcompareIdentifiers: identifiers.rcompareIdentifiers
1232
+ };
1233
+ }
1234
+ });
1235
+
1236
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/fs.js
114
1237
  var require_fs = __commonJS({
115
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/util/fs.js"(exports) {
1238
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/fs.js"(exports) {
116
1239
  "use strict";
117
1240
  init_cjs_shims();
118
1241
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -167,9 +1290,9 @@ var require_fs = __commonJS({
167
1290
  }
168
1291
  });
169
1292
 
170
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/args.js
1293
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/args.js
171
1294
  var require_args = __commonJS({
172
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/args.js"(exports) {
1295
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/args.js"(exports) {
173
1296
  "use strict";
174
1297
  init_cjs_shims();
175
1298
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -224,13 +1347,13 @@ var require_args = __commonJS({
224
1347
  }
225
1348
  });
226
1349
 
227
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/package.json
1350
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/package.json
228
1351
  var require_package = __commonJS({
229
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/package.json"(exports, module) {
1352
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/package.json"(exports, module) {
230
1353
  module.exports = {
231
1354
  name: "@oclif/core",
232
1355
  description: "base library for oclif CLIs",
233
- version: "4.4.0",
1356
+ version: "4.5.3",
234
1357
  author: "Salesforce",
235
1358
  bugs: "https://github.com/oclif/core/issues",
236
1359
  dependencies: {
@@ -255,7 +1378,7 @@ var require_package = __commonJS({
255
1378
  },
256
1379
  devDependencies: {
257
1380
  "@commitlint/config-conventional": "^19",
258
- "@eslint/compat": "^1.3.0",
1381
+ "@eslint/compat": "^1.3.2",
259
1382
  "@oclif/plugin-help": "^6",
260
1383
  "@oclif/plugin-plugins": "^5",
261
1384
  "@oclif/prettier-config": "^0.2.1",
@@ -285,13 +1408,13 @@ var require_package = __commonJS({
285
1408
  husky: "^9.1.7",
286
1409
  "lint-staged": "^15",
287
1410
  madge: "^6.1.0",
288
- mocha: "^10.8.2",
1411
+ mocha: "^11.7.2",
289
1412
  nyc: "^15.1.0",
290
- prettier: "^3.5.3",
1413
+ prettier: "^3.6.2",
291
1414
  shx: "^0.4.0",
292
1415
  sinon: "^18",
293
1416
  "ts-node": "^10.9.2",
294
- tsd: "^0.32.0",
1417
+ tsd: "^0.33.0",
295
1418
  typescript: "^5"
296
1419
  },
297
1420
  engines: {
@@ -364,9 +1487,9 @@ var require_package = __commonJS({
364
1487
  }
365
1488
  });
366
1489
 
367
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/cache.js
1490
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/cache.js
368
1491
  var require_cache = __commonJS({
369
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/cache.js"(exports) {
1492
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/cache.js"(exports) {
370
1493
  "use strict";
371
1494
  init_cjs_shims();
372
1495
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -870,9 +1993,9 @@ try {
870
1993
  }
871
1994
  });
872
1995
 
873
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/logger.js
1996
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/logger.js
874
1997
  var require_logger = __commonJS({
875
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/logger.js"(exports) {
1998
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/logger.js"(exports) {
876
1999
  "use strict";
877
2000
  init_cjs_shims();
878
2001
  var __importDefault = exports && exports.__importDefault || function(mod) {
@@ -926,9 +2049,9 @@ var require_logger = __commonJS({
926
2049
  }
927
2050
  });
928
2051
 
929
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/ux/write.js
2052
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/ux/write.js
930
2053
  var require_write = __commonJS({
931
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/ux/write.js"(exports) {
2054
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/ux/write.js"(exports) {
932
2055
  "use strict";
933
2056
  init_cjs_shims();
934
2057
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -1809,9 +2932,9 @@ var require_wrap_ansi = __commonJS({
1809
2932
  }
1810
2933
  });
1811
2934
 
1812
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/settings.js
2935
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/settings.js
1813
2936
  var require_settings = __commonJS({
1814
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/settings.js"(exports) {
2937
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/settings.js"(exports) {
1815
2938
  "use strict";
1816
2939
  init_cjs_shims();
1817
2940
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -1821,9 +2944,9 @@ var require_settings = __commonJS({
1821
2944
  }
1822
2945
  });
1823
2946
 
1824
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/screen.js
2947
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/screen.js
1825
2948
  var require_screen = __commonJS({
1826
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/screen.js"(exports) {
2949
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/screen.js"(exports) {
1827
2950
  "use strict";
1828
2951
  init_cjs_shims();
1829
2952
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -1911,9 +3034,9 @@ var require_ansis = __commonJS({
1911
3034
  }
1912
3035
  });
1913
3036
 
1914
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/interfaces/theme.js
3037
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/interfaces/theme.js
1915
3038
  var require_theme = __commonJS({
1916
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/interfaces/theme.js"(exports) {
3039
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/interfaces/theme.js"(exports) {
1917
3040
  "use strict";
1918
3041
  init_cjs_shims();
1919
3042
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -1962,9 +3085,9 @@ var require_theme = __commonJS({
1962
3085
  }
1963
3086
  });
1964
3087
 
1965
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/ux/supports-color.js
3088
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/ux/supports-color.js
1966
3089
  var require_supports_color2 = __commonJS({
1967
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/ux/supports-color.js"(exports) {
3090
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/ux/supports-color.js"(exports) {
1968
3091
  "use strict";
1969
3092
  init_cjs_shims();
1970
3093
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -1976,9 +3099,9 @@ var require_supports_color2 = __commonJS({
1976
3099
  }
1977
3100
  });
1978
3101
 
1979
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/ux/theme.js
3102
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/ux/theme.js
1980
3103
  var require_theme2 = __commonJS({
1981
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/ux/theme.js"(exports) {
3104
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/ux/theme.js"(exports) {
1982
3105
  "use strict";
1983
3106
  init_cjs_shims();
1984
3107
  var __importDefault = exports && exports.__importDefault || function(mod) {
@@ -2013,9 +3136,9 @@ var require_theme2 = __commonJS({
2013
3136
  }
2014
3137
  });
2015
3138
 
2016
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/errors/errors/cli.js
3139
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/errors/errors/cli.js
2017
3140
  var require_cli = __commonJS({
2018
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/errors/errors/cli.js"(exports) {
3141
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/errors/errors/cli.js"(exports) {
2019
3142
  "use strict";
2020
3143
  init_cjs_shims();
2021
3144
  var __importDefault = exports && exports.__importDefault || function(mod) {
@@ -2076,9 +3199,9 @@ var require_cli = __commonJS({
2076
3199
  }
2077
3200
  });
2078
3201
 
2079
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/errors/errors/pretty-print.js
3202
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/errors/errors/pretty-print.js
2080
3203
  var require_pretty_print = __commonJS({
2081
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/errors/errors/pretty-print.js"(exports) {
3204
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/errors/errors/pretty-print.js"(exports) {
2082
3205
  "use strict";
2083
3206
  init_cjs_shims();
2084
3207
  var __importDefault = exports && exports.__importDefault || function(mod) {
@@ -2115,9 +3238,9 @@ ${(0, indent_string_1.default)(multiple, 2)}`;
2115
3238
  }
2116
3239
  });
2117
3240
 
2118
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/errors/error.js
3241
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/errors/error.js
2119
3242
  var require_error = __commonJS({
2120
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/errors/error.js"(exports) {
3243
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/errors/error.js"(exports) {
2121
3244
  "use strict";
2122
3245
  init_cjs_shims();
2123
3246
  var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
@@ -2168,9 +3291,9 @@ var require_error = __commonJS({
2168
3291
  }
2169
3292
  });
2170
3293
 
2171
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/errors/errors/exit.js
3294
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/errors/errors/exit.js
2172
3295
  var require_exit = __commonJS({
2173
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/errors/errors/exit.js"(exports) {
3296
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/errors/errors/exit.js"(exports) {
2174
3297
  "use strict";
2175
3298
  init_cjs_shims();
2176
3299
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -2188,9 +3311,9 @@ var require_exit = __commonJS({
2188
3311
  }
2189
3312
  });
2190
3313
 
2191
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/errors/errors/module-load.js
3314
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/errors/errors/module-load.js
2192
3315
  var require_module_load = __commonJS({
2193
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/errors/errors/module-load.js"(exports) {
3316
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/errors/errors/module-load.js"(exports) {
2194
3317
  "use strict";
2195
3318
  init_cjs_shims();
2196
3319
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -2205,9 +3328,9 @@ var require_module_load = __commonJS({
2205
3328
  }
2206
3329
  });
2207
3330
 
2208
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/errors/exit.js
3331
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/errors/exit.js
2209
3332
  var require_exit2 = __commonJS({
2210
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/errors/exit.js"(exports) {
3333
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/errors/exit.js"(exports) {
2211
3334
  "use strict";
2212
3335
  init_cjs_shims();
2213
3336
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -2219,9 +3342,9 @@ var require_exit2 = __commonJS({
2219
3342
  }
2220
3343
  });
2221
3344
 
2222
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/errors/warn.js
3345
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/errors/warn.js
2223
3346
  var require_warn = __commonJS({
2224
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/errors/warn.js"(exports) {
3347
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/errors/warn.js"(exports) {
2225
3348
  "use strict";
2226
3349
  init_cjs_shims();
2227
3350
  var __importDefault = exports && exports.__importDefault || function(mod) {
@@ -160753,9 +161876,9 @@ Additional information: BADCLIENT: Bad error code, ${badCode} not found in range
160753
161876
  }
160754
161877
  });
160755
161878
 
160756
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/util/read-tsconfig.js
161879
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/read-tsconfig.js
160757
161880
  var require_read_tsconfig = __commonJS({
160758
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/util/read-tsconfig.js"(exports) {
161881
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/read-tsconfig.js"(exports) {
160759
161882
  "use strict";
160760
161883
  init_cjs_shims();
160761
161884
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -160821,9 +161944,9 @@ var require_read_tsconfig = __commonJS({
160821
161944
  }
160822
161945
  });
160823
161946
 
160824
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/config/util.js
161947
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/config/util.js
160825
161948
  var require_util2 = __commonJS({
160826
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/config/util.js"(exports) {
161949
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/config/util.js"(exports) {
160827
161950
  "use strict";
160828
161951
  init_cjs_shims();
160829
161952
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -160858,9 +161981,9 @@ var require_util2 = __commonJS({
160858
161981
  }
160859
161982
  });
160860
161983
 
160861
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/config/ts-path.js
161984
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/config/ts-path.js
160862
161985
  var require_ts_path = __commonJS({
160863
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/config/ts-path.js"(exports) {
161986
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/config/ts-path.js"(exports) {
160864
161987
  "use strict";
160865
161988
  init_cjs_shims();
160866
161989
  var __importDefault = exports && exports.__importDefault || function(mod) {
@@ -161089,9 +162212,9 @@ var require_get_package_type = __commonJS({
161089
162212
  }
161090
162213
  });
161091
162214
 
161092
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/module-loader.js
162215
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/module-loader.js
161093
162216
  var require_module_loader = __commonJS({
161094
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/module-loader.js"(exports) {
162217
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/module-loader.js"(exports) {
161095
162218
  "use strict";
161096
162219
  init_cjs_shims();
161097
162220
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -161182,9 +162305,9 @@ var require_module_loader = __commonJS({
161182
162305
  }
161183
162306
  });
161184
162307
 
161185
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/symbols.js
162308
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/symbols.js
161186
162309
  var require_symbols = __commonJS({
161187
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/symbols.js"(exports) {
162310
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/symbols.js"(exports) {
161188
162311
  "use strict";
161189
162312
  init_cjs_shims();
161190
162313
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -161193,9 +162316,9 @@ var require_symbols = __commonJS({
161193
162316
  }
161194
162317
  });
161195
162318
 
161196
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/util/cache-default-value.js
162319
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/cache-default-value.js
161197
162320
  var require_cache_default_value = __commonJS({
161198
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/util/cache-default-value.js"(exports) {
162321
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/cache-default-value.js"(exports) {
161199
162322
  "use strict";
161200
162323
  init_cjs_shims();
161201
162324
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -161221,9 +162344,9 @@ var require_cache_default_value = __commonJS({
161221
162344
  }
161222
162345
  });
161223
162346
 
161224
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/util/ids.js
162347
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/ids.js
161225
162348
  var require_ids = __commonJS({
161226
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/util/ids.js"(exports) {
162349
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/ids.js"(exports) {
161227
162350
  "use strict";
161228
162351
  init_cjs_shims();
161229
162352
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -161239,9 +162362,9 @@ var require_ids = __commonJS({
161239
162362
  }
161240
162363
  });
161241
162364
 
161242
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/ux/action/base.js
162365
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/ux/action/base.js
161243
162366
  var require_base = __commonJS({
161244
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/ux/action/base.js"(exports) {
162367
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/ux/action/base.js"(exports) {
161245
162368
  "use strict";
161246
162369
  init_cjs_shims();
161247
162370
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -161370,9 +162493,9 @@ var require_base = __commonJS({
161370
162493
  }
161371
162494
  });
161372
162495
 
161373
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/ux/action/simple.js
162496
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/ux/action/simple.js
161374
162497
  var require_simple = __commonJS({
161375
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/ux/action/simple.js"(exports) {
162498
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/ux/action/simple.js"(exports) {
161376
162499
  "use strict";
161377
162500
  init_cjs_shims();
161378
162501
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -163132,9 +164255,9 @@ var require_cli_spinners = __commonJS({
163132
164255
  }
163133
164256
  });
163134
164257
 
163135
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/ux/action/spinner.js
164258
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/ux/action/spinner.js
163136
164259
  var require_spinner = __commonJS({
163137
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/ux/action/spinner.js"(exports) {
164260
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/ux/action/spinner.js"(exports) {
163138
164261
  "use strict";
163139
164262
  init_cjs_shims();
163140
164263
  var __importDefault = exports && exports.__importDefault || function(mod) {
@@ -163192,9 +164315,9 @@ var require_spinner = __commonJS({
163192
164315
  }
163193
164316
  });
163194
164317
 
163195
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/ux/colorize-json.js
164318
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/ux/colorize-json.js
163196
164319
  var require_colorize_json = __commonJS({
163197
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/ux/colorize-json.js"(exports) {
164320
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/ux/colorize-json.js"(exports) {
163198
164321
  "use strict";
163199
164322
  init_cjs_shims();
163200
164323
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -163255,9 +164378,9 @@ var require_colorize_json = __commonJS({
163255
164378
  }
163256
164379
  });
163257
164380
 
163258
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/ux/index.js
164381
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/ux/index.js
163259
164382
  var require_ux = __commonJS({
163260
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/ux/index.js"(exports) {
164383
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/ux/index.js"(exports) {
163261
164384
  "use strict";
163262
164385
  init_cjs_shims();
163263
164386
  var __importDefault = exports && exports.__importDefault || function(mod) {
@@ -163353,9 +164476,9 @@ var require_ux = __commonJS({
163353
164476
  }
163354
164477
  });
163355
164478
 
163356
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/util/ensure-arg-object.js
164479
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/ensure-arg-object.js
163357
164480
  var require_ensure_arg_object = __commonJS({
163358
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/util/ensure-arg-object.js"(exports) {
164481
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/ensure-arg-object.js"(exports) {
163359
164482
  "use strict";
163360
164483
  init_cjs_shims();
163361
164484
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -163366,9 +164489,9 @@ var require_ensure_arg_object = __commonJS({
163366
164489
  }
163367
164490
  });
163368
164491
 
163369
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/help/docopts.js
164492
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/help/docopts.js
163370
164493
  var require_docopts = __commonJS({
163371
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/help/docopts.js"(exports) {
164494
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/help/docopts.js"(exports) {
163372
164495
  "use strict";
163373
164496
  init_cjs_shims();
163374
164497
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -163392,7 +164515,7 @@ var require_docopts = __commonJS({
163392
164515
  toString() {
163393
164516
  let opts = ["<%= command.id %>"];
163394
164517
  if (this.cmd.args) {
163395
- let suffix = this.cmd.strict === !1 ? "..." : "", a = Object.values((0, ensure_arg_object_1.ensureArgObject)(this.cmd.args)).map((arg) => arg.required ? `${arg.name.toUpperCase()}${suffix}` : `[${arg.name.toUpperCase()}${suffix}]`) || [];
164518
+ let suffix = this.cmd.strict === !1 ? "..." : "", a = Object.values((0, ensure_arg_object_1.ensureArgObject)(this.cmd.args)).filter((arg) => !arg.hidden).map((arg) => arg.required ? `${arg.name.toUpperCase()}${suffix}` : `[${arg.name.toUpperCase()}${suffix}]`) || [];
163396
164519
  opts.push(...a);
163397
164520
  }
163398
164521
  try {
@@ -163457,9 +164580,9 @@ var require_widest_line = __commonJS({
163457
164580
  }
163458
164581
  });
163459
164582
 
163460
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/help/util.js
164583
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/help/util.js
163461
164584
  var require_util3 = __commonJS({
163462
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/help/util.js"(exports) {
164585
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/help/util.js"(exports) {
163463
164586
  "use strict";
163464
164587
  init_cjs_shims();
163465
164588
  var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
@@ -163552,9 +164675,9 @@ var require_util3 = __commonJS({
163552
164675
  }
163553
164676
  });
163554
164677
 
163555
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/help/formatter.js
164678
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/help/formatter.js
163556
164679
  var require_formatter = __commonJS({
163557
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/help/formatter.js"(exports) {
164680
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/help/formatter.js"(exports) {
163558
164681
  "use strict";
163559
164682
  init_cjs_shims();
163560
164683
  var __importDefault = exports && exports.__importDefault || function(mod) {
@@ -163708,9 +164831,9 @@ var require_formatter = __commonJS({
163708
164831
  }
163709
164832
  });
163710
164833
 
163711
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/help/command.js
164834
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/help/command.js
163712
164835
  var require_command = __commonJS({
163713
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/help/command.js"(exports) {
164836
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/help/command.js"(exports) {
163714
164837
  "use strict";
163715
164838
  init_cjs_shims();
163716
164839
  var __importDefault = exports && exports.__importDefault || function(mod) {
@@ -163922,9 +165045,9 @@ ${this.indent(this.wrap(flag.description || "", this.indentSpacing * 2))}`;
163922
165045
  }
163923
165046
  });
163924
165047
 
163925
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/help/root.js
165048
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/help/root.js
163926
165049
  var require_root = __commonJS({
163927
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/help/root.js"(exports) {
165050
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/help/root.js"(exports) {
163928
165051
  "use strict";
163929
165052
  init_cjs_shims();
163930
165053
  var __importDefault = exports && exports.__importDefault || function(mod) {
@@ -163969,9 +165092,9 @@ var require_root = __commonJS({
163969
165092
  }
163970
165093
  });
163971
165094
 
163972
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/help/index.js
165095
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/help/index.js
163973
165096
  var require_help = __commonJS({
163974
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/help/index.js"(exports) {
165097
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/help/index.js"(exports) {
163975
165098
  "use strict";
163976
165099
  init_cjs_shims();
163977
165100
  var __importDefault = exports && exports.__importDefault || function(mod) {
@@ -164205,9 +165328,9 @@ ${error.message}`);
164205
165328
  }
164206
165329
  });
164207
165330
 
164208
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/errors/handle.js
165331
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/errors/handle.js
164209
165332
  var require_handle = __commonJS({
164210
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/errors/handle.js"(exports) {
165333
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/errors/handle.js"(exports) {
164211
165334
  "use strict";
164212
165335
  init_cjs_shims();
164213
165336
  var __importDefault = exports && exports.__importDefault || function(mod) {
@@ -164247,9 +165370,9 @@ var require_handle = __commonJS({
164247
165370
  }
164248
165371
  });
164249
165372
 
164250
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/errors/index.js
165373
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/errors/index.js
164251
165374
  var require_errors = __commonJS({
164252
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/errors/index.js"(exports) {
165375
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/errors/index.js"(exports) {
164253
165376
  "use strict";
164254
165377
  init_cjs_shims();
164255
165378
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -164285,9 +165408,9 @@ var require_errors = __commonJS({
164285
165408
  }
164286
165409
  });
164287
165410
 
164288
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/performance.js
165411
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/performance.js
164289
165412
  var require_performance = __commonJS({
164290
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/performance.js"(exports) {
165413
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/performance.js"(exports) {
164291
165414
  "use strict";
164292
165415
  init_cjs_shims();
164293
165416
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -164450,9 +165573,9 @@ var require_performance = __commonJS({
164450
165573
  }
164451
165574
  });
164452
165575
 
164453
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/util/determine-priority.js
165576
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/determine-priority.js
164454
165577
  var require_determine_priority = __commonJS({
164455
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/util/determine-priority.js"(exports) {
165578
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/determine-priority.js"(exports) {
164456
165579
  "use strict";
164457
165580
  init_cjs_shims();
164458
165581
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -164466,9 +165589,9 @@ var require_determine_priority = __commonJS({
164466
165589
  }
164467
165590
  });
164468
165591
 
164469
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/util/os.js
165592
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/os.js
164470
165593
  var require_os = __commonJS({
164471
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/util/os.js"(exports) {
165594
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/os.js"(exports) {
164472
165595
  "use strict";
164473
165596
  init_cjs_shims();
164474
165597
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -164484,6 +165607,103 @@ var require_os = __commonJS({
164484
165607
  }
164485
165608
  });
164486
165609
 
165610
+ // ../../node_modules/.pnpm/brace-expansion@2.0.1/node_modules/brace-expansion/index.js
165611
+ var require_brace_expansion = __commonJS({
165612
+ "../../node_modules/.pnpm/brace-expansion@2.0.1/node_modules/brace-expansion/index.js"(exports, module) {
165613
+ init_cjs_shims();
165614
+ var balanced = require_balanced_match();
165615
+ module.exports = expandTop;
165616
+ var escSlash = "\0SLASH" + Math.random() + "\0", escOpen = "\0OPEN" + Math.random() + "\0", escClose = "\0CLOSE" + Math.random() + "\0", escComma = "\0COMMA" + Math.random() + "\0", escPeriod = "\0PERIOD" + Math.random() + "\0";
165617
+ function numeric(str) {
165618
+ return parseInt(str, 10) == str ? parseInt(str, 10) : str.charCodeAt(0);
165619
+ }
165620
+ function escapeBraces(str) {
165621
+ return str.split("\\\\").join(escSlash).split("\\{").join(escOpen).split("\\}").join(escClose).split("\\,").join(escComma).split("\\.").join(escPeriod);
165622
+ }
165623
+ function unescapeBraces(str) {
165624
+ return str.split(escSlash).join("\\").split(escOpen).join("{").split(escClose).join("}").split(escComma).join(",").split(escPeriod).join(".");
165625
+ }
165626
+ function parseCommaParts(str) {
165627
+ if (!str)
165628
+ return [""];
165629
+ var parts = [], m = balanced("{", "}", str);
165630
+ if (!m)
165631
+ return str.split(",");
165632
+ var pre = m.pre, body = m.body, post = m.post, p = pre.split(",");
165633
+ p[p.length - 1] += "{" + body + "}";
165634
+ var postParts = parseCommaParts(post);
165635
+ return post.length && (p[p.length - 1] += postParts.shift(), p.push.apply(p, postParts)), parts.push.apply(parts, p), parts;
165636
+ }
165637
+ function expandTop(str) {
165638
+ return str ? (str.substr(0, 2) === "{}" && (str = "\\{\\}" + str.substr(2)), expand(escapeBraces(str), !0).map(unescapeBraces)) : [];
165639
+ }
165640
+ function embrace(str) {
165641
+ return "{" + str + "}";
165642
+ }
165643
+ function isPadded(el) {
165644
+ return /^-?0\d/.test(el);
165645
+ }
165646
+ function lte(i, y) {
165647
+ return i <= y;
165648
+ }
165649
+ function gte(i, y) {
165650
+ return i >= y;
165651
+ }
165652
+ function expand(str, isTop) {
165653
+ var expansions = [], m = balanced("{", "}", str);
165654
+ if (!m) return [str];
165655
+ var pre = m.pre, post = m.post.length ? expand(m.post, !1) : [""];
165656
+ if (/\$$/.test(m.pre))
165657
+ for (var k = 0; k < post.length; k++) {
165658
+ var expansion = pre + "{" + m.body + "}" + post[k];
165659
+ expansions.push(expansion);
165660
+ }
165661
+ else {
165662
+ var isNumericSequence = /^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(m.body), isAlphaSequence = /^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(m.body), isSequence = isNumericSequence || isAlphaSequence, isOptions = m.body.indexOf(",") >= 0;
165663
+ if (!isSequence && !isOptions)
165664
+ return m.post.match(/,.*\}/) ? (str = m.pre + "{" + m.body + escClose + m.post, expand(str)) : [str];
165665
+ var n;
165666
+ if (isSequence)
165667
+ n = m.body.split(/\.\./);
165668
+ else if (n = parseCommaParts(m.body), n.length === 1 && (n = expand(n[0], !1).map(embrace), n.length === 1))
165669
+ return post.map(function(p) {
165670
+ return m.pre + n[0] + p;
165671
+ });
165672
+ var N;
165673
+ if (isSequence) {
165674
+ var x = numeric(n[0]), y = numeric(n[1]), width = Math.max(n[0].length, n[1].length), incr = n.length == 3 ? Math.abs(numeric(n[2])) : 1, test = lte, reverse = y < x;
165675
+ reverse && (incr *= -1, test = gte);
165676
+ var pad = n.some(isPadded);
165677
+ N = [];
165678
+ for (var i = x; test(i, y); i += incr) {
165679
+ var c;
165680
+ if (isAlphaSequence)
165681
+ c = String.fromCharCode(i), c === "\\" && (c = "");
165682
+ else if (c = String(i), pad) {
165683
+ var need = width - c.length;
165684
+ if (need > 0) {
165685
+ var z = new Array(need + 1).join("0");
165686
+ i < 0 ? c = "-" + z + c.slice(1) : c = z + c;
165687
+ }
165688
+ }
165689
+ N.push(c);
165690
+ }
165691
+ } else {
165692
+ N = [];
165693
+ for (var j = 0; j < n.length; j++)
165694
+ N.push.apply(N, expand(n[j], !1));
165695
+ }
165696
+ for (var j = 0; j < N.length; j++)
165697
+ for (var k = 0; k < post.length; k++) {
165698
+ var expansion = pre + N[j] + post[k];
165699
+ (!isTop || isSequence || expansion) && expansions.push(expansion);
165700
+ }
165701
+ }
165702
+ return expansions;
165703
+ }
165704
+ }
165705
+ });
165706
+
164487
165707
  // ../../node_modules/.pnpm/minimatch@9.0.5/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js
164488
165708
  var require_assert_valid_pattern = __commonJS({
164489
165709
  "../../node_modules/.pnpm/minimatch@9.0.5/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js"(exports) {
@@ -165403,491 +166623,9 @@ globstar while`, file, fr, pattern, pr, swallowee), this.matchOne(file.slice(fr)
165403
166623
  }
165404
166624
  });
165405
166625
 
165406
- // ../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/utils.js
165407
- var require_utils2 = __commonJS({
165408
- "../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/utils.js"(exports) {
165409
- "use strict";
165410
- init_cjs_shims();
165411
- Object.defineProperty(exports, "__esModule", { value: !0 });
165412
- exports.cleanPath = cleanPath;
165413
- exports.convertSlashes = convertSlashes;
165414
- exports.isRootDirectory = isRootDirectory;
165415
- exports.normalizePath = normalizePath;
165416
- var path_1 = __require("path");
165417
- function cleanPath(path) {
165418
- let normalized = (0, path_1.normalize)(path);
165419
- return normalized.length > 1 && normalized[normalized.length - 1] === path_1.sep && (normalized = normalized.substring(0, normalized.length - 1)), normalized;
165420
- }
165421
- var SLASHES_REGEX = /[\\/]/g;
165422
- function convertSlashes(path, separator) {
165423
- return path.replace(SLASHES_REGEX, separator);
165424
- }
165425
- var WINDOWS_ROOT_DIR_REGEX = /^[a-z]:[\\/]$/i;
165426
- function isRootDirectory(path) {
165427
- return path === "/" || WINDOWS_ROOT_DIR_REGEX.test(path);
165428
- }
165429
- function normalizePath(path, options) {
165430
- let { resolvePaths, normalizePath: normalizePath2, pathSeparator } = options, pathNeedsCleaning = process.platform === "win32" && path.includes("/") || path.startsWith(".");
165431
- if (resolvePaths && (path = (0, path_1.resolve)(path)), (normalizePath2 || pathNeedsCleaning) && (path = cleanPath(path)), path === ".")
165432
- return "";
165433
- let needsSeperator = path[path.length - 1] !== pathSeparator;
165434
- return convertSlashes(needsSeperator ? path + pathSeparator : path, pathSeparator);
165435
- }
165436
- }
165437
- });
165438
-
165439
- // ../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/api/functions/join-path.js
165440
- var require_join_path = __commonJS({
165441
- "../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/api/functions/join-path.js"(exports) {
165442
- "use strict";
165443
- init_cjs_shims();
165444
- Object.defineProperty(exports, "__esModule", { value: !0 });
165445
- exports.joinPathWithBasePath = joinPathWithBasePath;
165446
- exports.joinDirectoryPath = joinDirectoryPath;
165447
- exports.build = build;
165448
- var path_1 = __require("path"), utils_1 = require_utils2();
165449
- function joinPathWithBasePath(filename, directoryPath) {
165450
- return directoryPath + filename;
165451
- }
165452
- function joinPathWithRelativePath(root, options) {
165453
- return function(filename, directoryPath) {
165454
- return directoryPath.startsWith(root) ? directoryPath.replace(root, "") + filename : (0, utils_1.convertSlashes)((0, path_1.relative)(root, directoryPath), options.pathSeparator) + options.pathSeparator + filename;
165455
- };
165456
- }
165457
- function joinPath(filename) {
165458
- return filename;
165459
- }
165460
- function joinDirectoryPath(filename, directoryPath, separator) {
165461
- return directoryPath + filename + separator;
165462
- }
165463
- function build(root, options) {
165464
- let { relativePaths, includeBasePath } = options;
165465
- return relativePaths && root ? joinPathWithRelativePath(root, options) : includeBasePath ? joinPathWithBasePath : joinPath;
165466
- }
165467
- }
165468
- });
165469
-
165470
- // ../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/api/functions/push-directory.js
165471
- var require_push_directory = __commonJS({
165472
- "../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/api/functions/push-directory.js"(exports) {
165473
- "use strict";
165474
- init_cjs_shims();
165475
- Object.defineProperty(exports, "__esModule", { value: !0 });
165476
- exports.build = build;
165477
- function pushDirectoryWithRelativePath(root) {
165478
- return function(directoryPath, paths) {
165479
- paths.push(directoryPath.substring(root.length) || ".");
165480
- };
165481
- }
165482
- function pushDirectoryFilterWithRelativePath(root) {
165483
- return function(directoryPath, paths, filters) {
165484
- let relativePath = directoryPath.substring(root.length) || ".";
165485
- filters.every((filter) => filter(relativePath, !0)) && paths.push(relativePath);
165486
- };
165487
- }
165488
- var pushDirectory = (directoryPath, paths) => {
165489
- paths.push(directoryPath || ".");
165490
- }, pushDirectoryFilter = (directoryPath, paths, filters) => {
165491
- let path = directoryPath || ".";
165492
- filters.every((filter) => filter(path, !0)) && paths.push(path);
165493
- }, empty = () => {
165494
- };
165495
- function build(root, options) {
165496
- let { includeDirs, filters, relativePaths } = options;
165497
- return includeDirs ? relativePaths ? filters && filters.length ? pushDirectoryFilterWithRelativePath(root) : pushDirectoryWithRelativePath(root) : filters && filters.length ? pushDirectoryFilter : pushDirectory : empty;
165498
- }
165499
- }
165500
- });
165501
-
165502
- // ../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/api/functions/push-file.js
165503
- var require_push_file = __commonJS({
165504
- "../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/api/functions/push-file.js"(exports) {
165505
- "use strict";
165506
- init_cjs_shims();
165507
- Object.defineProperty(exports, "__esModule", { value: !0 });
165508
- exports.build = build;
165509
- var pushFileFilterAndCount = (filename, _paths, counts, filters) => {
165510
- filters.every((filter) => filter(filename, !1)) && counts.files++;
165511
- }, pushFileFilter = (filename, paths, _counts, filters) => {
165512
- filters.every((filter) => filter(filename, !1)) && paths.push(filename);
165513
- }, pushFileCount = (_filename, _paths, counts, _filters) => {
165514
- counts.files++;
165515
- }, pushFile = (filename, paths) => {
165516
- paths.push(filename);
165517
- }, empty = () => {
165518
- };
165519
- function build(options) {
165520
- let { excludeFiles, filters, onlyCounts } = options;
165521
- return excludeFiles ? empty : filters && filters.length ? onlyCounts ? pushFileFilterAndCount : pushFileFilter : onlyCounts ? pushFileCount : pushFile;
165522
- }
165523
- }
165524
- });
165525
-
165526
- // ../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/api/functions/get-array.js
165527
- var require_get_array = __commonJS({
165528
- "../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/api/functions/get-array.js"(exports) {
165529
- "use strict";
165530
- init_cjs_shims();
165531
- Object.defineProperty(exports, "__esModule", { value: !0 });
165532
- exports.build = build;
165533
- var getArray = (paths) => paths, getArrayGroup = () => [""].slice(0, 0);
165534
- function build(options) {
165535
- return options.group ? getArrayGroup : getArray;
165536
- }
165537
- }
165538
- });
165539
-
165540
- // ../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/api/functions/group-files.js
165541
- var require_group_files = __commonJS({
165542
- "../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/api/functions/group-files.js"(exports) {
165543
- "use strict";
165544
- init_cjs_shims();
165545
- Object.defineProperty(exports, "__esModule", { value: !0 });
165546
- exports.build = build;
165547
- var groupFiles = (groups, directory, files) => {
165548
- groups.push({ directory, files, dir: directory });
165549
- }, empty = () => {
165550
- };
165551
- function build(options) {
165552
- return options.group ? groupFiles : empty;
165553
- }
165554
- }
165555
- });
165556
-
165557
- // ../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/api/functions/resolve-symlink.js
165558
- var require_resolve_symlink = __commonJS({
165559
- "../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/api/functions/resolve-symlink.js"(exports) {
165560
- "use strict";
165561
- init_cjs_shims();
165562
- var __importDefault = exports && exports.__importDefault || function(mod) {
165563
- return mod && mod.__esModule ? mod : { default: mod };
165564
- };
165565
- Object.defineProperty(exports, "__esModule", { value: !0 });
165566
- exports.build = build;
165567
- var fs_1 = __importDefault(__require("fs")), path_1 = __require("path"), resolveSymlinksAsync = function(path, state, callback) {
165568
- let { queue, options: { suppressErrors } } = state;
165569
- queue.enqueue(), fs_1.default.realpath(path, (error, resolvedPath) => {
165570
- if (error)
165571
- return queue.dequeue(suppressErrors ? null : error, state);
165572
- fs_1.default.stat(resolvedPath, (error2, stat) => {
165573
- if (error2)
165574
- return queue.dequeue(suppressErrors ? null : error2, state);
165575
- if (stat.isDirectory() && isRecursive(path, resolvedPath, state))
165576
- return queue.dequeue(null, state);
165577
- callback(stat, resolvedPath), queue.dequeue(null, state);
165578
- });
165579
- });
165580
- }, resolveSymlinks = function(path, state, callback) {
165581
- let { queue, options: { suppressErrors } } = state;
165582
- queue.enqueue();
165583
- try {
165584
- let resolvedPath = fs_1.default.realpathSync(path), stat = fs_1.default.statSync(resolvedPath);
165585
- if (stat.isDirectory() && isRecursive(path, resolvedPath, state))
165586
- return;
165587
- callback(stat, resolvedPath);
165588
- } catch (e) {
165589
- if (!suppressErrors)
165590
- throw e;
165591
- }
165592
- };
165593
- function build(options, isSynchronous) {
165594
- return !options.resolveSymlinks || options.excludeSymlinks ? null : isSynchronous ? resolveSymlinks : resolveSymlinksAsync;
165595
- }
165596
- function isRecursive(path, resolved, state) {
165597
- if (state.options.useRealPaths)
165598
- return isRecursiveUsingRealPaths(resolved, state);
165599
- let parent = (0, path_1.dirname)(path), depth = 1;
165600
- for (; parent !== state.root && depth < 2; ) {
165601
- let resolvedPath = state.symlinks.get(parent);
165602
- !!resolvedPath && (resolvedPath === resolved || resolvedPath.startsWith(resolved) || resolved.startsWith(resolvedPath)) ? depth++ : parent = (0, path_1.dirname)(parent);
165603
- }
165604
- return state.symlinks.set(path, resolved), depth > 1;
165605
- }
165606
- function isRecursiveUsingRealPaths(resolved, state) {
165607
- return state.visited.includes(resolved + state.options.pathSeparator);
165608
- }
165609
- }
165610
- });
165611
-
165612
- // ../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/api/functions/invoke-callback.js
165613
- var require_invoke_callback = __commonJS({
165614
- "../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/api/functions/invoke-callback.js"(exports) {
165615
- "use strict";
165616
- init_cjs_shims();
165617
- Object.defineProperty(exports, "__esModule", { value: !0 });
165618
- exports.build = build;
165619
- var onlyCountsSync = (state) => state.counts, groupsSync = (state) => state.groups, defaultSync = (state) => state.paths, limitFilesSync = (state) => state.paths.slice(0, state.options.maxFiles), onlyCountsAsync = (state, error, callback) => (report(error, callback, state.counts, state.options.suppressErrors), null), defaultAsync = (state, error, callback) => (report(error, callback, state.paths, state.options.suppressErrors), null), limitFilesAsync = (state, error, callback) => (report(error, callback, state.paths.slice(0, state.options.maxFiles), state.options.suppressErrors), null), groupsAsync = (state, error, callback) => (report(error, callback, state.groups, state.options.suppressErrors), null);
165620
- function report(error, callback, output, suppressErrors) {
165621
- callback(error && !suppressErrors ? error : null, output);
165622
- }
165623
- function build(options, isSynchronous) {
165624
- let { onlyCounts, group, maxFiles } = options;
165625
- return onlyCounts ? isSynchronous ? onlyCountsSync : onlyCountsAsync : group ? isSynchronous ? groupsSync : groupsAsync : maxFiles ? isSynchronous ? limitFilesSync : limitFilesAsync : isSynchronous ? defaultSync : defaultAsync;
165626
- }
165627
- }
165628
- });
165629
-
165630
- // ../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/api/functions/walk-directory.js
165631
- var require_walk_directory = __commonJS({
165632
- "../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/api/functions/walk-directory.js"(exports) {
165633
- "use strict";
165634
- init_cjs_shims();
165635
- var __importDefault = exports && exports.__importDefault || function(mod) {
165636
- return mod && mod.__esModule ? mod : { default: mod };
165637
- };
165638
- Object.defineProperty(exports, "__esModule", { value: !0 });
165639
- exports.build = build;
165640
- var fs_1 = __importDefault(__require("fs")), readdirOpts = { withFileTypes: !0 }, walkAsync = (state, crawlPath, directoryPath, currentDepth, callback) => {
165641
- if (state.queue.enqueue(), currentDepth <= 0)
165642
- return state.queue.dequeue(null, state);
165643
- state.visited.push(crawlPath), state.counts.directories++, fs_1.default.readdir(crawlPath || ".", readdirOpts, (error, entries = []) => {
165644
- callback(entries, directoryPath, currentDepth), state.queue.dequeue(state.options.suppressErrors ? null : error, state);
165645
- });
165646
- }, walkSync = (state, crawlPath, directoryPath, currentDepth, callback) => {
165647
- if (currentDepth <= 0)
165648
- return;
165649
- state.visited.push(crawlPath), state.counts.directories++;
165650
- let entries = [];
165651
- try {
165652
- entries = fs_1.default.readdirSync(crawlPath || ".", readdirOpts);
165653
- } catch (e) {
165654
- if (!state.options.suppressErrors)
165655
- throw e;
165656
- }
165657
- callback(entries, directoryPath, currentDepth);
165658
- };
165659
- function build(isSynchronous) {
165660
- return isSynchronous ? walkSync : walkAsync;
165661
- }
165662
- }
165663
- });
165664
-
165665
- // ../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/api/queue.js
165666
- var require_queue = __commonJS({
165667
- "../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/api/queue.js"(exports) {
165668
- "use strict";
165669
- init_cjs_shims();
165670
- Object.defineProperty(exports, "__esModule", { value: !0 });
165671
- exports.Queue = void 0;
165672
- var Queue = class {
165673
- onQueueEmpty;
165674
- count = 0;
165675
- constructor(onQueueEmpty) {
165676
- this.onQueueEmpty = onQueueEmpty;
165677
- }
165678
- enqueue() {
165679
- return this.count++, this.count;
165680
- }
165681
- dequeue(error, output) {
165682
- this.onQueueEmpty && (--this.count <= 0 || error) && (this.onQueueEmpty(error, output), error && (output.controller.abort(), this.onQueueEmpty = void 0));
165683
- }
165684
- };
165685
- exports.Queue = Queue;
165686
- }
165687
- });
165688
-
165689
- // ../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/api/counter.js
165690
- var require_counter = __commonJS({
165691
- "../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/api/counter.js"(exports) {
165692
- "use strict";
165693
- init_cjs_shims();
165694
- Object.defineProperty(exports, "__esModule", { value: !0 });
165695
- exports.Counter = void 0;
165696
- var Counter = class {
165697
- _files = 0;
165698
- _directories = 0;
165699
- set files(num) {
165700
- this._files = num;
165701
- }
165702
- get files() {
165703
- return this._files;
165704
- }
165705
- set directories(num) {
165706
- this._directories = num;
165707
- }
165708
- get directories() {
165709
- return this._directories;
165710
- }
165711
- /**
165712
- * @deprecated use `directories` instead
165713
- */
165714
- /* c8 ignore next 3 */
165715
- get dirs() {
165716
- return this._directories;
165717
- }
165718
- };
165719
- exports.Counter = Counter;
165720
- }
165721
- });
165722
-
165723
- // ../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/api/walker.js
165724
- var require_walker = __commonJS({
165725
- "../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/api/walker.js"(exports) {
165726
- "use strict";
165727
- init_cjs_shims();
165728
- var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
165729
- k2 === void 0 && (k2 = k);
165730
- var desc = Object.getOwnPropertyDescriptor(m, k);
165731
- (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) && (desc = { enumerable: !0, get: function() {
165732
- return m[k];
165733
- } }), Object.defineProperty(o, k2, desc);
165734
- } : function(o, m, k, k2) {
165735
- k2 === void 0 && (k2 = k), o[k2] = m[k];
165736
- }), __setModuleDefault = exports && exports.__setModuleDefault || (Object.create ? function(o, v) {
165737
- Object.defineProperty(o, "default", { enumerable: !0, value: v });
165738
- } : function(o, v) {
165739
- o.default = v;
165740
- }), __importStar = exports && exports.__importStar || /* @__PURE__ */ function() {
165741
- var ownKeys = function(o) {
165742
- return ownKeys = Object.getOwnPropertyNames || function(o2) {
165743
- var ar = [];
165744
- for (var k in o2) Object.prototype.hasOwnProperty.call(o2, k) && (ar[ar.length] = k);
165745
- return ar;
165746
- }, ownKeys(o);
165747
- };
165748
- return function(mod) {
165749
- if (mod && mod.__esModule) return mod;
165750
- var result = {};
165751
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) k[i] !== "default" && __createBinding(result, mod, k[i]);
165752
- return __setModuleDefault(result, mod), result;
165753
- };
165754
- }();
165755
- Object.defineProperty(exports, "__esModule", { value: !0 });
165756
- exports.Walker = void 0;
165757
- var path_1 = __require("path"), utils_1 = require_utils2(), joinPath = __importStar(require_join_path()), pushDirectory = __importStar(require_push_directory()), pushFile = __importStar(require_push_file()), getArray = __importStar(require_get_array()), groupFiles = __importStar(require_group_files()), resolveSymlink = __importStar(require_resolve_symlink()), invokeCallback = __importStar(require_invoke_callback()), walkDirectory = __importStar(require_walk_directory()), queue_1 = require_queue(), counter_1 = require_counter(), Walker = class {
165758
- root;
165759
- isSynchronous;
165760
- state;
165761
- joinPath;
165762
- pushDirectory;
165763
- pushFile;
165764
- getArray;
165765
- groupFiles;
165766
- resolveSymlink;
165767
- walkDirectory;
165768
- callbackInvoker;
165769
- constructor(root, options, callback) {
165770
- this.isSynchronous = !callback, this.callbackInvoker = invokeCallback.build(options, this.isSynchronous), this.root = (0, utils_1.normalizePath)(root, options), this.state = {
165771
- root: (0, utils_1.isRootDirectory)(this.root) ? this.root : this.root.slice(0, -1),
165772
- // Perf: we explicitly tell the compiler to optimize for String arrays
165773
- paths: [""].slice(0, 0),
165774
- groups: [],
165775
- counts: new counter_1.Counter(),
165776
- options,
165777
- queue: new queue_1.Queue((error, state) => this.callbackInvoker(state, error, callback)),
165778
- symlinks: /* @__PURE__ */ new Map(),
165779
- visited: [""].slice(0, 0),
165780
- controller: new AbortController()
165781
- }, this.joinPath = joinPath.build(this.root, options), this.pushDirectory = pushDirectory.build(this.root, options), this.pushFile = pushFile.build(options), this.getArray = getArray.build(options), this.groupFiles = groupFiles.build(options), this.resolveSymlink = resolveSymlink.build(options, this.isSynchronous), this.walkDirectory = walkDirectory.build(this.isSynchronous);
165782
- }
165783
- start() {
165784
- return this.pushDirectory(this.root, this.state.paths, this.state.options.filters), this.walkDirectory(this.state, this.root, this.root, this.state.options.maxDepth, this.walk), this.isSynchronous ? this.callbackInvoker(this.state, null) : null;
165785
- }
165786
- walk = (entries, directoryPath, depth) => {
165787
- let { paths, options: { filters, resolveSymlinks, excludeSymlinks, exclude, maxFiles, signal, useRealPaths, pathSeparator }, controller } = this.state;
165788
- if (controller.signal.aborted || signal && signal.aborted || maxFiles && paths.length > maxFiles)
165789
- return;
165790
- let files = this.getArray(this.state.paths);
165791
- for (let i = 0; i < entries.length; ++i) {
165792
- let entry = entries[i];
165793
- if (entry.isFile() || entry.isSymbolicLink() && !resolveSymlinks && !excludeSymlinks) {
165794
- let filename = this.joinPath(entry.name, directoryPath);
165795
- this.pushFile(filename, files, this.state.counts, filters);
165796
- } else if (entry.isDirectory()) {
165797
- let path = joinPath.joinDirectoryPath(entry.name, directoryPath, this.state.options.pathSeparator);
165798
- if (exclude && exclude(entry.name, path))
165799
- continue;
165800
- this.pushDirectory(path, paths, filters), this.walkDirectory(this.state, path, path, depth - 1, this.walk);
165801
- } else if (this.resolveSymlink && entry.isSymbolicLink()) {
165802
- let path = joinPath.joinPathWithBasePath(entry.name, directoryPath);
165803
- this.resolveSymlink(path, this.state, (stat, resolvedPath) => {
165804
- if (stat.isDirectory()) {
165805
- if (resolvedPath = (0, utils_1.normalizePath)(resolvedPath, this.state.options), exclude && exclude(entry.name, useRealPaths ? resolvedPath : path + pathSeparator))
165806
- return;
165807
- this.walkDirectory(this.state, resolvedPath, useRealPaths ? resolvedPath : path + pathSeparator, depth - 1, this.walk);
165808
- } else {
165809
- resolvedPath = useRealPaths ? resolvedPath : path;
165810
- let filename = (0, path_1.basename)(resolvedPath), directoryPath2 = (0, utils_1.normalizePath)((0, path_1.dirname)(resolvedPath), this.state.options);
165811
- resolvedPath = this.joinPath(filename, directoryPath2), this.pushFile(resolvedPath, files, this.state.counts, filters);
165812
- }
165813
- });
165814
- }
165815
- }
165816
- this.groupFiles(this.state.groups, directoryPath, files);
165817
- };
165818
- };
165819
- exports.Walker = Walker;
165820
- }
165821
- });
165822
-
165823
- // ../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/api/async.js
165824
- var require_async2 = __commonJS({
165825
- "../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/api/async.js"(exports) {
165826
- "use strict";
165827
- init_cjs_shims();
165828
- Object.defineProperty(exports, "__esModule", { value: !0 });
165829
- exports.promise = promise;
165830
- exports.callback = callback;
165831
- var walker_1 = require_walker();
165832
- function promise(root, options) {
165833
- return new Promise((resolve, reject) => {
165834
- callback(root, options, (err, output) => {
165835
- if (err)
165836
- return reject(err);
165837
- resolve(output);
165838
- });
165839
- });
165840
- }
165841
- function callback(root, options, callback2) {
165842
- new walker_1.Walker(root, options, callback2).start();
165843
- }
165844
- }
165845
- });
165846
-
165847
- // ../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/api/sync.js
165848
- var require_sync2 = __commonJS({
165849
- "../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/api/sync.js"(exports) {
165850
- "use strict";
165851
- init_cjs_shims();
165852
- Object.defineProperty(exports, "__esModule", { value: !0 });
165853
- exports.sync = sync;
165854
- var walker_1 = require_walker();
165855
- function sync(root, options) {
165856
- return new walker_1.Walker(root, options).start();
165857
- }
165858
- }
165859
- });
165860
-
165861
- // ../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/builder/api-builder.js
165862
- var require_api_builder = __commonJS({
165863
- "../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/builder/api-builder.js"(exports) {
165864
- "use strict";
165865
- init_cjs_shims();
165866
- Object.defineProperty(exports, "__esModule", { value: !0 });
165867
- exports.APIBuilder = void 0;
165868
- var async_1 = require_async2(), sync_1 = require_sync2(), APIBuilder = class {
165869
- root;
165870
- options;
165871
- constructor(root, options) {
165872
- this.root = root, this.options = options;
165873
- }
165874
- withPromise() {
165875
- return (0, async_1.promise)(this.root, this.options);
165876
- }
165877
- withCallback(cb) {
165878
- (0, async_1.callback)(this.root, this.options, cb);
165879
- }
165880
- sync() {
165881
- return (0, sync_1.sync)(this.root, this.options);
165882
- }
165883
- };
165884
- exports.APIBuilder = APIBuilder;
165885
- }
165886
- });
165887
-
165888
- // ../../node_modules/.pnpm/picomatch@4.0.2/node_modules/picomatch/lib/constants.js
165889
- var require_constants = __commonJS({
165890
- "../../node_modules/.pnpm/picomatch@4.0.2/node_modules/picomatch/lib/constants.js"(exports, module) {
166626
+ // ../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/constants.js
166627
+ var require_constants2 = __commonJS({
166628
+ "../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/constants.js"(exports, module) {
165891
166629
  "use strict";
165892
166630
  init_cjs_shims();
165893
166631
  var WIN_SLASH = "\\\\/", WIN_NO_SLASH = `[^${WIN_SLASH}]`, DOT_LITERAL = "\\.", PLUS_LITERAL = "\\+", QMARK_LITERAL = "\\?", SLASH_LITERAL = "\\/", ONE_CHAR = "(?=.)", QMARK = "[^/]", END_ANCHOR = `(?:${SLASH_LITERAL}|$)`, START_ANCHOR = `(?:^|${SLASH_LITERAL})`, DOTS_SLASH = `${DOT_LITERAL}{1,2}${END_ANCHOR}`, NO_DOT = `(?!${DOT_LITERAL})`, NO_DOTS = `(?!${START_ANCHOR}${DOTS_SLASH})`, NO_DOT_SLASH = `(?!${DOT_LITERAL}{0,1}${END_ANCHOR})`, NO_DOTS_SLASH = `(?!${DOTS_SLASH})`, QMARK_NO_DOT = `[^.${SLASH_LITERAL}]`, STAR = `${QMARK}*?`, SEP = "/", POSIX_CHARS = {
@@ -165949,6 +166687,7 @@ var require_constants = __commonJS({
165949
166687
  REGEX_REMOVE_BACKSLASH: /(?:\[.*?[^\\]\]|\\(?=.))/g,
165950
166688
  // Replace globs with equivalent patterns to reduce parsing time.
165951
166689
  REPLACEMENTS: {
166690
+ __proto__: null,
165952
166691
  "***": "*",
165953
166692
  "**/**": "**",
165954
166693
  "**/**/**": "**"
@@ -166064,9 +166803,9 @@ var require_constants = __commonJS({
166064
166803
  }
166065
166804
  });
166066
166805
 
166067
- // ../../node_modules/.pnpm/picomatch@4.0.2/node_modules/picomatch/lib/utils.js
166068
- var require_utils3 = __commonJS({
166069
- "../../node_modules/.pnpm/picomatch@4.0.2/node_modules/picomatch/lib/utils.js"(exports) {
166806
+ // ../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/utils.js
166807
+ var require_utils2 = __commonJS({
166808
+ "../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/utils.js"(exports) {
166070
166809
  "use strict";
166071
166810
  init_cjs_shims();
166072
166811
  var {
@@ -166074,7 +166813,7 @@ var require_utils3 = __commonJS({
166074
166813
  REGEX_REMOVE_BACKSLASH,
166075
166814
  REGEX_SPECIAL_CHARS,
166076
166815
  REGEX_SPECIAL_CHARS_GLOBAL
166077
- } = require_constants();
166816
+ } = require_constants2();
166078
166817
  exports.isObject = (val) => val !== null && typeof val == "object" && !Array.isArray(val);
166079
166818
  exports.hasRegexChars = (str) => REGEX_SPECIAL_CHARS.test(str);
166080
166819
  exports.isRegexChar = (str) => str.length === 1 && exports.hasRegexChars(str);
@@ -166107,12 +166846,12 @@ var require_utils3 = __commonJS({
166107
166846
  }
166108
166847
  });
166109
166848
 
166110
- // ../../node_modules/.pnpm/picomatch@4.0.2/node_modules/picomatch/lib/scan.js
166849
+ // ../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/scan.js
166111
166850
  var require_scan = __commonJS({
166112
- "../../node_modules/.pnpm/picomatch@4.0.2/node_modules/picomatch/lib/scan.js"(exports, module) {
166851
+ "../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/scan.js"(exports, module) {
166113
166852
  "use strict";
166114
166853
  init_cjs_shims();
166115
- var utils = require_utils3(), {
166854
+ var utils = require_utils2(), {
166116
166855
  CHAR_ASTERISK,
166117
166856
  /* * */
166118
166857
  CHAR_AT,
@@ -166143,7 +166882,7 @@ var require_scan = __commonJS({
166143
166882
  /* ) */
166144
166883
  CHAR_RIGHT_SQUARE_BRACKET
166145
166884
  /* ] */
166146
- } = require_constants(), isPathSeparator = (code) => code === CHAR_FORWARD_SLASH || code === CHAR_BACKWARD_SLASH, depth = (token) => {
166885
+ } = require_constants2(), isPathSeparator = (code) => code === CHAR_FORWARD_SLASH || code === CHAR_BACKWARD_SLASH, depth = (token) => {
166147
166886
  token.isPrefix !== !0 && (token.depth = token.isGlobstar ? 1 / 0 : 1);
166148
166887
  }, scan = (input, options) => {
166149
166888
  let opts = options || {}, length = input.length - 1, scanToEnd = opts.parts === !0 || opts.scanToEnd === !0, slashes = [], tokens = [], parts = [], str = input, index = -1, start = 0, lastIndex = 0, isBrace = !1, isBracket = !1, isGlob = !1, isExtglob = !1, isGlobstar = !1, braceEscaped = !1, backslashes = !1, negated = !1, negatedExtglob = !1, finished = !1, braces = 0, prev, code, token = { value: "", depth: 0, isGlob: !1 }, eos = () => index >= length, peek = () => str.charCodeAt(index + 1), advance = () => (prev = code, str.charCodeAt(++index));
@@ -166294,12 +167033,12 @@ var require_scan = __commonJS({
166294
167033
  }
166295
167034
  });
166296
167035
 
166297
- // ../../node_modules/.pnpm/picomatch@4.0.2/node_modules/picomatch/lib/parse.js
166298
- var require_parse = __commonJS({
166299
- "../../node_modules/.pnpm/picomatch@4.0.2/node_modules/picomatch/lib/parse.js"(exports, module) {
167036
+ // ../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/parse.js
167037
+ var require_parse2 = __commonJS({
167038
+ "../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/parse.js"(exports, module) {
166300
167039
  "use strict";
166301
167040
  init_cjs_shims();
166302
- var constants = require_constants(), utils = require_utils3(), {
167041
+ var constants = require_constants2(), utils = require_utils2(), {
166303
167042
  MAX_LENGTH,
166304
167043
  POSIX_REGEX_SOURCE,
166305
167044
  REGEX_NON_SPECIAL_CHARS,
@@ -166738,12 +167477,12 @@ var require_parse = __commonJS({
166738
167477
  }
166739
167478
  });
166740
167479
 
166741
- // ../../node_modules/.pnpm/picomatch@4.0.2/node_modules/picomatch/lib/picomatch.js
167480
+ // ../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/picomatch.js
166742
167481
  var require_picomatch = __commonJS({
166743
- "../../node_modules/.pnpm/picomatch@4.0.2/node_modules/picomatch/lib/picomatch.js"(exports, module) {
167482
+ "../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/picomatch.js"(exports, module) {
166744
167483
  "use strict";
166745
167484
  init_cjs_shims();
166746
- var scan = require_scan(), parse = require_parse(), utils = require_utils3(), constants = require_constants(), isObject = (val) => val && typeof val == "object" && !Array.isArray(val), picomatch = (glob, options, returnState = !1) => {
167485
+ var scan = require_scan(), parse = require_parse2(), utils = require_utils2(), constants = require_constants2(), isObject = (val) => val && typeof val == "object" && !Array.isArray(val), picomatch = (glob, options, returnState = !1) => {
166747
167486
  if (Array.isArray(glob)) {
166748
167487
  let fns = glob.map((input) => picomatch(input, options, returnState));
166749
167488
  return (str) => {
@@ -166810,12 +167549,12 @@ var require_picomatch = __commonJS({
166810
167549
  }
166811
167550
  });
166812
167551
 
166813
- // ../../node_modules/.pnpm/picomatch@4.0.2/node_modules/picomatch/index.js
167552
+ // ../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/index.js
166814
167553
  var require_picomatch2 = __commonJS({
166815
- "../../node_modules/.pnpm/picomatch@4.0.2/node_modules/picomatch/index.js"(exports, module) {
167554
+ "../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/index.js"(exports, module) {
166816
167555
  "use strict";
166817
167556
  init_cjs_shims();
166818
- var pico = require_picomatch(), utils = require_utils3();
167557
+ var pico = require_picomatch(), utils = require_utils2();
166819
167558
  function picomatch(glob, options, returnState = !1) {
166820
167559
  return options && (options.windows === null || options.windows === void 0) && (options = { ...options, windows: utils.isWindows() }), pico(glob, options, returnState);
166821
167560
  }
@@ -166824,14 +167563,298 @@ var require_picomatch2 = __commonJS({
166824
167563
  }
166825
167564
  });
166826
167565
 
166827
- // ../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/builder/index.js
166828
- var require_builder = __commonJS({
166829
- "../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/builder/index.js"(exports) {
166830
- "use strict";
167566
+ // ../../node_modules/.pnpm/fdir@6.5.0_picomatch@4.0.3/node_modules/fdir/dist/index.cjs
167567
+ var require_dist = __commonJS({
167568
+ "../../node_modules/.pnpm/fdir@6.5.0_picomatch@4.0.3/node_modules/fdir/dist/index.cjs"(exports) {
166831
167569
  init_cjs_shims();
166832
- Object.defineProperty(exports, "__esModule", { value: !0 });
166833
- exports.Builder = void 0;
166834
- var path_1 = __require("path"), api_builder_1 = require_api_builder(), pm = null;
167570
+ var __create = Object.create, __defProp = Object.defineProperty, __getOwnPropDesc = Object.getOwnPropertyDescriptor, __getOwnPropNames = Object.getOwnPropertyNames, __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty, __copyProps = (to, from, except, desc) => {
167571
+ if (from && typeof from == "object" || typeof from == "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++)
167572
+ key = keys[i], !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
167573
+ get: ((k) => from[k]).bind(null, key),
167574
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
167575
+ });
167576
+ return to;
167577
+ }, __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
167578
+ value: mod,
167579
+ enumerable: !0
167580
+ }) : target, mod)), path = __toESM(__require("path")), fs = __toESM(__require("fs"));
167581
+ function cleanPath(path$1) {
167582
+ let normalized = (0, path.normalize)(path$1);
167583
+ return normalized.length > 1 && normalized[normalized.length - 1] === path.sep && (normalized = normalized.substring(0, normalized.length - 1)), normalized;
167584
+ }
167585
+ var SLASHES_REGEX = /[\\/]/g;
167586
+ function convertSlashes(path$1, separator) {
167587
+ return path$1.replace(SLASHES_REGEX, separator);
167588
+ }
167589
+ var WINDOWS_ROOT_DIR_REGEX = /^[a-z]:[\\/]$/i;
167590
+ function isRootDirectory(path$1) {
167591
+ return path$1 === "/" || WINDOWS_ROOT_DIR_REGEX.test(path$1);
167592
+ }
167593
+ function normalizePath(path$1, options) {
167594
+ let { resolvePaths, normalizePath: normalizePath$1, pathSeparator } = options, pathNeedsCleaning = process.platform === "win32" && path$1.includes("/") || path$1.startsWith(".");
167595
+ if (resolvePaths && (path$1 = (0, path.resolve)(path$1)), (normalizePath$1 || pathNeedsCleaning) && (path$1 = cleanPath(path$1)), path$1 === ".") return "";
167596
+ let needsSeperator = path$1[path$1.length - 1] !== pathSeparator;
167597
+ return convertSlashes(needsSeperator ? path$1 + pathSeparator : path$1, pathSeparator);
167598
+ }
167599
+ function joinPathWithBasePath(filename, directoryPath) {
167600
+ return directoryPath + filename;
167601
+ }
167602
+ function joinPathWithRelativePath(root, options) {
167603
+ return function(filename, directoryPath) {
167604
+ return directoryPath.startsWith(root) ? directoryPath.slice(root.length) + filename : convertSlashes((0, path.relative)(root, directoryPath), options.pathSeparator) + options.pathSeparator + filename;
167605
+ };
167606
+ }
167607
+ function joinPath(filename) {
167608
+ return filename;
167609
+ }
167610
+ function joinDirectoryPath(filename, directoryPath, separator) {
167611
+ return directoryPath + filename + separator;
167612
+ }
167613
+ function build$7(root, options) {
167614
+ let { relativePaths, includeBasePath } = options;
167615
+ return relativePaths && root ? joinPathWithRelativePath(root, options) : includeBasePath ? joinPathWithBasePath : joinPath;
167616
+ }
167617
+ function pushDirectoryWithRelativePath(root) {
167618
+ return function(directoryPath, paths) {
167619
+ paths.push(directoryPath.substring(root.length) || ".");
167620
+ };
167621
+ }
167622
+ function pushDirectoryFilterWithRelativePath(root) {
167623
+ return function(directoryPath, paths, filters) {
167624
+ let relativePath = directoryPath.substring(root.length) || ".";
167625
+ filters.every((filter) => filter(relativePath, !0)) && paths.push(relativePath);
167626
+ };
167627
+ }
167628
+ var pushDirectory = (directoryPath, paths) => {
167629
+ paths.push(directoryPath || ".");
167630
+ }, pushDirectoryFilter = (directoryPath, paths, filters) => {
167631
+ let path$1 = directoryPath || ".";
167632
+ filters.every((filter) => filter(path$1, !0)) && paths.push(path$1);
167633
+ }, empty$2 = () => {
167634
+ };
167635
+ function build$6(root, options) {
167636
+ let { includeDirs, filters, relativePaths } = options;
167637
+ return includeDirs ? relativePaths ? filters && filters.length ? pushDirectoryFilterWithRelativePath(root) : pushDirectoryWithRelativePath(root) : filters && filters.length ? pushDirectoryFilter : pushDirectory : empty$2;
167638
+ }
167639
+ var pushFileFilterAndCount = (filename, _paths, counts, filters) => {
167640
+ filters.every((filter) => filter(filename, !1)) && counts.files++;
167641
+ }, pushFileFilter = (filename, paths, _counts, filters) => {
167642
+ filters.every((filter) => filter(filename, !1)) && paths.push(filename);
167643
+ }, pushFileCount = (_filename, _paths, counts, _filters) => {
167644
+ counts.files++;
167645
+ }, pushFile = (filename, paths) => {
167646
+ paths.push(filename);
167647
+ }, empty$1 = () => {
167648
+ };
167649
+ function build$5(options) {
167650
+ let { excludeFiles, filters, onlyCounts } = options;
167651
+ return excludeFiles ? empty$1 : filters && filters.length ? onlyCounts ? pushFileFilterAndCount : pushFileFilter : onlyCounts ? pushFileCount : pushFile;
167652
+ }
167653
+ var getArray = (paths) => paths, getArrayGroup = () => [""].slice(0, 0);
167654
+ function build$4(options) {
167655
+ return options.group ? getArrayGroup : getArray;
167656
+ }
167657
+ var groupFiles = (groups, directory, files) => {
167658
+ groups.push({
167659
+ directory,
167660
+ files,
167661
+ dir: directory
167662
+ });
167663
+ }, empty = () => {
167664
+ };
167665
+ function build$3(options) {
167666
+ return options.group ? groupFiles : empty;
167667
+ }
167668
+ var resolveSymlinksAsync = function(path$1, state, callback$1) {
167669
+ let { queue, fs: fs$1, options: { suppressErrors } } = state;
167670
+ queue.enqueue(), fs$1.realpath(path$1, (error, resolvedPath) => {
167671
+ if (error) return queue.dequeue(suppressErrors ? null : error, state);
167672
+ fs$1.stat(resolvedPath, (error$1, stat) => {
167673
+ if (error$1) return queue.dequeue(suppressErrors ? null : error$1, state);
167674
+ if (stat.isDirectory() && isRecursive(path$1, resolvedPath, state)) return queue.dequeue(null, state);
167675
+ callback$1(stat, resolvedPath), queue.dequeue(null, state);
167676
+ });
167677
+ });
167678
+ }, resolveSymlinks = function(path$1, state, callback$1) {
167679
+ let { queue, fs: fs$1, options: { suppressErrors } } = state;
167680
+ queue.enqueue();
167681
+ try {
167682
+ let resolvedPath = fs$1.realpathSync(path$1), stat = fs$1.statSync(resolvedPath);
167683
+ if (stat.isDirectory() && isRecursive(path$1, resolvedPath, state)) return;
167684
+ callback$1(stat, resolvedPath);
167685
+ } catch (e) {
167686
+ if (!suppressErrors) throw e;
167687
+ }
167688
+ };
167689
+ function build$2(options, isSynchronous) {
167690
+ return !options.resolveSymlinks || options.excludeSymlinks ? null : isSynchronous ? resolveSymlinks : resolveSymlinksAsync;
167691
+ }
167692
+ function isRecursive(path$1, resolved, state) {
167693
+ if (state.options.useRealPaths) return isRecursiveUsingRealPaths(resolved, state);
167694
+ let parent = (0, path.dirname)(path$1), depth = 1;
167695
+ for (; parent !== state.root && depth < 2; ) {
167696
+ let resolvedPath = state.symlinks.get(parent);
167697
+ !!resolvedPath && (resolvedPath === resolved || resolvedPath.startsWith(resolved) || resolved.startsWith(resolvedPath)) ? depth++ : parent = (0, path.dirname)(parent);
167698
+ }
167699
+ return state.symlinks.set(path$1, resolved), depth > 1;
167700
+ }
167701
+ function isRecursiveUsingRealPaths(resolved, state) {
167702
+ return state.visited.includes(resolved + state.options.pathSeparator);
167703
+ }
167704
+ var onlyCountsSync = (state) => state.counts, groupsSync = (state) => state.groups, defaultSync = (state) => state.paths, limitFilesSync = (state) => state.paths.slice(0, state.options.maxFiles), onlyCountsAsync = (state, error, callback$1) => (report(error, callback$1, state.counts, state.options.suppressErrors), null), defaultAsync = (state, error, callback$1) => (report(error, callback$1, state.paths, state.options.suppressErrors), null), limitFilesAsync = (state, error, callback$1) => (report(error, callback$1, state.paths.slice(0, state.options.maxFiles), state.options.suppressErrors), null), groupsAsync = (state, error, callback$1) => (report(error, callback$1, state.groups, state.options.suppressErrors), null);
167705
+ function report(error, callback$1, output, suppressErrors) {
167706
+ callback$1(error && !suppressErrors ? error : null, output);
167707
+ }
167708
+ function build$1(options, isSynchronous) {
167709
+ let { onlyCounts, group, maxFiles } = options;
167710
+ return onlyCounts ? isSynchronous ? onlyCountsSync : onlyCountsAsync : group ? isSynchronous ? groupsSync : groupsAsync : maxFiles ? isSynchronous ? limitFilesSync : limitFilesAsync : isSynchronous ? defaultSync : defaultAsync;
167711
+ }
167712
+ var readdirOpts = { withFileTypes: !0 }, walkAsync = (state, crawlPath, directoryPath, currentDepth, callback$1) => {
167713
+ if (state.queue.enqueue(), currentDepth < 0) return state.queue.dequeue(null, state);
167714
+ let { fs: fs$1 } = state;
167715
+ state.visited.push(crawlPath), state.counts.directories++, fs$1.readdir(crawlPath || ".", readdirOpts, (error, entries = []) => {
167716
+ callback$1(entries, directoryPath, currentDepth), state.queue.dequeue(state.options.suppressErrors ? null : error, state);
167717
+ });
167718
+ }, walkSync = (state, crawlPath, directoryPath, currentDepth, callback$1) => {
167719
+ let { fs: fs$1 } = state;
167720
+ if (currentDepth < 0) return;
167721
+ state.visited.push(crawlPath), state.counts.directories++;
167722
+ let entries = [];
167723
+ try {
167724
+ entries = fs$1.readdirSync(crawlPath || ".", readdirOpts);
167725
+ } catch (e) {
167726
+ if (!state.options.suppressErrors) throw e;
167727
+ }
167728
+ callback$1(entries, directoryPath, currentDepth);
167729
+ };
167730
+ function build(isSynchronous) {
167731
+ return isSynchronous ? walkSync : walkAsync;
167732
+ }
167733
+ var Queue = class {
167734
+ count = 0;
167735
+ constructor(onQueueEmpty) {
167736
+ this.onQueueEmpty = onQueueEmpty;
167737
+ }
167738
+ enqueue() {
167739
+ return this.count++, this.count;
167740
+ }
167741
+ dequeue(error, output) {
167742
+ this.onQueueEmpty && (--this.count <= 0 || error) && (this.onQueueEmpty(error, output), error && (output.controller.abort(), this.onQueueEmpty = void 0));
167743
+ }
167744
+ }, Counter = class {
167745
+ _files = 0;
167746
+ _directories = 0;
167747
+ set files(num) {
167748
+ this._files = num;
167749
+ }
167750
+ get files() {
167751
+ return this._files;
167752
+ }
167753
+ set directories(num) {
167754
+ this._directories = num;
167755
+ }
167756
+ get directories() {
167757
+ return this._directories;
167758
+ }
167759
+ /**
167760
+ * @deprecated use `directories` instead
167761
+ */
167762
+ /* c8 ignore next 3 */
167763
+ get dirs() {
167764
+ return this._directories;
167765
+ }
167766
+ }, Aborter = class {
167767
+ aborted = !1;
167768
+ abort() {
167769
+ this.aborted = !0;
167770
+ }
167771
+ }, Walker = class {
167772
+ root;
167773
+ isSynchronous;
167774
+ state;
167775
+ joinPath;
167776
+ pushDirectory;
167777
+ pushFile;
167778
+ getArray;
167779
+ groupFiles;
167780
+ resolveSymlink;
167781
+ walkDirectory;
167782
+ callbackInvoker;
167783
+ constructor(root, options, callback$1) {
167784
+ this.isSynchronous = !callback$1, this.callbackInvoker = build$1(options, this.isSynchronous), this.root = normalizePath(root, options), this.state = {
167785
+ root: isRootDirectory(this.root) ? this.root : this.root.slice(0, -1),
167786
+ paths: [""].slice(0, 0),
167787
+ groups: [],
167788
+ counts: new Counter(),
167789
+ options,
167790
+ queue: new Queue((error, state) => this.callbackInvoker(state, error, callback$1)),
167791
+ symlinks: /* @__PURE__ */ new Map(),
167792
+ visited: [""].slice(0, 0),
167793
+ controller: new Aborter(),
167794
+ fs: options.fs || fs
167795
+ }, this.joinPath = build$7(this.root, options), this.pushDirectory = build$6(this.root, options), this.pushFile = build$5(options), this.getArray = build$4(options), this.groupFiles = build$3(options), this.resolveSymlink = build$2(options, this.isSynchronous), this.walkDirectory = build(this.isSynchronous);
167796
+ }
167797
+ start() {
167798
+ return this.pushDirectory(this.root, this.state.paths, this.state.options.filters), this.walkDirectory(this.state, this.root, this.root, this.state.options.maxDepth, this.walk), this.isSynchronous ? this.callbackInvoker(this.state, null) : null;
167799
+ }
167800
+ walk = (entries, directoryPath, depth) => {
167801
+ let { paths, options: { filters, resolveSymlinks: resolveSymlinks$1, excludeSymlinks, exclude, maxFiles, signal, useRealPaths, pathSeparator }, controller } = this.state;
167802
+ if (controller.aborted || signal && signal.aborted || maxFiles && paths.length > maxFiles) return;
167803
+ let files = this.getArray(this.state.paths);
167804
+ for (let i = 0; i < entries.length; ++i) {
167805
+ let entry = entries[i];
167806
+ if (entry.isFile() || entry.isSymbolicLink() && !resolveSymlinks$1 && !excludeSymlinks) {
167807
+ let filename = this.joinPath(entry.name, directoryPath);
167808
+ this.pushFile(filename, files, this.state.counts, filters);
167809
+ } else if (entry.isDirectory()) {
167810
+ let path$1 = joinDirectoryPath(entry.name, directoryPath, this.state.options.pathSeparator);
167811
+ if (exclude && exclude(entry.name, path$1)) continue;
167812
+ this.pushDirectory(path$1, paths, filters), this.walkDirectory(this.state, path$1, path$1, depth - 1, this.walk);
167813
+ } else if (this.resolveSymlink && entry.isSymbolicLink()) {
167814
+ let path$1 = joinPathWithBasePath(entry.name, directoryPath);
167815
+ this.resolveSymlink(path$1, this.state, (stat, resolvedPath) => {
167816
+ if (stat.isDirectory()) {
167817
+ if (resolvedPath = normalizePath(resolvedPath, this.state.options), exclude && exclude(entry.name, useRealPaths ? resolvedPath : path$1 + pathSeparator)) return;
167818
+ this.walkDirectory(this.state, resolvedPath, useRealPaths ? resolvedPath : path$1 + pathSeparator, depth - 1, this.walk);
167819
+ } else {
167820
+ resolvedPath = useRealPaths ? resolvedPath : path$1;
167821
+ let filename = (0, path.basename)(resolvedPath), directoryPath$1 = normalizePath((0, path.dirname)(resolvedPath), this.state.options);
167822
+ resolvedPath = this.joinPath(filename, directoryPath$1), this.pushFile(resolvedPath, files, this.state.counts, filters);
167823
+ }
167824
+ });
167825
+ }
167826
+ }
167827
+ this.groupFiles(this.state.groups, directoryPath, files);
167828
+ };
167829
+ };
167830
+ function promise(root, options) {
167831
+ return new Promise((resolve$1, reject) => {
167832
+ callback(root, options, (err, output) => {
167833
+ if (err) return reject(err);
167834
+ resolve$1(output);
167835
+ });
167836
+ });
167837
+ }
167838
+ function callback(root, options, callback$1) {
167839
+ new Walker(root, options, callback$1).start();
167840
+ }
167841
+ function sync(root, options) {
167842
+ return new Walker(root, options).start();
167843
+ }
167844
+ var APIBuilder = class {
167845
+ constructor(root, options) {
167846
+ this.root = root, this.options = options;
167847
+ }
167848
+ withPromise() {
167849
+ return promise(this.root, this.options);
167850
+ }
167851
+ withCallback(cb) {
167852
+ callback(this.root, this.options, cb);
167853
+ }
167854
+ sync() {
167855
+ return sync(this.root, this.options);
167856
+ }
167857
+ }, pm = null;
166835
167858
  try {
166836
167859
  __require.resolve("picomatch"), pm = require_picomatch2();
166837
167860
  } catch {
@@ -166841,12 +167864,15 @@ var require_builder = __commonJS({
166841
167864
  options = {
166842
167865
  maxDepth: 1 / 0,
166843
167866
  suppressErrors: !0,
166844
- pathSeparator: path_1.sep,
167867
+ pathSeparator: path.sep,
166845
167868
  filters: []
166846
167869
  };
166847
167870
  globFunction;
166848
167871
  constructor(options) {
166849
- this.options = { ...this.options, ...options }, this.globFunction = this.options.globFunction;
167872
+ this.options = {
167873
+ ...this.options,
167874
+ ...options
167875
+ }, this.globFunction = this.options.globFunction;
166850
167876
  }
166851
167877
  group() {
166852
167878
  return this.options.group = !0, this;
@@ -166897,75 +167923,42 @@ var require_builder = __commonJS({
166897
167923
  return this.options.onlyCounts = !0, this;
166898
167924
  }
166899
167925
  crawl(root) {
166900
- return new api_builder_1.APIBuilder(root || ".", this.options);
167926
+ return new APIBuilder(root || ".", this.options);
166901
167927
  }
166902
167928
  withGlobFunction(fn) {
166903
167929
  return this.globFunction = fn, this;
166904
167930
  }
166905
167931
  /**
166906
- * @deprecated Pass options using the constructor instead:
166907
- * ```ts
166908
- * new fdir(options).crawl("/path/to/root");
166909
- * ```
166910
- * This method will be removed in v7.0
166911
- */
167932
+ * @deprecated Pass options using the constructor instead:
167933
+ * ```ts
167934
+ * new fdir(options).crawl("/path/to/root");
167935
+ * ```
167936
+ * This method will be removed in v7.0
167937
+ */
166912
167938
  /* c8 ignore next 4 */
166913
167939
  crawlWithOptions(root, options) {
166914
- return this.options = { ...this.options, ...options }, new api_builder_1.APIBuilder(root || ".", this.options);
167940
+ return this.options = {
167941
+ ...this.options,
167942
+ ...options
167943
+ }, new APIBuilder(root || ".", this.options);
166915
167944
  }
166916
167945
  glob(...patterns) {
166917
167946
  return this.globFunction ? this.globWithOptions(patterns) : this.globWithOptions(patterns, { dot: !0 });
166918
167947
  }
166919
167948
  globWithOptions(patterns, ...options) {
166920
167949
  let globFn = this.globFunction || pm;
166921
- if (!globFn)
166922
- throw new Error("Please specify a glob function to use glob matching.");
167950
+ if (!globFn) throw new Error("Please specify a glob function to use glob matching.");
166923
167951
  var isMatch = this.globCache[patterns.join("\0")];
166924
- return isMatch || (isMatch = globFn(patterns, ...options), this.globCache[patterns.join("\0")] = isMatch), this.options.filters.push((path) => isMatch(path)), this;
167952
+ return isMatch || (isMatch = globFn(patterns, ...options), this.globCache[patterns.join("\0")] = isMatch), this.options.filters.push((path$1) => isMatch(path$1)), this;
166925
167953
  }
166926
167954
  };
166927
- exports.Builder = Builder;
166928
- }
166929
- });
166930
-
166931
- // ../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/types.js
166932
- var require_types = __commonJS({
166933
- "../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/types.js"(exports) {
166934
- "use strict";
166935
- init_cjs_shims();
166936
- Object.defineProperty(exports, "__esModule", { value: !0 });
166937
- }
166938
- });
166939
-
166940
- // ../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/index.js
166941
- var require_dist = __commonJS({
166942
- "../../node_modules/.pnpm/fdir@6.4.5_picomatch@4.0.2/node_modules/fdir/dist/index.js"(exports) {
166943
- "use strict";
166944
- init_cjs_shims();
166945
- var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
166946
- k2 === void 0 && (k2 = k);
166947
- var desc = Object.getOwnPropertyDescriptor(m, k);
166948
- (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) && (desc = { enumerable: !0, get: function() {
166949
- return m[k];
166950
- } }), Object.defineProperty(o, k2, desc);
166951
- } : function(o, m, k, k2) {
166952
- k2 === void 0 && (k2 = k), o[k2] = m[k];
166953
- }), __exportStar = exports && exports.__exportStar || function(m, exports2) {
166954
- for (var p in m) p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p) && __createBinding(exports2, m, p);
166955
- };
166956
- Object.defineProperty(exports, "__esModule", { value: !0 });
166957
- exports.fdir = void 0;
166958
- var builder_1 = require_builder();
166959
- Object.defineProperty(exports, "fdir", { enumerable: !0, get: function() {
166960
- return builder_1.Builder;
166961
- } });
166962
- __exportStar(require_types(), exports);
167955
+ exports.fdir = Builder;
166963
167956
  }
166964
167957
  });
166965
167958
 
166966
- // ../../node_modules/.pnpm/tinyglobby@0.2.14/node_modules/tinyglobby/dist/index.js
167959
+ // ../../node_modules/.pnpm/tinyglobby@0.2.15/node_modules/tinyglobby/dist/index.cjs
166967
167960
  var require_dist2 = __commonJS({
166968
- "../../node_modules/.pnpm/tinyglobby@0.2.14/node_modules/tinyglobby/dist/index.js"(exports) {
167961
+ "../../node_modules/.pnpm/tinyglobby@0.2.15/node_modules/tinyglobby/dist/index.cjs"(exports) {
166969
167962
  init_cjs_shims();
166970
167963
  var __create = Object.create, __defProp = Object.defineProperty, __getOwnPropDesc = Object.getOwnPropertyDescriptor, __getOwnPropNames = Object.getOwnPropertyNames, __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty, __copyProps = (to, from, except, desc) => {
166971
167964
  if (from && typeof from == "object" || typeof from == "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++)
@@ -166977,26 +167970,36 @@ var require_dist2 = __commonJS({
166977
167970
  }, __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
166978
167971
  value: mod,
166979
167972
  enumerable: !0
166980
- }) : target, mod)), path = __toESM(__require("path")), fdir = __toESM(require_dist()), picomatch = __toESM(require_picomatch2()), ONLY_PARENT_DIRECTORIES = /^(\/?\.\.)+$/;
166981
- function getPartialMatcher(patterns, options) {
166982
- let patternsCount = patterns.length, patternsParts = Array(patternsCount), regexes = Array(patternsCount);
167973
+ }) : target, mod)), fs = __require("fs");
167974
+ fs = __toESM(fs);
167975
+ var path = __require("path");
167976
+ path = __toESM(path);
167977
+ var url = __require("url");
167978
+ url = __toESM(url);
167979
+ var fdir = require_dist();
167980
+ fdir = __toESM(fdir);
167981
+ var picomatch = require_picomatch2();
167982
+ picomatch = __toESM(picomatch);
167983
+ var isReadonlyArray = Array.isArray, isWin = process.platform === "win32", ONLY_PARENT_DIRECTORIES = /^(\/?\.\.)+$/;
167984
+ function getPartialMatcher(patterns, options = {}) {
167985
+ let patternsCount = patterns.length, patternsParts = Array(patternsCount), matchers = Array(patternsCount), globstarEnabled = !options.noglobstar;
166983
167986
  for (let i = 0; i < patternsCount; i++) {
166984
167987
  let parts = splitPattern(patterns[i]);
166985
167988
  patternsParts[i] = parts;
166986
- let partsCount = parts.length, partRegexes = Array(partsCount);
166987
- for (let j = 0; j < partsCount; j++) partRegexes[j] = picomatch.default.makeRe(parts[j], options);
166988
- regexes[i] = partRegexes;
167989
+ let partsCount = parts.length, partMatchers = Array(partsCount);
167990
+ for (let j = 0; j < partsCount; j++) partMatchers[j] = (0, picomatch.default)(parts[j], options);
167991
+ matchers[i] = partMatchers;
166989
167992
  }
166990
167993
  return (input) => {
166991
167994
  let inputParts = input.split("/");
166992
167995
  if (inputParts[0] === ".." && ONLY_PARENT_DIRECTORIES.test(input)) return !0;
166993
167996
  for (let i = 0; i < patterns.length; i++) {
166994
- let patternParts = patternsParts[i], regex = regexes[i], inputPatternCount = inputParts.length, minParts = Math.min(inputPatternCount, patternParts.length), j = 0;
167997
+ let patternParts = patternsParts[i], matcher = matchers[i], inputPatternCount = inputParts.length, minParts = Math.min(inputPatternCount, patternParts.length), j = 0;
166995
167998
  for (; j < minParts; ) {
166996
167999
  let part = patternParts[j];
166997
168000
  if (part.includes("/")) return !0;
166998
- if (!regex[j].test(inputParts[j])) break;
166999
- if (part === "**") return !0;
168001
+ if (!matcher[j](inputParts[j])) break;
168002
+ if (globstarEnabled && part === "**") return !0;
167000
168003
  j++;
167001
168004
  }
167002
168005
  if (j === inputPatternCount) return !0;
@@ -167004,13 +168007,39 @@ var require_dist2 = __commonJS({
167004
168007
  return !1;
167005
168008
  };
167006
168009
  }
168010
+ var WIN32_ROOT_DIR = /^[A-Z]:\/$/i, isRoot = isWin ? (p) => WIN32_ROOT_DIR.test(p) : (p) => p === "/";
168011
+ function buildFormat(cwd, root, absolute) {
168012
+ if (cwd === root || root.startsWith(`${cwd}/`)) {
168013
+ if (absolute) {
168014
+ let start = isRoot(cwd) ? cwd.length : cwd.length + 1;
168015
+ return (p, isDir) => p.slice(start, isDir ? -1 : void 0) || ".";
168016
+ }
168017
+ let prefix = root.slice(cwd.length + 1);
168018
+ return prefix ? (p, isDir) => {
168019
+ if (p === ".") return prefix;
168020
+ let result = `${prefix}/${p}`;
168021
+ return isDir ? result.slice(0, -1) : result;
168022
+ } : (p, isDir) => isDir && p !== "." ? p.slice(0, -1) : p;
168023
+ }
168024
+ return absolute ? (p) => path.posix.relative(cwd, p) || "." : (p) => path.posix.relative(cwd, `${root}/${p}`) || ".";
168025
+ }
168026
+ function buildRelative(cwd, root) {
168027
+ if (root.startsWith(`${cwd}/`)) {
168028
+ let prefix = root.slice(cwd.length + 1);
168029
+ return (p) => `${prefix}/${p}`;
168030
+ }
168031
+ return (p) => {
168032
+ let result = path.posix.relative(cwd, `${root}/${p}`);
168033
+ return p.endsWith("/") && result !== "" ? `${result}/` : result || ".";
168034
+ };
168035
+ }
167007
168036
  var splitPatternOptions = { parts: !0 };
167008
168037
  function splitPattern(path$2) {
167009
168038
  var _result$parts;
167010
168039
  let result = picomatch.default.scan(path$2, splitPatternOptions);
167011
168040
  return !((_result$parts = result.parts) === null || _result$parts === void 0) && _result$parts.length ? result.parts : [path$2];
167012
168041
  }
167013
- var isWin = process.platform === "win32", ESCAPED_WIN32_BACKSLASHES = /\\(?![()[\]{}!+@])/g;
168042
+ var ESCAPED_WIN32_BACKSLASHES = /\\(?![()[\]{}!+@])/g;
167014
168043
  function convertPosixPathToPattern(path$2) {
167015
168044
  return escapePosixPath(path$2);
167016
168045
  }
@@ -167053,12 +168082,12 @@ var require_dist2 = __commonJS({
167053
168082
  if (part !== props.commonPath[i] || isDynamicPattern(part) || i === parts.length - 1) break;
167054
168083
  newCommonPath.push(part);
167055
168084
  }
167056
- props.depthOffset = newCommonPath.length, props.commonPath = newCommonPath, props.root = newCommonPath.length > 0 ? path.default.posix.join(cwd, ...newCommonPath) : cwd;
168085
+ props.depthOffset = newCommonPath.length, props.commonPath = newCommonPath, props.root = newCommonPath.length > 0 ? path.posix.join(cwd, ...newCommonPath) : cwd;
167057
168086
  }
167058
168087
  return result;
167059
168088
  }
167060
- function processPatterns({ patterns, ignore = [], expandDirectories = !0 }, cwd, props) {
167061
- typeof patterns == "string" ? patterns = [patterns] : patterns || (patterns = ["**/*"]), typeof ignore == "string" && (ignore = [ignore]);
168089
+ function processPatterns({ patterns = ["**/*"], ignore = [], expandDirectories = !0 }, cwd, props) {
168090
+ typeof patterns == "string" && (patterns = [patterns]), typeof ignore == "string" && (ignore = [ignore]);
167062
168091
  let matchPatterns = [], ignorePatterns = [];
167063
168092
  for (let pattern of ignore)
167064
168093
  pattern && (pattern[0] !== "!" || pattern[1] === "(") && ignorePatterns.push(normalizePattern(pattern, expandDirectories, cwd, props, !0));
@@ -167069,75 +168098,88 @@ var require_dist2 = __commonJS({
167069
168098
  ignore: ignorePatterns
167070
168099
  };
167071
168100
  }
167072
- function getRelativePath(path$2, cwd, root) {
167073
- return path.posix.relative(cwd, `${root}/${path$2}`) || ".";
167074
- }
167075
- function processPath(path$2, cwd, root, isDirectory, absolute) {
167076
- let relativePath = absolute ? path$2.slice(root === "/" ? 1 : root.length + 1) || "." : path$2;
167077
- return root === cwd ? isDirectory && relativePath !== "." ? relativePath.slice(0, -1) : relativePath : getRelativePath(relativePath, cwd, root);
167078
- }
167079
- function formatPaths(paths, cwd, root) {
168101
+ function formatPaths(paths, relative) {
167080
168102
  for (let i = paths.length - 1; i >= 0; i--) {
167081
168103
  let path$2 = paths[i];
167082
- paths[i] = getRelativePath(path$2, cwd, root) + (!path$2 || path$2.endsWith("/") ? "/" : "");
168104
+ paths[i] = relative(path$2);
167083
168105
  }
167084
168106
  return paths;
167085
168107
  }
167086
- function crawl(options, cwd, sync) {
167087
- if (process.env.TINYGLOBBY_DEBUG && (options.debug = !0), options.debug && log("globbing with options:", options, "cwd:", cwd), Array.isArray(options.patterns) && options.patterns.length === 0) return sync ? [] : Promise.resolve([]);
168108
+ function normalizeCwd(cwd) {
168109
+ return cwd ? cwd instanceof URL ? (0, url.fileURLToPath)(cwd).replace(BACKSLASHES, "/") : path.default.resolve(cwd).replace(BACKSLASHES, "/") : process.cwd().replace(BACKSLASHES, "/");
168110
+ }
168111
+ function getCrawler(patterns, inputOptions = {}) {
168112
+ let options = process.env.TINYGLOBBY_DEBUG ? {
168113
+ ...inputOptions,
168114
+ debug: !0
168115
+ } : inputOptions, cwd = normalizeCwd(options.cwd);
168116
+ if (options.debug && log("globbing with:", {
168117
+ patterns,
168118
+ options,
168119
+ cwd
168120
+ }), Array.isArray(patterns) && patterns.length === 0) return [{
168121
+ sync: () => [],
168122
+ withPromise: async () => []
168123
+ }, !1];
167088
168124
  let props = {
167089
168125
  root: cwd,
167090
168126
  commonPath: null,
167091
168127
  depthOffset: 0
167092
- }, processed = processPatterns(options, cwd, props), nocase = options.caseSensitiveMatch === !1;
168128
+ }, processed = processPatterns({
168129
+ ...options,
168130
+ patterns
168131
+ }, cwd, props);
167093
168132
  options.debug && log("internal processing patterns:", processed);
167094
- let matcher = (0, picomatch.default)(processed.match, {
168133
+ let matchOptions = {
167095
168134
  dot: options.dot,
167096
- nocase,
168135
+ nobrace: options.braceExpansion === !1,
168136
+ nocase: options.caseSensitiveMatch === !1,
168137
+ noextglob: options.extglob === !1,
168138
+ noglobstar: options.globstar === !1,
168139
+ posix: !0
168140
+ }, matcher = (0, picomatch.default)(processed.match, {
168141
+ ...matchOptions,
167097
168142
  ignore: processed.ignore
167098
- }), ignore = (0, picomatch.default)(processed.ignore, {
167099
- dot: options.dot,
167100
- nocase
167101
- }), partialMatcher = getPartialMatcher(processed.match, {
167102
- dot: options.dot,
167103
- nocase
167104
- }), fdirOptions = {
168143
+ }), ignore = (0, picomatch.default)(processed.ignore, matchOptions), partialMatcher = getPartialMatcher(processed.match, matchOptions), format = buildFormat(cwd, props.root, options.absolute), formatExclude = options.absolute ? format : buildFormat(cwd, props.root, !0), fdirOptions = {
167105
168144
  filters: [options.debug ? (p, isDirectory) => {
167106
- let path$2 = processPath(p, cwd, props.root, isDirectory, options.absolute), matches = matcher(path$2);
168145
+ let path$2 = format(p, isDirectory), matches = matcher(path$2);
167107
168146
  return matches && log(`matched ${path$2}`), matches;
167108
- } : (p, isDirectory) => matcher(processPath(p, cwd, props.root, isDirectory, options.absolute))],
168147
+ } : (p, isDirectory) => matcher(format(p, isDirectory))],
167109
168148
  exclude: options.debug ? (_, p) => {
167110
- let relativePath = processPath(p, cwd, props.root, !0, !0), skipped = relativePath !== "." && !partialMatcher(relativePath) || ignore(relativePath);
168149
+ let relativePath = formatExclude(p, !0), skipped = relativePath !== "." && !partialMatcher(relativePath) || ignore(relativePath);
167111
168150
  return log(skipped ? `skipped ${p}` : `crawling ${p}`), skipped;
167112
168151
  } : (_, p) => {
167113
- let relativePath = processPath(p, cwd, props.root, !0, !0);
168152
+ let relativePath = formatExclude(p, !0);
167114
168153
  return relativePath !== "." && !partialMatcher(relativePath) || ignore(relativePath);
167115
168154
  },
168155
+ fs: options.fs ? {
168156
+ readdir: options.fs.readdir || fs.default.readdir,
168157
+ readdirSync: options.fs.readdirSync || fs.default.readdirSync,
168158
+ realpath: options.fs.realpath || fs.default.realpath,
168159
+ realpathSync: options.fs.realpathSync || fs.default.realpathSync,
168160
+ stat: options.fs.stat || fs.default.stat,
168161
+ statSync: options.fs.statSync || fs.default.statSync
168162
+ } : void 0,
167116
168163
  pathSeparator: "/",
167117
168164
  relativePaths: !0,
167118
- resolveSymlinks: !0
168165
+ resolveSymlinks: !0,
168166
+ signal: options.signal
167119
168167
  };
167120
168168
  options.deep !== void 0 && (fdirOptions.maxDepth = Math.round(options.deep - props.depthOffset)), options.absolute && (fdirOptions.relativePaths = !1, fdirOptions.resolvePaths = !0, fdirOptions.includeBasePath = !0), options.followSymbolicLinks === !1 && (fdirOptions.resolveSymlinks = !1, fdirOptions.excludeSymlinks = !0), options.onlyDirectories ? (fdirOptions.excludeFiles = !0, fdirOptions.includeDirs = !0) : options.onlyFiles === !1 && (fdirOptions.includeDirs = !0), props.root = props.root.replace(BACKSLASHES, "");
167121
168169
  let root = props.root;
167122
168170
  options.debug && log("internal properties:", props);
167123
- let api = new fdir.fdir(fdirOptions).crawl(root);
167124
- return cwd === root || options.absolute ? sync ? api.sync() : api.withPromise() : sync ? formatPaths(api.sync(), cwd, root) : api.withPromise().then((paths) => formatPaths(paths, cwd, root));
168171
+ let relative = cwd !== root && !options.absolute && buildRelative(cwd, props.root);
168172
+ return [new fdir.fdir(fdirOptions).crawl(root), relative];
167125
168173
  }
167126
168174
  async function glob(patternsOrOptions, options) {
167127
168175
  if (patternsOrOptions && options?.patterns) throw new Error("Cannot pass patterns as both an argument and an option");
167128
- let opts = Array.isArray(patternsOrOptions) || typeof patternsOrOptions == "string" ? {
167129
- ...options,
167130
- patterns: patternsOrOptions
167131
- } : patternsOrOptions, cwd = opts.cwd ? path.default.resolve(opts.cwd).replace(BACKSLASHES, "/") : process.cwd().replace(BACKSLASHES, "/");
167132
- return crawl(opts, cwd, !1);
168176
+ let isModern = isReadonlyArray(patternsOrOptions) || typeof patternsOrOptions == "string", opts = isModern ? options : patternsOrOptions, patterns = isModern ? patternsOrOptions : patternsOrOptions.patterns, [crawler, relative] = getCrawler(patterns, opts);
168177
+ return relative ? formatPaths(await crawler.withPromise(), relative) : crawler.withPromise();
167133
168178
  }
167134
168179
  function globSync(patternsOrOptions, options) {
167135
168180
  if (patternsOrOptions && options?.patterns) throw new Error("Cannot pass patterns as both an argument and an option");
167136
- let opts = Array.isArray(patternsOrOptions) || typeof patternsOrOptions == "string" ? {
167137
- ...options,
167138
- patterns: patternsOrOptions
167139
- } : patternsOrOptions, cwd = opts.cwd ? path.default.resolve(opts.cwd).replace(BACKSLASHES, "/") : process.cwd().replace(BACKSLASHES, "/");
167140
- return crawl(opts, cwd, !0);
168181
+ let isModern = isReadonlyArray(patternsOrOptions) || typeof patternsOrOptions == "string", opts = isModern ? options : patternsOrOptions, patterns = isModern ? patternsOrOptions : patternsOrOptions.patterns, [crawler, relative] = getCrawler(patterns, opts);
168182
+ return relative ? formatPaths(crawler.sync(), relative) : crawler.sync();
167141
168183
  }
167142
168184
  exports.convertPathToPattern = convertPathToPattern;
167143
168185
  exports.escapePath = escapePath;
@@ -167147,9 +168189,9 @@ var require_dist2 = __commonJS({
167147
168189
  }
167148
168190
  });
167149
168191
 
167150
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/flags.js
168192
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/flags.js
167151
168193
  var require_flags = __commonJS({
167152
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/flags.js"(exports) {
168194
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/flags.js"(exports) {
167153
168195
  "use strict";
167154
168196
  init_cjs_shims();
167155
168197
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -167238,9 +168280,9 @@ var require_flags = __commonJS({
167238
168280
  }
167239
168281
  });
167240
168282
 
167241
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/util/aggregate-flags.js
168283
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/aggregate-flags.js
167242
168284
  var require_aggregate_flags = __commonJS({
167243
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/util/aggregate-flags.js"(exports) {
168285
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/aggregate-flags.js"(exports) {
167244
168286
  "use strict";
167245
168287
  init_cjs_shims();
167246
168288
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -167256,9 +168298,9 @@ var require_aggregate_flags = __commonJS({
167256
168298
  }
167257
168299
  });
167258
168300
 
167259
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/util/cache-command.js
168301
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/cache-command.js
167260
168302
  var require_cache_command = __commonJS({
167261
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/util/cache-command.js"(exports) {
168303
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/cache-command.js"(exports) {
167262
168304
  "use strict";
167263
168305
  init_cjs_shims();
167264
168306
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -167325,7 +168367,8 @@ var require_cache_command = __commonJS({
167325
168367
  cacheFlags((0, aggregate_flags_1.aggregateFlags)(uncachedFlags, uncachedBaseFlags, cmd.enableJsonFlag), respectNoCacheDefault),
167326
168368
  cacheArgs((0, ensure_arg_object_1.ensureArgObject)(cmd.args), respectNoCacheDefault)
167327
168369
  ]), stdProperties = {
167328
- aliases: cmd.aliases ?? [],
168370
+ // Replace all spaces in aliases with colons to standardize them.
168371
+ aliases: (cmd.aliases ?? []).map((a) => a.replaceAll(" ", ":")),
167329
168372
  args,
167330
168373
  deprecateAliases: cmd.deprecateAliases,
167331
168374
  deprecationOptions: cmd.deprecationOptions,
@@ -167359,9 +168402,9 @@ var require_cache_command = __commonJS({
167359
168402
  }
167360
168403
  });
167361
168404
 
167362
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/util/find-root.js
168405
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/find-root.js
167363
168406
  var require_find_root = __commonJS({
167364
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/util/find-root.js"(exports) {
168407
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/find-root.js"(exports) {
167365
168408
  "use strict";
167366
168409
  init_cjs_shims();
167367
168410
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -167764,9 +168807,9 @@ var require_src2 = __commonJS({
167764
168807
  }
167765
168808
  });
167766
168809
 
167767
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/util/read-pjson.js
168810
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/read-pjson.js
167768
168811
  var require_read_pjson = __commonJS({
167769
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/util/read-pjson.js"(exports) {
168812
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/read-pjson.js"(exports) {
167770
168813
  "use strict";
167771
168814
  init_cjs_shims();
167772
168815
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -167806,9 +168849,9 @@ var require_read_pjson = __commonJS({
167806
168849
  }
167807
168850
  });
167808
168851
 
167809
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/config/plugin.js
168852
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/config/plugin.js
167810
168853
  var require_plugin = __commonJS({
167811
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/config/plugin.js"(exports) {
168854
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/config/plugin.js"(exports) {
167812
168855
  "use strict";
167813
168856
  init_cjs_shims();
167814
168857
  var __importDefault = exports && exports.__importDefault || function(mod) {
@@ -168039,9 +169082,9 @@ This usually means you have an oclif.manifest.json file that should be deleted i
168039
169082
  }
168040
169083
  });
168041
169084
 
168042
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/config/plugin-loader.js
169085
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/config/plugin-loader.js
168043
169086
  var require_plugin_loader = __commonJS({
168044
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/config/plugin-loader.js"(exports) {
169087
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/config/plugin-loader.js"(exports) {
168045
169088
  "use strict";
168046
169089
  init_cjs_shims();
168047
169090
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -168164,9 +169207,9 @@ var require_plugin_loader = __commonJS({
168164
169207
  }
168165
169208
  });
168166
169209
 
168167
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/config/config.js
169210
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/config/config.js
168168
169211
  var require_config = __commonJS({
168169
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/config/config.js"(exports, module) {
169212
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/config/config.js"(exports, module) {
168170
169213
  "use strict";
168171
169214
  init_cjs_shims();
168172
169215
  var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
@@ -168706,9 +169749,9 @@ var require_config = __commonJS({
168706
169749
  }
168707
169750
  });
168708
169751
 
168709
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/config/index.js
169752
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/config/index.js
168710
169753
  var require_config2 = __commonJS({
168711
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/config/index.js"(exports) {
169754
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/config/index.js"(exports) {
168712
169755
  "use strict";
168713
169756
  init_cjs_shims();
168714
169757
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -168773,9 +169816,9 @@ var require_wordwrap = __commonJS({
168773
169816
  }
168774
169817
  });
168775
169818
 
168776
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/ux/list.js
169819
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/ux/list.js
168777
169820
  var require_list = __commonJS({
168778
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/ux/list.js"(exports) {
169821
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/ux/list.js"(exports) {
168779
169822
  "use strict";
168780
169823
  init_cjs_shims();
168781
169824
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -168799,9 +169842,9 @@ var require_list = __commonJS({
168799
169842
  }
168800
169843
  });
168801
169844
 
168802
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/parser/errors.js
169845
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/parser/errors.js
168803
169846
  var require_errors2 = __commonJS({
168804
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/parser/errors.js"(exports) {
169847
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/parser/errors.js"(exports) {
168805
169848
  "use strict";
168806
169849
  init_cjs_shims();
168807
169850
  var __importDefault = exports && exports.__importDefault || function(mod) {
@@ -168900,9 +169943,9 @@ Alternatively, you can use "--" to signify the end of the flags and the beginnin
168900
169943
  }
168901
169944
  });
168902
169945
 
168903
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/parser/parse.js
168904
- var require_parse2 = __commonJS({
168905
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/parser/parse.js"(exports) {
169946
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/parser/parse.js
169947
+ var require_parse3 = __commonJS({
169948
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/parser/parse.js"(exports) {
168906
169949
  "use strict";
168907
169950
  init_cjs_shims();
168908
169951
  var __importDefault = exports && exports.__importDefault || function(mod) {
@@ -168910,7 +169953,7 @@ var require_parse2 = __commonJS({
168910
169953
  };
168911
169954
  Object.defineProperty(exports, "__esModule", { value: !0 });
168912
169955
  exports.Parser = exports.readStdin = void 0;
168913
- var node_readline_1 = __require("node:readline"), cache_1 = __importDefault(require_cache()), logger_1 = require_logger(), util_1 = require_util(), errors_1 = require_errors2(), debug;
169956
+ var node_os_1 = __require("node:os"), node_readline_1 = __require("node:readline"), cache_1 = __importDefault(require_cache()), logger_1 = require_logger(), util_1 = require_util(), errors_1 = require_errors2(), debug;
168914
169957
  try {
168915
169958
  debug = process.env.CLI_FLAGS_DEBUG === "1" ? (0, logger_1.makeDebug)("parser") : () => {
168916
169959
  };
@@ -168921,14 +169964,15 @@ var require_parse2 = __commonJS({
168921
169964
  var readStdin = async () => {
168922
169965
  let { stdin, stdout } = process;
168923
169966
  return stdin.isTTY ? null : globalThis.oclif?.stdinCache ? (debug("resolved stdin from global cache", globalThis.oclif.stdinCache), globalThis.oclif.stdinCache) : new Promise((resolve) => {
168924
- let result = "", ac = new AbortController(), { signal } = ac, timeout = setTimeout(() => ac.abort(), 10), rl = (0, node_readline_1.createInterface)({
169967
+ let lines = [], ac = new AbortController(), { signal } = ac, timeout = setTimeout(() => ac.abort(), 10), rl = (0, node_readline_1.createInterface)({
168925
169968
  input: stdin,
168926
169969
  output: stdout,
168927
169970
  terminal: !1
168928
169971
  });
168929
169972
  rl.on("line", (line) => {
168930
- result += line;
169973
+ lines.push(line);
168931
169974
  }), rl.once("close", () => {
169975
+ let result = lines.join(node_os_1.EOL);
168932
169976
  clearTimeout(timeout), debug("resolved from stdin", result), globalThis.oclif = { ...globalThis.oclif, stdinCache: result }, resolve(result);
168933
169977
  }), signal.addEventListener("abort", () => {
168934
169978
  debug("stdin aborted"), clearTimeout(timeout), rl.close(), resolve(null);
@@ -169204,9 +170248,9 @@ See more help with --help`, cache_1.default.getInstance().get("exitCodes")?.fail
169204
170248
  }
169205
170249
  });
169206
170250
 
169207
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/parser/validate.js
170251
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/parser/validate.js
169208
170252
  var require_validate = __commonJS({
169209
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/parser/validate.js"(exports) {
170253
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/parser/validate.js"(exports) {
169210
170254
  "use strict";
169211
170255
  init_cjs_shims();
169212
170256
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -169347,9 +170391,9 @@ var require_validate = __commonJS({
169347
170391
  }
169348
170392
  });
169349
170393
 
169350
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/parser/help.js
170394
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/parser/help.js
169351
170395
  var require_help2 = __commonJS({
169352
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/parser/help.js"(exports) {
170396
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/parser/help.js"(exports) {
169353
170397
  "use strict";
169354
170398
  init_cjs_shims();
169355
170399
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -169368,15 +170412,15 @@ var require_help2 = __commonJS({
169368
170412
  }
169369
170413
  });
169370
170414
 
169371
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/parser/index.js
170415
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/parser/index.js
169372
170416
  var require_parser = __commonJS({
169373
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/parser/index.js"(exports) {
170417
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/parser/index.js"(exports) {
169374
170418
  "use strict";
169375
170419
  init_cjs_shims();
169376
170420
  Object.defineProperty(exports, "__esModule", { value: !0 });
169377
170421
  exports.validate = exports.flagUsages = void 0;
169378
170422
  exports.parse = parse;
169379
- var parse_1 = require_parse2(), validate_1 = require_validate(), help_1 = require_help2();
170423
+ var parse_1 = require_parse3(), validate_1 = require_validate(), help_1 = require_help2();
169380
170424
  Object.defineProperty(exports, "flagUsages", { enumerable: !0, get: function() {
169381
170425
  return help_1.flagUsages;
169382
170426
  } });
@@ -169398,9 +170442,9 @@ var require_parser = __commonJS({
169398
170442
  }
169399
170443
  });
169400
170444
 
169401
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/command.js
170445
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/command.js
169402
170446
  var require_command2 = __commonJS({
169403
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/command.js"(exports) {
170447
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/command.js"(exports) {
169404
170448
  "use strict";
169405
170449
  init_cjs_shims();
169406
170450
  var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
@@ -169661,9 +170705,9 @@ var require_command2 = __commonJS({
169661
170705
  }
169662
170706
  });
169663
170707
 
169664
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/flush.js
170708
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/flush.js
169665
170709
  var require_flush = __commonJS({
169666
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/flush.js"(exports) {
170710
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/flush.js"(exports) {
169667
170711
  "use strict";
169668
170712
  init_cjs_shims();
169669
170713
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -169691,9 +170735,9 @@ var require_flush = __commonJS({
169691
170735
  }
169692
170736
  });
169693
170737
 
169694
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/main.js
170738
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/main.js
169695
170739
  var require_main = __commonJS({
169696
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/main.js"(exports) {
170740
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/main.js"(exports) {
169697
170741
  "use strict";
169698
170742
  init_cjs_shims();
169699
170743
  var __importDefault = exports && exports.__importDefault || function(mod) {
@@ -169730,8 +170774,8 @@ var require_main = __commonJS({
169730
170774
  debug(`process.execPath: ${process.execPath}`), debug(`process.execArgv: ${process.execArgv}`), debug("process.argv: %O", process.argv), argv = argv ?? process.argv.slice(2), options && (typeof options == "string" && options.startsWith("file://") || options instanceof node_url_1.URL) && (options = (0, node_url_1.fileURLToPath)(options));
169731
170775
  let config = await config_1.Config.load(options ?? __require.main?.filename ?? __dirname);
169732
170776
  cache_1.default.getInstance().set("config", config), config.isSingleCommandCLI && (argv = [symbols_1.SINGLE_COMMAND_CLI_SYMBOL, ...argv]);
169733
- let [id, ...argvSlice] = (0, help_1.normalizeArgv)(config, argv), runFinally = async () => {
169734
- marker?.stop(), initMarker?.stopped || initMarker?.stop(), await performance_1.Performance.collect(), performance_1.Performance.debug(), await config.runHook("finally", { argv: argvSlice, id });
170777
+ let [id, ...argvSlice] = (0, help_1.normalizeArgv)(config, argv), runFinally = async (cmd2, error) => {
170778
+ marker?.stop(), initMarker?.stopped || initMarker?.stop(), await performance_1.Performance.collect(), performance_1.Performance.debug(), await config.runHook("finally", { argv: argvSlice, Command: cmd2, error, id });
169735
170779
  };
169736
170780
  if (await config.runHook("init", { argv: argvSlice, id }), (0, exports.versionAddition)(argv, config)) {
169737
170781
  ux_1.ux.stdout(config.userAgent), await runFinally();
@@ -169747,18 +170791,21 @@ var require_main = __commonJS({
169747
170791
  return;
169748
170792
  }
169749
170793
  initMarker?.stop();
170794
+ let err;
169750
170795
  try {
169751
170796
  return await config.runCommand(id, argvSlice, cmd);
170797
+ } catch (error) {
170798
+ throw err = error, error;
169752
170799
  } finally {
169753
- await runFinally();
170800
+ await runFinally(cmd, err);
169754
170801
  }
169755
170802
  }
169756
170803
  }
169757
170804
  });
169758
170805
 
169759
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/execute.js
170806
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/execute.js
169760
170807
  var require_execute = __commonJS({
169761
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/execute.js"(exports) {
170808
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/execute.js"(exports) {
169762
170809
  "use strict";
169763
170810
  init_cjs_shims();
169764
170811
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -169772,18 +170819,18 @@ var require_execute = __commonJS({
169772
170819
  }
169773
170820
  });
169774
170821
 
169775
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/interfaces/index.js
170822
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/interfaces/index.js
169776
170823
  var require_interfaces = __commonJS({
169777
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/interfaces/index.js"(exports) {
170824
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/interfaces/index.js"(exports) {
169778
170825
  "use strict";
169779
170826
  init_cjs_shims();
169780
170827
  Object.defineProperty(exports, "__esModule", { value: !0 });
169781
170828
  }
169782
170829
  });
169783
170830
 
169784
- // ../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/index.js
170831
+ // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/index.js
169785
170832
  var require_lib = __commonJS({
169786
- "../../node_modules/.pnpm/@oclif+core@4.4.0/node_modules/@oclif/core/lib/index.js"(exports) {
170833
+ "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/index.js"(exports) {
169787
170834
  init_cjs_shims();
169788
170835
  var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
169789
170836
  k2 === void 0 && (k2 = k);
@@ -169826,7 +170873,7 @@ var require_lib = __commonJS({
169826
170873
  function checkNodeVersion() {
169827
170874
  if (!(process.env.OCLIF_DISABLE_ENGINE_WARNING && (0, util_1.isTruthy)(process.env.OCLIF_DISABLE_ENGINE_WARNING)))
169828
170875
  try {
169829
- let path = __require("node:path"), semver = require_semver(), root = path.join(__dirname, ".."), pjson = __require(path.join(root, "package.json"));
170876
+ let path = __require("node:path"), semver = require_semver2(), root = path.join(__dirname, ".."), pjson = __require(path.join(root, "package.json"));
169830
170877
  semver.satisfies(process.versions.node, pjson.engines.node) || process.emitWarning(`Node version must be ${pjson.engines.node} to use this CLI. Current node version: ${process.versions.node}`);
169831
170878
  } catch {
169832
170879
  }
@@ -169906,10 +170953,25 @@ var require_lib = __commonJS({
169906
170953
  });
169907
170954
 
169908
170955
  export {
170956
+ require_color_name,
170957
+ require_color_convert,
169909
170958
  require_ansi_styles,
170959
+ require_semver2 as require_semver,
170960
+ require_ejs,
169910
170961
  require_escape_string_regexp,
170962
+ require_clean_stack,
170963
+ require_strip_ansi,
170964
+ require_is_fullwidth_code_point,
170965
+ require_string_width,
170966
+ require_wrap_ansi,
169911
170967
  require_ansis,
170968
+ require_typescript,
170969
+ require_get_package_type,
170970
+ require_ansi_escapes,
170971
+ require_widest_line,
170972
+ require_brace_expansion,
169912
170973
  require_commonjs,
170974
+ require_wordwrap,
169913
170975
  require_lib
169914
170976
  };
169915
170977
  /*! Bundled license information:
@@ -169939,4 +171001,4 @@ typescript/lib/typescript.js:
169939
171001
  and limitations under the License.
169940
171002
  ***************************************************************************** *)
169941
171003
  */
169942
- //# sourceMappingURL=chunk-3FBDJEGD.js.map
171004
+ //# sourceMappingURL=chunk-F7F4BQYW.js.map