react-doctor 0.9.12-dev.1971506 → 0.9.12-dev.1d3e4a6

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 (36) hide show
  1. package/dist/{build-section-divider-dzVqU6Fr.js → build-section-divider-8MOZLIsm.js} +7 -7
  2. package/dist/{ci-tO6eKsPx.js → ci-BkncxruQ.js} +12 -12
  3. package/dist/cli.js +24 -24
  4. package/dist/{design-BOr8ASzl.js → design-cWsjx19m.js} +4 -4
  5. package/dist/{exit-gracefully-B4JO2DSi.js → exit-gracefully-B9tEGAKH.js} +6 -6
  6. package/dist/{handle-error-JVQU0Pxy.js → handle-error-wbMFUdUK.js} +5 -5
  7. package/dist/index.d.ts +32 -0
  8. package/dist/index.js +275 -164
  9. package/dist/{inspect-CBkHe9dS.js → inspect-Bz2rayph.js} +16 -16
  10. package/dist/{install-DG3MH36X.js → install-DdckCi3Z.js} +9 -9
  11. package/dist/{install-doctor-script-DaB6kssK.js → install-doctor-script-jOg4qbkK.js} +6 -13
  12. package/dist/{install-github-workflow-CHs4pPvZ.js → install-github-workflow-C5OkC7nA.js} +5 -5
  13. package/dist/{install-react-doctor-D4Z6xm2T.js → install-react-doctor-W8P-PVpX.js} +8 -8
  14. package/dist/{jsx-runtime-5ph9KX7N.js → jsx-runtime-0eiF0jis.js} +5 -5
  15. package/dist/{print-branded-header-BRA02Uik.js → print-branded-header-_cUJmAUD.js} +4 -4
  16. package/dist/project-analysis-worker.js +3 -3
  17. package/dist/{prompt-runtime-scan-url-1IvWhRJ0.js → prompt-runtime-scan-url-CV2AUqdk.js} +5 -5
  18. package/dist/{read-object-file-CacQMaGw.js → read-object-file-DOfcpaZX.js} +4 -4
  19. package/dist/{record-metric-DcBAbVVs.js → record-metric-BA5ry-7d.js} +227 -116
  20. package/dist/{report-error-Cj58fOLO.js → report-error-CFe3r9gh.js} +5 -5
  21. package/dist/{report-workflow-result-DadOSgvV.js → report-workflow-result-BoDN1Z77.js} +5 -5
  22. package/dist/{resolve-scope-pqK2skSv.js → resolve-scope-BVNh_icv.js} +6 -6
  23. package/dist/{rules-IBWoSmK_.js → rules-CyIHtrnI.js} +6 -6
  24. package/dist/{run-scan-app-JphzszIp.js → run-scan-app-BhUlnxaV.js} +11 -10
  25. package/dist/{runtime-scan-BSMwOS9F.js → runtime-scan-CUt6T5J3.js} +9 -9
  26. package/dist/{sanitize-runtime-url-BN8oyAb7.js → sanitize-runtime-url-CWANxE3L.js} +4 -4
  27. package/dist/{scan-1Hakw1J4.js → scan-DU_zcchs.js} +9 -9
  28. package/dist/{should-fail-scan-gate-CwBjVudY.js → should-fail-scan-gate-CDwqCAPq.js} +11 -11
  29. package/dist/{should-skip-prompts-CtQ-6r7T.js → should-skip-prompts-B9za5uX9.js} +4 -4
  30. package/dist/{should-use-tui-BLBNwhU6.js → should-use-tui-BR82qmYC.js} +4 -4
  31. package/dist/skills/improve-threejs/SKILL.md +102 -0
  32. package/dist/{telemetry-runtime-BxsPVkMH.js → telemetry-runtime-C9dZxrK_.js} +4 -4
  33. package/dist/{version-5WSKTaCF.js → version-yw_bHX_4.js} +4 -4
  34. package/dist/{why-DHTN2DPT.js → why-CdGev87Z.js} +4 -4
  35. package/dist/{with-run-span-Kn-I23fJ.js → with-run-span-CCVNobt7.js} +5 -5
  36. package/package.json +5 -4
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="3404885b-ce22-59ed-b773-5398b6af4974")}catch(e){}}();
3
- import { i as __toESM$1, r as __require, t as __commonJSMin$1 } from "./chunk-ChKA3wi6.js";
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="8065a42b-3c73-5f92-8b4f-29cb68d77940")}catch(e){}}();
3
+ import { i as __toESM, r as __require, t as __commonJSMin } from "./chunk-ChKA3wi6.js";
4
4
  import { createRequire } from "node:module";
5
5
  import * as path$1$1 from "node:path";
6
6
  import path from "node:path";
@@ -25,7 +25,7 @@ import { convertToTSX } from "@astrojs/compiler/sync";
25
25
  import { STATUS_CODES } from "node:http";
26
26
  import { gzipSync } from "node:zlib";
27
27
  //#region ../../node_modules/.pnpm/picomatch@4.0.4/node_modules/picomatch/lib/constants.js
28
- var require_constants$1 = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
28
+ var require_constants$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
29
29
  const WIN_SLASH = "\\\\/";
30
30
  const WIN_NO_SLASH = `[^${WIN_SLASH}]`;
31
31
  const DEFAULT_MAX_EXTGLOB_RECURSION = 0;
@@ -194,7 +194,7 @@ var require_constants$1 = /* @__PURE__ */ __commonJSMin$1(((exports, module) =>
194
194
  }));
195
195
  //#endregion
196
196
  //#region ../../node_modules/.pnpm/picomatch@4.0.4/node_modules/picomatch/lib/utils.js
