@shopify/create-app 4.1.0 → 4.2.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 (64) hide show
  1. package/dist/{acorn-B7Z74OJ7.js → acorn-7AGUHU7X.js} +3 -3
  2. package/dist/{analytics-RYQKQ4DG.js → analytics-DXTA2BTW.js} +13 -13
  3. package/dist/{analytics-ZSO2XN53.js → analytics-VN37446T.js} +13 -13
  4. package/dist/angular-WQAMH4CA.js +3117 -0
  5. package/dist/{babel-CJ53QMMG.js → babel-ANYZPGZG.js} +3 -3
  6. package/dist/{chunk-UX6FRPFM.js → chunk-325YJ3GA.js} +588 -347
  7. package/dist/{chunk-MIECGF3H.js → chunk-6ZCMRIIK.js} +4 -4
  8. package/dist/{chunk-6OOTYTVB.js → chunk-7FVFOTP5.js} +218 -109
  9. package/dist/{chunk-RB7BXTZQ.js → chunk-AJMNFS2U.js} +138 -138
  10. package/dist/{chunk-CEGG2EWP.js → chunk-BGBNK6AD.js} +2 -2
  11. package/dist/{chunk-CE4S2SGM.js → chunk-CJMNB2EJ.js} +232 -151
  12. package/dist/{chunk-A6TJPMVH.js → chunk-EYELFNC7.js} +26 -26
  13. package/dist/{chunk-PVHOBK32.js → chunk-F6LQTIYO.js} +8 -5
  14. package/dist/{chunk-C5OLLQWI.js → chunk-HDGI2UBV.js} +56 -50
  15. package/dist/{chunk-7OFS6B2C.js → chunk-IEVOZUJ7.js} +2 -2
  16. package/dist/{chunk-SWITKWBS.js → chunk-KAVGZDPZ.js} +3 -3
  17. package/dist/{chunk-32DG2OXV.js → chunk-M2UQMZTP.js} +24 -17
  18. package/dist/{chunk-JT5MT2JE.js → chunk-RWI7QPAN.js} +8 -8
  19. package/dist/{chunk-BMI6QCMV.js → chunk-RXMZPVTQ.js} +555 -893
  20. package/dist/{chunk-TS6LOJXS.js → chunk-S2C3LKO2.js} +30 -29
  21. package/dist/{chunk-DWGHKWV5.js → chunk-SAVFAAHX.js} +20 -20
  22. package/dist/{chunk-TVUF42MB.js → chunk-W3I47I43.js} +3 -3
  23. package/dist/{chunk-S4YEA2XG.js → chunk-ZPFFIMXV.js} +10894 -2147
  24. package/dist/{conf-store-R26LOTXD.js → conf-store-A3JOFSUU.js} +7 -7
  25. package/dist/{custom-oclif-loader-354VAVF4.js → custom-oclif-loader-5SWH4GTV.js} +3 -3
  26. package/dist/{deprecations-JWETMJFF.js → deprecations-2ELX7ROT.js} +9 -9
  27. package/dist/{devtools-4EY2MEDN.js → devtools-FXOPST2H.js} +2 -2
  28. package/dist/dist-U3FLPMJE.js +510 -0
  29. package/dist/{environments-VKYG7DMX.js → environments-XMNHPGBO.js} +10 -10
  30. package/dist/{error-handler-YXGIUGKI.js → error-handler-YHPBH53J.js} +13 -13
  31. package/dist/{estree-UBDGCTT2.js → estree-E53K34OK.js} +4 -4
  32. package/dist/{flow-FUOSTAYW.js → flow-LFBHZSUI.js} +3 -3
  33. package/dist/{fs-HPLMOQQD.js → fs-O3X2BDXD.js} +3 -3
  34. package/dist/{glimmer-XBFG6K3P.js → glimmer-CVQMANCJ.js} +3 -3
  35. package/dist/{graphql-C5WOGPMM.js → graphql-ZOTIIZAG.js} +3 -3
  36. package/dist/hooks/postrun.js +4 -4
  37. package/dist/hooks/prerun.js +6 -6
  38. package/dist/{html-QRIT6TOU.js → html-WQ23J64T.js} +924 -830
  39. package/dist/index.js +5644 -4474
  40. package/dist/index.test.js +7251 -8136
  41. package/dist/{is-global-OXCPPXM7.js → is-global-ET3YL7TT.js} +3 -3
  42. package/dist/{is-wsl-YAJ3DFN7.js → is-wsl-BJRAPRQU.js} +6 -5
  43. package/dist/{latest-version-3PFKLJZM.js → latest-version-KKU2QQZW.js} +2 -2
  44. package/dist/{lib-HWIFANCM.js → lib-QBGNJ3PZ.js} +3 -3
  45. package/dist/{local-6ARTMTVE.js → local-QWRI6OFV.js} +2 -2
  46. package/dist/{markdown-M5KQ3F3U.js → markdown-OIW6O7KK.js} +4 -4
  47. package/dist/{meriyah-QX42RF3Q.js → meriyah-KMVSYB54.js} +3 -3
  48. package/dist/{metadata-Z65VJ53L.js → metadata-VZBMAQQC.js} +3 -3
  49. package/dist/{node-package-manager-Q3Y2FSRM.js → node-package-manager-W33EW2VU.js} +11 -11
  50. package/dist/{notifications-system-2HPAOE4P.js → notifications-system-ZFKFHX3O.js} +14 -14
  51. package/dist/{output-MCH67S5U.js → output-5PDIDYKG.js} +3 -3
  52. package/dist/{postcss-4PDU7IQT.js → postcss-WSM6XINW.js} +7 -5
  53. package/dist/{prettier-UAG5TKE4.js → prettier-3LMT6EEA.js} +2 -2
  54. package/dist/{system-YW6RJ2KQ.js → system-X6HCVR7P.js} +9 -9
  55. package/dist/tsconfig.tsbuildinfo +1 -1
  56. package/dist/{typescript-LCSPQIRD.js → typescript-Q4XZM2A4.js} +3 -3
  57. package/dist/{ui-AYUE37Z3.js → ui-IN56X5S4.js} +9 -9
  58. package/dist/{upgrade-DNAT5W4B.js → upgrade-OAFAJX4I.js} +15 -15
  59. package/dist/{version-V77ZX5N2.js → version-D3H6OPFX.js} +10 -10
  60. package/dist/{version-2J64V5CP.js → version-QYHHSKFX.js} +2 -2
  61. package/dist/{yaml-VGESS2QB.js → yaml-NI5GGQLI.js} +3 -3
  62. package/oclif.manifest.json +1 -1
  63. package/package.json +4 -4
  64. package/dist/angular-IKHE4H7C.js +0 -2771
@@ -10,16 +10,16 @@ import {
10
10
  } from "./chunk-OO33NRTL.js";
11
11
  import {
12
12
  require_semver
13
- } from "./chunk-6OOTYTVB.js";
13
+ } from "./chunk-7FVFOTP5.js";
14
14
  import {
15
15
  __commonJS,
16
16
  __require,
17
17
  init_cjs_shims
18
18
  } from "./chunk-PKR7KJ6P.js";
19
19
 