197
- var require_utils = /* @__PURE__ */ __commonJSMin$1(((exports) => {
197
+ var require_utils = /* @__PURE__ */ __commonJSMin(((exports) => {
198
198
  const { REGEX_BACKSLASH, REGEX_REMOVE_BACKSLASH, REGEX_SPECIAL_CHARS, REGEX_SPECIAL_CHARS_GLOBAL } = require_constants$1();
199
199
  exports.isObject = (val) => val !== null && typeof val === "object" && !Array.isArray(val);
200
200
  exports.hasRegexChars = (str) => REGEX_SPECIAL_CHARS.test(str);
@@ -242,7 +242,7 @@ var require_utils = /* @__PURE__ */ __commonJSMin$1(((exports) => {
242
242
  }));
243
243
  //#endregion
244
244
  //#region ../../node_modules/.pnpm/picomatch@4.0.4/node_modules/picomatch/lib/scan.js
245
- var require_scan = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
245
+ var require_scan = /* @__PURE__ */ __commonJSMin(((exports, module) => {
246
246
  const utils = require_utils();
247
247
  const { CHAR_ASTERISK, CHAR_AT, CHAR_BACKWARD_SLASH, CHAR_COMMA, CHAR_DOT, CHAR_EXCLAMATION_MARK, CHAR_FORWARD_SLASH, CHAR_LEFT_CURLY_BRACE, CHAR_LEFT_PARENTHESES, CHAR_LEFT_SQUARE_BRACKET, CHAR_PLUS, CHAR_QUESTION_MARK, CHAR_RIGHT_CURLY_BRACE, CHAR_RIGHT_PARENTHESES, CHAR_RIGHT_SQUARE_BRACKET } = require_constants$1();
248
248
  const isPathSeparator = (code) => {
@@ -529,7 +529,7 @@ var require_scan = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
529
529
  }));
530
530
  //#endregion
531
531
  //#region ../../node_modules/.pnpm/picomatch@4.0.4/node_modules/picomatch/lib/parse.js
532
- var require_parse$2 = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
532
+ var require_parse$2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
533
533
  const constants = require_constants$1();
534
534
  const utils = require_utils();
535
535
  /**
@@ -1584,7 +1584,7 @@ var require_parse$2 = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
1584
1584
  }));
1585
1585
  //#endregion
1586
1586
  //#region ../../node_modules/.pnpm/picomatch@4.0.4/node_modules/picomatch/lib/picomatch.js
1587
- var require_picomatch$1 = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
1587
+ var require_picomatch$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1588
1588
  const scan = require_scan();
1589
1589
  const parse = require_parse$2();
1590
1590
  const utils = require_utils();
@@ -1884,7 +1884,7 @@ var require_picomatch$1 = /* @__PURE__ */ __commonJSMin$1(((exports, module) =>
1884
1884
  }));
1885
1885
  //#endregion
1886
1886
  //#region ../core/dist/collect-unplugin-auto-import-global-scopes-Dno9RW5R.js
1887
- var import_picomatch = /* @__PURE__ */ __toESM$1((/* @__PURE__ */ __commonJSMin$1(((exports, module) => {
1887
+ var import_picomatch = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
1888
1888
  const pico = require_picomatch$1();
1889
1889
  const utils = require_utils();
1890
1890
  function picomatch(glob, options, returnState = false) {
@@ -23377,7 +23377,7 @@ Union([
23377
23377
  ]);
23378
23378
  //#endregion
23379
23379
  //#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/constants.js
23380
- var require_constants = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
23380
+ var require_constants = /* @__PURE__ */ __commonJSMin(((exports, module) => {
23381
23381
  const SEMVER_SPEC_VERSION = "2.0.0";
23382
23382
  const MAX_LENGTH = 256;
23383
23383
  const MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || 9007199254740991;
@@ -23402,12 +23402,12 @@ var require_constants = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
23402
23402
  }));
23403
23403
  //#endregion
23404
23404
  //#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/debug.js
23405
- var require_debug = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
23405
+ var require_debug = /* @__PURE__ */ __commonJSMin(((exports, module) => {
23406
23406
  module.exports = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {};
23407
23407
  }));
23408
23408
  //#endregion
23409
23409
  //#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/re.js
23410
- var require_re = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
23410
+ var require_re = /* @__PURE__ */ __commonJSMin(((exports, module) => {
23411
23411
  const { MAX_SAFE_COMPONENT_LENGTH, MAX_SAFE_BUILD_LENGTH, MAX_LENGTH } = require_constants();
23412
23412
  const debug = require_debug();
23413
23413
  exports = module.exports = {};
@@ -23486,7 +23486,7 @@ var require_re = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
23486
23486
  }));
23487
23487
  //#endregion
23488
23488
  //#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/parse-options.js
23489
- var require_parse_options = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
23489
+ var require_parse_options = /* @__PURE__ */ __commonJSMin(((exports, module) => {
23490
23490
  const looseOption = Object.freeze({ loose: true });
23491
23491
  const emptyOpts = Object.freeze({});
23492
23492
  const parseOptions = (options) => {
@@ -23498,7 +23498,7 @@ var require_parse_options = /* @__PURE__ */ __commonJSMin$1(((exports, module) =
23498
23498
  }));
23499
23499
  //#endregion
23500
23500
  //#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/identifiers.js
23501
- var require_identifiers = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
23501
+ var require_identifiers = /* @__PURE__ */ __commonJSMin(((exports, module) => {
23502
23502
  const numeric = /^[0-9]+$/;
23503
23503
  const compareIdentifiers = (a, b) => {
23504
23504
  if (typeof a === "number" && typeof b === "number") return a === b ? 0 : a < b ? -1 : 1;
@@ -23518,7 +23518,7 @@ var require_identifiers = /* @__PURE__ */ __commonJSMin$1(((exports, module) =>
23518
23518
  }));
23519
23519
  //#endregion
23520
23520
  //#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/classes/semver.js
23521
- var require_semver$1 = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
23521
+ var require_semver$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
23522
23522
  const debug = require_debug();
23523
23523
  const { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants();
23524
23524
  const { safeRe: re, t } = require_re();
@@ -23696,7 +23696,7 @@ var require_semver$1 = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
23696
23696
  }));
23697
23697
  //#endregion
23698
23698
  //#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/parse.js
23699
- var require_parse$1 = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
23699
+ var require_parse$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
23700
23700
  const SemVer = require_semver$1();
23701
23701
  const parse = (version, options, throwErrors = false) => {
23702
23702
  if (version instanceof SemVer) return version;
@@ -23711,7 +23711,7 @@ var require_parse$1 = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
23711
23711
  }));
23712
23712
  //#endregion
23713
23713
  //#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/valid.js
23714
- var require_valid$1 = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
23714
+ var require_valid$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
23715
23715
  const parse = require_parse$1();
23716
23716
  const valid = (version, options) => {
23717
23717
  const v = parse(version, options);
@@ -23721,7 +23721,7 @@ var require_valid$1 = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
23721
23721
  }));
23722
23722
  //#endregion
23723
23723
  //#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/clean.js
23724
- var require_clean = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
23724
+ var require_clean = /* @__PURE__ */ __commonJSMin(((exports, module) => {
23725
23725
  const parse = require_parse$1();
23726
23726
  const clean = (version, options) => {
23727
23727
  const s = parse(version.trim().replace(/^[=v]+/, ""), options);
@@ -23731,7 +23731,7 @@ var require_clean = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
23731
23731
  }));
23732
23732
  //#endregion
23733
23733
  //#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/inc.js
23734
- var require_inc = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
23734
+ var require_inc = /* @__PURE__ */ __commonJSMin(((exports, module) => {
23735
23735
  const SemVer = require_semver$1();
23736
23736
  const inc = (version, release, options, identifier, identifierBase) => {
23737
23737
  if (typeof options === "string") {
@@ -23749,7 +23749,7 @@ var require_inc = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
23749
23749
  }));
23750
23750
  //#endregion
23751
23751
  //#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/diff.js
23752
- var require_diff = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
23752
+ var require_diff = /* @__PURE__ */ __commonJSMin(((exports, module) => {
23753
23753
  const parse = require_parse$1();
23754
23754
  const diff = (version1, version2) => {
23755
23755
  const v1 = parse(version1, null, true);
@@ -23777,28 +23777,28 @@ var require_diff = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
23777
23777
  }));
23778
23778
  //#endregion
23779
23779
  //#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/major.js
23780
- var require_major = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
23780
+ var require_major = /* @__PURE__ */ __commonJSMin(((exports, module) => {
23781
23781
  const SemVer = require_semver$1();
23782
23782
  const major = (a, loose) => new SemVer(a, loose).major;
23783
23783
  module.exports = major;
23784
23784
  }));
23785
23785
  //#endregion
23786
23786
  //#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/minor.js
23787
- var require_minor = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
23787
+ var require_minor = /* @__PURE__ */ __commonJSMin(((exports, module) => {
23788
23788
  const SemVer = require_semver$1();
23789
23789
  const minor = (a, loose) => new SemVer(a, loose).minor;
23790
23790
  module.exports = minor;
23791
23791
  }));
23792
23792
  //#endregion
23793
23793
  //#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/patch.js
23794
- var require_patch = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
23794
+ var require_patch = /* @__PURE__ */ __commonJSMin(((exports, module) => {
23795
23795
  const SemVer = require_semver$1();
23796
23796
  const patch = (a, loose) => new SemVer(a, loose).patch;
23797
23797
  module.exports = patch;
23798
23798
  }));
23799
23799
  //#endregion
23800
23800
  //#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/prerelease.js
23801
- var require_prerelease = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
23801
+ var require_prerelease = /* @__PURE__ */ __commonJSMin(((exports, module) => {
23802
23802
  const parse = require_parse$1();
23803
23803
  const prerelease = (version, options) => {
23804
23804
  const parsed = parse(version, options);
@@ -23808,28 +23808,28 @@ var require_prerelease = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
23808
23808
  }));
23809
23809
  //#endregion
23810
23810
  //#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/compare.js
23811
- var require_compare = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
23811
+ var require_compare = /* @__PURE__ */ __commonJSMin(((exports, module) => {
23812
23812
  const SemVer = require_semver$1();
23813
23813
  const compare = (a, b, loose) => new SemVer(a, loose).compare(new SemVer(b, loose));
23814
23814
  module.exports = compare;
23815
23815
  }));
23816
23816
  //#endregion
23817
23817
  //#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/rcompare.js
23818
- var require_rcompare = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
23818
+ var require_rcompare = /* @__PURE__ */ __commonJSMin(((exports, module) => {
23819
23819
  const compare = require_compare();
23820
23820
  const rcompare = (a, b, loose) => compare(b, a, loose);
23821
23821
  module.exports = rcompare;
23822
23822
  }));
23823
23823
  //#endregion
23824
23824
  //#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/compare-loose.js
23825
- var require_compare_loose = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
23825
+ var require_compare_loose = /* @__PURE__ */ __commonJSMin(((exports, module) => {
23826
23826
  const compare = require_compare();
23827
23827
  const compareLoose = (a, b) => compare(a, b, true);
23828
23828
  module.exports = compareLoose;
23829
23829
  }));
23830
23830
  //#endregion
23831
23831
  //#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/compare-build.js
23832
- var require_compare_build = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
23832
+ var require_compare_build = /* @__PURE__ */ __commonJSMin(((exports, module) => {
23833
23833
  const SemVer = require_semver$1();
23834
23834
  const compareBuild = (a, b, loose) => {
23835
23835
  const versionA = new SemVer(a, loose);
@@ -23840,63 +23840,63 @@ var require_compare_build = /* @__PURE__ */ __commonJSMin$1(((exports, module) =
23840
23840
  }));
23841
23841
  //#endregion
23842
23842
  //#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/sort.js
23843
- var require_sort = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
23843
+ var require_sort = /* @__PURE__ */ __commonJSMin(((exports, module) => {
23844
23844
  const compareBuild = require_compare_build();
23845
23845
  const sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose));
23846
23846
  module.exports = sort;
23847
23847
  }));
23848
23848
  //#endregion
23849
23849
  //#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/rsort.js
23850
- var require_rsort = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
23850
+ var require_rsort = /* @__PURE__ */ __commonJSMin(((exports, module) => {
23851
23851
  const compareBuild = require_compare_build();
23852
23852
  const rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose));
23853
23853
  module.exports = rsort;
23854
23854
  }));
23855
23855
  //#endregion
23856
23856
  //#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/gt.js
23857
- var require_gt = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
23857
+ var require_gt = /* @__PURE__ */ __commonJSMin(((exports, module) => {
23858
23858
  const compare = require_compare();
23859
23859
  const gt = (a, b, loose) => compare(a, b, loose) > 0;
23860
23860
  module.exports = gt;
23861
23861
  }));
23862
23862
  //#endregion
23863
23863
  //#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/lt.js
23864
- var require_lt = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
23864
+ var require_lt = /* @__PURE__ */ __commonJSMin(((exports, module) => {
23865
23865
  const compare = require_compare();
23866
23866
  const lt = (a, b, loose) => compare(a, b, loose) < 0;
23867
23867
  module.exports = lt;
23868
23868
  }));
23869
23869
  //#endregion
23870
23870
  //#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/eq.js
23871
- var require_eq = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
23871
+ var require_eq = /* @__PURE__ */ __commonJSMin(((exports, module) => {
23872
23872
  const compare = require_compare();
23873
23873
  const eq = (a, b, loose) => compare(a, b, loose) === 0;
23874
23874
  module.exports = eq;
23875
23875
  }));
23876
23876
  //#endregion
23877
23877
  //#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/neq.js
23878
- var require_neq = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
23878
+ var require_neq = /* @__PURE__ */ __commonJSMin(((exports, module) => {
23879
23879
  const compare = require_compare();
23880
23880
  const neq = (a, b, loose) => compare(a, b, loose) !== 0;
23881
23881
  module.exports = neq;
23882
23882
  }));
23883
23883
  //#endregion
23884
23884
  //#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/gte.js
23885
- var require_gte = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
23885
+ var require_gte = /* @__PURE__ */ __commonJSMin(((exports, module) => {
23886
23886
  const compare = require_compare();
23887
23887
  const gte = (a, b, loose) => compare(a, b, loose) >= 0;
23888
23888
  module.exports = gte;
23889
23889
  }));
23890
23890
  //#endregion
23891
23891
  //#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/lte.js
23892
- var require_lte = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
23892
+ var require_lte = /* @__PURE__ */ __commonJSMin(((exports, module) => {
23893
23893
  const compare = require_compare();
23894
23894
  const lte = (a, b, loose) => compare(a, b, loose) <= 0;
23895
23895
  module.exports = lte;
23896
23896
  }));
23897
23897
  //#endregion
23898
23898
  //#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/cmp.js
23899
- var require_cmp = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
23899
+ var require_cmp = /* @__PURE__ */ __commonJSMin(((exports, module) => {
23900
23900
  const eq = require_eq();
23901
23901
  const neq = require_neq();
23902
23902
  const gt = require_gt();
@@ -23928,7 +23928,7 @@ var require_cmp = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
23928
23928
  }));
23929
23929
  //#endregion
23930
23930
  //#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/coerce.js
23931
- var require_coerce = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
23931
+ var require_coerce = /* @__PURE__ */ __commonJSMin(((exports, module) => {
23932
23932
  const SemVer = require_semver$1();
23933
23933
  const parse = require_parse$1();
23934
23934
  const { safeRe: re, t } = require_re();
@@ -23956,7 +23956,7 @@ var require_coerce = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
23956
23956
  }));
23957
23957
  //#endregion
23958
23958
  //#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/lrucache.js
23959
- var require_lrucache = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
23959
+ var require_lrucache = /* @__PURE__ */ __commonJSMin(((exports, module) => {
23960
23960
  var LRUCache = class {
23961
23961
  constructor() {
23962
23962
  this.max = 1e3;
@@ -23989,7 +23989,7 @@ var require_lrucache = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
23989
23989
  }));
23990
23990
  //#endregion
23991
23991
  //#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/classes/range.js
23992
- var require_range = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
23992
+ var require_range = /* @__PURE__ */ __commonJSMin(((exports, module) => {
23993
23993
  const SPACE_CHARACTERS = /\s+/g;
23994
23994
  module.exports = class Range {
23995
23995
  constructor(range, options) {
@@ -24261,7 +24261,7 @@ var require_range = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
24261
24261
  }));
24262
24262
  //#endregion
24263
24263
  //#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/classes/comparator.js
24264
- var require_comparator = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
24264
+ var require_comparator = /* @__PURE__ */ __commonJSMin(((exports, module) => {
24265
24265
  const ANY = Symbol("SemVer ANY");
24266
24266
  module.exports = class Comparator {
24267
24267
  static get ANY() {
@@ -24331,7 +24331,7 @@ var require_comparator = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
24331
24331
  }));
24332
24332
  //#endregion
24333
24333
  //#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/satisfies.js
24334
- var require_satisfies = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
24334
+ var require_satisfies = /* @__PURE__ */ __commonJSMin(((exports, module) => {
24335
24335
  const Range = require_range();
24336
24336
  const satisfies = (version, range, options) => {
24337
24337
  try {
@@ -24345,14 +24345,14 @@ var require_satisfies = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
24345
24345
  }));
24346
24346
  //#endregion
24347
24347
  //#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/to-comparators.js
24348
- var require_to_comparators = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
24348
+ var require_to_comparators = /* @__PURE__ */ __commonJSMin(((exports, module) => {
24349
24349
  const Range = require_range();
24350
24350
  const toComparators = (range, options) => new Range(range, options).set.map((comp) => comp.map((c) => c.value).join(" ").trim().split(" "));
24351
24351
  module.exports = toComparators;
24352
24352
  }));
24353
24353
  //#endregion
24354
24354
  //#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/max-satisfying.js
24355
- var require_max_satisfying = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
24355
+ var require_max_satisfying = /* @__PURE__ */ __commonJSMin(((exports, module) => {
24356
24356
  const SemVer = require_semver$1();
24357
24357
  const Range = require_range();
24358
24358
  const maxSatisfying = (versions, range, options) => {
@@ -24378,7 +24378,7 @@ var require_max_satisfying = /* @__PURE__ */ __commonJSMin$1(((exports, module)
24378
24378
  }));
24379
24379
  //#endregion
24380
24380
  //#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/min-satisfying.js
24381
- var require_min_satisfying = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
24381
+ var require_min_satisfying = /* @__PURE__ */ __commonJSMin(((exports, module) => {
24382
24382
  const SemVer = require_semver$1();
24383
24383
  const Range = require_range();
24384
24384
  const minSatisfying = (versions, range, options) => {
@@ -24404,7 +24404,7 @@ var require_min_satisfying = /* @__PURE__ */ __commonJSMin$1(((exports, module)
24404
24404
  }));
24405
24405
  //#endregion
24406
24406
  //#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/min-version.js
24407
- var require_min_version = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
24407
+ var require_min_version = /* @__PURE__ */ __commonJSMin(((exports, module) => {
24408
24408
  const SemVer = require_semver$1();
24409
24409
  const Range = require_range();
24410
24410
  const gt = require_gt();
@@ -24444,7 +24444,7 @@ var require_min_version = /* @__PURE__ */ __commonJSMin$1(((exports, module) =>
24444
24444
  }));
24445
24445
  //#endregion
24446
24446
  //#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/valid.js
24447
- var require_valid = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
24447
+ var require_valid = /* @__PURE__ */ __commonJSMin(((exports, module) => {
24448
24448
  const Range = require_range();
24449
24449
  const validRange = (range, options) => {
24450
24450
  try {
@@ -24457,7 +24457,7 @@ var require_valid = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
24457
24457
  }));
24458
24458
  //#endregion
24459
24459
  //#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/outside.js
24460
- var require_outside = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
24460
+ var require_outside = /* @__PURE__ */ __commonJSMin(((exports, module) => {
24461
24461
  const SemVer = require_semver$1();
24462
24462
  const Comparator = require_comparator();
24463
24463
  const { ANY } = Comparator;
@@ -24510,21 +24510,21 @@ var require_outside = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
24510
24510
  }));
24511
24511
  //#endregion
24512
24512
  //#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/gtr.js
24513
- var require_gtr = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
24513
+ var require_gtr = /* @__PURE__ */ __commonJSMin(((exports, module) => {
24514
24514
  const outside = require_outside();
24515
24515
  const gtr = (version, range, options) => outside(version, range, ">", options);
24516
24516
  module.exports = gtr;
24517
24517
  }));
24518
24518
  //#endregion
24519
24519
  //#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/ltr.js
24520
- var require_ltr = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
24520
+ var require_ltr = /* @__PURE__ */ __commonJSMin(((exports, module) => {
24521
24521
  const outside = require_outside();
24522
24522
  const ltr = (version, range, options) => outside(version, range, "<", options);
24523
24523
  module.exports = ltr;
24524
24524
  }));
24525
24525
  //#endregion
24526
24526
  //#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/intersects.js
24527
- var require_intersects = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
24527
+ var require_intersects = /* @__PURE__ */ __commonJSMin(((exports, module) => {
24528
24528
  const Range = require_range();
24529
24529
  const intersects = (r1, r2, options) => {
24530
24530
  r1 = new Range(r1, options);
@@ -24535,7 +24535,7 @@ var require_intersects = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
24535
24535
  }));
24536
24536
  //#endregion
24537
24537
  //#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/simplify.js
24538
- var require_simplify = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
24538
+ var require_simplify = /* @__PURE__ */ __commonJSMin(((exports, module) => {
24539
24539
  const satisfies = require_satisfies();
24540
24540
  const compare = require_compare();
24541
24541
  module.exports = (versions, range, options) => {
@@ -24565,7 +24565,7 @@ var require_simplify = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
24565
24565
  }));
24566
24566
  //#endregion
24567
24567
  //#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/subset.js
24568
- var require_subset = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
24568
+ var require_subset = /* @__PURE__ */ __commonJSMin(((exports, module) => {
24569
24569
  const Range = require_range();
24570
24570
  const Comparator = require_comparator();
24571
24571
  const { ANY } = Comparator;
@@ -24660,7 +24660,7 @@ var require_subset = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
24660
24660
  }));
24661
24661
  //#endregion
24662
24662
  //#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/index.js
24663
- var require_semver = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
24663
+ var require_semver = /* @__PURE__ */ __commonJSMin(((exports, module) => {
24664
24664
  const internalRe = require_re();
24665
24665
  const constants = require_constants();
24666
24666
  const SemVer = require_semver$1();
@@ -24715,7 +24715,7 @@ var require_semver = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
24715
24715
  }));
24716
24716
  //#endregion
24717
24717
  //#region ../../node_modules/.pnpm/baseline-browser-mapping@2.9.19/node_modules/baseline-browser-mapping/dist/index.cjs
24718
- var require_dist = /* @__PURE__ */ __commonJSMin$1(((exports) => {
24718
+ var require_dist = /* @__PURE__ */ __commonJSMin(((exports) => {
24719
24719
  const s = {
24720
24720
  chrome: { releases: [
24721
24721
  [
@@ -43965,7 +43965,7 @@ var require_dist = /* @__PURE__ */ __commonJSMin$1(((exports) => {
43965
43965
  }));
43966
43966
  //#endregion
43967
43967
  //#region ../../node_modules/.pnpm/node-releases@2.0.27/node_modules/node-releases/data/processed/envs.json
43968
- var require_envs = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
43968
+ var require_envs = /* @__PURE__ */ __commonJSMin(((exports, module) => {
43969
43969
  module.exports = [
43970
43970
  {
43971
43971
  "name": "nodejs",
@@ -46747,7 +46747,7 @@ var require_envs = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
46747
46747
  }));
46748
46748
  //#endregion
46749
46749
  //#region ../../node_modules/.pnpm/caniuse-lite@1.0.30001769/node_modules/caniuse-lite/data/browsers.js
46750
- var require_browsers$1 = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
46750
+ var require_browsers$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
46751
46751
  module.exports = {
46752
46752
  A: "ie",
46753
46753
  B: "edge",
@@ -46772,12 +46772,12 @@ var require_browsers$1 = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
46772
46772
  }));
46773
46773
  //#endregion
46774
46774
  //#region ../../node_modules/.pnpm/caniuse-lite@1.0.30001769/node_modules/caniuse-lite/dist/unpacker/browsers.js
46775
- var require_browsers = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
46775
+ var require_browsers = /* @__PURE__ */ __commonJSMin(((exports, module) => {
46776
46776
  module.exports.browsers = require_browsers$1();
46777
46777
  }));
46778
46778
  //#endregion
46779
46779
  //#region ../../node_modules/.pnpm/caniuse-lite@1.0.30001769/node_modules/caniuse-lite/data/browserVersions.js
46780
- var require_browserVersions$1 = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
46780
+ var require_browserVersions$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
46781
46781
  module.exports = {
46782
46782
  "0": "117",
46783
46783
  "1": "118",
@@ -47029,12 +47029,12 @@ var require_browserVersions$1 = /* @__PURE__ */ __commonJSMin$1(((exports, modul
47029
47029
  }));
47030
47030
  //#endregion
47031
47031
  //#region ../../node_modules/.pnpm/caniuse-lite@1.0.30001769/node_modules/caniuse-lite/dist/unpacker/browserVersions.js
47032
- var require_browserVersions = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
47032
+ var require_browserVersions = /* @__PURE__ */ __commonJSMin(((exports, module) => {
47033
47033
  module.exports.browserVersions = require_browserVersions$1();
47034
47034
  }));
47035
47035
  //#endregion
47036
47036
  //#region ../../node_modules/.pnpm/caniuse-lite@1.0.30001769/node_modules/caniuse-lite/data/agents.js
47037
- var require_agents$1 = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
47037
+ var require_agents$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
47038
47038
  module.exports = {
47039
47039
  A: {
47040
47040
  A: {
@@ -51403,7 +51403,7 @@ var require_agents$1 = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
51403
51403
  }));
51404
51404
  //#endregion
51405
51405
  //#region ../../node_modules/.pnpm/caniuse-lite@1.0.30001769/node_modules/caniuse-lite/dist/unpacker/agents.js
51406
- var require_agents = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
51406
+ var require_agents = /* @__PURE__ */ __commonJSMin(((exports, module) => {
51407
51407
  const browsers = require_browsers().browsers;
51408
51408
  const versions = require_browserVersions().browserVersions;
51409
51409
  const agentsData = require_agents$1();
@@ -51436,7 +51436,7 @@ var require_agents = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
51436
51436
  }));
51437
51437
  //#endregion
51438
51438
  //#region ../../node_modules/.pnpm/electron-to-chromium@1.5.286/node_modules/electron-to-chromium/versions.js
51439
- var require_versions = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
51439
+ var require_versions = /* @__PURE__ */ __commonJSMin(((exports, module) => {
51440
51440
  module.exports = {
51441
51441
  "0.20": "39",
51442
51442
  "0.21": "41",
@@ -51670,7 +51670,7 @@ var require_versions = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
51670
51670
  }));
51671
51671
  //#endregion
51672
51672
  //#region ../../node_modules/.pnpm/node-releases@2.0.27/node_modules/node-releases/data/release-schedule/release-schedule.json
51673
- var require_release_schedule = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
51673
+ var require_release_schedule = /* @__PURE__ */ __commonJSMin(((exports, module) => {
51674
51674
  module.exports = {
51675
51675
  "v0.8": {
51676
51676
  "start": "2012-06-25",
@@ -51827,7 +51827,7 @@ var require_release_schedule = /* @__PURE__ */ __commonJSMin$1(((exports, module
51827
51827
  }));
51828
51828
  //#endregion
51829
51829
  //#region ../../node_modules/.pnpm/browserslist@4.28.1/node_modules/browserslist/error.js
51830
- var require_error = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
51830
+ var require_error = /* @__PURE__ */ __commonJSMin(((exports, module) => {
51831
51831
  function BrowserslistError(message) {
51832
51832
  this.name = "BrowserslistError";
51833
51833
  this.message = message;
@@ -51839,7 +51839,7 @@ var require_error = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
51839
51839
  }));
51840
51840
  //#endregion
51841
51841
  //#region ../../node_modules/.pnpm/caniuse-lite@1.0.30001769/node_modules/caniuse-lite/dist/lib/statuses.js
51842
- var require_statuses = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
51842
+ var require_statuses = /* @__PURE__ */ __commonJSMin(((exports, module) => {
51843
51843
  module.exports = {
51844
51844
  1: "ls",
51845
51845
  2: "rec",
@@ -51852,7 +51852,7 @@ var require_statuses = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
51852
51852
  }));
51853
51853
  //#endregion
51854
51854
  //#region ../../node_modules/.pnpm/caniuse-lite@1.0.30001769/node_modules/caniuse-lite/dist/lib/supported.js
51855
- var require_supported = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
51855
+ var require_supported = /* @__PURE__ */ __commonJSMin(((exports, module) => {
51856
51856
  module.exports = {
51857
51857
  y: 1,
51858
51858
  n: 2,
@@ -51865,7 +51865,7 @@ var require_supported = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
51865
51865
  }));
51866
51866
  //#endregion
51867
51867
  //#region ../../node_modules/.pnpm/caniuse-lite@1.0.30001769/node_modules/caniuse-lite/dist/unpacker/feature.js
51868
- var require_feature = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
51868
+ var require_feature = /* @__PURE__ */ __commonJSMin(((exports, module) => {
51869
51869
  const statuses = require_statuses();
51870
51870
  const supported = require_supported();
51871
51871
  const browsers = require_browsers().browsers;
@@ -51908,7 +51908,7 @@ var require_feature = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
51908
51908
  }));
51909
51909
  //#endregion
51910
51910
  //#region ../../node_modules/.pnpm/caniuse-lite@1.0.30001769/node_modules/caniuse-lite/dist/unpacker/region.js
51911
- var require_region = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
51911
+ var require_region = /* @__PURE__ */ __commonJSMin(((exports, module) => {
51912
51912
  const browsers = require_browsers().browsers;
51913
51913
  function unpackRegion(packed) {
51914
51914
  return Object.keys(packed).reduce((list, browser) => {
@@ -51927,7 +51927,7 @@ var require_region = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
51927
51927
  }));
51928
51928
  //#endregion
51929
51929
  //#region ../../node_modules/.pnpm/browserslist@4.28.1/node_modules/browserslist/node.js
51930
- var require_node = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
51930
+ var require_node = /* @__PURE__ */ __commonJSMin(((exports, module) => {
51931
51931
  var feature = require_feature().default;
51932
51932
  var region = require_region().default;
51933
51933
  var fs$2 = __require("fs");
@@ -52220,7 +52220,7 @@ var require_node = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
52220
52220
  }));
52221
52221
  //#endregion
52222
52222
  //#region ../../node_modules/.pnpm/browserslist@4.28.1/node_modules/browserslist/parse.js
52223
- var require_parse = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
52223
+ var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
52224
52224
  var AND_REGEXP = /^\s+and\s+(.*)/i;
52225
52225
  var OR_REGEXP = /^(?:,\s*|\s+or\s+)(.*)/i;
52226
52226
  function flatten(array) {
@@ -52286,7 +52286,7 @@ var require_parse = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
52286
52286
  }));
52287
52287
  //#endregion
52288
52288
  //#region ../../node_modules/.pnpm/browserslist@4.28.1/node_modules/browserslist/index.js
52289
- var require_browserslist = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
52289
+ var require_browserslist = /* @__PURE__ */ __commonJSMin(((exports, module) => {
52290
52290
  var bbm = require_dist();
52291
52291
  var jsReleases = require_envs();
52292
52292
  var agents = require_agents().agents;
@@ -53308,8 +53308,8 @@ var require_browserslist = /* @__PURE__ */ __commonJSMin$1(((exports, module) =>
53308
53308
  }));
53309
53309
  //#endregion
53310
53310
  //#region ../../node_modules/.pnpm/effect@4.0.0-beta.102/node_modules/effect/dist/Brand.js
53311
- var import_semver = /* @__PURE__ */ __toESM$1(require_semver(), 1);
53312
- var import_browserslist = /* @__PURE__ */ __toESM$1(require_browserslist(), 1);
53311
+ var import_semver = /* @__PURE__ */ __toESM(require_semver(), 1);
53312
+ var import_browserslist = /* @__PURE__ */ __toESM(require_browserslist(), 1);
53313
53313
  /**
53314
53314
  * Returns a `Constructor` that **does not apply any runtime checks** and just
53315
53315
  * returns the provided value.
@@ -62294,6 +62294,72 @@ const warn$1 = (...args) => consoleWith((console) => sync$2(() => {
62294
62294
  }));
62295
62295
  //#endregion
62296
62296
  //#region ../../node_modules/.pnpm/effect@4.0.0-beta.102/node_modules/effect/dist/Cache.js
62297
+ var import_picocolors = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
62298
+ let p = process || {}, argv = p.argv || [], env = p.env || {};
62299
+ let isColorSupported = !(!!env.NO_COLOR || argv.includes("--no-color")) && (!!env.FORCE_COLOR || argv.includes("--color") || p.platform === "win32" || (p.stdout || {}).isTTY && env.TERM !== "dumb" || !!env.CI);
62300
+ let formatter = (open, close, replace = open) => (input) => {
62301
+ let string = "" + input, index = string.indexOf(close, open.length);
62302
+ return ~index ? open + replaceClose(string, close, replace, index) + close : open + string + close;
62303
+ };
62304
+ let replaceClose = (string, close, replace, index) => {
62305
+ let result = "", cursor = 0;
62306
+ do {
62307
+ result += string.substring(cursor, index) + replace;
62308
+ cursor = index + close.length;
62309
+ index = string.indexOf(close, cursor);
62310
+ } while (~index);
62311
+ return result + string.substring(cursor);
62312
+ };
62313
+ let createColors = (enabled = isColorSupported) => {
62314
+ let f = enabled ? formatter : () => String;
62315
+ return {
62316
+ isColorSupported: enabled,
62317
+ reset: f("\x1B[0m", "\x1B[0m"),
62318
+ bold: f("\x1B[1m", "\x1B[22m", "\x1B[22m\x1B[1m"),
62319
+ dim: f("\x1B[2m", "\x1B[22m", "\x1B[22m\x1B[2m"),
62320
+ italic: f("\x1B[3m", "\x1B[23m"),
62321
+ underline: f("\x1B[4m", "\x1B[24m"),
62322
+ inverse: f("\x1B[7m", "\x1B[27m"),
62323
+ hidden: f("\x1B[8m", "\x1B[28m"),
62324
+ strikethrough: f("\x1B[9m", "\x1B[29m"),
62325
+ black: f("\x1B[30m", "\x1B[39m"),
62326
+ red: f("\x1B[31m", "\x1B[39m"),
62327
+ green: f("\x1B[32m", "\x1B[39m"),
62328
+ yellow: f("\x1B[33m", "\x1B[39m"),
62329
+ blue: f("\x1B[34m", "\x1B[39m"),
62330
+ magenta: f("\x1B[35m", "\x1B[39m"),
62331
+ cyan: f("\x1B[36m", "\x1B[39m"),
62332
+ white: f("\x1B[37m", "\x1B[39m"),
62333
+ gray: f("\x1B[90m", "\x1B[39m"),
62334
+ bgBlack: f("\x1B[40m", "\x1B[49m"),
62335
+ bgRed: f("\x1B[41m", "\x1B[49m"),
62336
+ bgGreen: f("\x1B[42m", "\x1B[49m"),
62337
+ bgYellow: f("\x1B[43m", "\x1B[49m"),
62338
+ bgBlue: f("\x1B[44m", "\x1B[49m"),
62339
+ bgMagenta: f("\x1B[45m", "\x1B[49m"),
62340
+ bgCyan: f("\x1B[46m", "\x1B[49m"),
62341
+ bgWhite: f("\x1B[47m", "\x1B[49m"),
62342
+ blackBright: f("\x1B[90m", "\x1B[39m"),
62343
+ redBright: f("\x1B[91m", "\x1B[39m"),
62344
+ greenBright: f("\x1B[92m", "\x1B[39m"),
62345
+ yellowBright: f("\x1B[93m", "\x1B[39m"),
62346
+ blueBright: f("\x1B[94m", "\x1B[39m"),
62347
+ magentaBright: f("\x1B[95m", "\x1B[39m"),
62348
+ cyanBright: f("\x1B[96m", "\x1B[39m"),
62349
+ whiteBright: f("\x1B[97m", "\x1B[39m"),
62350
+ bgBlackBright: f("\x1B[100m", "\x1B[49m"),
62351
+ bgRedBright: f("\x1B[101m", "\x1B[49m"),
62352
+ bgGreenBright: f("\x1B[102m", "\x1B[49m"),
62353
+ bgYellowBright: f("\x1B[103m", "\x1B[49m"),
62354
+ bgBlueBright: f("\x1B[104m", "\x1B[49m"),
62355
+ bgMagentaBright: f("\x1B[105m", "\x1B[49m"),
62356
+ bgCyanBright: f("\x1B[106m", "\x1B[49m"),
62357
+ bgWhiteBright: f("\x1B[107m", "\x1B[49m")
62358
+ };
62359
+ };
62360
+ module.exports = createColors();
62361
+ module.exports.createColors = createColors;
62362
+ })))(), 1);
62297
62363
  /**
62298
62364
  * Caches values loaded by an Effect lookup function.
62299
62365
  *
@@ -64263,27 +64329,6 @@ function traceSegmentInternal(segments, memo, line, column, bias) {
64263
64329
  }
64264
64330
  //#endregion
64265
64331
  //#region ../core/dist/index.js
64266
- var __create = Object.create;
64267
- var __defProp = Object.defineProperty;
64268
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
64269
- var __getOwnPropNames = Object.getOwnPropertyNames;
64270
- var __getProtoOf = Object.getPrototypeOf;
64271
- var __hasOwnProp = Object.prototype.hasOwnProperty;
64272
- var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
64273
- var __copyProps = (to, from, except, desc) => {
64274
- if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
64275
- key = keys[i];
64276
- if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
64277
- get: ((k) => from[k]).bind(null, key),
64278
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
64279
- });
64280
- }
64281
- return to;
64282
- };
64283
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
64284
- value: mod,
64285
- enumerable: true
64286
- }) : target, mod));
64287
64332
  var ProjectNotFoundError = class extends Error {
64288
64333
  name = "ProjectNotFoundError";
64289
64334
  directory;
@@ -65664,6 +65709,18 @@ const detectPreES2023Target = (directory) => {
65664
65709
  }
65665
65710
  return false;
65666
65711
  };
65712
+ const SHADCN_CONFIG_FILE_NAME = "components.json";
65713
+ const detectShadcnUi = (directory) => {
65714
+ if (isFile(path$1$1.join(directory, SHADCN_CONFIG_FILE_NAME))) return true;
65715
+ if (isProjectBoundary(directory)) return false;
65716
+ let ancestorDirectory = path$1$1.dirname(directory);
65717
+ while (ancestorDirectory !== path$1$1.dirname(ancestorDirectory)) {
65718
+ if (isFile(path$1$1.join(ancestorDirectory, SHADCN_CONFIG_FILE_NAME))) return true;
65719
+ if (isProjectBoundary(ancestorDirectory)) return false;
65720
+ ancestorDirectory = path$1$1.dirname(ancestorDirectory);
65721
+ }
65722
+ return false;
65723
+ };
65667
65724
  const FRAMEWORK_PACKAGES = {
65668
65725
  next: "nextjs",
65669
65726
  "@tanstack/react-start": "tanstack-start",
@@ -66429,6 +66486,29 @@ const getTanStackQueryVersion = (packageJson) => {
66429
66486
  packageNames: TANSTACK_REACT_QUERY_PACKAGES
66430
66487
  });
66431
66488
  };
66489
+ const hasAnyDependency = (packageJson, packageNames) => {
66490
+ const allDependencies = {
66491
+ ...packageJson.peerDependencies,
66492
+ ...packageJson.dependencies,
66493
+ ...packageJson.devDependencies,
66494
+ ...packageJson.optionalDependencies
66495
+ };
66496
+ return packageNames.some((packageName) => allDependencies[packageName] !== void 0);
66497
+ };
66498
+ const BASE_UI_PACKAGES = ["@base-ui-components/react", "@base-ui/react"];
66499
+ const hasBaseUiDependency = (packageJson) => hasAnyDependency(packageJson, BASE_UI_PACKAGES);
66500
+ const RADIX_UNIFIED_PACKAGE = "radix-ui";
66501
+ const RADIX_PRIMITIVE_PACKAGE_PREFIX = "@radix-ui/react-";
66502
+ const RADIX_NON_PRIMITIVE_PACKAGES = new Set(["@radix-ui/react-icons"]);
66503
+ const hasRadixUiDependency = (packageJson) => {
66504
+ const allDependencies = {
66505
+ ...packageJson.peerDependencies,
66506
+ ...packageJson.dependencies,
66507
+ ...packageJson.devDependencies,
66508
+ ...packageJson.optionalDependencies
66509
+ };
66510
+ return Object.keys(allDependencies).some((packageName) => packageName === RADIX_UNIFIED_PACKAGE || packageName.startsWith(RADIX_PRIMITIVE_PACKAGE_PREFIX) && !RADIX_NON_PRIMITIVE_PACKAGES.has(packageName));
66511
+ };
66432
66512
  const STYLED_COMPONENTS_PACKAGES = ["styled-components"];
66433
66513
  const getStyledComponentsVersion = (packageJson) => {
66434
66514
  return getPreferredDependencyVersion({
@@ -66459,6 +66539,10 @@ const hasI18nDependency = (packageJson) => {
66459
66539
  };
66460
66540
  return I18N_PACKAGES.some((packageName) => allDependencies[packageName] !== void 0);
66461
66541
  };
66542
+ const REACT_ARIA_COMPONENT_PACKAGES = ["react-aria-components"];
66543
+ const TANSTACK_TABLE_PACKAGES = ["@tanstack/react-table"];
66544
+ const TANSTACK_VIRTUAL_PACKAGES = ["@tanstack/react-virtual"];
66545
+ const TANSTACK_FORM_PACKAGES = ["@tanstack/react-form"];
66462
66546
  const REANIMATED_DEPENDENCY_NAME = "react-native-reanimated";
66463
66547
  const MOBX_REACT_PACKAGE_NAME = "mobx-react";
66464
66548
  const MOBX_REACT_LITE_PACKAGE_NAME = "mobx-react-lite";
@@ -66649,6 +66733,13 @@ const evaluateManifestFacts = (facts, packageJson, directory, rootDirectory, roo
66649
66733
  });
66650
66734
  if (styledComponentsVersion && shouldReplaceStyledComponentsVersion(facts.styledComponentsVersion, styledComponentsVersion)) facts.styledComponentsVersion = styledComponentsVersion;
66651
66735
  facts.hasI18nLibrary = facts.hasI18nLibrary || hasI18nDependency(packageJson);
66736
+ facts.hasShadcnUi = facts.hasShadcnUi || detectShadcnUi(directory);
66737
+ facts.hasRadixUi = facts.hasRadixUi || hasRadixUiDependency(packageJson);
66738
+ facts.hasBaseUi = facts.hasBaseUi || hasBaseUiDependency(packageJson);
66739
+ facts.hasReactAriaComponents = facts.hasReactAriaComponents || hasAnyDependency(packageJson, REACT_ARIA_COMPONENT_PACKAGES);
66740
+ facts.hasTanstackTable = facts.hasTanstackTable || hasAnyDependency(packageJson, TANSTACK_TABLE_PACKAGES);
66741
+ facts.hasTanstackVirtual = facts.hasTanstackVirtual || hasAnyDependency(packageJson, TANSTACK_VIRTUAL_PACKAGES);
66742
+ facts.hasTanstackForm = facts.hasTanstackForm || hasAnyDependency(packageJson, TANSTACK_FORM_PACKAGES);
66652
66743
  for (const packageName of REACT_THREE_FIBER_DEPENDENCY_NAMES) {
66653
66744
  const version = resolveCatalogBackedDependencyVersion({
66654
66745
  rootDirectory,
@@ -66751,6 +66842,13 @@ const collectWorkspaceFacts = (rootDirectory, rootPackageJson, { collectReactGro
66751
66842
  tanstackQueryVersion: null,
66752
66843
  styledComponentsVersion: null,
66753
66844
  hasI18nLibrary: false,
66845
+ hasShadcnUi: false,
66846
+ hasRadixUi: false,
66847
+ hasBaseUi: false,
66848
+ hasReactAriaComponents: false,
66849
+ hasTanstackTable: false,
66850
+ hasTanstackVirtual: false,
66851
+ hasTanstackForm: false,
66754
66852
  hasReactNativeAwarePackage: false,
66755
66853
  hasReanimatedAwarePackage: false,
66756
66854
  hasSsrDependency: false,
@@ -67102,6 +67200,12 @@ const discoverProjectWithoutPackageJson = (directory, options) => {
67102
67200
  remotionVersion: null,
67103
67201
  remotionMajorVersion: null,
67104
67202
  hasI18nLibrary: false,
67203
+ hasRadixUi: false,
67204
+ hasBaseUi: false,
67205
+ hasReactAriaComponents: false,
67206
+ hasTanstackTable: false,
67207
+ hasTanstackVirtual: false,
67208
+ hasTanstackForm: false,
67105
67209
  tanstackQueryVersion: null,
67106
67210
  styledComponentsVersion: null,
67107
67211
  hasThree: false,
@@ -67123,6 +67227,7 @@ const discoverProjectWithoutPackageJson = (directory, options) => {
67123
67227
  shopifyFlashListMajorVersion: null,
67124
67228
  hasReanimated: false,
67125
67229
  reanimatedVersion: null,
67230
+ hasShadcnUi: detectShadcnUi(directory),
67126
67231
  isPreES2023Target: hasOwnTsConfig && detectPreES2023Target(directory),
67127
67232
  isStaticExport: false,
67128
67233
  sourceFileCount
@@ -67285,6 +67390,12 @@ const discoverProject = (directory, options = {}) => {
67285
67390
  hasReactCompilerLintPlugin: detectReactCompilerLintPlugin(directory, packageJson),
67286
67391
  hasTanStackQuery: tanstackQueryVersion !== null,
67287
67392
  hasI18nLibrary: workspaceFacts.hasI18nLibrary,
67393
+ hasRadixUi: workspaceFacts.hasRadixUi,
67394
+ hasBaseUi: workspaceFacts.hasBaseUi,
67395
+ hasReactAriaComponents: workspaceFacts.hasReactAriaComponents,
67396
+ hasTanstackTable: workspaceFacts.hasTanstackTable,
67397
+ hasTanstackVirtual: workspaceFacts.hasTanstackVirtual,
67398
+ hasTanstackForm: workspaceFacts.hasTanstackForm,
67288
67399
  tanstackQueryVersion,
67289
67400
  styledComponentsVersion: workspaceFacts.styledComponentsVersion,
67290
67401
  valtioVersion,
@@ -67311,6 +67422,7 @@ const discoverProject = (directory, options = {}) => {
67311
67422
  shopifyFlashListMajorVersion: shopifyFlashListVersion === null ? null : getLowestDependencyMajor(shopifyFlashListVersion),
67312
67423
  hasReanimated,
67313
67424
  reanimatedVersion,
67425
+ hasShadcnUi: workspaceFacts.hasShadcnUi,
67314
67426
  isPreES2023Target,
67315
67427
  isStaticExport: framework === "nextjs" && detectNextjsStaticExport(workspaceFacts.next.sourceDirectory ?? directory),
67316
67428
  sourceFileCount
@@ -71059,6 +71171,13 @@ const buildCapabilities = (project) => {
71059
71171
  minor: 0
71060
71172
  })) capabilities.add("tailwind:4");
71061
71173
  }
71174
+ if (project.hasShadcnUi === true) capabilities.add("shadcn");
71175
+ if (project.hasRadixUi === true) capabilities.add("radix-ui");
71176
+ if (project.hasBaseUi === true) capabilities.add("base-ui");
71177
+ if (project.hasReactAriaComponents === true) capabilities.add("react-aria");
71178
+ if (project.hasTanstackTable === true) capabilities.add("tanstack-table");
71179
+ if (project.hasTanstackVirtual === true) capabilities.add("tanstack-virtual");
71180
+ if (project.hasTanstackForm === true) capabilities.add("tanstack-form");
71062
71181
  if (project.zodVersion !== null) capabilities.add("zod");
71063
71182
  if (project.zodMajorVersion !== null && project.zodMajorVersion >= 4) capabilities.add("zod:4");
71064
71183
  if (project.mobxVersion !== void 0 && project.mobxVersion !== null || project.hasMobxReact === true || project.hasMobxReactLite === true || project.hasMobxStateTree === true || project.hasMobxReactObserver === true) capabilities.add("mobx");
@@ -71236,72 +71355,6 @@ const checkSecurityScanCooperative = async (rootDirectory, options = {}) => {
71236
71355
  }
71237
71356
  return session.diagnostics;
71238
71357
  };
71239
- var import_picocolors = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
71240
- let p = process || {}, argv = p.argv || [], env = p.env || {};
71241
- let isColorSupported = !(!!env.NO_COLOR || argv.includes("--no-color")) && (!!env.FORCE_COLOR || argv.includes("--color") || p.platform === "win32" || (p.stdout || {}).isTTY && env.TERM !== "dumb" || !!env.CI);
71242
- let formatter = (open, close, replace = open) => (input) => {
71243
- let string = "" + input, index = string.indexOf(close, open.length);
71244
- return ~index ? open + replaceClose(string, close, replace, index) + close : open + string + close;
71245
- };
71246
- let replaceClose = (string, close, replace, index) => {
71247
- let result = "", cursor = 0;
71248
- do {
71249
- result += string.substring(cursor, index) + replace;
71250
- cursor = index + close.length;
71251
- index = string.indexOf(close, cursor);
71252
- } while (~index);
71253
- return result + string.substring(cursor);
71254
- };
71255
- let createColors = (enabled = isColorSupported) => {
71256
- let f = enabled ? formatter : () => String;
71257
- return {
71258
- isColorSupported: enabled,
71259
- reset: f("\x1B[0m", "\x1B[0m"),
71260
- bold: f("\x1B[1m", "\x1B[22m", "\x1B[22m\x1B[1m"),
71261
- dim: f("\x1B[2m", "\x1B[22m", "\x1B[22m\x1B[2m"),
71262
- italic: f("\x1B[3m", "\x1B[23m"),
71263
- underline: f("\x1B[4m", "\x1B[24m"),
71264
- inverse: f("\x1B[7m", "\x1B[27m"),
71265
- hidden: f("\x1B[8m", "\x1B[28m"),
71266
- strikethrough: f("\x1B[9m", "\x1B[29m"),
71267
- black: f("\x1B[30m", "\x1B[39m"),
71268
- red: f("\x1B[31m", "\x1B[39m"),
71269
- green: f("\x1B[32m", "\x1B[39m"),
71270
- yellow: f("\x1B[33m", "\x1B[39m"),
71271
- blue: f("\x1B[34m", "\x1B[39m"),
71272
- magenta: f("\x1B[35m", "\x1B[39m"),
71273
- cyan: f("\x1B[36m", "\x1B[39m"),
71274
- white: f("\x1B[37m", "\x1B[39m"),
71275
- gray: f("\x1B[90m", "\x1B[39m"),
71276
- bgBlack: f("\x1B[40m", "\x1B[49m"),
71277
- bgRed: f("\x1B[41m", "\x1B[49m"),
71278
- bgGreen: f("\x1B[42m", "\x1B[49m"),
71279
- bgYellow: f("\x1B[43m", "\x1B[49m"),
71280
- bgBlue: f("\x1B[44m", "\x1B[49m"),
71281
- bgMagenta: f("\x1B[45m", "\x1B[49m"),
71282
- bgCyan: f("\x1B[46m", "\x1B[49m"),
71283
- bgWhite: f("\x1B[47m", "\x1B[49m"),
71284
- blackBright: f("\x1B[90m", "\x1B[39m"),
71285
- redBright: f("\x1B[91m", "\x1B[39m"),
71286
- greenBright: f("\x1B[92m", "\x1B[39m"),
71287
- yellowBright: f("\x1B[93m", "\x1B[39m"),
71288
- blueBright: f("\x1B[94m", "\x1B[39m"),
71289
- magentaBright: f("\x1B[95m", "\x1B[39m"),
71290
- cyanBright: f("\x1B[96m", "\x1B[39m"),
71291
- whiteBright: f("\x1B[97m", "\x1B[39m"),
71292
- bgBlackBright: f("\x1B[100m", "\x1B[49m"),
71293
- bgRedBright: f("\x1B[101m", "\x1B[49m"),
71294
- bgGreenBright: f("\x1B[102m", "\x1B[49m"),
71295
- bgYellowBright: f("\x1B[103m", "\x1B[49m"),
71296
- bgBlueBright: f("\x1B[104m", "\x1B[49m"),
71297
- bgMagentaBright: f("\x1B[105m", "\x1B[49m"),
71298
- bgCyanBright: f("\x1B[106m", "\x1B[49m"),
71299
- bgWhiteBright: f("\x1B[107m", "\x1B[49m")
71300
- };
71301
- };
71302
- module.exports = createColors();
71303
- module.exports.createColors = createColors;
71304
- })))(), 1);
71305
71358
  const highlighter = {
71306
71359
  error: import_picocolors.default.red,
71307
71360
  warn: import_picocolors.default.yellow,
@@ -72619,7 +72672,11 @@ var Git = class Git extends Service()("react-doctor/Git") {
72619
72672
  const symref = yield* runGit(directory, ["symbolic-ref", "refs/remotes/origin/HEAD"]);
72620
72673
  if (symref.status === 0) {
72621
72674
  const trimmed = trimOrNull(symref.stdout);
72622
- if (trimmed !== null) return trimmed.replace("refs/remotes/origin/", "");
72675
+ if (trimmed !== null) {
72676
+ const branchName = trimmed.replace("refs/remotes/origin/", "");
72677
+ const remoteBranch = `origin/${branchName}`;
72678
+ return (yield* branchExists(directory, remoteBranch)) ? remoteBranch : branchName;
72679
+ }
72623
72680
  }
72624
72681
  const candidates = yield* runGit(directory, [
72625
72682
  "for-each-ref",
@@ -72627,7 +72684,10 @@ var Git = class Git extends Service()("react-doctor/Git") {
72627
72684
  ...DEFAULT_BRANCH_CANDIDATES.map((candidate) => `refs/heads/${candidate}`)
72628
72685
  ]);
72629
72686
  if (candidates.status !== 0) return null;
72630
- return trimOrNull(candidates.stdout.split("\n")[0] ?? "");
72687
+ const localBranch = trimOrNull(candidates.stdout.split("\n")[0] ?? "");
72688
+ if (localBranch === null) return null;
72689
+ const remoteBranch = `origin/${localBranch}`;
72690
+ return (yield* branchExists(directory, remoteBranch)) ? remoteBranch : localBranch;
72631
72691
  }).pipe(withSpan("Git.defaultBranch"));
72632
72692
  const branchExists = (directory, branch) => runGit(directory, [
72633
72693
  "rev-parse",
@@ -74653,6 +74713,46 @@ const buildProfiledNodeArguments = (input) => [
74653
74713
  ...input.heapProfileDirectory ? ["--heap-prof", `--heap-prof-dir=${input.heapProfileDirectory}`] : [],
74654
74714
  ...input.argumentsList
74655
74715
  ];
74716
+ const buildOxlintTimingArguments = (argumentsList) => {
74717
+ const timingArguments = [...argumentsList];
74718
+ const formatFlagIndex = timingArguments.indexOf("--format");
74719
+ if (formatFlagIndex === -1 || formatFlagIndex + 1 >= timingArguments.length) throw new Error("Oxlint timing arguments require a --format value");
74720
+ timingArguments[formatFlagIndex + 1] = "default";
74721
+ timingArguments.push("--debug", "timings", "--quiet");
74722
+ return timingArguments;
74723
+ };
74724
+ const captureOxlintRuleTimings = (input) => new Promise((resolve, reject) => {
74725
+ const timingEnvironment = { ...input.environment };
74726
+ timingEnvironment.REACT_DOCTOR_RULE_TIMINGS_DIR = void 0;
74727
+ const timingChild = spawn(input.nodeBinaryPath, buildOxlintTimingArguments(input.argumentsList), {
74728
+ cwd: input.rootDirectory,
74729
+ env: timingEnvironment,
74730
+ stdio: [
74731
+ "ignore",
74732
+ "pipe",
74733
+ "pipe"
74734
+ ]
74735
+ });
74736
+ const stdoutBuffers = [];
74737
+ const stderrBuffers = [];
74738
+ timingChild.stdout.on("data", (buffer) => stdoutBuffers.push(buffer));
74739
+ timingChild.stderr.on("data", (buffer) => stderrBuffers.push(buffer));
74740
+ timingChild.on("error", reject);
74741
+ timingChild.on("close", (_code, signal) => {
74742
+ if (signal) {
74743
+ reject(/* @__PURE__ */ new Error(`Oxlint timing pass was killed by ${signal}`));
74744
+ return;
74745
+ }
74746
+ const timingOutput = `${Buffer.concat(stdoutBuffers).toString("utf8")}\n${Buffer.concat(stderrBuffers).toString("utf8")}`;
74747
+ if (!timingOutput.includes("Rule timings:")) {
74748
+ resolve();
74749
+ return;
74750
+ }
74751
+ fs$1$3.mkdirSync(input.timingDirectory, { recursive: true });
74752
+ fs$1$3.writeFileSync(path$1$1.join(input.timingDirectory, `oxlint-${timingChild.pid ?? process.pid}.timings.txt`), timingOutput);
74753
+ resolve();
74754
+ });
74755
+ });
74656
74756
  const lowerChildProcessPriority = (processId) => {
74657
74757
  if (processId === void 0) return;
74658
74758
  try {
@@ -74774,7 +74874,18 @@ const spawnOxlint = (args, rootDirectory, nodeBinaryPath, spawnTimeoutMs = OXLIN
74774
74874
  return;
74775
74875
  }
74776
74876
  }
74777
- resolve(output);
74877
+ const timingDirectory = SANITIZED_ENV.REACT_DOCTOR_OXLINT_TIMINGS_DIR;
74878
+ if (timingDirectory === void 0) {
74879
+ resolve(output);
74880
+ return;
74881
+ }
74882
+ captureOxlintRuleTimings({
74883
+ argumentsList: args,
74884
+ environment: SANITIZED_ENV,
74885
+ nodeBinaryPath,
74886
+ rootDirectory,
74887
+ timingDirectory
74888
+ }).then(() => resolve(output), reject);
74778
74889
  });
74779
74890
  });
74780
74891
  const PARALLELISM_EXHAUSTION_ERROR_CODES = new Set([
@@ -77882,4 +77993,4 @@ const toJsonReport = (result, options) => buildJsonReport({
77882
77993
  export { AmbiguousProjectError, NoReactDependencyError, NotADirectoryError, PackageJsonNotFoundError, ProjectNotFoundError, ReactDoctorError, buildJsonReport, buildJsonReportError, clearCaches, defineConfig, diagnose, filterSourceFiles, getDiffInfo, hasReactRuntime, isProjectDiscoveryError, isReactDoctorError, summarizeDiagnostics, toJsonReport };
77883
77994
 
77884
77995
  //# sourceMappingURL=index.js.map
77885
- //# debugId=3404885b-ce22-59ed-b773-5398b6af4974
77996
+ //# debugId=8065a42b-3c73-5f92-8b4f-29cb68d77940