20
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/util.js
20
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/util/util.js
21
21
  var require_util = __commonJS({
22
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/util.js"(exports) {
22
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/util/util.js"(exports) {
23
23
  "use strict";
24
24
  init_cjs_shims();
25
25
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -106,9 +106,9 @@ var require_util = __commonJS({
106
106
  }
107
107
  });
108
108
 
109
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/fs.js
109
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/util/fs.js
110
110
  var require_fs = __commonJS({
111
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/fs.js"(exports) {
111
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/util/fs.js"(exports) {
112
112
  "use strict";
113
113
  init_cjs_shims();
114
114
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -163,9 +163,9 @@ var require_fs = __commonJS({
163
163
  }
164
164
  });
165
165
 
166
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/args.js
166
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/args.js
167
167
  var require_args = __commonJS({
168
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/args.js"(exports) {
168
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/args.js"(exports) {
169
169
  "use strict";
170
170
  init_cjs_shims();
171
171
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -220,13 +220,13 @@ var require_args = __commonJS({
220
220
  }
221
221
  });
222
222
 
223
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/package.json
223
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/package.json
224
224
  var require_package = __commonJS({
225
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/package.json"(exports, module) {
225
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/package.json"(exports, module) {
226
226
  module.exports = {
227
227
  name: "@oclif/core",
228
228
  description: "base library for oclif CLIs",
229
- version: "4.5.3",
229
+ version: "4.8.3",
230
230
  author: "Salesforce",
231
231
  bugs: "https://github.com/oclif/core/issues",
232
232
  dependencies: {
@@ -234,14 +234,14 @@ var require_package = __commonJS({
234
234
  ansis: "^3.17.0",
235
235
  "clean-stack": "^3.0.1",
236
236
  "cli-spinners": "^2.9.2",
237
- debug: "^4.4.0",
237
+ debug: "^4.4.3",
238
238
  ejs: "^3.1.10",
239
239
  "get-package-type": "^0.1.0",
240
240
  "indent-string": "^4.0.0",
241
241
  "is-wsl": "^2.2.0",
242
242
  lilconfig: "^3.1.3",
243
- minimatch: "^9.0.5",
244
- semver: "^7.6.3",
243
+ minimatch: "^10.2.4",
244
+ semver: "^7.7.3",
245
245
  "string-width": "^4.2.3",
246
246
  "supports-color": "^8",
247
247
  tinyglobby: "^0.2.14",
@@ -251,7 +251,7 @@ var require_package = __commonJS({
251
251
  },
252
252
  devDependencies: {
253
253
  "@commitlint/config-conventional": "^19",
254
- "@eslint/compat": "^1.3.2",
254
+ "@eslint/compat": "^1.4.1",
255
255
  "@oclif/plugin-help": "^6",
256
256
  "@oclif/plugin-plugins": "^5",
257
257
  "@oclif/prettier-config": "^0.2.1",
@@ -281,9 +281,9 @@ var require_package = __commonJS({
281
281
  husky: "^9.1.7",
282
282
  "lint-staged": "^15",
283
283
  madge: "^6.1.0",
284
- mocha: "^11.7.2",
284
+ mocha: "^11.7.5",
285
285
  nyc: "^15.1.0",
286
- prettier: "^3.6.2",
286
+ prettier: "^3.8.1",
287
287
  shx: "^0.4.0",
288
288
  sinon: "^18",
289
289
  "ts-node": "^10.9.2",
@@ -360,9 +360,9 @@ var require_package = __commonJS({
360
360
  }
361
361
  });
362
362
 
363
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/cache.js
363
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/cache.js
364
364
  var require_cache = __commonJS({
365
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/cache.js"(exports) {
365
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/cache.js"(exports) {
366
366
  "use strict";
367
367
  init_cjs_shims();
368
368
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -866,9 +866,9 @@ try {
866
866
  }
867
867
  });
868
868
 
869
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/logger.js
869
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/logger.js
870
870
  var require_logger = __commonJS({
871
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/logger.js"(exports) {
871
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/logger.js"(exports) {
872
872
  "use strict";
873
873
  init_cjs_shims();
874
874
  var __importDefault = exports && exports.__importDefault || function(mod) {
@@ -922,9 +922,9 @@ var require_logger = __commonJS({
922
922
  }
923
923
  });
924
924
 
925
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/ux/write.js
925
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/ux/write.js
926
926
  var require_write = __commonJS({
927
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/ux/write.js"(exports) {
927
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/ux/write.js"(exports) {
928
928
  "use strict";
929
929
  init_cjs_shims();
930
930
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -1835,9 +1835,9 @@ var require_wrap_ansi = __commonJS({
1835
1835
  }
1836
1836
  });
1837
1837
 
1838
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/settings.js
1838
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/settings.js
1839
1839
  var require_settings = __commonJS({
1840
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/settings.js"(exports) {
1840
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/settings.js"(exports) {
1841
1841
  "use strict";
1842
1842
  init_cjs_shims();
1843
1843
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -1847,9 +1847,9 @@ var require_settings = __commonJS({
1847
1847
  }
1848
1848
  });
1849
1849
 
1850
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/screen.js
1850
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/screen.js
1851
1851
  var require_screen = __commonJS({
1852
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/screen.js"(exports) {
1852
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/screen.js"(exports) {
1853
1853
  "use strict";
1854
1854
  init_cjs_shims();
1855
1855
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -1937,9 +1937,9 @@ var require_ansis = __commonJS({
1937
1937
  }
1938
1938
  });
1939
1939
 
1940
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/interfaces/theme.js
1940
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/interfaces/theme.js
1941
1941
  var require_theme = __commonJS({
1942
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/interfaces/theme.js"(exports) {
1942
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/interfaces/theme.js"(exports) {
1943
1943
  "use strict";
1944
1944
  init_cjs_shims();
1945
1945
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -1988,9 +1988,9 @@ var require_theme = __commonJS({
1988
1988
  }
1989
1989
  });
1990
1990
 
1991
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/ux/supports-color.js
1991
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/ux/supports-color.js
1992
1992
  var require_supports_color2 = __commonJS({
1993
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/ux/supports-color.js"(exports) {
1993
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/ux/supports-color.js"(exports) {
1994
1994
  "use strict";
1995
1995
  init_cjs_shims();
1996
1996
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -2002,9 +2002,9 @@ var require_supports_color2 = __commonJS({
2002
2002
  }
2003
2003
  });
2004
2004
 
2005
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/ux/theme.js
2005
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/ux/theme.js
2006
2006
  var require_theme2 = __commonJS({
2007
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/ux/theme.js"(exports) {
2007
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/ux/theme.js"(exports) {
2008
2008
  "use strict";
2009
2009
  init_cjs_shims();
2010
2010
  var __importDefault = exports && exports.__importDefault || function(mod) {
@@ -2039,9 +2039,9 @@ var require_theme2 = __commonJS({
2039
2039
  }
2040
2040
  });
2041
2041
 
2042
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/errors/errors/cli.js
2042
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/errors/errors/cli.js
2043
2043
  var require_cli = __commonJS({
2044
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/errors/errors/cli.js"(exports) {
2044
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/errors/errors/cli.js"(exports) {
2045
2045
  "use strict";
2046
2046
  init_cjs_shims();
2047
2047
  var __importDefault = exports && exports.__importDefault || function(mod) {
@@ -2102,9 +2102,9 @@ var require_cli = __commonJS({
2102
2102
  }
2103
2103
  });
2104
2104
 
2105
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/errors/errors/pretty-print.js
2105
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/errors/errors/pretty-print.js
2106
2106
  var require_pretty_print = __commonJS({
2107
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/errors/errors/pretty-print.js"(exports) {
2107
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/errors/errors/pretty-print.js"(exports) {
2108
2108
  "use strict";
2109
2109
  init_cjs_shims();
2110
2110
  var __importDefault = exports && exports.__importDefault || function(mod) {
@@ -2141,9 +2141,9 @@ ${(0, indent_string_1.default)(multiple, 2)}`;
2141
2141
  }
2142
2142
  });
2143
2143
 
2144
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/errors/error.js
2144
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/errors/error.js
2145
2145
  var require_error = __commonJS({
2146
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/errors/error.js"(exports) {
2146
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/errors/error.js"(exports) {
2147
2147
  "use strict";
2148
2148
  init_cjs_shims();
2149
2149
  var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
@@ -2194,9 +2194,9 @@ var require_error = __commonJS({
2194
2194
  }
2195
2195
  });
2196
2196
 
2197
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/errors/errors/exit.js
2197
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/errors/errors/exit.js
2198
2198
  var require_exit = __commonJS({
2199
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/errors/errors/exit.js"(exports) {
2199
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/errors/errors/exit.js"(exports) {
2200
2200
  "use strict";
2201
2201
  init_cjs_shims();
2202
2202
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -2214,9 +2214,9 @@ var require_exit = __commonJS({
2214
2214
  }
2215
2215
  });
2216
2216
 
2217
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/errors/errors/module-load.js
2217
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/errors/errors/module-load.js
2218
2218
  var require_module_load = __commonJS({
2219
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/errors/errors/module-load.js"(exports) {
2219
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/errors/errors/module-load.js"(exports) {
2220
2220
  "use strict";
2221
2221
  init_cjs_shims();
2222
2222
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -2231,9 +2231,9 @@ var require_module_load = __commonJS({
2231
2231
  }
2232
2232
  });
2233
2233
 
2234
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/errors/exit.js
2234
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/errors/exit.js
2235
2235
  var require_exit2 = __commonJS({
2236
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/errors/exit.js"(exports) {
2236
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/errors/exit.js"(exports) {
2237
2237
  "use strict";
2238
2238
  init_cjs_shims();
2239
2239
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -2245,9 +2245,9 @@ var require_exit2 = __commonJS({
2245
2245
  }
2246
2246
  });
2247
2247
 
2248
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/errors/warn.js
2248
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/errors/warn.js
2249
2249
  var require_warn = __commonJS({
2250
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/errors/warn.js"(exports) {
2250
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/errors/warn.js"(exports) {
2251
2251
  "use strict";
2252
2252
  init_cjs_shims();
2253
2253
  var __importDefault = exports && exports.__importDefault || function(mod) {
@@ -2276,9 +2276,9 @@ var require_warn = __commonJS({
2276
2276
  }
2277
2277
  });
2278
2278
 
2279
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/read-tsconfig.js
2279
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/util/read-tsconfig.js
2280
2280
  var require_read_tsconfig = __commonJS({
2281
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/read-tsconfig.js"(exports) {
2281
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/util/read-tsconfig.js"(exports) {
2282
2282
  "use strict";
2283
2283
  init_cjs_shims();
2284
2284
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -2344,9 +2344,9 @@ var require_read_tsconfig = __commonJS({
2344
2344
  }
2345
2345
  });
2346
2346
 
2347
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/config/util.js
2347
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/config/util.js
2348
2348
  var require_util2 = __commonJS({
2349
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/config/util.js"(exports) {
2349
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/config/util.js"(exports) {
2350
2350
  "use strict";
2351
2351
  init_cjs_shims();
2352
2352
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -2381,9 +2381,9 @@ var require_util2 = __commonJS({
2381
2381
  }
2382
2382
  });
2383
2383
 
2384
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/config/ts-path.js
2384
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/config/ts-path.js
2385
2385
  var require_ts_path = __commonJS({
2386
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/config/ts-path.js"(exports) {
2386
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/config/ts-path.js"(exports) {
2387
2387
  "use strict";
2388
2388
  init_cjs_shims();
2389
2389
  var __importDefault = exports && exports.__importDefault || function(mod) {
@@ -2612,9 +2612,9 @@ var require_get_package_type = __commonJS({
2612
2612
  }
2613
2613
  });
2614
2614
 
2615
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/module-loader.js
2615
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/module-loader.js
2616
2616
  var require_module_loader = __commonJS({
2617
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/module-loader.js"(exports) {
2617
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/module-loader.js"(exports) {
2618
2618
  "use strict";
2619
2619
  init_cjs_shims();
2620
2620
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -2705,9 +2705,9 @@ var require_module_loader = __commonJS({
2705
2705
  }
2706
2706
  });
2707
2707
 
2708
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/symbols.js
2708
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/symbols.js
2709
2709
  var require_symbols = __commonJS({
2710
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/symbols.js"(exports) {
2710
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/symbols.js"(exports) {
2711
2711
  "use strict";
2712
2712
  init_cjs_shims();
2713
2713
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -2716,9 +2716,9 @@ var require_symbols = __commonJS({
2716
2716
  }
2717
2717
  });
2718
2718
 
2719
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/cache-default-value.js
2719
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/util/cache-default-value.js
2720
2720
  var require_cache_default_value = __commonJS({
2721
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/cache-default-value.js"(exports) {
2721
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/util/cache-default-value.js"(exports) {
2722
2722
  "use strict";
2723
2723
  init_cjs_shims();
2724
2724
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -2744,9 +2744,9 @@ var require_cache_default_value = __commonJS({
2744
2744
  }
2745
2745
  });
2746
2746
 
2747
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/ids.js
2747
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/util/ids.js
2748
2748
  var require_ids = __commonJS({
2749
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/ids.js"(exports) {
2749
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/util/ids.js"(exports) {
2750
2750
  "use strict";
2751
2751
  init_cjs_shims();
2752
2752
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -2761,9 +2761,9 @@ var require_ids = __commonJS({
2761
2761
  }
2762
2762
  });
2763
2763
 
2764
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/ux/action/base.js
2764
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/ux/action/base.js
2765
2765
  var require_base = __commonJS({
2766
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/ux/action/base.js"(exports) {
2766
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/ux/action/base.js"(exports) {
2767
2767
  "use strict";
2768
2768
  init_cjs_shims();
2769
2769
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -2892,9 +2892,9 @@ var require_base = __commonJS({
2892
2892
  }
2893
2893
  });
2894
2894
 
2895
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/ux/action/simple.js
2895
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/ux/action/simple.js
2896
2896
  var require_simple = __commonJS({
2897
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/ux/action/simple.js"(exports) {
2897
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/ux/action/simple.js"(exports) {
2898
2898
  "use strict";
2899
2899
  init_cjs_shims();
2900
2900
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -4654,9 +4654,9 @@ var require_cli_spinners = __commonJS({
4654
4654
  }
4655
4655
  });
4656
4656
 
4657
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/ux/action/spinner.js
4657
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/ux/action/spinner.js
4658
4658
  var require_spinner = __commonJS({
4659
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/ux/action/spinner.js"(exports) {
4659
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/ux/action/spinner.js"(exports) {
4660
4660
  "use strict";
4661
4661
  init_cjs_shims();
4662
4662
  var __importDefault = exports && exports.__importDefault || function(mod) {
@@ -4714,9 +4714,9 @@ var require_spinner = __commonJS({
4714
4714
  }
4715
4715
  });
4716
4716
 
4717
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/ux/colorize-json.js
4717
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/ux/colorize-json.js
4718
4718
  var require_colorize_json = __commonJS({
4719
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/ux/colorize-json.js"(exports) {
4719
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/ux/colorize-json.js"(exports) {
4720
4720
  "use strict";
4721
4721
  init_cjs_shims();
4722
4722
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -4777,9 +4777,9 @@ var require_colorize_json = __commonJS({
4777
4777
  }
4778
4778
  });
4779
4779
 
4780
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/ux/index.js
4780
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/ux/index.js
4781
4781
  var require_ux = __commonJS({
4782
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/ux/index.js"(exports) {
4782
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/ux/index.js"(exports) {
4783
4783
  "use strict";
4784
4784
  init_cjs_shims();
4785
4785
  var __importDefault = exports && exports.__importDefault || function(mod) {
@@ -4875,9 +4875,9 @@ var require_ux = __commonJS({
4875
4875
  }
4876
4876
  });
4877
4877
 
4878
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/ensure-arg-object.js
4878
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/util/ensure-arg-object.js
4879
4879
  var require_ensure_arg_object = __commonJS({
4880
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/ensure-arg-object.js"(exports) {
4880
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/util/ensure-arg-object.js"(exports) {
4881
4881
  "use strict";
4882
4882
  init_cjs_shims();
4883
4883
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -4888,9 +4888,9 @@ var require_ensure_arg_object = __commonJS({
4888
4888
  }
4889
4889
  });
4890
4890
 
4891
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/help/docopts.js
4891
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/help/docopts.js
4892
4892
  var require_docopts = __commonJS({
4893
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/help/docopts.js"(exports) {
4893
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/help/docopts.js"(exports) {
4894
4894
  "use strict";
4895
4895
  init_cjs_shims();
4896
4896
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -4949,8 +4949,17 @@ var require_docopts = __commonJS({
4949
4949
  groupFlagElements() {
4950
4950
  let elementMap = {};
4951
4951
  this.generateElements(elementMap, this.flagList.filter((flag) => flag.required)), this.generateElements(elementMap, this.flagList.filter((flag) => !flag.required));
4952
- for (let flag of this.flagList)
4953
- Array.isArray(flag.dependsOn) && this.combineElementsToFlag(elementMap, flag.name, flag.dependsOn, " "), Array.isArray(flag.exclusive) && this.combineElementsToFlag(elementMap, flag.name, flag.exclusive, " | ");
4952
+ for (let flag of this.flagList) {
4953
+ Array.isArray(flag.dependsOn) && this.combineElementsToFlag(elementMap, flag.name, flag.dependsOn, " ");
4954
+ let exclusive;
4955
+ if (Array.isArray(flag.exclusive) && (exclusive = new Set(flag.exclusive)), Array.isArray(flag.combinable)) {
4956
+ let combinableFlags = new Set(flag.combinable);
4957
+ exclusive ??= /* @__PURE__ */ new Set();
4958
+ for (let item of this.flagList)
4959
+ flag !== item && !combinableFlags.has(item.name) && exclusive.add(item.name);
4960
+ }
4961
+ exclusive !== void 0 && exclusive.size > 0 && this.combineElementsToFlag(elementMap, flag.name, [...exclusive], " | ");
4962
+ }
4954
4963
  for (let remainingFlagName of Object.keys(this.flagMap)) {
4955
4964
  let remainingFlag = this.flagMap[remainingFlagName] || {};
4956
4965
  remainingFlag.required || (elementMap[remainingFlag.name] = `[${elementMap[remainingFlag.name] || ""}]`);
@@ -4979,9 +4988,9 @@ var require_widest_line = __commonJS({
4979
4988
  }
4980
4989
  });
4981
4990
 
4982
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/help/util.js
4991
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/help/util.js
4983
4992
  var require_util3 = __commonJS({
4984
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/help/util.js"(exports) {
4993
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/help/util.js"(exports) {
4985
4994
  "use strict";
4986
4995
  init_cjs_shims();
4987
4996
  var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
@@ -5074,9 +5083,9 @@ var require_util3 = __commonJS({
5074
5083
  }
5075
5084
  });
5076
5085
 
5077
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/help/formatter.js
5086
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/help/formatter.js
5078
5087
  var require_formatter = __commonJS({
5079
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/help/formatter.js"(exports) {
5088
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/help/formatter.js"(exports) {
5080
5089
  "use strict";
5081
5090
  init_cjs_shims();
5082
5091
  var __importDefault = exports && exports.__importDefault || function(mod) {
@@ -5230,9 +5239,9 @@ var require_formatter = __commonJS({
5230
5239
  }
5231
5240
  });
5232
5241
 
5233
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/help/command.js
5242
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/help/command.js
5234
5243
  var require_command = __commonJS({
5235
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/help/command.js"(exports) {
5244
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/help/command.js"(exports) {
5236
5245
  "use strict";
5237
5246
  init_cjs_shims();
5238
5247
  var __importDefault = exports && exports.__importDefault || function(mod) {
@@ -5266,7 +5275,9 @@ var require_command = __commonJS({
5266
5275
  args(args) {
5267
5276
  if (args.filter((a) => a.description).length !== 0)
5268
5277
  return args.map((a) => {
5269
- let name = this.command.strict === !1 ? `${a.name.toUpperCase()}...` : a.name.toUpperCase(), description = a.description || "";
5278
+ let name = this.command.strict === !1 ? `${a.name.toUpperCase()}...` : a.name.toUpperCase();
5279
+ name = a.required ? `${name}` : `[${name}]`;
5280
+ let description = a.description || "";
5270
5281
  return a.default && (description = `${(0, theme_1.colorize)(this.config?.theme?.flagDefaultValue, `[default: ${a.default}]`)} ${description}`), a.options && (description = `${(0, theme_1.colorize)(this.config?.theme?.flagOptions, `(${a.options.join("|")})`)} ${description}`), [
5271
5282
  (0, theme_1.colorize)(this.config?.theme?.flag, name),
5272
5283
  description ? (0, theme_1.colorize)(this.config?.theme?.sectionDescription, description) : void 0
@@ -5282,7 +5293,7 @@ var require_command = __commonJS({
5282
5293
  description() {
5283
5294
  let cmd = this.command, description;
5284
5295
  if (this.opts.hideCommandSummaryInDescription)
5285
- description = (cmd.description || "").split(POSSIBLE_LINE_FEED).slice(1);
5296
+ description = [(cmd.description || "").split(POSSIBLE_LINE_FEED).at(-1) ?? ""];
5286
5297
  else if (cmd.description) {
5287
5298
  let summary = cmd.summary ? `${cmd.summary}
5288
5299
  ` : null;
@@ -5336,8 +5347,8 @@ ${multilineCommands}`;
5336
5347
  return flags.map((flag) => {
5337
5348
  let left = this.flagHelpLabel(flag);
5338
5349
  noChar && (left = left.replace(" ", ""));
5339
- let right = flag.summary || flag.description || "", canBeCached = !(this.opts.respectNoCacheDefault === !0 && flag.noCacheDefault === !0);
5340
- return flag.type === "option" && flag.default && canBeCached && (right = `${(0, theme_1.colorize)(this.config?.theme?.flagDefaultValue, `[default: ${flag.default}]`)} ${right}`), flag.required && (right = `${(0, theme_1.colorize)(this.config?.theme?.flagRequired, "(required)")} ${right}`), flag.type === "option" && flag.options && !flag.helpValue && !this.opts.showFlagOptionsInTitle && (right += (0, theme_1.colorize)(this.config?.theme?.flagOptions, `
5350
+ let right = flag.summary || flag.description || "", metadata = [], canBeCached = !(this.opts.respectNoCacheDefault === !0 && flag.noCacheDefault === !0);
5351
+ return flag.type === "option" ? (flag.default && canBeCached && metadata.push(`default: ${flag.default}`), flag.env && metadata.push(`env: ${flag.env}`)) : flag.type === "boolean" && flag.env && metadata.push(`env: ${flag.env}`), metadata.length > 0 && (right = `${(0, theme_1.colorize)(this.config?.theme?.flagDefaultValue, `[${metadata.join(", ")}]`)} ${right}`), flag.required && (right = `${(0, theme_1.colorize)(this.config?.theme?.flagRequired, "(required)")} ${right}`), flag.type === "option" && flag.options && !flag.helpValue && !this.opts.showFlagOptionsInTitle && (right += (0, theme_1.colorize)(this.config?.theme?.flagOptions, `
5341
5352
  <options: ${flag.options.join("|")}>`)), [left, (0, theme_1.colorize)(this.config?.theme?.sectionDescription, right.trim())];
5342
5353
  });
5343
5354
  }
@@ -5444,9 +5455,9 @@ ${this.indent(this.wrap(flag.description || "", this.indentSpacing * 2))}`;
5444
5455
  }
5445
5456
  });
5446
5457
 
5447
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/help/root.js
5458
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/help/root.js
5448
5459
  var require_root = __commonJS({
5449
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/help/root.js"(exports) {
5460
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/help/root.js"(exports) {
5450
5461
  "use strict";
5451
5462
  init_cjs_shims();
5452
5463
  var __importDefault = exports && exports.__importDefault || function(mod) {
@@ -5491,9 +5502,9 @@ var require_root = __commonJS({
5491
5502
  }
5492
5503
  });
5493
5504
 
5494
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/help/index.js
5505
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/help/index.js
5495
5506
  var require_help = __commonJS({
5496
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/help/index.js"(exports) {
5507
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/help/index.js"(exports) {
5497
5508
  "use strict";
5498
5509
  init_cjs_shims();
5499
5510
  var __importDefault = exports && exports.__importDefault || function(mod) {
@@ -5727,9 +5738,9 @@ ${error.message}`);
5727
5738
  }
5728
5739
  });
5729
5740
 
5730
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/errors/handle.js
5741
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/errors/handle.js
5731
5742
  var require_handle = __commonJS({
5732
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/errors/handle.js"(exports) {
5743
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/errors/handle.js"(exports) {
5733
5744
  "use strict";
5734
5745
  init_cjs_shims();
5735
5746
  var __importDefault = exports && exports.__importDefault || function(mod) {
@@ -5769,9 +5780,9 @@ var require_handle = __commonJS({
5769
5780
  }
5770
5781
  });
5771
5782
 
5772
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/errors/index.js
5783
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/errors/index.js
5773
5784
  var require_errors = __commonJS({
5774
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/errors/index.js"(exports) {
5785
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/errors/index.js"(exports) {
5775
5786
  "use strict";
5776
5787
  init_cjs_shims();
5777
5788
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -5807,9 +5818,9 @@ var require_errors = __commonJS({
5807
5818
  }
5808
5819
  });
5809
5820
 
5810
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/performance.js
5821
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/performance.js
5811
5822
  var require_performance = __commonJS({
5812
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/performance.js"(exports) {
5823
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/performance.js"(exports) {
5813
5824
  "use strict";
5814
5825
  init_cjs_shims();
5815
5826
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -5972,9 +5983,9 @@ var require_performance = __commonJS({
5972
5983
  }
5973
5984
  });
5974
5985
 
5975
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/determine-priority.js
5986
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/util/determine-priority.js
5976
5987
  var require_determine_priority = __commonJS({
5977
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/determine-priority.js"(exports) {
5988
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/util/determine-priority.js"(exports) {
5978
5989
  "use strict";
5979
5990
  init_cjs_shims();
5980
5991
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -5988,9 +5999,9 @@ var require_determine_priority = __commonJS({
5988
5999
  }
5989
6000
  });
5990
6001
 
5991
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/os.js
6002
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/util/os.js
5992
6003
  var require_os = __commonJS({
5993
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/os.js"(exports) {
6004
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/util/os.js"(exports) {
5994
6005
  "use strict";
5995
6006
  init_cjs_shims();
5996
6007
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -6050,15 +6061,15 @@ var require_commonjs = __commonJS({
6050
6061
  }
6051
6062
  });
6052
6063
 
6053
- // ../../node_modules/.pnpm/brace-expansion@5.0.3/node_modules/brace-expansion/dist/commonjs/index.js
6064
+ // ../../node_modules/.pnpm/brace-expansion@5.0.5/node_modules/brace-expansion/dist/commonjs/index.js
6054
6065
  var require_commonjs2 = __commonJS({
6055
- "../../node_modules/.pnpm/brace-expansion@5.0.3/node_modules/brace-expansion/dist/commonjs/index.js"(exports) {
6066
+ "../../node_modules/.pnpm/brace-expansion@5.0.5/node_modules/brace-expansion/dist/commonjs/index.js"(exports) {
6056
6067
  "use strict";
6057
6068
  init_cjs_shims();
6058
6069
  Object.defineProperty(exports, "__esModule", { value: !0 });
6059
6070
  exports.EXPANSION_MAX = void 0;
6060
6071
  exports.expand = expand;
6061
- var balanced_match_1 = require_commonjs(), 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", escSlashPattern = new RegExp(escSlash, "g"), escOpenPattern = new RegExp(escOpen, "g"), escClosePattern = new RegExp(escClose, "g"), escCommaPattern = new RegExp(escComma, "g"), escPeriodPattern = new RegExp(escPeriod, "g"), slashPattern = /\\\\/g, openPattern = /\\{/g, closePattern = /\\}/g, commaPattern = /\\,/g, periodPattern = /\\./g;
6072
+ var balanced_match_1 = require_commonjs(), 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", escSlashPattern = new RegExp(escSlash, "g"), escOpenPattern = new RegExp(escOpen, "g"), escClosePattern = new RegExp(escClose, "g"), escCommaPattern = new RegExp(escComma, "g"), escPeriodPattern = new RegExp(escPeriod, "g"), slashPattern = /\\\\/g, openPattern = /\\{/g, closePattern = /\\}/g, commaPattern = /\\,/g, periodPattern = /\\\./g;
6062
6073
  exports.EXPANSION_MAX = 1e5;
6063
6074
  function numeric(str) {
6064
6075
  return isNaN(str) ? str.charCodeAt(0) : parseInt(str, 10);
@@ -6119,7 +6130,7 @@ var require_commonjs2 = __commonJS({
6119
6130
  return post.map((p) => m.pre + n[0] + p);
6120
6131
  let N;
6121
6132
  if (isSequence && n[0] !== void 0 && n[1] !== void 0) {
6122
- let x = numeric(n[0]), y = numeric(n[1]), width = Math.max(n[0].length, n[1].length), incr = n.length === 3 && n[2] !== void 0 ? Math.abs(numeric(n[2])) : 1, test = lte;
6133
+ let x = numeric(n[0]), y = numeric(n[1]), width = Math.max(n[0].length, n[1].length), incr = n.length === 3 && n[2] !== void 0 ? Math.max(Math.abs(numeric(n[2])), 1) : 1, test = lte;
6123
6134
  y < x && (incr *= -1, test = gte);
6124
6135
  let pad = n.some(isPadded);
6125
6136
  N = [];
@@ -6152,9 +6163,9 @@ var require_commonjs2 = __commonJS({
6152
6163
  }
6153
6164
  });
6154
6165
 
6155
- // ../../node_modules/.pnpm/minimatch@9.0.8/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js
6166
+ // ../../node_modules/.pnpm/minimatch@10.2.5/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js
6156
6167
  var require_assert_valid_pattern = __commonJS({
6157
- "../../node_modules/.pnpm/minimatch@9.0.8/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js"(exports) {
6168
+ "../../node_modules/.pnpm/minimatch@10.2.5/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js"(exports) {
6158
6169
  "use strict";
6159
6170
  init_cjs_shims();
6160
6171
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -6169,9 +6180,9 @@ var require_assert_valid_pattern = __commonJS({
6169
6180
  }
6170
6181
  });
6171
6182
 
6172
- // ../../node_modules/.pnpm/minimatch@9.0.8/node_modules/minimatch/dist/commonjs/brace-expressions.js
6183
+ // ../../node_modules/.pnpm/minimatch@10.2.5/node_modules/minimatch/dist/commonjs/brace-expressions.js
6173
6184
  var require_brace_expressions = __commonJS({
6174
- "../../node_modules/.pnpm/minimatch@9.0.8/node_modules/minimatch/dist/commonjs/brace-expressions.js"(exports) {
6185
+ "../../node_modules/.pnpm/minimatch@10.2.5/node_modules/minimatch/dist/commonjs/brace-expressions.js"(exports) {
6175
6186
  "use strict";
6176
6187
  init_cjs_shims();
6177
6188
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -6248,21 +6259,21 @@ var require_brace_expressions = __commonJS({
6248
6259
  }
6249
6260
  });
6250
6261
 
6251
- // ../../node_modules/.pnpm/minimatch@9.0.8/node_modules/minimatch/dist/commonjs/unescape.js
6262
+ // ../../node_modules/.pnpm/minimatch@10.2.5/node_modules/minimatch/dist/commonjs/unescape.js
6252
6263
  var require_unescape = __commonJS({
6253
- "../../node_modules/.pnpm/minimatch@9.0.8/node_modules/minimatch/dist/commonjs/unescape.js"(exports) {
6264
+ "../../node_modules/.pnpm/minimatch@10.2.5/node_modules/minimatch/dist/commonjs/unescape.js"(exports) {
6254
6265
  "use strict";
6255
6266
  init_cjs_shims();
6256
6267
  Object.defineProperty(exports, "__esModule", { value: !0 });
6257
6268
  exports.unescape = void 0;
6258
- var unescape = (s, { windowsPathsNoEscape = !1 } = {}) => windowsPathsNoEscape ? s.replace(/\[([^\/\\])\]/g, "$1") : s.replace(/((?!\\).|^)\[([^\/\\])\]/g, "$1$2").replace(/\\([^\/])/g, "$1");
6269
+ var unescape = (s, { windowsPathsNoEscape = !1, magicalBraces = !0 } = {}) => magicalBraces ? windowsPathsNoEscape ? s.replace(/\[([^/\\])\]/g, "$1") : s.replace(/((?!\\).|^)\[([^/\\])\]/g, "$1$2").replace(/\\([^/])/g, "$1") : windowsPathsNoEscape ? s.replace(/\[([^/\\{}])\]/g, "$1") : s.replace(/((?!\\).|^)\[([^/\\{}])\]/g, "$1$2").replace(/\\([^/{}])/g, "$1");
6259
6270
  exports.unescape = unescape;
6260
6271
  }
6261
6272
  });
6262
6273
 
6263
- // ../../node_modules/.pnpm/minimatch@9.0.8/node_modules/minimatch/dist/commonjs/ast.js
6274
+ // ../../node_modules/.pnpm/minimatch@10.2.5/node_modules/minimatch/dist/commonjs/ast.js
6264
6275
  var require_ast = __commonJS({
6265
- "../../node_modules/.pnpm/minimatch@9.0.8/node_modules/minimatch/dist/commonjs/ast.js"(exports) {
6276
+ "../../node_modules/.pnpm/minimatch@10.2.5/node_modules/minimatch/dist/commonjs/ast.js"(exports) {
6266
6277
  "use strict";
6267
6278
  init_cjs_shims();
6268
6279
  var _a;
@@ -6286,10 +6297,31 @@ var require_ast = __commonJS({
6286
6297
  ["+", ["+", "@", "?", "*"]]
6287
6298
  ]), usurpMap = /* @__PURE__ */ new Map([
6288
6299
  ["!", /* @__PURE__ */ new Map([["!", "@"]])],
6289
- ["?", /* @__PURE__ */ new Map([["*", "*"], ["+", "*"]])],
6290
- ["@", /* @__PURE__ */ new Map([["!", "!"], ["?", "?"], ["@", "@"], ["*", "*"], ["+", "+"]])],
6291
- ["+", /* @__PURE__ */ new Map([["?", "*"], ["*", "*"]])]
6292
- ]), startNoTraversal = "(?!(?:^|/)\\.\\.?(?:$|/))", startNoDot = "(?!\\.)", addPatternStart = /* @__PURE__ */ new Set(["[", "."]), justDots = /* @__PURE__ */ new Set(["..", "."]), reSpecials = new Set("().*{}+?[]^$\\!"), regExpEscape = (s) => s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&"), qmark = "[^/]", star = qmark + "*?", starNoEmpty = qmark + "+?", AST = class {
6300
+ [
6301
+ "?",
6302
+ /* @__PURE__ */ new Map([
6303
+ ["*", "*"],
6304
+ ["+", "*"]
6305
+ ])
6306
+ ],
6307
+ [
6308
+ "@",
6309
+ /* @__PURE__ */ new Map([
6310
+ ["!", "!"],
6311
+ ["?", "?"],
6312
+ ["@", "@"],
6313
+ ["*", "*"],
6314
+ ["+", "+"]
6315
+ ])
6316
+ ],
6317
+ [
6318
+ "+",
6319
+ /* @__PURE__ */ new Map([
6320
+ ["?", "*"],
6321
+ ["*", "*"]
6322
+ ])
6323
+ ]
6324
+ ]), startNoTraversal = "(?!(?:^|/)\\.\\.?(?:$|/))", startNoDot = "(?!\\.)", addPatternStart = /* @__PURE__ */ new Set(["[", "."]), justDots = /* @__PURE__ */ new Set(["..", "."]), reSpecials = new Set("().*{}+?[]^$\\!"), regExpEscape = (s) => s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&"), qmark = "[^/]", star = qmark + "*?", starNoEmpty = qmark + "+?", ID = 0, AST = class {
6293
6325
  type;
6294
6326
  #root;
6295
6327
  #hasMagic;
@@ -6304,6 +6336,22 @@ var require_ast = __commonJS({
6304
6336
  // set to true if it's an extglob with no children
6305
6337
  // (which really means one child of '')
6306
6338
  #emptyExt = !1;
6339
+ id = ++ID;
6340
+ get depth() {
6341
+ return (this.#parent?.depth ?? -1) + 1;
6342
+ }
6343
+ [/* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom")]() {
6344
+ return {
6345
+ "@@type": "AST",
6346
+ id: this.id,
6347
+ type: this.type,
6348
+ root: this.#root.id,
6349
+ parent: this.#parent?.id,
6350
+ depth: this.depth,
6351
+ partsLength: this.#parts.length,
6352
+ parts: this.#parts
6353
+ };
6354
+ }
6307
6355
  constructor(type, parent, options = {}) {
6308
6356
  this.type = type, type && (this.#hasMagic = !0), this.#parent = parent, this.#root = this.#parent ? this.#parent.#root : this, this.#options = this.#root === this ? options : this.#root.#options, this.#negs = this.#root === this ? [] : this.#root.#negs, type === "!" && !this.#root.#filledNegs && this.#negs.push(this), this.#parentIndex = this.#parent ? this.#parent.#parts.length : 0;
6309
6357
  }
@@ -6429,7 +6477,7 @@ var require_ast = __commonJS({
6429
6477
  inBrace = !0, braceStart = i, braceNeg = !1, acc += c;
6430
6478
  continue;
6431
6479
  }
6432
- if (isExtglobType(c) && str.charAt(i) === "(" && /* c8 ignore start - the maxDepth is sufficient here */
6480
+ if (!opt.noext && isExtglobType(c) && str.charAt(i) === "(" && /* c8 ignore start - the maxDepth is sufficient here */
6433
6481
  (extDepth <= maxDepth || ast && ast.#canAdoptType(c))) {
6434
6482
  let depthAdd = ast && ast.#canAdoptType(c) ? 0 : 1;
6435
6483
  part.push(acc), acc = "";
@@ -6488,21 +6536,6 @@ var require_ast = __commonJS({
6488
6536
  typeof p == "object" && (p.#parent = this);
6489
6537
  this.type = nt, this.#toString = void 0, this.#emptyExt = !1;
6490
6538
  }
6491
- #flatten() {
6492
- if (isExtglobAST(this)) {
6493
- let iterations = 0, done = !1;
6494
- do {
6495
- done = !0;
6496
- for (let i = 0; i < this.#parts.length; i++) {
6497
- let c = this.#parts[i];
6498
- typeof c == "object" && (c.#flatten(), this.#canAdopt(c) ? (done = !1, this.#adopt(c, i)) : this.#canAdoptWithSpace(c) ? (done = !1, this.#adoptWithSpace(c, i)) : this.#canUsurp(c) && (done = !1, this.#usurp(c)));
6499
- }
6500
- } while (!done && ++iterations < 10);
6501
- } else
6502
- for (let p of this.#parts)
6503
- typeof p == "object" && p.#flatten();
6504
- this.#toString = void 0;
6505
- }
6506
6539
  static fromGlob(pattern, options = {}) {
6507
6540
  let ast = new _a(null, void 0, options);
6508
6541
  return _a.#parseAST(pattern, ast, 0, options, 0), ast;
@@ -6596,7 +6629,7 @@ var require_ast = __commonJS({
6596
6629
  toRegExpSource(allowDot) {
6597
6630
  let dot = allowDot ?? !!this.#options.dot;
6598
6631
  if (this.#root === this && (this.#flatten(), this.#fillNegs()), !isExtglobAST(this)) {
6599
- let noEmpty = this.isStart() && this.isEnd(), src = this.#parts.map((p) => {
6632
+ let noEmpty = this.isStart() && this.isEnd() && !this.#parts.some((s) => typeof s != "string"), src = this.#parts.map((p) => {
6600
6633
  let [re, _, hasMagic, uflag] = typeof p == "string" ? _a.#parseGlob(p, this.#hasMagic, noEmpty) : p.toRegExpSource(allowDot);
6601
6634
  return this.#hasMagic = this.#hasMagic || hasMagic, this.#uflag = this.#uflag || uflag, re;
6602
6635
  }).join(""), start2 = "";
@@ -6641,6 +6674,21 @@ var require_ast = __commonJS({
6641
6674
  this.#uflag
6642
6675
  ];
6643
6676
  }
6677
+ #flatten() {
6678
+ if (isExtglobAST(this)) {
6679
+ let iterations = 0, done = !1;
6680
+ do {
6681
+ done = !0;
6682
+ for (let i = 0; i < this.#parts.length; i++) {
6683
+ let c = this.#parts[i];
6684
+ typeof c == "object" && (c.#flatten(), this.#canAdopt(c) ? (done = !1, this.#adopt(c, i)) : this.#canAdoptWithSpace(c) ? (done = !1, this.#adoptWithSpace(c, i)) : this.#canUsurp(c) && (done = !1, this.#usurp(c)));
6685
+ }
6686
+ } while (!done && ++iterations < 10);
6687
+ } else
6688
+ for (let p of this.#parts)
6689
+ typeof p == "object" && p.#flatten();
6690
+ this.#toString = void 0;
6691
+ }
6644
6692
  #partsToRegExp(dot) {
6645
6693
  return this.#parts.map((p) => {
6646
6694
  if (typeof p == "string")
@@ -6654,9 +6702,16 @@ var require_ast = __commonJS({
6654
6702
  for (let i = 0; i < glob.length; i++) {
6655
6703
  let c = glob.charAt(i);
6656
6704
  if (escaping) {
6657
- escaping = !1, re += (reSpecials.has(c) ? "\\" : "") + c, inStar = !1;
6705
+ escaping = !1, re += (reSpecials.has(c) ? "\\" : "") + c;
6658
6706
  continue;
6659
6707
  }
6708
+ if (c === "*") {
6709
+ if (inStar)
6710
+ continue;
6711
+ inStar = !0, re += noEmpty && /^[*]+$/.test(glob) ? starNoEmpty : star, hasMagic = !0;
6712
+ continue;
6713
+ } else
6714
+ inStar = !1;
6660
6715
  if (c === "\\") {
6661
6716
  i === glob.length - 1 ? re += "\\\\" : escaping = !0;
6662
6717
  continue;
@@ -6664,17 +6719,10 @@ var require_ast = __commonJS({
6664
6719
  if (c === "[") {
6665
6720
  let [src, needUflag, consumed, magic] = (0, brace_expressions_js_1.parseClass)(glob, i);
6666
6721
  if (consumed) {
6667
- re += src, uflag = uflag || needUflag, i += consumed - 1, hasMagic = hasMagic || magic, inStar = !1;
6722
+ re += src, uflag = uflag || needUflag, i += consumed - 1, hasMagic = hasMagic || magic;
6668
6723
  continue;
6669
6724
  }
6670
6725
  }
6671
- if (c === "*") {
6672
- if (inStar)
6673
- continue;
6674
- inStar = !0, re += noEmpty && /^[*]+$/.test(glob) ? starNoEmpty : star, hasMagic = !0;
6675
- continue;
6676
- } else
6677
- inStar = !1;
6678
6726
  if (c === "?") {
6679
6727
  re += qmark, hasMagic = !0;
6680
6728
  continue;
@@ -6689,28 +6737,28 @@ var require_ast = __commonJS({
6689
6737
  }
6690
6738
  });
6691
6739
 
6692
- // ../../node_modules/.pnpm/minimatch@9.0.8/node_modules/minimatch/dist/commonjs/escape.js
6740
+ // ../../node_modules/.pnpm/minimatch@10.2.5/node_modules/minimatch/dist/commonjs/escape.js
6693
6741
  var require_escape = __commonJS({
6694
- "../../node_modules/.pnpm/minimatch@9.0.8/node_modules/minimatch/dist/commonjs/escape.js"(exports) {
6742
+ "../../node_modules/.pnpm/minimatch@10.2.5/node_modules/minimatch/dist/commonjs/escape.js"(exports) {
6695
6743
  "use strict";
6696
6744
  init_cjs_shims();
6697
6745
  Object.defineProperty(exports, "__esModule", { value: !0 });
6698
6746
  exports.escape = void 0;
6699
- var escape = (s, { windowsPathsNoEscape = !1 } = {}) => windowsPathsNoEscape ? s.replace(/[?*()[\]]/g, "[$&]") : s.replace(/[?*()[\]\\]/g, "\\$&");
6747
+ var escape = (s, { windowsPathsNoEscape = !1, magicalBraces = !1 } = {}) => magicalBraces ? windowsPathsNoEscape ? s.replace(/[?*()[\]{}]/g, "[$&]") : s.replace(/[?*()[\]\\{}]/g, "\\$&") : windowsPathsNoEscape ? s.replace(/[?*()[\]]/g, "[$&]") : s.replace(/[?*()[\]\\]/g, "\\$&");
6700
6748
  exports.escape = escape;
6701
6749
  }
6702
6750
  });
6703
6751
 
6704
- // ../../node_modules/.pnpm/minimatch@9.0.8/node_modules/minimatch/dist/commonjs/index.js
6752
+ // ../../node_modules/.pnpm/minimatch@10.2.5/node_modules/minimatch/dist/commonjs/index.js
6705
6753
  var require_commonjs3 = __commonJS({
6706
- "../../node_modules/.pnpm/minimatch@9.0.8/node_modules/minimatch/dist/commonjs/index.js"(exports) {
6754
+ "../../node_modules/.pnpm/minimatch@10.2.5/node_modules/minimatch/dist/commonjs/index.js"(exports) {
6707
6755
  "use strict";
6708
6756
  init_cjs_shims();
6709
6757
  Object.defineProperty(exports, "__esModule", { value: !0 });
6710
6758
  exports.unescape = exports.escape = exports.AST = exports.Minimatch = exports.match = exports.makeRe = exports.braceExpand = exports.defaults = exports.filter = exports.GLOBSTAR = exports.sep = exports.minimatch = void 0;
6711
6759
  var brace_expansion_1 = require_commonjs2(), assert_valid_pattern_js_1 = require_assert_valid_pattern(), ast_js_1 = require_ast(), escape_js_1 = require_escape(), unescape_js_1 = require_unescape(), minimatch = (p, pattern, options = {}) => ((0, assert_valid_pattern_js_1.assertValidPattern)(pattern), !options.nocomment && pattern.charAt(0) === "#" ? !1 : new Minimatch(pattern, options).match(p));
6712
6760
  exports.minimatch = minimatch;
6713
- var starDotExtRE = /^\*+([^+@!?\*\[\(]*)$/, starDotExtTest = (ext2) => (f) => !f.startsWith(".") && f.endsWith(ext2), starDotExtTestDot = (ext2) => (f) => f.endsWith(ext2), starDotExtTestNocase = (ext2) => (ext2 = ext2.toLowerCase(), (f) => !f.startsWith(".") && f.toLowerCase().endsWith(ext2)), starDotExtTestNocaseDot = (ext2) => (ext2 = ext2.toLowerCase(), (f) => f.toLowerCase().endsWith(ext2)), starDotStarRE = /^\*+\.\*+$/, starDotStarTest = (f) => !f.startsWith(".") && f.includes("."), starDotStarTestDot = (f) => f !== "." && f !== ".." && f.includes("."), dotStarRE = /^\.\*+$/, dotStarTest = (f) => f !== "." && f !== ".." && f.startsWith("."), starRE = /^\*+$/, starTest = (f) => f.length !== 0 && !f.startsWith("."), starTestDot = (f) => f.length !== 0 && f !== "." && f !== "..", qmarksRE = /^\?+([^+@!?\*\[\(]*)?$/, qmarksTestNocase = ([$0, ext2 = ""]) => {
6761
+ var starDotExtRE = /^\*+([^+@!?*[(]*)$/, starDotExtTest = (ext2) => (f) => !f.startsWith(".") && f.endsWith(ext2), starDotExtTestDot = (ext2) => (f) => f.endsWith(ext2), starDotExtTestNocase = (ext2) => (ext2 = ext2.toLowerCase(), (f) => !f.startsWith(".") && f.toLowerCase().endsWith(ext2)), starDotExtTestNocaseDot = (ext2) => (ext2 = ext2.toLowerCase(), (f) => f.toLowerCase().endsWith(ext2)), starDotStarRE = /^\*+\.\*+$/, starDotStarTest = (f) => !f.startsWith(".") && f.includes("."), starDotStarTestDot = (f) => f !== "." && f !== ".." && f.includes("."), dotStarRE = /^\.\*+$/, dotStarTest = (f) => f !== "." && f !== ".." && f.startsWith("."), starRE = /^\*+$/, starTest = (f) => f.length !== 0 && !f.startsWith("."), starTestDot = (f) => f.length !== 0 && f !== "." && f !== "..", qmarksRE = /^\?+([^+@!?*[(]*)?$/, qmarksTestNocase = ([$0, ext2 = ""]) => {
6714
6762
  let noext = qmarksTestNoExt([$0]);
6715
6763
  return ext2 ? (ext2 = ext2.toLowerCase(), (f) => noext(f) && f.toLowerCase().endsWith(ext2)) : noext;
6716
6764
  }, qmarksTestNocaseDot = ([$0, ext2 = ""]) => {
@@ -6775,7 +6823,7 @@ var require_commonjs3 = __commonJS({
6775
6823
  };
6776
6824
  exports.defaults = defaults;
6777
6825
  exports.minimatch.defaults = exports.defaults;
6778
- var braceExpand = (pattern, options = {}) => ((0, assert_valid_pattern_js_1.assertValidPattern)(pattern), options.nobrace || !/\{(?:(?!\{).)*\}/.test(pattern) ? [pattern] : (0, brace_expansion_1.expand)(pattern));
6826
+ var braceExpand = (pattern, options = {}) => ((0, assert_valid_pattern_js_1.assertValidPattern)(pattern), options.nobrace || !/\{(?:(?!\{).)*\}/.test(pattern) ? [pattern] : (0, brace_expansion_1.expand)(pattern, { max: options.braceExpandMax }));
6779
6827
  exports.braceExpand = braceExpand;
6780
6828
  exports.minimatch.braceExpand = exports.braceExpand;
6781
6829
  var makeRe = (pattern, options = {}) => new Minimatch(pattern, options).makeRe();
@@ -6807,7 +6855,9 @@ var require_commonjs3 = __commonJS({
6807
6855
  maxGlobstarRecursion;
6808
6856
  regexp;
6809
6857
  constructor(pattern, options = {}) {
6810
- (0, assert_valid_pattern_js_1.assertValidPattern)(pattern), options = options || {}, this.options = options, this.maxGlobstarRecursion = options.maxGlobstarRecursion ?? 200, this.pattern = pattern, this.platform = options.platform || defaultPlatform, this.isWindows = this.platform === "win32", this.windowsPathsNoEscape = !!options.windowsPathsNoEscape || options.allowWindowsEscape === !1, this.windowsPathsNoEscape && (this.pattern = this.pattern.replace(/\\/g, "/")), this.preserveMultipleSlashes = !!options.preserveMultipleSlashes, this.regexp = null, this.negate = !1, this.nonegate = !!options.nonegate, this.comment = !1, this.empty = !1, this.partial = !!options.partial, this.nocase = !!this.options.nocase, this.windowsNoMagicRoot = options.windowsNoMagicRoot !== void 0 ? options.windowsNoMagicRoot : !!(this.isWindows && this.nocase), this.globSet = [], this.globParts = [], this.set = [], this.make();
6858
+ (0, assert_valid_pattern_js_1.assertValidPattern)(pattern), options = options || {}, this.options = options, this.maxGlobstarRecursion = options.maxGlobstarRecursion ?? 200, this.pattern = pattern, this.platform = options.platform || defaultPlatform, this.isWindows = this.platform === "win32";
6859
+ let awe = "allowWindowsEscape";
6860
+ this.windowsPathsNoEscape = !!options.windowsPathsNoEscape || options[awe] === !1, this.windowsPathsNoEscape && (this.pattern = this.pattern.replace(/\\/g, "/")), this.preserveMultipleSlashes = !!options.preserveMultipleSlashes, this.regexp = null, this.negate = !1, this.nonegate = !!options.nonegate, this.comment = !1, this.empty = !1, this.partial = !!options.partial, this.nocase = !!this.options.nocase, this.windowsNoMagicRoot = options.windowsNoMagicRoot !== void 0 ? options.windowsNoMagicRoot : !!(this.isWindows && this.nocase), this.globSet = [], this.globParts = [], this.set = [], this.make();
6811
6861
  }
6812
6862
  hasMagic() {
6813
6863
  if (this.options.magicalBraces && this.set.length > 1)
@@ -6837,7 +6887,10 @@ var require_commonjs3 = __commonJS({
6837
6887
  if (this.isWindows && this.windowsNoMagicRoot) {
6838
6888
  let isUNC = s[0] === "" && s[1] === "" && (s[2] === "?" || !globMagic.test(s[2])) && !globMagic.test(s[3]), isDrive = /^[a-z]:/i.test(s[0]);
6839
6889
  if (isUNC)
6840
- return [...s.slice(0, 4), ...s.slice(4).map((ss) => this.parse(ss))];
6890
+ return [
6891
+ ...s.slice(0, 4),
6892
+ ...s.slice(4).map((ss) => this.parse(ss))
6893
+ ];
6841
6894
  if (isDrive)
6842
6895
  return [s[0], ...s.slice(1).map((ss) => this.parse(ss))];
6843
6896
  }
@@ -6857,9 +6910,9 @@ var require_commonjs3 = __commonJS({
6857
6910
  // of patterns that we have to process.
6858
6911
  preprocess(globParts) {
6859
6912
  if (this.options.noglobstar)
6860
- for (let i = 0; i < globParts.length; i++)
6861
- for (let j = 0; j < globParts[i].length; j++)
6862
- globParts[i][j] === "**" && (globParts[i][j] = "*");
6913
+ for (let partset of globParts)
6914
+ for (let j = 0; j < partset.length; j++)
6915
+ partset[j] === "**" && (partset[j] = "*");
6863
6916
  let { optimizationLevel = 1 } = this.options;
6864
6917
  return optimizationLevel >= 2 ? (globParts = this.firstPhasePreProcess(globParts), globParts = this.secondPhasePreProcess(globParts)) : optimizationLevel >= 1 ? globParts = this.levelOneOptimize(globParts) : globParts = this.adjascentGlobstarOptimize(globParts), globParts;
6865
6918
  }
@@ -6897,7 +6950,7 @@ var require_commonjs3 = __commonJS({
6897
6950
  let dd = 0;
6898
6951
  for (; (dd = parts.indexOf("..", dd + 1)) !== -1; ) {
6899
6952
  let p = parts[dd - 1];
6900
- p && p !== "." && p !== ".." && p !== "**" && (didSomething = !0, parts.splice(dd - 1, 2), dd -= 2);
6953
+ p && p !== "." && p !== ".." && p !== "**" && !(this.isWindows && /^[a-z]:$/i.test(p)) && (didSomething = !0, parts.splice(dd - 1, 2), dd -= 2);
6901
6954
  }
6902
6955
  } while (didSomething);
6903
6956
  return parts.length === 0 ? [""] : parts;
@@ -7039,7 +7092,7 @@ var require_commonjs3 = __commonJS({
7039
7092
  let fileHead = file.slice(fileIndex, fileIndex + head.length);
7040
7093
  if (!this.#matchOne(fileHead, head, partial, 0, 0))
7041
7094
  return !1;
7042
- fileIndex += head.length;
7095
+ fileIndex += head.length, patternIndex += head.length;
7043
7096
  }
7044
7097
  let fileTailMatch = 0;
7045
7098
  if (tail.length) {
@@ -7071,6 +7124,8 @@ var require_commonjs3 = __commonJS({
7071
7124
  b[1] = fileLength - (nonGsPartsSums[i--] + b[0].length);
7072
7125
  return !!this.#matchGlobStarBodySections(file, bodySegments, fileIndex, 0, partial, 0, !!fileTailMatch);
7073
7126
  }
7127
+ // return false for "nope, not matching"
7128
+ // return null for "not matching, cannot keep trying"
7074
7129
  #matchGlobStarBodySections(file, bodySegments, fileIndex, bodyIndex, partial, globStarDepth, sawTail) {
7075
7130
  let bs = bodySegments[bodyIndex];
7076
7131
  if (!bs) {
@@ -7143,12 +7198,20 @@ var require_commonjs3 = __commonJS({
7143
7198
  flags.add(f);
7144
7199
  return typeof p == "string" ? regExpEscape(p) : p === exports.GLOBSTAR ? exports.GLOBSTAR : p._src;
7145
7200
  });
7146
- return pp.forEach((p, i) => {
7201
+ pp.forEach((p, i) => {
7147
7202
  let next = pp[i + 1], prev = pp[i - 1];
7148
- p !== exports.GLOBSTAR || prev === exports.GLOBSTAR || (prev === void 0 ? next !== void 0 && next !== exports.GLOBSTAR ? pp[i + 1] = "(?:\\/|" + twoStar + "\\/)?" + next : pp[i] = twoStar : next === void 0 ? pp[i - 1] = prev + "(?:\\/|" + twoStar + ")?" : next !== exports.GLOBSTAR && (pp[i - 1] = prev + "(?:\\/|\\/" + twoStar + "\\/)" + next, pp[i + 1] = exports.GLOBSTAR));
7149
- }), pp.filter((p) => p !== exports.GLOBSTAR).join("/");
7203
+ p !== exports.GLOBSTAR || prev === exports.GLOBSTAR || (prev === void 0 ? next !== void 0 && next !== exports.GLOBSTAR ? pp[i + 1] = "(?:\\/|" + twoStar + "\\/)?" + next : pp[i] = twoStar : next === void 0 ? pp[i - 1] = prev + "(?:\\/|\\/" + twoStar + ")?" : next !== exports.GLOBSTAR && (pp[i - 1] = prev + "(?:\\/|\\/" + twoStar + "\\/)" + next, pp[i + 1] = exports.GLOBSTAR));
7204
+ });
7205
+ let filtered = pp.filter((p) => p !== exports.GLOBSTAR);
7206
+ if (this.partial && filtered.length >= 1) {
7207
+ let prefixes = [];
7208
+ for (let i = 1; i <= filtered.length; i++)
7209
+ prefixes.push(filtered.slice(0, i).join("/"));
7210
+ return "(?:" + prefixes.join("|") + ")";
7211
+ }
7212
+ return filtered.join("/");
7150
7213
  }).join("|"), [open, close] = set.length > 1 ? ["(?:", ")"] : ["", ""];
7151
- re = "^" + open + re + close + "$", this.negate && (re = "^(?!" + re + ").+$");
7214
+ re = "^" + open + re + close + "$", this.partial && (re = "^(?:\\/|" + open + re.slice(1, -1) + close + ")$"), this.negate && (re = "^(?!" + re + ").+$");
7152
7215
  try {
7153
7216
  this.regexp = new RegExp(re, [...flags].join(""));
7154
7217
  } catch {
@@ -7157,7 +7220,7 @@ var require_commonjs3 = __commonJS({
7157
7220
  return this.regexp;
7158
7221
  }
7159
7222
  slashSplit(p) {
7160
- return this.preserveMultipleSlashes ? p.split("/") : this.isWindows && /^\/\/[^\/]+/.test(p) ? ["", ...p.split(/\/+/)] : p.split(/\/+/);
7223
+ return this.preserveMultipleSlashes ? p.split("/") : this.isWindows && /^\/\/[^/]+/.test(p) ? ["", ...p.split(/\/+/)] : p.split(/\/+/);
7161
7224
  }
7162
7225
  match(f, partial = this.partial) {
7163
7226
  if (this.debug("match", f, this.pattern), this.comment)
@@ -7176,8 +7239,8 @@ var require_commonjs3 = __commonJS({
7176
7239
  if (!filename)
7177
7240
  for (let i = ff.length - 2; !filename && i >= 0; i--)
7178
7241
  filename = ff[i];
7179
- for (let i = 0; i < set.length; i++) {
7180
- let pattern = set[i], file = ff;
7242
+ for (let pattern of set) {
7243
+ let file = ff;
7181
7244
  if (options.matchBase && pattern.length === 1 && (file = [filename]), this.matchOne(file, pattern, partial))
7182
7245
  return options.flipNegate ? !0 : !this.negate;
7183
7246
  }
@@ -7207,9 +7270,9 @@ var require_commonjs3 = __commonJS({
7207
7270
  }
7208
7271
  });
7209
7272
 
7210
- // ../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/constants.js
7273
+ // ../../node_modules/.pnpm/picomatch@4.0.4/node_modules/picomatch/lib/constants.js
7211
7274
  var require_constants = __commonJS({
7212
- "../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/constants.js"(exports, module) {
7275
+ "../../node_modules/.pnpm/picomatch@4.0.4/node_modules/picomatch/lib/constants.js"(exports, module) {
7213
7276
  "use strict";
7214
7277
  init_cjs_shims();
7215
7278
  var WIN_NO_SLASH = "[^\\\\/]", ONE_CHAR = "(?=.)", QMARK = "[^/]", END_ANCHOR = "(?:\\/|$)", START_ANCHOR = "(?:^|\\/)", DOTS_SLASH = `\\.{1,2}${END_ANCHOR}`, NO_DOT = "(?!\\.)", NO_DOTS = `(?!${START_ANCHOR}${DOTS_SLASH})`, NO_DOT_SLASH = `(?!\\.{0,1}${END_ANCHOR})`, NO_DOTS_SLASH = `(?!${DOTS_SLASH})`, QMARK_NO_DOT = "[^.\\/]", STAR = `${QMARK}*?`, SEP = "/", POSIX_CHARS = {
@@ -7244,6 +7307,7 @@ var require_constants = __commonJS({
7244
7307
  END_ANCHOR: "(?:[\\\\/]|$)",
7245
7308
  SEP: "\\"
7246
7309
  }, POSIX_REGEX_SOURCE = {
7310
+ __proto__: null,
7247
7311
  alnum: "a-zA-Z0-9",
7248
7312
  alpha: "a-zA-Z",
7249
7313
  ascii: "\\x00-\\x7F",
@@ -7260,6 +7324,7 @@ var require_constants = __commonJS({
7260
7324
  xdigit: "A-Fa-f0-9"
7261
7325
  };
7262
7326
  module.exports = {
7327
+ DEFAULT_MAX_EXTGLOB_RECURSION: 0,
7263
7328
  MAX_LENGTH: 1024 * 64,
7264
7329
  POSIX_REGEX_SOURCE,
7265
7330
  // regular expressions
@@ -7387,9 +7452,9 @@ var require_constants = __commonJS({
7387
7452
  }
7388
7453
  });
7389
7454
 
7390
- // ../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/utils.js
7455
+ // ../../node_modules/.pnpm/picomatch@4.0.4/node_modules/picomatch/lib/utils.js
7391
7456
  var require_utils2 = __commonJS({
7392
- "../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/utils.js"(exports) {
7457
+ "../../node_modules/.pnpm/picomatch@4.0.4/node_modules/picomatch/lib/utils.js"(exports) {
7393
7458
  "use strict";
7394
7459
  init_cjs_shims();
7395
7460
  var {
@@ -7430,9 +7495,9 @@ var require_utils2 = __commonJS({
7430
7495
  }
7431
7496
  });
7432
7497
 
7433
- // ../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/scan.js
7498
+ // ../../node_modules/.pnpm/picomatch@4.0.4/node_modules/picomatch/lib/scan.js
7434
7499
  var require_scan = __commonJS({
7435
- "../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/scan.js"(exports, module) {
7500
+ "../../node_modules/.pnpm/picomatch@4.0.4/node_modules/picomatch/lib/scan.js"(exports, module) {
7436
7501
  "use strict";
7437
7502
  init_cjs_shims();
7438
7503
  var utils = require_utils2(), {
@@ -7617,9 +7682,9 @@ var require_scan = __commonJS({
7617
7682
  }
7618
7683
  });
7619
7684
 
7620
- // ../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/parse.js
7685
+ // ../../node_modules/.pnpm/picomatch@4.0.4/node_modules/picomatch/lib/parse.js
7621
7686
  var require_parse = __commonJS({
7622
- "../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/parse.js"(exports, module) {
7687
+ "../../node_modules/.pnpm/picomatch@4.0.4/node_modules/picomatch/lib/parse.js"(exports, module) {
7623
7688
  "use strict";
7624
7689
  init_cjs_shims();
7625
7690
  var constants = require_constants(), utils = require_utils2(), {
@@ -7639,7 +7704,146 @@ var require_parse = __commonJS({
7639
7704
  return args.map((v) => utils.escapeRegex(v)).join("..");
7640
7705
  }
7641
7706
  return value;
7642
- }, syntaxError = (type, char) => `Missing ${type}: "${char}" - use "\\\\${char}" to match literal characters`, parse = (input, options) => {
7707
+ }, syntaxError = (type, char) => `Missing ${type}: "${char}" - use "\\\\${char}" to match literal characters`, splitTopLevel = (input) => {
7708
+ let parts = [], bracket = 0, paren = 0, quote = 0, value = "", escaped = !1;
7709
+ for (let ch of input) {
7710
+ if (escaped === !0) {
7711
+ value += ch, escaped = !1;
7712
+ continue;
7713
+ }
7714
+ if (ch === "\\") {
7715
+ value += ch, escaped = !0;
7716
+ continue;
7717
+ }
7718
+ if (ch === '"') {
7719
+ quote = quote === 1 ? 0 : 1, value += ch;
7720
+ continue;
7721
+ }
7722
+ if (quote === 0) {
7723
+ if (ch === "[")
7724
+ bracket++;
7725
+ else if (ch === "]" && bracket > 0)
7726
+ bracket--;
7727
+ else if (bracket === 0) {
7728
+ if (ch === "(")
7729
+ paren++;
7730
+ else if (ch === ")" && paren > 0)
7731
+ paren--;
7732
+ else if (ch === "|" && paren === 0) {
7733
+ parts.push(value), value = "";
7734
+ continue;
7735
+ }
7736
+ }
7737
+ }
7738
+ value += ch;
7739
+ }
7740
+ return parts.push(value), parts;
7741
+ }, isPlainBranch = (branch) => {
7742
+ let escaped = !1;
7743
+ for (let ch of branch) {
7744
+ if (escaped === !0) {
7745
+ escaped = !1;
7746
+ continue;
7747
+ }
7748
+ if (ch === "\\") {
7749
+ escaped = !0;
7750
+ continue;
7751
+ }
7752
+ if (/[?*+@!()[\]{}]/.test(ch))
7753
+ return !1;
7754
+ }
7755
+ return !0;
7756
+ }, normalizeSimpleBranch = (branch) => {
7757
+ let value = branch.trim(), changed = !0;
7758
+ for (; changed === !0; )
7759
+ changed = !1, /^@\([^\\()[\]{}|]+\)$/.test(value) && (value = value.slice(2, -1), changed = !0);
7760
+ if (isPlainBranch(value))
7761
+ return value.replace(/\\(.)/g, "$1");
7762
+ }, hasRepeatedCharPrefixOverlap = (branches) => {
7763
+ let values = branches.map(normalizeSimpleBranch).filter(Boolean);
7764
+ for (let i = 0; i < values.length; i++)
7765
+ for (let j = i + 1; j < values.length; j++) {
7766
+ let a = values[i], b = values[j], char = a[0];
7767
+ if (!(!char || a !== char.repeat(a.length) || b !== char.repeat(b.length)) && (a === b || a.startsWith(b) || b.startsWith(a)))
7768
+ return !0;
7769
+ }
7770
+ return !1;
7771
+ }, parseRepeatedExtglob = (pattern, requireEnd = !0) => {
7772
+ if (pattern[0] !== "+" && pattern[0] !== "*" || pattern[1] !== "(")
7773
+ return;
7774
+ let bracket = 0, paren = 0, quote = 0, escaped = !1;
7775
+ for (let i = 1; i < pattern.length; i++) {
7776
+ let ch = pattern[i];
7777
+ if (escaped === !0) {
7778
+ escaped = !1;
7779
+ continue;
7780
+ }
7781
+ if (ch === "\\") {
7782
+ escaped = !0;
7783
+ continue;
7784
+ }
7785
+ if (ch === '"') {
7786
+ quote = quote === 1 ? 0 : 1;
7787
+ continue;
7788
+ }
7789
+ if (quote !== 1) {
7790
+ if (ch === "[") {
7791
+ bracket++;
7792
+ continue;
7793
+ }
7794
+ if (ch === "]" && bracket > 0) {
7795
+ bracket--;
7796
+ continue;
7797
+ }
7798
+ if (!(bracket > 0)) {
7799
+ if (ch === "(") {
7800
+ paren++;
7801
+ continue;
7802
+ }
7803
+ if (ch === ")" && (paren--, paren === 0))
7804
+ return requireEnd === !0 && i !== pattern.length - 1 ? void 0 : {
7805
+ type: pattern[0],
7806
+ body: pattern.slice(2, i),
7807
+ end: i
7808
+ };
7809
+ }
7810
+ }
7811
+ }
7812
+ }, getStarExtglobSequenceOutput = (pattern) => {
7813
+ let index = 0, chars = [];
7814
+ for (; index < pattern.length; ) {
7815
+ let match = parseRepeatedExtglob(pattern.slice(index), !1);
7816
+ if (!match || match.type !== "*")
7817
+ return;
7818
+ let branches = splitTopLevel(match.body).map((branch2) => branch2.trim());
7819
+ if (branches.length !== 1)
7820
+ return;
7821
+ let branch = normalizeSimpleBranch(branches[0]);
7822
+ if (!branch || branch.length !== 1)
7823
+ return;
7824
+ chars.push(branch), index += match.end + 1;
7825
+ }
7826
+ return chars.length < 1 ? void 0 : `${chars.length === 1 ? utils.escapeRegex(chars[0]) : `[${chars.map((ch) => utils.escapeRegex(ch)).join("")}]`}*`;
7827
+ }, repeatedExtglobRecursion = (pattern) => {
7828
+ let depth = 0, value = pattern.trim(), match = parseRepeatedExtglob(value);
7829
+ for (; match; )
7830
+ depth++, value = match.body.trim(), match = parseRepeatedExtglob(value);
7831
+ return depth;
7832
+ }, analyzeRepeatedExtglob = (body, options) => {
7833
+ if (options.maxExtglobRecursion === !1)
7834
+ return { risky: !1 };
7835
+ let max = typeof options.maxExtglobRecursion == "number" ? options.maxExtglobRecursion : constants.DEFAULT_MAX_EXTGLOB_RECURSION, branches = splitTopLevel(body).map((branch) => branch.trim());
7836
+ if (branches.length > 1 && (branches.some((branch) => branch === "") || branches.some((branch) => /^[*?]+$/.test(branch)) || hasRepeatedCharPrefixOverlap(branches)))
7837
+ return { risky: !0 };
7838
+ for (let branch of branches) {
7839
+ let safeOutput = getStarExtglobSequenceOutput(branch);
7840
+ if (safeOutput)
7841
+ return { risky: !0, safeOutput };
7842
+ if (repeatedExtglobRecursion(branch) > max)
7843
+ return { risky: !0 };
7844
+ }
7845
+ return { risky: !1 };
7846
+ }, parse = (input, options) => {
7643
7847
  if (typeof input != "string")
7644
7848
  throw new TypeError("Expected a string");
7645
7849
  input = REPLACEMENTS[input] || input;
@@ -7704,10 +7908,19 @@ var require_parse = __commonJS({
7704
7908
  tok.prev = prev, tokens.push(tok), prev = tok;
7705
7909
  }, extglobOpen = (type, value2) => {
7706
7910
  let token = { ...EXTGLOB_CHARS[value2], conditions: 1, inner: "" };
7707
- token.prev = prev, token.parens = state.parens, token.output = state.output;
7911
+ token.prev = prev, token.parens = state.parens, token.output = state.output, token.startIndex = state.index, token.tokensIndex = tokens.length;
7708
7912
  let output = (opts.capture ? "(" : "") + token.open;
7709
7913
  increment("parens"), push({ type, value: value2, output: state.output ? "" : ONE_CHAR }), push({ type: "paren", extglob: !0, value: advance(), output }), extglobs.push(token);
7710
7914
  }, extglobClose = (token) => {
7915
+ let literal = input.slice(token.startIndex, state.index + 1), body = input.slice(token.startIndex + 2, state.index), analysis = analyzeRepeatedExtglob(body, opts);
7916
+ if ((token.type === "plus" || token.type === "star") && analysis.risky) {
7917
+ let safeOutput = analysis.safeOutput ? (token.output ? "" : ONE_CHAR) + (opts.capture ? `(${analysis.safeOutput})` : analysis.safeOutput) : void 0, open = tokens[token.tokensIndex];
7918
+ open.type = "text", open.value = literal, open.output = safeOutput || utils.escapeRegex(literal);
7919
+ for (let i = token.tokensIndex + 1; i < tokens.length; i++)
7920
+ tokens[i].value = "", tokens[i].output = "", delete tokens[i].suffix;
7921
+ state.output = token.output + open.output, state.backtrack = !0, push({ type: "paren", extglob: !0, value, output: "" }), decrement("parens");
7922
+ return;
7923
+ }
7711
7924
  let output = token.close + (opts.capture ? ")" : ""), rest;
7712
7925
  if (token.type === "negate") {
7713
7926
  let extglobStar = star;
@@ -8061,9 +8274,9 @@ var require_parse = __commonJS({
8061
8274
  }
8062
8275
  });
8063
8276
 
8064
- // ../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/picomatch.js
8277
+ // ../../node_modules/.pnpm/picomatch@4.0.4/node_modules/picomatch/lib/picomatch.js
8065
8278
  var require_picomatch = __commonJS({
8066
- "../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/picomatch.js"(exports, module) {
8279
+ "../../node_modules/.pnpm/picomatch@4.0.4/node_modules/picomatch/lib/picomatch.js"(exports, module) {
8067
8280
  "use strict";
8068
8281
  init_cjs_shims();
8069
8282
  var scan = require_scan(), parse = require_parse(), utils = require_utils2(), constants = require_constants(), isObject = (val) => val && typeof val == "object" && !Array.isArray(val), picomatch = (glob, options, returnState = !1) => {
@@ -8133,9 +8346,9 @@ var require_picomatch = __commonJS({
8133
8346
  }
8134
8347
  });
8135
8348
 
8136
- // ../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/index.js
8349
+ // ../../node_modules/.pnpm/picomatch@4.0.4/node_modules/picomatch/index.js
8137
8350
  var require_picomatch2 = __commonJS({
8138
- "../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/index.js"(exports, module) {
8351
+ "../../node_modules/.pnpm/picomatch@4.0.4/node_modules/picomatch/index.js"(exports, module) {
8139
8352
  "use strict";
8140
8353
  init_cjs_shims();
8141
8354
  var pico = require_picomatch(), utils = require_utils2();
@@ -8147,9 +8360,9 @@ var require_picomatch2 = __commonJS({
8147
8360
  }
8148
8361
  });
8149
8362
 
8150
- // ../../node_modules/.pnpm/fdir@6.5.0_picomatch@4.0.3/node_modules/fdir/dist/index.cjs
8363
+ // ../../node_modules/.pnpm/fdir@6.5.0_picomatch@4.0.4/node_modules/fdir/dist/index.cjs
8151
8364
  var require_dist = __commonJS({
8152
- "../../node_modules/.pnpm/fdir@6.5.0_picomatch@4.0.3/node_modules/fdir/dist/index.cjs"(exports) {
8365
+ "../../node_modules/.pnpm/fdir@6.5.0_picomatch@4.0.4/node_modules/fdir/dist/index.cjs"(exports) {
8153
8366
  init_cjs_shims();
8154
8367
  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) => {
8155
8368
  if (from && typeof from == "object" || typeof from == "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++)
@@ -8540,10 +8753,11 @@ var require_dist = __commonJS({
8540
8753
  }
8541
8754
  });
8542
8755
 
8543
- // ../../node_modules/.pnpm/tinyglobby@0.2.15/node_modules/tinyglobby/dist/index.cjs
8756
+ // ../../node_modules/.pnpm/tinyglobby@0.2.16/node_modules/tinyglobby/dist/index.cjs
8544
8757
  var require_dist2 = __commonJS({
8545
- "../../node_modules/.pnpm/tinyglobby@0.2.15/node_modules/tinyglobby/dist/index.cjs"(exports) {
8758
+ "../../node_modules/.pnpm/tinyglobby@0.2.16/node_modules/tinyglobby/dist/index.cjs"(exports) {
8546
8759
  init_cjs_shims();
8760
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
8547
8761
  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) => {
8548
8762
  if (from && typeof from == "object" || typeof from == "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++)
8549
8763
  key = keys[i], !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
@@ -8554,36 +8768,28 @@ var require_dist2 = __commonJS({
8554
8768
  }, __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
8555
8769
  value: mod,
8556
8770
  enumerable: !0
8557
- }) : target, mod)), fs = __require("fs");
8558
- fs = __toESM(fs);
8559
- var path = __require("path");
8560
- path = __toESM(path);
8561
- var url = __require("url");
8562
- url = __toESM(url);
8563
- var fdir = require_dist();
8564
- fdir = __toESM(fdir);
8565
- var picomatch = require_picomatch2();
8771
+ }) : target, mod)), fs = __require("fs"), path = __require("path"), url = __require("url"), fdir = require_dist(), picomatch = require_picomatch2();
8566
8772
  picomatch = __toESM(picomatch);
8567
- var isReadonlyArray = Array.isArray, isWin = process.platform === "win32", ONLY_PARENT_DIRECTORIES = /^(\/?\.\.)+$/;
8773
+ var isReadonlyArray = Array.isArray, BACKSLASHES = /\\/g, isWin = process.platform === "win32", ONLY_PARENT_DIRECTORIES = /^(\/?\.\.)+$/;
8568
8774
  function getPartialMatcher(patterns, options = {}) {
8569
- let patternsCount = patterns.length, patternsParts = Array(patternsCount), matchers = Array(patternsCount), globstarEnabled = !options.noglobstar;
8570
- for (let i = 0; i < patternsCount; i++) {
8775
+ let patternsCount = patterns.length, patternsParts = Array(patternsCount), matchers = Array(patternsCount), i, j;
8776
+ for (i = 0; i < patternsCount; i++) {
8571
8777
  let parts = splitPattern(patterns[i]);
8572
8778
  patternsParts[i] = parts;
8573
8779
  let partsCount = parts.length, partMatchers = Array(partsCount);
8574
- for (let j = 0; j < partsCount; j++) partMatchers[j] = (0, picomatch.default)(parts[j], options);
8780
+ for (j = 0; j < partsCount; j++) partMatchers[j] = (0, picomatch.default)(parts[j], options);
8575
8781
  matchers[i] = partMatchers;
8576
8782
  }
8577
8783
  return (input) => {
8578
8784
  let inputParts = input.split("/");
8579
8785
  if (inputParts[0] === ".." && ONLY_PARENT_DIRECTORIES.test(input)) return !0;
8580
- for (let i = 0; i < patterns.length; i++) {
8581
- let patternParts = patternsParts[i], matcher = matchers[i], inputPatternCount = inputParts.length, minParts = Math.min(inputPatternCount, patternParts.length), j = 0;
8582
- for (; j < minParts; ) {
8786
+ for (i = 0; i < patternsCount; i++) {
8787
+ let patternParts = patternsParts[i], matcher = matchers[i], inputPatternCount = inputParts.length, minParts = Math.min(inputPatternCount, patternParts.length);
8788
+ for (j = 0; j < minParts; ) {
8583
8789
  let part = patternParts[j];
8584
8790
  if (part.includes("/")) return !0;
8585
8791
  if (!matcher[j](inputParts[j])) break;
8586
- if (globstarEnabled && part === "**") return !0;
8792
+ if (!options.noglobstar && part === "**") return !0;
8587
8793
  j++;
8588
8794
  }
8589
8795
  if (j === inputPatternCount) return !0;
@@ -8595,7 +8801,7 @@ var require_dist2 = __commonJS({
8595
8801
  function buildFormat(cwd, root, absolute) {
8596
8802
  if (cwd === root || root.startsWith(`${cwd}/`)) {
8597
8803
  if (absolute) {
8598
- let start = isRoot(cwd) ? cwd.length : cwd.length + 1;
8804
+ let start = cwd.length + +!isRoot(cwd);
8599
8805
  return (p, isDir) => p.slice(start, isDir ? -1 : void 0) || ".";
8600
8806
  }
8601
8807
  let prefix = root.slice(cwd.length + 1);
@@ -8614,23 +8820,23 @@ var require_dist2 = __commonJS({
8614
8820
  }
8615
8821
  return (p) => {
8616
8822
  let result = path.posix.relative(cwd, `${root}/${p}`);
8617
- return p.endsWith("/") && result !== "" ? `${result}/` : result || ".";
8823
+ return p[p.length - 1] === "/" && result !== "" ? `${result}/` : result || ".";
8618
8824
  };
8619
8825
  }
8620
8826
  var splitPatternOptions = { parts: !0 };
8621
- function splitPattern(path$2) {
8827
+ function splitPattern(path$1) {
8622
8828
  var _result$parts;
8623
- let result = picomatch.default.scan(path$2, splitPatternOptions);
8624
- return !((_result$parts = result.parts) === null || _result$parts === void 0) && _result$parts.length ? result.parts : [path$2];
8829
+ let result = picomatch.default.scan(path$1, splitPatternOptions);
8830
+ return !((_result$parts = result.parts) === null || _result$parts === void 0) && _result$parts.length ? result.parts : [path$1];
8625
8831
  }
8626
8832
  var ESCAPED_WIN32_BACKSLASHES = /\\(?![()[\]{}!+@])/g;
8627
8833
  function convertPosixPathToPattern(path$2) {
8628
8834
  return escapePosixPath(path$2);
8629
8835
  }
8630
- function convertWin32PathToPattern(path$2) {
8631
- return escapeWin32Path(path$2).replace(ESCAPED_WIN32_BACKSLASHES, "/");
8836
+ function convertWin32PathToPattern(path$3) {
8837
+ return escapeWin32Path(path$3).replace(ESCAPED_WIN32_BACKSLASHES, "/");
8632
8838
  }
8633
- var convertPathToPattern = isWin ? convertWin32PathToPattern : convertPosixPathToPattern, POSIX_UNESCAPED_GLOB_SYMBOLS = /(?<!\\)([()[\]{}*?|]|^!|[!+@](?=\()|\\(?![()[\]{}!*+?@|]))/g, WIN32_UNESCAPED_GLOB_SYMBOLS = /(?<!\\)([()[\]{}]|^!|[!+@](?=\())/g, escapePosixPath = (path$2) => path$2.replace(POSIX_UNESCAPED_GLOB_SYMBOLS, "\\$&"), escapeWin32Path = (path$2) => path$2.replace(WIN32_UNESCAPED_GLOB_SYMBOLS, "\\$&"), escapePath = isWin ? escapeWin32Path : escapePosixPath;
8839
+ var convertPathToPattern = isWin ? convertWin32PathToPattern : convertPosixPathToPattern, POSIX_UNESCAPED_GLOB_SYMBOLS = /(?<!\\)([()[\]{}*?|]|^!|[!+@](?=\()|\\(?![()[\]{}!*+?@|]))/g, WIN32_UNESCAPED_GLOB_SYMBOLS = /(?<!\\)([()[\]{}]|^!|[!+@](?=\())/g, escapePosixPath = (path$4) => path$4.replace(POSIX_UNESCAPED_GLOB_SYMBOLS, "\\$&"), escapeWin32Path = (path$5) => path$5.replace(WIN32_UNESCAPED_GLOB_SYMBOLS, "\\$&"), escapePath = isWin ? escapeWin32Path : escapePosixPath;
8634
8840
  function isDynamicPattern(pattern, options) {
8635
8841
  if (options?.caseSensitiveMatch === !1) return !0;
8636
8842
  let scan = picomatch.default.scan(pattern);
@@ -8639,19 +8845,23 @@ var require_dist2 = __commonJS({
8639
8845
  function log(...tasks) {
8640
8846
  console.log(`[tinyglobby ${(/* @__PURE__ */ new Date()).toLocaleTimeString("es")}]`, ...tasks);
8641
8847
  }
8642
- var PARENT_DIRECTORY = /^(\/?\.\.)+/, ESCAPING_BACKSLASHES = /\\(?=[()[\]{}!*+?@|])/g, BACKSLASHES = /\\/g;
8643
- function normalizePattern(pattern, expandDirectories, cwd, props, isIgnore) {
8644
- let result = pattern;
8645
- pattern.endsWith("/") && (result = pattern.slice(0, -1)), !result.endsWith("*") && expandDirectories && (result += "/**");
8848
+ function ensureStringArray(value) {
8849
+ return typeof value == "string" ? [value] : value ?? [];
8850
+ }
8851
+ var PARENT_DIRECTORY = /^(\/?\.\.)+/, ESCAPING_BACKSLASHES = /\\(?=[()[\]{}!*+?@|])/g;
8852
+ function normalizePattern(pattern, opts, props, isIgnore) {
8853
+ var _PARENT_DIRECTORY$exe;
8854
+ let cwd = opts.cwd, result = pattern;
8855
+ pattern[pattern.length - 1] === "/" && (result = pattern.slice(0, -1)), result[result.length - 1] !== "*" && opts.expandDirectories && (result += "/**");
8646
8856
  let escapedCwd = escapePath(cwd);
8647
- path.default.isAbsolute(result.replace(ESCAPING_BACKSLASHES, "")) ? result = path.posix.relative(escapedCwd, result) : result = path.posix.normalize(result);
8648
- let parentDirectoryMatch = PARENT_DIRECTORY.exec(result), parts = splitPattern(result);
8649
- if (parentDirectoryMatch?.[0]) {
8650
- let n = (parentDirectoryMatch[0].length + 1) / 3, i = 0, cwdParts = escapedCwd.split("/");
8857
+ result = (0, path.isAbsolute)(result.replace(ESCAPING_BACKSLASHES, "")) ? path.posix.relative(escapedCwd, result) : path.posix.normalize(result);
8858
+ let parentDir = (_PARENT_DIRECTORY$exe = PARENT_DIRECTORY.exec(result)) === null || _PARENT_DIRECTORY$exe === void 0 ? void 0 : _PARENT_DIRECTORY$exe[0], parts = splitPattern(result);
8859
+ if (parentDir) {
8860
+ let n = (parentDir.length + 1) / 3, i = 0, cwdParts = escapedCwd.split("/");
8651
8861
  for (; i < n && parts[i + n] === cwdParts[cwdParts.length + i - n]; )
8652
8862
  result = result.slice(0, (n - i - 1) * 3) + result.slice((n - i) * 3 + parts[i + n].length + 1) || ".", i++;
8653
- let potentialRoot = path.posix.join(cwd, parentDirectoryMatch[0].slice(i * 3));
8654
- !potentialRoot.startsWith(".") && props.root.length > potentialRoot.length && (props.root = potentialRoot, props.depthOffset = -n + i);
8863
+ let potentialRoot = path.posix.join(cwd, parentDir.slice(i * 3));
8864
+ potentialRoot[0] !== "." && props.root.length > potentialRoot.length && (props.root = potentialRoot, props.depthOffset = -n + i);
8655
8865
  }
8656
8866
  if (!isIgnore && props.depthOffset >= 0) {
8657
8867
  var _props$commonPath;
@@ -8663,107 +8873,110 @@ var require_dist2 = __commonJS({
8663
8873
  newCommonPath.pop();
8664
8874
  break;
8665
8875
  }
8666
- if (part !== props.commonPath[i] || isDynamicPattern(part) || i === parts.length - 1) break;
8876
+ if (i === parts.length - 1 || part !== props.commonPath[i] || isDynamicPattern(part)) break;
8667
8877
  newCommonPath.push(part);
8668
8878
  }
8669
8879
  props.depthOffset = newCommonPath.length, props.commonPath = newCommonPath, props.root = newCommonPath.length > 0 ? path.posix.join(cwd, ...newCommonPath) : cwd;
8670
8880
  }
8671
8881
  return result;
8672
8882
  }
8673
- function processPatterns({ patterns = ["**/*"], ignore = [], expandDirectories = !0 }, cwd, props) {
8674
- typeof patterns == "string" && (patterns = [patterns]), typeof ignore == "string" && (ignore = [ignore]);
8883
+ function processPatterns(options, patterns, props) {
8675
8884
  let matchPatterns = [], ignorePatterns = [];
8676
- for (let pattern of ignore)
8677
- pattern && (pattern[0] !== "!" || pattern[1] === "(") && ignorePatterns.push(normalizePattern(pattern, expandDirectories, cwd, props, !0));
8885
+ for (let pattern of options.ignore)
8886
+ pattern && (pattern[0] !== "!" || pattern[1] === "(") && ignorePatterns.push(normalizePattern(pattern, options, props, !0));
8678
8887
  for (let pattern of patterns)
8679
- pattern && (pattern[0] !== "!" || pattern[1] === "(" ? matchPatterns.push(normalizePattern(pattern, expandDirectories, cwd, props, !1)) : (pattern[1] !== "!" || pattern[2] === "(") && ignorePatterns.push(normalizePattern(pattern.slice(1), expandDirectories, cwd, props, !0)));
8888
+ pattern && (pattern[0] !== "!" || pattern[1] === "(" ? matchPatterns.push(normalizePattern(pattern, options, props, !1)) : (pattern[1] !== "!" || pattern[2] === "(") && ignorePatterns.push(normalizePattern(pattern.slice(1), options, props, !0)));
8680
8889
  return {
8681
8890
  match: matchPatterns,
8682
8891
  ignore: ignorePatterns
8683
8892
  };
8684
8893
  }
8685
- function formatPaths(paths, relative) {
8686
- for (let i = paths.length - 1; i >= 0; i--) {
8687
- let path$2 = paths[i];
8688
- paths[i] = relative(path$2);
8689
- }
8690
- return paths;
8691
- }
8692
- function normalizeCwd(cwd) {
8693
- return cwd ? cwd instanceof URL ? (0, url.fileURLToPath)(cwd).replace(BACKSLASHES, "/") : path.default.resolve(cwd).replace(BACKSLASHES, "/") : process.cwd().replace(BACKSLASHES, "/");
8694
- }
8695
- function getCrawler(patterns, inputOptions = {}) {
8696
- let options = process.env.TINYGLOBBY_DEBUG ? {
8697
- ...inputOptions,
8698
- debug: !0
8699
- } : inputOptions, cwd = normalizeCwd(options.cwd);
8700
- if (options.debug && log("globbing with:", {
8701
- patterns,
8702
- options,
8703
- cwd
8704
- }), Array.isArray(patterns) && patterns.length === 0) return [{
8705
- sync: () => [],
8706
- withPromise: async () => []
8707
- }, !1];
8708
- let props = {
8894
+ function buildCrawler(options, patterns) {
8895
+ let cwd = options.cwd, props = {
8709
8896
  root: cwd,
8710
- commonPath: null,
8711
8897
  depthOffset: 0
8712
- }, processed = processPatterns({
8713
- ...options,
8714
- patterns
8715
- }, cwd, props);
8898
+ }, processed = processPatterns(options, patterns, props);
8716
8899
  options.debug && log("internal processing patterns:", processed);
8717
- let matchOptions = {
8718
- dot: options.dot,
8900
+ let { absolute, caseSensitiveMatch, debug, dot, followSymbolicLinks, onlyDirectories } = options, root = props.root.replace(BACKSLASHES, ""), matchOptions = {
8901
+ dot,
8719
8902
  nobrace: options.braceExpansion === !1,
8720
- nocase: options.caseSensitiveMatch === !1,
8903
+ nocase: !caseSensitiveMatch,
8721
8904
  noextglob: options.extglob === !1,
8722
8905
  noglobstar: options.globstar === !1,
8723
8906
  posix: !0
8724
- }, matcher = (0, picomatch.default)(processed.match, {
8725
- ...matchOptions,
8726
- ignore: processed.ignore
8727
- }), 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 = {
8728
- filters: [options.debug ? (p, isDirectory) => {
8729
- let path$2 = format(p, isDirectory), matches = matcher(path$2);
8730
- return matches && log(`matched ${path$2}`), matches;
8731
- } : (p, isDirectory) => matcher(format(p, isDirectory))],
8732
- exclude: options.debug ? (_, p) => {
8733
- let relativePath = formatExclude(p, !0), skipped = relativePath !== "." && !partialMatcher(relativePath) || ignore(relativePath);
8734
- return log(skipped ? `skipped ${p}` : `crawling ${p}`), skipped;
8735
- } : (_, p) => {
8736
- let relativePath = formatExclude(p, !0);
8737
- return relativePath !== "." && !partialMatcher(relativePath) || ignore(relativePath);
8738
- },
8739
- fs: options.fs ? {
8740
- readdir: options.fs.readdir || fs.default.readdir,
8741
- readdirSync: options.fs.readdirSync || fs.default.readdirSync,
8742
- realpath: options.fs.realpath || fs.default.realpath,
8743
- realpathSync: options.fs.realpathSync || fs.default.realpathSync,
8744
- stat: options.fs.stat || fs.default.stat,
8745
- statSync: options.fs.statSync || fs.default.statSync
8746
- } : void 0,
8907
+ }, matcher = (0, picomatch.default)(processed.match, matchOptions), ignore = (0, picomatch.default)(processed.ignore, matchOptions), partialMatcher = getPartialMatcher(processed.match, matchOptions), format = buildFormat(cwd, root, absolute), excludeFormatter = absolute ? format : buildFormat(cwd, root, !0), excludePredicate = (_, p) => {
8908
+ let relativePath = excludeFormatter(p, !0);
8909
+ return relativePath !== "." && !partialMatcher(relativePath) || ignore(relativePath);
8910
+ }, maxDepth;
8911
+ options.deep !== void 0 && (maxDepth = Math.round(options.deep - props.depthOffset));
8912
+ let crawler = new fdir.fdir({
8913
+ filters: [debug ? (p, isDirectory) => {
8914
+ let path2 = format(p, isDirectory), matches = matcher(path2) && !ignore(path2);
8915
+ return matches && log(`matched ${path2}`), matches;
8916
+ } : (p, isDirectory) => {
8917
+ let path2 = format(p, isDirectory);
8918
+ return matcher(path2) && !ignore(path2);
8919
+ }],
8920
+ exclude: debug ? (_, p) => {
8921
+ let skipped = excludePredicate(_, p);
8922
+ return log(`${skipped ? "skipped" : "crawling"} ${p}`), skipped;
8923
+ } : excludePredicate,
8924
+ fs: options.fs,
8747
8925
  pathSeparator: "/",
8748
- relativePaths: !0,
8749
- resolveSymlinks: !0,
8926
+ relativePaths: !absolute,
8927
+ resolvePaths: absolute,
8928
+ includeBasePath: absolute,
8929
+ resolveSymlinks: followSymbolicLinks,
8930
+ excludeSymlinks: !followSymbolicLinks,
8931
+ excludeFiles: onlyDirectories,
8932
+ includeDirs: onlyDirectories || !options.onlyFiles,
8933
+ maxDepth,
8750
8934
  signal: options.signal
8935
+ }).crawl(root);
8936
+ return options.debug && log("internal properties:", {
8937
+ ...props,
8938
+ root
8939
+ }), [crawler, cwd !== root && !absolute && buildRelative(cwd, root)];
8940
+ }
8941
+ function formatPaths(paths, mapper) {
8942
+ if (mapper) for (let i = paths.length - 1; i >= 0; i--) paths[i] = mapper(paths[i]);
8943
+ return paths;
8944
+ }
8945
+ var defaultOptions = {
8946
+ caseSensitiveMatch: !0,
8947
+ cwd: process.cwd(),
8948
+ debug: !!process.env.TINYGLOBBY_DEBUG,
8949
+ expandDirectories: !0,
8950
+ followSymbolicLinks: !0,
8951
+ onlyFiles: !0
8952
+ };
8953
+ function getOptions(options) {
8954
+ let opts = {
8955
+ ...defaultOptions,
8956
+ ...options
8751
8957
  };
8752
- 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, "");
8753
- let root = props.root;
8754
- options.debug && log("internal properties:", props);
8755
- let relative = cwd !== root && !options.absolute && buildRelative(cwd, props.root);
8756
- return [new fdir.fdir(fdirOptions).crawl(root), relative];
8757
- }
8758
- async function glob(patternsOrOptions, options) {
8759
- if (patternsOrOptions && options?.patterns) throw new Error("Cannot pass patterns as both an argument and an option");
8760
- let isModern = isReadonlyArray(patternsOrOptions) || typeof patternsOrOptions == "string", opts = isModern ? options : patternsOrOptions, patterns = isModern ? patternsOrOptions : patternsOrOptions.patterns, [crawler, relative] = getCrawler(patterns, opts);
8761
- return relative ? formatPaths(await crawler.withPromise(), relative) : crawler.withPromise();
8762
- }
8763
- function globSync(patternsOrOptions, options) {
8764
- if (patternsOrOptions && options?.patterns) throw new Error("Cannot pass patterns as both an argument and an option");
8765
- let isModern = isReadonlyArray(patternsOrOptions) || typeof patternsOrOptions == "string", opts = isModern ? options : patternsOrOptions, patterns = isModern ? patternsOrOptions : patternsOrOptions.patterns, [crawler, relative] = getCrawler(patterns, opts);
8766
- return relative ? formatPaths(crawler.sync(), relative) : crawler.sync();
8958
+ return opts.cwd = (opts.cwd instanceof URL ? (0, url.fileURLToPath)(opts.cwd) : (0, path.resolve)(opts.cwd)).replace(BACKSLASHES, "/"), opts.ignore = ensureStringArray(opts.ignore), opts.fs && (opts.fs = {
8959
+ readdir: opts.fs.readdir || fs.readdir,
8960
+ readdirSync: opts.fs.readdirSync || fs.readdirSync,
8961
+ realpath: opts.fs.realpath || fs.realpath,
8962
+ realpathSync: opts.fs.realpathSync || fs.realpathSync,
8963
+ stat: opts.fs.stat || fs.stat,
8964
+ statSync: opts.fs.statSync || fs.statSync
8965
+ }), opts.debug && log("globbing with options:", opts), opts;
8966
+ }
8967
+ function getCrawler(globInput, inputOptions = {}) {
8968
+ var _ref;
8969
+ if (globInput && inputOptions?.patterns) throw new Error("Cannot pass patterns as both an argument and an option");
8970
+ let isModern = isReadonlyArray(globInput) || typeof globInput == "string", patterns = ensureStringArray((_ref = isModern ? globInput : globInput.patterns) !== null && _ref !== void 0 ? _ref : "**/*"), options = getOptions(isModern ? inputOptions : globInput);
8971
+ return patterns.length > 0 ? buildCrawler(options, patterns) : [];
8972
+ }
8973
+ async function glob(globInput, options) {
8974
+ let [crawler, relative] = getCrawler(globInput, options);
8975
+ return crawler ? formatPaths(await crawler.withPromise(), relative) : [];
8976
+ }
8977
+ function globSync(globInput, options) {
8978
+ let [crawler, relative] = getCrawler(globInput, options);
8979
+ return crawler ? formatPaths(crawler.sync(), relative) : [];
8767
8980
  }
8768
8981
  exports.convertPathToPattern = convertPathToPattern;
8769
8982
  exports.escapePath = escapePath;
@@ -8773,9 +8986,9 @@ var require_dist2 = __commonJS({
8773
8986
  }
8774
8987
  });
8775
8988
 
8776
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/flags.js
8989
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/flags.js
8777
8990
  var require_flags = __commonJS({
8778
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/flags.js"(exports) {
8991
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/flags.js"(exports) {
8779
8992
  "use strict";
8780
8993
  init_cjs_shims();
8781
8994
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -8864,9 +9077,9 @@ var require_flags = __commonJS({
8864
9077
  }
8865
9078
  });
8866
9079
 
8867
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/aggregate-flags.js
9080
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/util/aggregate-flags.js
8868
9081
  var require_aggregate_flags = __commonJS({
8869
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/aggregate-flags.js"(exports) {
9082
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/util/aggregate-flags.js"(exports) {
8870
9083
  "use strict";
8871
9084
  init_cjs_shims();
8872
9085
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -8882,9 +9095,9 @@ var require_aggregate_flags = __commonJS({
8882
9095
  }
8883
9096
  });
8884
9097
 
8885
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/cache-command.js
9098
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/util/cache-command.js
8886
9099
  var require_cache_command = __commonJS({
8887
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/cache-command.js"(exports) {
9100
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/util/cache-command.js"(exports) {
8888
9101
  "use strict";
8889
9102
  init_cjs_shims();
8890
9103
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -8901,6 +9114,7 @@ var require_cache_command = __commonJS({
8901
9114
  aliases: flag.aliases,
8902
9115
  char: flag.char,
8903
9116
  charAliases: flag.charAliases,
9117
+ combinable: flag.combinable,
8904
9118
  dependsOn: flag.dependsOn,
8905
9119
  deprecateAliases: flag.deprecateAliases,
8906
9120
  deprecated: flag.deprecated,
@@ -8986,9 +9200,9 @@ var require_cache_command = __commonJS({
8986
9200
  }
8987
9201
  });
8988
9202
 
8989
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/find-root.js
9203
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/util/find-root.js
8990
9204
  var require_find_root = __commonJS({
8991
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/find-root.js"(exports) {
9205
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/util/find-root.js"(exports) {
8992
9206
  "use strict";
8993
9207
  init_cjs_shims();
8994
9208
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -9391,9 +9605,9 @@ var require_src2 = __commonJS({
9391
9605
  }
9392
9606
  });
9393
9607
 
9394
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/read-pjson.js
9608
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/util/read-pjson.js
9395
9609
  var require_read_pjson = __commonJS({
9396
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/util/read-pjson.js"(exports) {
9610
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/util/read-pjson.js"(exports) {
9397
9611
  "use strict";
9398
9612
  init_cjs_shims();
9399
9613
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -9433,9 +9647,9 @@ var require_read_pjson = __commonJS({
9433
9647
  }
9434
9648
  });
9435
9649
 
9436
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/config/plugin.js
9650
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/config/plugin.js
9437
9651
  var require_plugin = __commonJS({
9438
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/config/plugin.js"(exports) {
9652
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/config/plugin.js"(exports) {
9439
9653
  "use strict";
9440
9654
  init_cjs_shims();
9441
9655
  var __importDefault = exports && exports.__importDefault || function(mod) {
@@ -9666,9 +9880,9 @@ This usually means you have an oclif.manifest.json file that should be deleted i
9666
9880
  }
9667
9881
  });
9668
9882
 
9669
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/config/plugin-loader.js
9883
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/config/plugin-loader.js
9670
9884
  var require_plugin_loader = __commonJS({
9671
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/config/plugin-loader.js"(exports) {
9885
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/config/plugin-loader.js"(exports) {
9672
9886
  "use strict";
9673
9887
  init_cjs_shims();
9674
9888
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -9791,9 +10005,9 @@ var require_plugin_loader = __commonJS({
9791
10005
  }
9792
10006
  });
9793
10007
 
9794
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/config/config.js
10008
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/config/config.js
9795
10009
  var require_config = __commonJS({
9796
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/config/config.js"(exports, module) {
10010
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/config/config.js"(exports, module) {
9797
10011
  "use strict";
9798
10012
  init_cjs_shims();
9799
10013
  var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
@@ -9942,7 +10156,7 @@ var require_config = __commonJS({
9942
10156
  }
9943
10157
  _shell() {
9944
10158
  let shellPath, { COMSPEC } = process.env, SHELL = process.env.SHELL ?? (0, node_os_1.userInfo)().shell?.split(node_path_1.sep)?.pop();
9945
- return SHELL ? shellPath = SHELL.split("/") : this.windows && process.title.toLowerCase().includes("powershell") ? shellPath = ["powershell"] : this.windows && process.title.toLowerCase().includes("command prompt") ? shellPath = ["cmd.exe"] : this.windows && COMSPEC ? shellPath = COMSPEC.split(/\\|\//) : shellPath = ["unknown"], shellPath.at(-1) ?? "unknown";
10159
+ return SHELL ? shellPath = SHELL.split("/") : this.windows && (process.title.toLowerCase().includes("powershell") || process.title.toLowerCase().includes("pwsh")) ? shellPath = ["powershell"] : this.windows && (process.title.toLowerCase().includes("command prompt") || process.title.toLowerCase().includes("cmd")) ? shellPath = ["cmd.exe"] : this.windows && COMSPEC ? shellPath = COMSPEC.split(/\\|\//) : shellPath = ["unknown"], shellPath.at(-1) ?? "unknown";
9946
10160
  }
9947
10161
  dir(category) {
9948
10162
  let base = process.env[`XDG_${category.toUpperCase()}_HOME`] || this.windows && process.env.LOCALAPPDATA || (0, node_path_1.join)(this.home, category === "data" ? ".local/share" : "." + category);
@@ -10333,9 +10547,9 @@ var require_config = __commonJS({
10333
10547
  }
10334
10548
  });
10335
10549
 
10336
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/config/index.js
10550
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/config/index.js
10337
10551
  var require_config2 = __commonJS({
10338
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/config/index.js"(exports) {
10552
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/config/index.js"(exports) {
10339
10553
  "use strict";
10340
10554
  init_cjs_shims();
10341
10555
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -10400,9 +10614,9 @@ var require_wordwrap = __commonJS({
10400
10614
  }
10401
10615
  });
10402
10616
 
10403
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/ux/list.js
10617
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/ux/list.js
10404
10618
  var require_list = __commonJS({
10405
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/ux/list.js"(exports) {
10619
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/ux/list.js"(exports) {
10406
10620
  "use strict";
10407
10621
  init_cjs_shims();
10408
10622
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -10426,9 +10640,9 @@ var require_list = __commonJS({
10426
10640
  }
10427
10641
  });
10428
10642
 
10429
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/parser/errors.js
10643
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/parser/errors.js
10430
10644
  var require_errors2 = __commonJS({
10431
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/parser/errors.js"(exports) {
10645
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/parser/errors.js"(exports) {
10432
10646
  "use strict";
10433
10647
  init_cjs_shims();
10434
10648
  var __importDefault = exports && exports.__importDefault || function(mod) {
@@ -10527,9 +10741,9 @@ Alternatively, you can use "--" to signify the end of the flags and the beginnin
10527
10741
  }
10528
10742
  });
10529
10743
 
10530
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/parser/parse.js
10744
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/parser/parse.js
10531
10745
  var require_parse2 = __commonJS({
10532
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/parser/parse.js"(exports) {
10746
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/parser/parse.js"(exports) {
10533
10747
  "use strict";
10534
10748
  init_cjs_shims();
10535
10749
  var __importDefault = exports && exports.__importDefault || function(mod) {
@@ -10571,7 +10785,7 @@ var require_parse2 = __commonJS({
10571
10785
  if (flag.options && !flag.options.includes(input))
10572
10786
  throw new errors_1.FlagInvalidOptionError(flag, input);
10573
10787
  return input;
10574
- }, Parser = class {
10788
+ }, NEGATION = "--no-", Parser = class {
10575
10789
  input;
10576
10790
  argv;
10577
10791
  booleanFlags;
@@ -10715,11 +10929,16 @@ See more help with --help`, cache_1.default.getInstance().get("exitCodes")?.fail
10715
10929
  }
10716
10930
  }, addValueFunction = (fws) => {
10717
10931
  if (fws.tokens?.length) {
10718
- if (fws.inputFlag.flag.type === "boolean" && (0, util_1.last)(fws.tokens)?.input)
10932
+ if (fws.inputFlag.flag.type === "boolean" && (0, util_1.last)(fws.tokens)?.input) {
10933
+ let doesNotContainNegation = (i) => {
10934
+ let possibleNegations = [i.inputFlag.name, ...i.inputFlag.flag.aliases ?? []].map((n) => `${NEGATION}${n}`), input = (0, util_1.last)(i.tokens)?.input;
10935
+ return input ? !possibleNegations.includes(input) : !0;
10936
+ };
10719
10937
  return {
10720
10938
  ...fws,
10721
- valueFunction: async (i) => parseFlagOrThrowError((0, util_1.last)(i.tokens)?.input !== `--no-${i.inputFlag.name}`, i.inputFlag.flag, this.context, (0, util_1.last)(i.tokens))
10939
+ valueFunction: async (i) => parseFlagOrThrowError(doesNotContainNegation(i), i.inputFlag.flag, this.context, (0, util_1.last)(i.tokens))
10722
10940
  };
10941
+ }
10723
10942
  if (fws.inputFlag.flag.type === "option" && fws.inputFlag.flag.delimiter && fws.inputFlag.flag.multiple) {
10724
10943
  let makeDelimiter = (delimiter) => new RegExp(`(?<!\\\\)${delimiter}`);
10725
10944
  return {
@@ -10808,10 +11027,13 @@ See more help with --help`, cache_1.default.getInstance().get("exitCodes")?.fail
10808
11027
  return name;
10809
11028
  if (this.flagAliases[name])
10810
11029
  return this.flagAliases[name].name;
10811
- if (arg.startsWith("--no-")) {
10812
- let flag = this.booleanFlags[arg.slice(5)];
11030
+ if (arg.startsWith(NEGATION)) {
11031
+ let flag = this.booleanFlags[arg.slice(NEGATION.length)];
10813
11032
  if (flag && flag.allowNo)
10814
11033
  return flag.name;
11034
+ let flagAlias = this.flagAliases[arg.slice(NEGATION.length)];
11035
+ if (flagAlias && flagAlias.type === "boolean" && flagAlias.allowNo)
11036
+ return flagAlias.name;
10815
11037
  }
10816
11038
  }
10817
11039
  findShortFlag([_, char]) {
@@ -10832,9 +11054,9 @@ See more help with --help`, cache_1.default.getInstance().get("exitCodes")?.fail
10832
11054
  }
10833
11055
  });
10834
11056
 
10835
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/parser/validate.js
11057
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/parser/validate.js
10836
11058
  var require_validate = __commonJS({
10837
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/parser/validate.js"(exports) {
11059
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/parser/validate.js"(exports) {
10838
11060
  "use strict";
10839
11061
  init_cjs_shims();
10840
11062
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -10881,6 +11103,7 @@ var require_validate = __commonJS({
10881
11103
  ...flag.relationships ? validateRelationships(name, flag) : [],
10882
11104
  ...flag.dependsOn ? [validateDependsOn(name, flag.dependsOn)] : [],
10883
11105
  ...flag.exclusive ? [validateExclusive(name, flag.exclusive)] : [],
11106
+ ...flag.combinable ? [validateCombinable(name, flag.combinable)] : [],
10884
11107
  ...flag.exactlyOne ? [validateExactlyOne(name, flag.exactlyOne)] : []
10885
11108
  ] : flag.required ? [{ name, reason: `Missing required flag ${name}`, status: "failed", validationFn: "required" }] : flag.exactlyOne && flag.exactlyOne.length > 0 ? [validateExactlyOneAcrossFlags(flag)] : flag.atLeastOne && flag.atLeastOne.length > 0 ? [validateAtLeastOneAcrossFlags(flag)] : []), failed = (await Promise.all(promises)).filter((r) => r.status === "failed");
10886
11109
  if (failed.length > 0)
@@ -10925,6 +11148,19 @@ var require_validate = __commonJS({
10925
11148
  }
10926
11149
  return { ...base, status: "success" };
10927
11150
  }
11151
+ async function validateCombinable(name, flags) {
11152
+ let base = { name, validationFn: "validateCombinable" }, combinableFlags = new Set(flags.map((flag) => typeof flag == "string" ? flag : flag.name)), resolved = await resolveFlags(flags);
11153
+ for (let flag of Object.keys(parse.output.flags))
11154
+ if (!(parse.output.metadata.flags && parse.output.metadata.flags[flag]?.setFromDefault) && !(parse.output.metadata.flags && parse.output.metadata.flags[name]?.setFromDefault) && flag !== name && parse.output.flags[flag] !== void 0 && !combinableFlags.has(flag)) {
11155
+ let formattedFlags = Object.keys(resolved).map((f) => `--${f}`).join(", ");
11156
+ return {
11157
+ ...base,
11158
+ reason: `Only the following can be provided when using --${name}: ${formattedFlags}`,
11159
+ status: "failed"
11160
+ };
11161
+ }
11162
+ return { ...base, status: "success" };
11163
+ }
10928
11164
  async function validateExactlyOne(name, flags) {
10929
11165
  let base = { name, validationFn: "validateExactlyOne" }, resolved = await resolveFlags(flags), keys = getPresentFlags(resolved);
10930
11166
  for (let flag of keys)
@@ -10963,6 +11199,8 @@ var require_validate = __commonJS({
10963
11199
  return validateDependsOn(name, relationship.flags);
10964
11200
  case "none":
10965
11201
  return validateExclusive(name, relationship.flags);
11202
+ case "only":
11203
+ return validateCombinable(name, relationship.flags);
10966
11204
  case "some":
10967
11205
  return validateSome(name, relationship.flags);
10968
11206
  default:
@@ -10975,9 +11213,9 @@ var require_validate = __commonJS({
10975
11213
  }
10976
11214
  });
10977
11215
 
10978
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/parser/help.js
11216
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/parser/help.js
10979
11217
  var require_help2 = __commonJS({
10980
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/parser/help.js"(exports) {
11218
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/parser/help.js"(exports) {
10981
11219
  "use strict";
10982
11220
  init_cjs_shims();
10983
11221
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -10996,9 +11234,9 @@ var require_help2 = __commonJS({
10996
11234
  }
10997
11235
  });
10998
11236
 
10999
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/parser/index.js
11237
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/parser/index.js
11000
11238
  var require_parser = __commonJS({
11001
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/parser/index.js"(exports) {
11239
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/parser/index.js"(exports) {
11002
11240
  "use strict";
11003
11241
  init_cjs_shims();
11004
11242
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -11026,9 +11264,9 @@ var require_parser = __commonJS({
11026
11264
  }
11027
11265
  });
11028
11266
 
11029
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/command.js
11267
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/command.js
11030
11268
  var require_command2 = __commonJS({
11031
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/command.js"(exports) {
11269
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/command.js"(exports) {
11032
11270
  "use strict";
11033
11271
  init_cjs_shims();
11034
11272
  var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
@@ -11132,6 +11370,7 @@ var require_command2 = __commonJS({
11132
11370
  static usage;
11133
11371
  debug;
11134
11372
  id;
11373
+ parsed = !1;
11135
11374
  constructor(argv, config) {
11136
11375
  this.argv = argv, this.config = config, this.id = this.ctor.id;
11137
11376
  try {
@@ -11172,7 +11411,9 @@ var require_command2 = __commonJS({
11172
11411
  } finally {
11173
11412
  await this.finally(err);
11174
11413
  }
11175
- return result && this.jsonEnabled() && this.logJson(this.toSuccessJson(result)), result;
11414
+ return result && this.jsonEnabled() && this.logJson(this.toSuccessJson(result)), !this.parsed && !(0, util_2.isProd)() && process.emitWarning(`Command ${this.id} did not parse its arguments. Did you forget to call 'this.parse'?`, {
11415
+ code: "UnparsedCommand"
11416
+ }), result;
11176
11417
  }
11177
11418
  async catch(err) {
11178
11419
  if (process.exitCode = process.exitCode ?? err.exitCode ?? 1, this.jsonEnabled())
@@ -11237,7 +11478,7 @@ var require_command2 = __commonJS({
11237
11478
  }, hookResult = await this.config.runHook("preparse", { argv: [...argv], options: opts }), argvToParse = hookResult.successes?.length ? hookResult.successes.find((s) => s.plugin.root === cache_1.default.getInstance().get("rootPlugin")?.root)?.result ?? argv : argv;
11238
11479
  this.argv = [...argvToParse];
11239
11480
  let results = await Parser.parse(argvToParse, opts);
11240
- return this.warnIfFlagDeprecated(results.flags ?? {}), results;
11481
+ return this.warnIfFlagDeprecated(results.flags ?? {}), this.parsed = !0, results;
11241
11482
  }
11242
11483
  toErrorJson(err) {
11243
11484
  return { error: err };
@@ -11289,9 +11530,9 @@ var require_command2 = __commonJS({
11289
11530
  }
11290
11531
  });
11291
11532
 
11292
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/flush.js
11533
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/flush.js
11293
11534
  var require_flush = __commonJS({
11294
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/flush.js"(exports) {
11535
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/flush.js"(exports) {
11295
11536
  "use strict";
11296
11537
  init_cjs_shims();
11297
11538
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -11319,9 +11560,9 @@ var require_flush = __commonJS({
11319
11560
  }
11320
11561
  });
11321
11562
 
11322
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/main.js
11563
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/main.js
11323
11564
  var require_main = __commonJS({
11324
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/main.js"(exports) {
11565
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/main.js"(exports) {
11325
11566
  "use strict";
11326
11567
  init_cjs_shims();
11327
11568
  var __importDefault = exports && exports.__importDefault || function(mod) {
@@ -11387,9 +11628,9 @@ var require_main = __commonJS({
11387
11628
  }
11388
11629
  });
11389
11630
 
11390
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/execute.js
11631
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/execute.js
11391
11632
  var require_execute = __commonJS({
11392
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/execute.js"(exports) {
11633
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/execute.js"(exports) {
11393
11634
  "use strict";
11394
11635
  init_cjs_shims();
11395
11636
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -11403,18 +11644,18 @@ var require_execute = __commonJS({
11403
11644
  }
11404
11645
  });
11405
11646
 
11406
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/interfaces/index.js
11647
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/interfaces/index.js
11407
11648
  var require_interfaces = __commonJS({
11408
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/interfaces/index.js"(exports) {
11649
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/interfaces/index.js"(exports) {
11409
11650
  "use strict";
11410
11651
  init_cjs_shims();
11411
11652
  Object.defineProperty(exports, "__esModule", { value: !0 });
11412
11653
  }
11413
11654
  });
11414
11655
 
11415
- // ../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/index.js
11656
+ // ../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/index.js
11416
11657
  var require_lib = __commonJS({
11417
- "../../node_modules/.pnpm/@oclif+core@4.5.3/node_modules/@oclif/core/lib/index.js"(exports) {
11658
+ "../../node_modules/.pnpm/@oclif+core@4.8.3/node_modules/@oclif/core/lib/index.js"(exports) {
11418
11659
  init_cjs_shims();
11419
11660
  var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
11420
11661
  k2 === void 0 && (k2 = k);
@@ -11538,7 +11779,7 @@ var require_lib = __commonJS({
11538
11779
 
11539
11780
  export {
11540
11781
  require_ansi_styles,
11541
- require_commonjs,
11782
+ require_commonjs3 as require_commonjs,
11542
11783
  require_lib
11543
11784
  };
11544
11785
  /*! Bundled license information:
@@ -11552,4 +11793,4 @@ ejs/lib/ejs.js:
11552
11793
  * @license {@link http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0}
11553
11794
  *)
11554
11795
  */
11555
- //# sourceMappingURL=chunk-UX6FRPFM.js.map
11796
+ //# sourceMappingURL=chunk-325YJ3GA.js.map