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
@@ -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]="c9e04589-a11d-5831-8f4a-ffc7130734b6")}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]="0f26b2a2-cc81-5777-adad-9ad6ba2720c0")}catch(e){}}();
3
+ import { i as __toESM, r as __require, t as __commonJSMin } from "./chunk-ChKA3wi6.js";
4
4
  import { n as require_picomatch, t as require_semver } from "./semver-DFtnEmN-.js";
5
5
  import { createRequire } from "node:module";
6
6
  import * as NodeChildProcess from "node:child_process";
@@ -27,7 +27,7 @@ import { STATUS_CODES } from "node:http";
27
27
  import { gzipSync } from "node:zlib";
28
28
  import { performance as performance$1 } from "node:perf_hooks";
29
29
  //#region ../core/dist/collect-unplugin-auto-import-global-scopes-Dno9RW5R.js
30
- var import_picomatch = /* @__PURE__ */ __toESM$1(require_picomatch(), 1);
30
+ var import_picomatch = /* @__PURE__ */ __toESM(require_picomatch(), 1);
31
31
  const HTML_FILE_PATTERN = /\.html$/i;
32
32
  const SOURCE_FILE_PATTERN = /\.(?:astro|tsx?|jsx?|mts|mjs|[hH][tT][mM][lL])$/;
33
33
  const GENERATED_BUNDLE_FILE_PATTERN = /\.(iife|umd|global|min)\.m?js$/i;
@@ -22136,7 +22136,7 @@ Union([
22136
22136
  ]);
22137
22137
  //#endregion
22138
22138
  //#region ../../node_modules/.pnpm/baseline-browser-mapping@2.9.19/node_modules/baseline-browser-mapping/dist/index.cjs
22139
- var require_dist = /* @__PURE__ */ __commonJSMin$1(((exports) => {
22139
+ var require_dist = /* @__PURE__ */ __commonJSMin(((exports) => {
22140
22140
  const s = {
22141
22141
  chrome: { releases: [
22142
22142
  [
@@ -41386,7 +41386,7 @@ var require_dist = /* @__PURE__ */ __commonJSMin$1(((exports) => {
41386
41386
  }));
41387
41387
  //#endregion
41388
41388
  //#region ../../node_modules/.pnpm/node-releases@2.0.27/node_modules/node-releases/data/processed/envs.json
41389
- var require_envs = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
41389
+ var require_envs = /* @__PURE__ */ __commonJSMin(((exports, module) => {
41390
41390
  module.exports = [
41391
41391
  {
41392
41392
  "name": "nodejs",
@@ -44168,7 +44168,7 @@ var require_envs = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
44168
44168
  }));
44169
44169
  //#endregion
44170
44170
  //#region ../../node_modules/.pnpm/caniuse-lite@1.0.30001769/node_modules/caniuse-lite/data/browsers.js
44171
- var require_browsers$1 = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
44171
+ var require_browsers$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
44172
44172
  module.exports = {
44173
44173
  A: "ie",
44174
44174
  B: "edge",
@@ -44193,12 +44193,12 @@ var require_browsers$1 = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
44193
44193
  }));
44194
44194
  //#endregion
44195
44195
  //#region ../../node_modules/.pnpm/caniuse-lite@1.0.30001769/node_modules/caniuse-lite/dist/unpacker/browsers.js
44196
- var require_browsers = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
44196
+ var require_browsers = /* @__PURE__ */ __commonJSMin(((exports, module) => {
44197
44197
  module.exports.browsers = require_browsers$1();
44198
44198
  }));
44199
44199
  //#endregion
44200
44200
  //#region ../../node_modules/.pnpm/caniuse-lite@1.0.30001769/node_modules/caniuse-lite/data/browserVersions.js
44201
- var require_browserVersions$1 = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
44201
+ var require_browserVersions$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
44202
44202
  module.exports = {
44203
44203
  "0": "117",
44204
44204
  "1": "118",
@@ -44450,12 +44450,12 @@ var require_browserVersions$1 = /* @__PURE__ */ __commonJSMin$1(((exports, modul
44450
44450
  }));
44451
44451
  //#endregion
44452
44452
  //#region ../../node_modules/.pnpm/caniuse-lite@1.0.30001769/node_modules/caniuse-lite/dist/unpacker/browserVersions.js
44453
- var require_browserVersions = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
44453
+ var require_browserVersions = /* @__PURE__ */ __commonJSMin(((exports, module) => {
44454
44454
  module.exports.browserVersions = require_browserVersions$1();
44455
44455
  }));
44456
44456
  //#endregion
44457
44457
  //#region ../../node_modules/.pnpm/caniuse-lite@1.0.30001769/node_modules/caniuse-lite/data/agents.js
44458
- var require_agents$1 = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
44458
+ var require_agents$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
44459
44459
  module.exports = {
44460
44460
  A: {
44461
44461
  A: {
@@ -48824,7 +48824,7 @@ var require_agents$1 = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
48824
48824
  }));
48825
48825
  //#endregion
48826
48826
  //#region ../../node_modules/.pnpm/caniuse-lite@1.0.30001769/node_modules/caniuse-lite/dist/unpacker/agents.js
48827
- var require_agents = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
48827
+ var require_agents = /* @__PURE__ */ __commonJSMin(((exports, module) => {
48828
48828
  const browsers = require_browsers().browsers;
48829
48829
  const versions = require_browserVersions().browserVersions;
48830
48830
  const agentsData = require_agents$1();
@@ -48857,7 +48857,7 @@ var require_agents = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
48857
48857
  }));
48858
48858
  //#endregion
48859
48859
  //#region ../../node_modules/.pnpm/electron-to-chromium@1.5.286/node_modules/electron-to-chromium/versions.js
48860
- var require_versions = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
48860
+ var require_versions = /* @__PURE__ */ __commonJSMin(((exports, module) => {
48861
48861
  module.exports = {
48862
48862
  "0.20": "39",
48863
48863
  "0.21": "41",
@@ -49091,7 +49091,7 @@ var require_versions = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
49091
49091
  }));
49092
49092
  //#endregion
49093
49093
  //#region ../../node_modules/.pnpm/node-releases@2.0.27/node_modules/node-releases/data/release-schedule/release-schedule.json
49094
- var require_release_schedule = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
49094
+ var require_release_schedule = /* @__PURE__ */ __commonJSMin(((exports, module) => {
49095
49095
  module.exports = {
49096
49096
  "v0.8": {
49097
49097
  "start": "2012-06-25",
@@ -49248,7 +49248,7 @@ var require_release_schedule = /* @__PURE__ */ __commonJSMin$1(((exports, module
49248
49248
  }));
49249
49249
  //#endregion
49250
49250
  //#region ../../node_modules/.pnpm/browserslist@4.28.1/node_modules/browserslist/error.js
49251
- var require_error = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
49251
+ var require_error = /* @__PURE__ */ __commonJSMin(((exports, module) => {
49252
49252
  function BrowserslistError(message) {
49253
49253
  this.name = "BrowserslistError";
49254
49254
  this.message = message;
@@ -49260,7 +49260,7 @@ var require_error = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
49260
49260
  }));
49261
49261
  //#endregion
49262
49262
  //#region ../../node_modules/.pnpm/caniuse-lite@1.0.30001769/node_modules/caniuse-lite/dist/lib/statuses.js
49263
- var require_statuses = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
49263
+ var require_statuses = /* @__PURE__ */ __commonJSMin(((exports, module) => {
49264
49264
  module.exports = {
49265
49265
  1: "ls",
49266
49266
  2: "rec",
@@ -49273,7 +49273,7 @@ var require_statuses = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
49273
49273
  }));
49274
49274
  //#endregion
49275
49275
  //#region ../../node_modules/.pnpm/caniuse-lite@1.0.30001769/node_modules/caniuse-lite/dist/lib/supported.js
49276
- var require_supported = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
49276
+ var require_supported = /* @__PURE__ */ __commonJSMin(((exports, module) => {
49277
49277
  module.exports = {
49278
49278
  y: 1,
49279
49279
  n: 2,
@@ -49286,7 +49286,7 @@ var require_supported = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
49286
49286
  }));
49287
49287
  //#endregion
49288
49288
  //#region ../../node_modules/.pnpm/caniuse-lite@1.0.30001769/node_modules/caniuse-lite/dist/unpacker/feature.js
49289
- var require_feature = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
49289
+ var require_feature = /* @__PURE__ */ __commonJSMin(((exports, module) => {
49290
49290
  const statuses = require_statuses();
49291
49291
  const supported = require_supported();
49292
49292
  const browsers = require_browsers().browsers;
@@ -49329,7 +49329,7 @@ var require_feature = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
49329
49329
  }));
49330
49330
  //#endregion
49331
49331
  //#region ../../node_modules/.pnpm/caniuse-lite@1.0.30001769/node_modules/caniuse-lite/dist/unpacker/region.js
49332
- var require_region = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
49332
+ var require_region = /* @__PURE__ */ __commonJSMin(((exports, module) => {
49333
49333
  const browsers = require_browsers().browsers;
49334
49334
  function unpackRegion(packed) {
49335
49335
  return Object.keys(packed).reduce((list, browser) => {
@@ -49348,7 +49348,7 @@ var require_region = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
49348
49348
  }));
49349
49349
  //#endregion
49350
49350
  //#region ../../node_modules/.pnpm/browserslist@4.28.1/node_modules/browserslist/node.js
49351
- var require_node = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
49351
+ var require_node = /* @__PURE__ */ __commonJSMin(((exports, module) => {
49352
49352
  var feature = require_feature().default;
49353
49353
  var region = require_region().default;
49354
49354
  var fs$2 = __require("fs");
@@ -49641,7 +49641,7 @@ var require_node = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
49641
49641
  }));
49642
49642
  //#endregion
49643
49643
  //#region ../../node_modules/.pnpm/browserslist@4.28.1/node_modules/browserslist/parse.js
49644
- var require_parse = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
49644
+ var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
49645
49645
  var AND_REGEXP = /^\s+and\s+(.*)/i;
49646
49646
  var OR_REGEXP = /^(?:,\s*|\s+or\s+)(.*)/i;
49647
49647
  function flatten(array) {
@@ -49707,7 +49707,7 @@ var require_parse = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
49707
49707
  }));
49708
49708
  //#endregion
49709
49709
  //#region ../../node_modules/.pnpm/browserslist@4.28.1/node_modules/browserslist/index.js
49710
- var require_browserslist = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
49710
+ var require_browserslist = /* @__PURE__ */ __commonJSMin(((exports, module) => {
49711
49711
  var bbm = require_dist();
49712
49712
  var jsReleases = require_envs();
49713
49713
  var agents = require_agents().agents;
@@ -50729,8 +50729,8 @@ var require_browserslist = /* @__PURE__ */ __commonJSMin$1(((exports, module) =>
50729
50729
  }));
50730
50730
  //#endregion
50731
50731
  //#region ../../node_modules/.pnpm/effect@4.0.0-beta.102/node_modules/effect/dist/Brand.js
50732
- var import_semver = /* @__PURE__ */ __toESM$1(require_semver(), 1);
50733
- var import_browserslist = /* @__PURE__ */ __toESM$1(require_browserslist(), 1);
50732
+ var import_semver = /* @__PURE__ */ __toESM(require_semver(), 1);
50733
+ var import_browserslist = /* @__PURE__ */ __toESM(require_browserslist(), 1);
50734
50734
  /**
50735
50735
  * Returns a `Constructor` that **does not apply any runtime checks** and just
50736
50736
  * returns the provided value.
@@ -60327,6 +60327,72 @@ const warn$1 = (...args) => consoleWith((console) => sync$2(() => {
60327
60327
  }));
60328
60328
  //#endregion
60329
60329
  //#region ../../node_modules/.pnpm/effect@4.0.0-beta.102/node_modules/effect/dist/Cache.js
60330
+ var import_picocolors = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
60331
+ let p = process || {}, argv = p.argv || [], env = p.env || {};
60332
+ 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);
60333
+ let formatter = (open, close, replace = open) => (input) => {
60334
+ let string = "" + input, index = string.indexOf(close, open.length);
60335
+ return ~index ? open + replaceClose(string, close, replace, index) + close : open + string + close;
60336
+ };
60337
+ let replaceClose = (string, close, replace, index) => {
60338
+ let result = "", cursor = 0;
60339
+ do {
60340
+ result += string.substring(cursor, index) + replace;
60341
+ cursor = index + close.length;
60342
+ index = string.indexOf(close, cursor);
60343
+ } while (~index);
60344
+ return result + string.substring(cursor);
60345
+ };
60346
+ let createColors = (enabled = isColorSupported) => {
60347
+ let f = enabled ? formatter : () => String;
60348
+ return {
60349
+ isColorSupported: enabled,
60350
+ reset: f("\x1B[0m", "\x1B[0m"),
60351
+ bold: f("\x1B[1m", "\x1B[22m", "\x1B[22m\x1B[1m"),
60352
+ dim: f("\x1B[2m", "\x1B[22m", "\x1B[22m\x1B[2m"),
60353
+ italic: f("\x1B[3m", "\x1B[23m"),
60354
+ underline: f("\x1B[4m", "\x1B[24m"),
60355
+ inverse: f("\x1B[7m", "\x1B[27m"),
60356
+ hidden: f("\x1B[8m", "\x1B[28m"),
60357
+ strikethrough: f("\x1B[9m", "\x1B[29m"),
60358
+ black: f("\x1B[30m", "\x1B[39m"),
60359
+ red: f("\x1B[31m", "\x1B[39m"),
60360
+ green: f("\x1B[32m", "\x1B[39m"),
60361
+ yellow: f("\x1B[33m", "\x1B[39m"),
60362
+ blue: f("\x1B[34m", "\x1B[39m"),
60363
+ magenta: f("\x1B[35m", "\x1B[39m"),
60364
+ cyan: f("\x1B[36m", "\x1B[39m"),
60365
+ white: f("\x1B[37m", "\x1B[39m"),
60366
+ gray: f("\x1B[90m", "\x1B[39m"),
60367
+ bgBlack: f("\x1B[40m", "\x1B[49m"),
60368
+ bgRed: f("\x1B[41m", "\x1B[49m"),
60369
+ bgGreen: f("\x1B[42m", "\x1B[49m"),
60370
+ bgYellow: f("\x1B[43m", "\x1B[49m"),
60371
+ bgBlue: f("\x1B[44m", "\x1B[49m"),
60372
+ bgMagenta: f("\x1B[45m", "\x1B[49m"),
60373
+ bgCyan: f("\x1B[46m", "\x1B[49m"),
60374
+ bgWhite: f("\x1B[47m", "\x1B[49m"),
60375
+ blackBright: f("\x1B[90m", "\x1B[39m"),
60376
+ redBright: f("\x1B[91m", "\x1B[39m"),
60377
+ greenBright: f("\x1B[92m", "\x1B[39m"),
60378
+ yellowBright: f("\x1B[93m", "\x1B[39m"),
60379
+ blueBright: f("\x1B[94m", "\x1B[39m"),
60380
+ magentaBright: f("\x1B[95m", "\x1B[39m"),
60381
+ cyanBright: f("\x1B[96m", "\x1B[39m"),
60382
+ whiteBright: f("\x1B[97m", "\x1B[39m"),
60383
+ bgBlackBright: f("\x1B[100m", "\x1B[49m"),
60384
+ bgRedBright: f("\x1B[101m", "\x1B[49m"),
60385
+ bgGreenBright: f("\x1B[102m", "\x1B[49m"),
60386
+ bgYellowBright: f("\x1B[103m", "\x1B[49m"),
60387
+ bgBlueBright: f("\x1B[104m", "\x1B[49m"),
60388
+ bgMagentaBright: f("\x1B[105m", "\x1B[49m"),
60389
+ bgCyanBright: f("\x1B[106m", "\x1B[49m"),
60390
+ bgWhiteBright: f("\x1B[107m", "\x1B[49m")
60391
+ };
60392
+ };
60393
+ module.exports = createColors();
60394
+ module.exports.createColors = createColors;
60395
+ })))(), 1);
60330
60396
  /**
60331
60397
  * Caches values loaded by an Effect lookup function.
60332
60398
  *
@@ -62296,27 +62362,6 @@ function traceSegmentInternal(segments, memo, line, column, bias) {
62296
62362
  }
62297
62363
  //#endregion
62298
62364
  //#region ../core/dist/index.js
62299
- var __create = Object.create;
62300
- var __defProp = Object.defineProperty;
62301
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
62302
- var __getOwnPropNames = Object.getOwnPropertyNames;
62303
- var __getProtoOf = Object.getPrototypeOf;
62304
- var __hasOwnProp = Object.prototype.hasOwnProperty;
62305
- var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
62306
- var __copyProps = (to, from, except, desc) => {
62307
- if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
62308
- key = keys[i];
62309
- if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
62310
- get: ((k) => from[k]).bind(null, key),
62311
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
62312
- });
62313
- }
62314
- return to;
62315
- };
62316
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
62317
- value: mod,
62318
- enumerable: true
62319
- }) : target, mod));
62320
62365
  var ProjectNotFoundError = class extends Error {
62321
62366
  name = "ProjectNotFoundError";
62322
62367
  directory;
@@ -63691,6 +63736,18 @@ const detectPreES2023Target = (directory) => {
63691
63736
  }
63692
63737
  return false;
63693
63738
  };
63739
+ const SHADCN_CONFIG_FILE_NAME = "components.json";
63740
+ const detectShadcnUi = (directory) => {
63741
+ if (isFile(path$1$1.join(directory, SHADCN_CONFIG_FILE_NAME))) return true;
63742
+ if (isProjectBoundary(directory)) return false;
63743
+ let ancestorDirectory = path$1$1.dirname(directory);
63744
+ while (ancestorDirectory !== path$1$1.dirname(ancestorDirectory)) {
63745
+ if (isFile(path$1$1.join(ancestorDirectory, SHADCN_CONFIG_FILE_NAME))) return true;
63746
+ if (isProjectBoundary(ancestorDirectory)) return false;
63747
+ ancestorDirectory = path$1$1.dirname(ancestorDirectory);
63748
+ }
63749
+ return false;
63750
+ };
63694
63751
  const FRAMEWORK_PACKAGES = {
63695
63752
  next: "nextjs",
63696
63753
  "@tanstack/react-start": "tanstack-start",
@@ -64456,6 +64513,29 @@ const getTanStackQueryVersion = (packageJson) => {
64456
64513
  packageNames: TANSTACK_REACT_QUERY_PACKAGES
64457
64514
  });
64458
64515
  };
64516
+ const hasAnyDependency = (packageJson, packageNames) => {
64517
+ const allDependencies = {
64518
+ ...packageJson.peerDependencies,
64519
+ ...packageJson.dependencies,
64520
+ ...packageJson.devDependencies,
64521
+ ...packageJson.optionalDependencies
64522
+ };
64523
+ return packageNames.some((packageName) => allDependencies[packageName] !== void 0);
64524
+ };
64525
+ const BASE_UI_PACKAGES = ["@base-ui-components/react", "@base-ui/react"];
64526
+ const hasBaseUiDependency = (packageJson) => hasAnyDependency(packageJson, BASE_UI_PACKAGES);
64527
+ const RADIX_UNIFIED_PACKAGE = "radix-ui";
64528
+ const RADIX_PRIMITIVE_PACKAGE_PREFIX = "@radix-ui/react-";
64529
+ const RADIX_NON_PRIMITIVE_PACKAGES = new Set(["@radix-ui/react-icons"]);
64530
+ const hasRadixUiDependency = (packageJson) => {
64531
+ const allDependencies = {
64532
+ ...packageJson.peerDependencies,
64533
+ ...packageJson.dependencies,
64534
+ ...packageJson.devDependencies,
64535
+ ...packageJson.optionalDependencies
64536
+ };
64537
+ return Object.keys(allDependencies).some((packageName) => packageName === RADIX_UNIFIED_PACKAGE || packageName.startsWith(RADIX_PRIMITIVE_PACKAGE_PREFIX) && !RADIX_NON_PRIMITIVE_PACKAGES.has(packageName));
64538
+ };
64459
64539
  const STYLED_COMPONENTS_PACKAGES = ["styled-components"];
64460
64540
  const getStyledComponentsVersion = (packageJson) => {
64461
64541
  return getPreferredDependencyVersion({
@@ -64486,6 +64566,10 @@ const hasI18nDependency = (packageJson) => {
64486
64566
  };
64487
64567
  return I18N_PACKAGES.some((packageName) => allDependencies[packageName] !== void 0);
64488
64568
  };
64569
+ const REACT_ARIA_COMPONENT_PACKAGES = ["react-aria-components"];
64570
+ const TANSTACK_TABLE_PACKAGES = ["@tanstack/react-table"];
64571
+ const TANSTACK_VIRTUAL_PACKAGES = ["@tanstack/react-virtual"];
64572
+ const TANSTACK_FORM_PACKAGES = ["@tanstack/react-form"];
64489
64573
  const REANIMATED_DEPENDENCY_NAME = "react-native-reanimated";
64490
64574
  const MOBX_REACT_PACKAGE_NAME = "mobx-react";
64491
64575
  const MOBX_REACT_LITE_PACKAGE_NAME = "mobx-react-lite";
@@ -64676,6 +64760,13 @@ const evaluateManifestFacts = (facts, packageJson, directory, rootDirectory, roo
64676
64760
  });
64677
64761
  if (styledComponentsVersion && shouldReplaceStyledComponentsVersion(facts.styledComponentsVersion, styledComponentsVersion)) facts.styledComponentsVersion = styledComponentsVersion;
64678
64762
  facts.hasI18nLibrary = facts.hasI18nLibrary || hasI18nDependency(packageJson);
64763
+ facts.hasShadcnUi = facts.hasShadcnUi || detectShadcnUi(directory);
64764
+ facts.hasRadixUi = facts.hasRadixUi || hasRadixUiDependency(packageJson);
64765
+ facts.hasBaseUi = facts.hasBaseUi || hasBaseUiDependency(packageJson);
64766
+ facts.hasReactAriaComponents = facts.hasReactAriaComponents || hasAnyDependency(packageJson, REACT_ARIA_COMPONENT_PACKAGES);
64767
+ facts.hasTanstackTable = facts.hasTanstackTable || hasAnyDependency(packageJson, TANSTACK_TABLE_PACKAGES);
64768
+ facts.hasTanstackVirtual = facts.hasTanstackVirtual || hasAnyDependency(packageJson, TANSTACK_VIRTUAL_PACKAGES);
64769
+ facts.hasTanstackForm = facts.hasTanstackForm || hasAnyDependency(packageJson, TANSTACK_FORM_PACKAGES);
64679
64770
  for (const packageName of REACT_THREE_FIBER_DEPENDENCY_NAMES) {
64680
64771
  const version = resolveCatalogBackedDependencyVersion({
64681
64772
  rootDirectory,
@@ -64778,6 +64869,13 @@ const collectWorkspaceFacts = (rootDirectory, rootPackageJson, { collectReactGro
64778
64869
  tanstackQueryVersion: null,
64779
64870
  styledComponentsVersion: null,
64780
64871
  hasI18nLibrary: false,
64872
+ hasShadcnUi: false,
64873
+ hasRadixUi: false,
64874
+ hasBaseUi: false,
64875
+ hasReactAriaComponents: false,
64876
+ hasTanstackTable: false,
64877
+ hasTanstackVirtual: false,
64878
+ hasTanstackForm: false,
64781
64879
  hasReactNativeAwarePackage: false,
64782
64880
  hasReanimatedAwarePackage: false,
64783
64881
  hasSsrDependency: false,
@@ -65122,6 +65220,12 @@ const discoverProjectWithoutPackageJson = (directory, options) => {
65122
65220
  remotionVersion: null,
65123
65221
  remotionMajorVersion: null,
65124
65222
  hasI18nLibrary: false,
65223
+ hasRadixUi: false,
65224
+ hasBaseUi: false,
65225
+ hasReactAriaComponents: false,
65226
+ hasTanstackTable: false,
65227
+ hasTanstackVirtual: false,
65228
+ hasTanstackForm: false,
65125
65229
  tanstackQueryVersion: null,
65126
65230
  styledComponentsVersion: null,
65127
65231
  hasThree: false,
@@ -65143,6 +65247,7 @@ const discoverProjectWithoutPackageJson = (directory, options) => {
65143
65247
  shopifyFlashListMajorVersion: null,
65144
65248
  hasReanimated: false,
65145
65249
  reanimatedVersion: null,
65250
+ hasShadcnUi: detectShadcnUi(directory),
65146
65251
  isPreES2023Target: hasOwnTsConfig && detectPreES2023Target(directory),
65147
65252
  isStaticExport: false,
65148
65253
  sourceFileCount
@@ -65305,6 +65410,12 @@ const discoverProject = (directory, options = {}) => {
65305
65410
  hasReactCompilerLintPlugin: detectReactCompilerLintPlugin(directory, packageJson),
65306
65411
  hasTanStackQuery: tanstackQueryVersion !== null,
65307
65412
  hasI18nLibrary: workspaceFacts.hasI18nLibrary,
65413
+ hasRadixUi: workspaceFacts.hasRadixUi,
65414
+ hasBaseUi: workspaceFacts.hasBaseUi,
65415
+ hasReactAriaComponents: workspaceFacts.hasReactAriaComponents,
65416
+ hasTanstackTable: workspaceFacts.hasTanstackTable,
65417
+ hasTanstackVirtual: workspaceFacts.hasTanstackVirtual,
65418
+ hasTanstackForm: workspaceFacts.hasTanstackForm,
65308
65419
  tanstackQueryVersion,
65309
65420
  styledComponentsVersion: workspaceFacts.styledComponentsVersion,
65310
65421
  valtioVersion,
@@ -65331,6 +65442,7 @@ const discoverProject = (directory, options = {}) => {
65331
65442
  shopifyFlashListMajorVersion: shopifyFlashListVersion === null ? null : getLowestDependencyMajor(shopifyFlashListVersion),
65332
65443
  hasReanimated,
65333
65444
  reanimatedVersion,
65445
+ hasShadcnUi: workspaceFacts.hasShadcnUi,
65334
65446
  isPreES2023Target,
65335
65447
  isStaticExport: framework === "nextjs" && detectNextjsStaticExport(workspaceFacts.next.sourceDirectory ?? directory),
65336
65448
  sourceFileCount
@@ -69335,6 +69447,13 @@ const buildCapabilities = (project) => {
69335
69447
  minor: 0
69336
69448
  })) capabilities.add("tailwind:4");
69337
69449
  }
69450
+ if (project.hasShadcnUi === true) capabilities.add("shadcn");
69451
+ if (project.hasRadixUi === true) capabilities.add("radix-ui");
69452
+ if (project.hasBaseUi === true) capabilities.add("base-ui");
69453
+ if (project.hasReactAriaComponents === true) capabilities.add("react-aria");
69454
+ if (project.hasTanstackTable === true) capabilities.add("tanstack-table");
69455
+ if (project.hasTanstackVirtual === true) capabilities.add("tanstack-virtual");
69456
+ if (project.hasTanstackForm === true) capabilities.add("tanstack-form");
69338
69457
  if (project.zodVersion !== null) capabilities.add("zod");
69339
69458
  if (project.zodMajorVersion !== null && project.zodMajorVersion >= 4) capabilities.add("zod:4");
69340
69459
  if (project.mobxVersion !== void 0 && project.mobxVersion !== null || project.hasMobxReact === true || project.hasMobxReactLite === true || project.hasMobxStateTree === true || project.hasMobxReactObserver === true) capabilities.add("mobx");
@@ -69512,72 +69631,6 @@ const checkSecurityScanCooperative = async (rootDirectory, options = {}) => {
69512
69631
  }
69513
69632
  return session.diagnostics;
69514
69633
  };
69515
- var import_picocolors = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
69516
- let p = process || {}, argv = p.argv || [], env = p.env || {};
69517
- 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);
69518
- let formatter = (open, close, replace = open) => (input) => {
69519
- let string = "" + input, index = string.indexOf(close, open.length);
69520
- return ~index ? open + replaceClose(string, close, replace, index) + close : open + string + close;
69521
- };
69522
- let replaceClose = (string, close, replace, index) => {
69523
- let result = "", cursor = 0;
69524
- do {
69525
- result += string.substring(cursor, index) + replace;
69526
- cursor = index + close.length;
69527
- index = string.indexOf(close, cursor);
69528
- } while (~index);
69529
- return result + string.substring(cursor);
69530
- };
69531
- let createColors = (enabled = isColorSupported) => {
69532
- let f = enabled ? formatter : () => String;
69533
- return {
69534
- isColorSupported: enabled,
69535
- reset: f("\x1B[0m", "\x1B[0m"),
69536
- bold: f("\x1B[1m", "\x1B[22m", "\x1B[22m\x1B[1m"),
69537
- dim: f("\x1B[2m", "\x1B[22m", "\x1B[22m\x1B[2m"),
69538
- italic: f("\x1B[3m", "\x1B[23m"),
69539
- underline: f("\x1B[4m", "\x1B[24m"),
69540
- inverse: f("\x1B[7m", "\x1B[27m"),
69541
- hidden: f("\x1B[8m", "\x1B[28m"),
69542
- strikethrough: f("\x1B[9m", "\x1B[29m"),
69543
- black: f("\x1B[30m", "\x1B[39m"),
69544
- red: f("\x1B[31m", "\x1B[39m"),
69545
- green: f("\x1B[32m", "\x1B[39m"),
69546
- yellow: f("\x1B[33m", "\x1B[39m"),
69547
- blue: f("\x1B[34m", "\x1B[39m"),
69548
- magenta: f("\x1B[35m", "\x1B[39m"),
69549
- cyan: f("\x1B[36m", "\x1B[39m"),
69550
- white: f("\x1B[37m", "\x1B[39m"),
69551
- gray: f("\x1B[90m", "\x1B[39m"),
69552
- bgBlack: f("\x1B[40m", "\x1B[49m"),
69553
- bgRed: f("\x1B[41m", "\x1B[49m"),
69554
- bgGreen: f("\x1B[42m", "\x1B[49m"),
69555
- bgYellow: f("\x1B[43m", "\x1B[49m"),
69556
- bgBlue: f("\x1B[44m", "\x1B[49m"),
69557
- bgMagenta: f("\x1B[45m", "\x1B[49m"),
69558
- bgCyan: f("\x1B[46m", "\x1B[49m"),
69559
- bgWhite: f("\x1B[47m", "\x1B[49m"),
69560
- blackBright: f("\x1B[90m", "\x1B[39m"),
69561
- redBright: f("\x1B[91m", "\x1B[39m"),
69562
- greenBright: f("\x1B[92m", "\x1B[39m"),
69563
- yellowBright: f("\x1B[93m", "\x1B[39m"),
69564
- blueBright: f("\x1B[94m", "\x1B[39m"),
69565
- magentaBright: f("\x1B[95m", "\x1B[39m"),
69566
- cyanBright: f("\x1B[96m", "\x1B[39m"),
69567
- whiteBright: f("\x1B[97m", "\x1B[39m"),
69568
- bgBlackBright: f("\x1B[100m", "\x1B[49m"),
69569
- bgRedBright: f("\x1B[101m", "\x1B[49m"),
69570
- bgGreenBright: f("\x1B[102m", "\x1B[49m"),
69571
- bgYellowBright: f("\x1B[103m", "\x1B[49m"),
69572
- bgBlueBright: f("\x1B[104m", "\x1B[49m"),
69573
- bgMagentaBright: f("\x1B[105m", "\x1B[49m"),
69574
- bgCyanBright: f("\x1B[106m", "\x1B[49m"),
69575
- bgWhiteBright: f("\x1B[107m", "\x1B[49m")
69576
- };
69577
- };
69578
- module.exports = createColors();
69579
- module.exports.createColors = createColors;
69580
- })))(), 1);
69581
69634
  const highlighter = {
69582
69635
  error: import_picocolors.default.red,
69583
69636
  warn: import_picocolors.default.yellow,
@@ -70993,7 +71046,11 @@ var Git = class Git extends Service()("react-doctor/Git") {
70993
71046
  const symref = yield* runGit(directory, ["symbolic-ref", "refs/remotes/origin/HEAD"]);
70994
71047
  if (symref.status === 0) {
70995
71048
  const trimmed = trimOrNull(symref.stdout);
70996
- if (trimmed !== null) return trimmed.replace("refs/remotes/origin/", "");
71049
+ if (trimmed !== null) {
71050
+ const branchName = trimmed.replace("refs/remotes/origin/", "");
71051
+ const remoteBranch = `origin/${branchName}`;
71052
+ return (yield* branchExists(directory, remoteBranch)) ? remoteBranch : branchName;
71053
+ }
70997
71054
  }
70998
71055
  const candidates = yield* runGit(directory, [
70999
71056
  "for-each-ref",
@@ -71001,7 +71058,10 @@ var Git = class Git extends Service()("react-doctor/Git") {
71001
71058
  ...DEFAULT_BRANCH_CANDIDATES.map((candidate) => `refs/heads/${candidate}`)
71002
71059
  ]);
71003
71060
  if (candidates.status !== 0) return null;
71004
- return trimOrNull(candidates.stdout.split("\n")[0] ?? "");
71061
+ const localBranch = trimOrNull(candidates.stdout.split("\n")[0] ?? "");
71062
+ if (localBranch === null) return null;
71063
+ const remoteBranch = `origin/${localBranch}`;
71064
+ return (yield* branchExists(directory, remoteBranch)) ? remoteBranch : localBranch;
71005
71065
  }).pipe(withSpan("Git.defaultBranch"));
71006
71066
  const branchExists = (directory, branch) => runGit(directory, [
71007
71067
  "rev-parse",
@@ -73024,6 +73084,46 @@ const buildProfiledNodeArguments = (input) => [
73024
73084
  ...input.heapProfileDirectory ? ["--heap-prof", `--heap-prof-dir=${input.heapProfileDirectory}`] : [],
73025
73085
  ...input.argumentsList
73026
73086
  ];
73087
+ const buildOxlintTimingArguments = (argumentsList) => {
73088
+ const timingArguments = [...argumentsList];
73089
+ const formatFlagIndex = timingArguments.indexOf("--format");
73090
+ if (formatFlagIndex === -1 || formatFlagIndex + 1 >= timingArguments.length) throw new Error("Oxlint timing arguments require a --format value");
73091
+ timingArguments[formatFlagIndex + 1] = "default";
73092
+ timingArguments.push("--debug", "timings", "--quiet");
73093
+ return timingArguments;
73094
+ };
73095
+ const captureOxlintRuleTimings = (input) => new Promise((resolve, reject) => {
73096
+ const timingEnvironment = { ...input.environment };
73097
+ timingEnvironment.REACT_DOCTOR_RULE_TIMINGS_DIR = void 0;
73098
+ const timingChild = spawn(input.nodeBinaryPath, buildOxlintTimingArguments(input.argumentsList), {
73099
+ cwd: input.rootDirectory,
73100
+ env: timingEnvironment,
73101
+ stdio: [
73102
+ "ignore",
73103
+ "pipe",
73104
+ "pipe"
73105
+ ]
73106
+ });
73107
+ const stdoutBuffers = [];
73108
+ const stderrBuffers = [];
73109
+ timingChild.stdout.on("data", (buffer) => stdoutBuffers.push(buffer));
73110
+ timingChild.stderr.on("data", (buffer) => stderrBuffers.push(buffer));
73111
+ timingChild.on("error", reject);
73112
+ timingChild.on("close", (_code, signal) => {
73113
+ if (signal) {
73114
+ reject(/* @__PURE__ */ new Error(`Oxlint timing pass was killed by ${signal}`));
73115
+ return;
73116
+ }
73117
+ const timingOutput = `${Buffer.concat(stdoutBuffers).toString("utf8")}\n${Buffer.concat(stderrBuffers).toString("utf8")}`;
73118
+ if (!timingOutput.includes("Rule timings:")) {
73119
+ resolve();
73120
+ return;
73121
+ }
73122
+ fs$1$3.mkdirSync(input.timingDirectory, { recursive: true });
73123
+ fs$1$3.writeFileSync(path$1$1.join(input.timingDirectory, `oxlint-${timingChild.pid ?? process.pid}.timings.txt`), timingOutput);
73124
+ resolve();
73125
+ });
73126
+ });
73027
73127
  const lowerChildProcessPriority = (processId) => {
73028
73128
  if (processId === void 0) return;
73029
73129
  try {
@@ -73145,7 +73245,18 @@ const spawnOxlint = (args, rootDirectory, nodeBinaryPath, spawnTimeoutMs = OXLIN
73145
73245
  return;
73146
73246
  }
73147
73247
  }
73148
- resolve(output);
73248
+ const timingDirectory = SANITIZED_ENV.REACT_DOCTOR_OXLINT_TIMINGS_DIR;
73249
+ if (timingDirectory === void 0) {
73250
+ resolve(output);
73251
+ return;
73252
+ }
73253
+ captureOxlintRuleTimings({
73254
+ argumentsList: args,
73255
+ environment: SANITIZED_ENV,
73256
+ nodeBinaryPath,
73257
+ rootDirectory,
73258
+ timingDirectory
73259
+ }).then(() => resolve(output), reject);
73149
73260
  });
73150
73261
  });
73151
73262
  const PARALLELISM_EXHAUSTION_ERROR_CODES = new Set([
@@ -76469,7 +76580,7 @@ const makeNoopConsole = () => ({
76469
76580
  });
76470
76581
  //#endregion
76471
76582
  //#region src/cli/utils/version.ts
76472
- const VERSION = "0.9.12-dev.1971506";
76583
+ const VERSION = "0.9.12-dev.1d3e4a6";
76473
76584
  //#endregion
76474
76585
  //#region src/cli/utils/json-mode.ts
76475
76586
  let context = null;
@@ -76813,5 +76924,5 @@ const recordDistribution = (name, value, options = {}) => {
76813
76924
  //#endregion
76814
76925
  export { Linter as $, CANONICAL_DISCORD_URL as $n, layerObservability as $t, SCAN_RESULT_CACHE_FILENAME as A, gen as An, discoverSupportedSubprojects as At, isNonInteractiveEnvironment as B, sync as Bn, getDiffInfo as Bt, CI_TRUST_COMPANIES as C, error as Cn, messageFromUnknown as Cr, collectSourceFileCountsByDirectory as Ct, NANOSECONDS_PER_MILLISECOND as D, Diagnostic as Dn, createNodeReadFileLinesSync as Dt, MINIMUM_VTE_VERSION_FOR_HYPERLINKS as E, warn$1 as En, countOptInProjectRuleSelections as Et, STAGED_FILES_TEMP_DIR_PREFIX as F, provide as Fn, formatErrorChain as Ft, isCiEnvironment as G, provide$2 as Gn, hashFileContents as Gt, isDebugFlagEnabled as H, void_ as Hn, groupBy as Ht, STAGED_SNAPSHOT_ADDITIONAL_CONFIG_FILENAMES as I, provideContext as In, formatReactDoctorError as It, Config as J, makeUnsafe$5 as Jn, isPathInsideDirectory as Jt, isCiOrCodingAgentEnvironment as K, succeed$3 as Kn, highlighter as Kt, TUI_REPORT_COMPACT_MAX_ROWS as L, provideService as Ln, getBaselineDiffPlan as Lt, SENTRY_DSN as M, map$3 as Mn, filterPathsOutsideDirectories as Mt, SENTRY_FLUSH_TIMEOUT_MS as N, orElseSucceed as Nn, filterSourceFiles as Nt, REACT_DOCTOR_CONFIG_PROJECT_NAME as O, decodeUnknownSync as On, createOxlintSpawnSlots as Ot, SENTRY_RELEASE_PREFIX as P, promise as Pn, findLegacyConfig as Pt, LintPartialFailures as Q, AXIOM_DEFAULT_DOMAIN as Qn, isScanComplete as Qt, TUI_REPORT_DETAIL_WIDTH_FRACTION as R, runPromise as Rn, getChangedLineRanges as Rt, BASELINE_FILES_TEMP_DIR_PREFIX as S, Console as Sn, isPlainObject as Sr, clearConfigCache as St, METRIC as T, log as Tn, computeDiagnosticDelta as Tt, ACTION_INPUT_ENVIRONMENT_VARIABLES as U, buildWithScope as Un, hasPublishedFixRecipe as Ut, isGitHookEnvironment as V, try_ as Vn, getEquivalentRuleKeys as Vt, detectRunnerOs as W, mergeAll$1 as Wn, hasSupportedFrameworkOrLibrary as Wt, Git as X, void_$1 as Xn, isReactDoctorError as Xt, Files as Y, fail$5 as Yn, isProjectDiscoveryError as Yt, LEGACY_CONFIG_FILENAME as Z, ParentSpan as Zn, isSameRuleKey as Zt, VERSION as _, shouldUseMaintainabilityLayer as _n, STAGED_FILES_PROJECT_CONFIG_FILENAMES as _r, buildRuleSeverityControls as _t, isEnvFlagEnabled as a, materializeSourceTree as an, DIAGNOSTIC_CATEGORY_BUCKETS as ar, Progress as at, AXIOM_METRICS_DATASET as b, validateConfigTypes as bn, isErrnoException as br, canonicalizeUserRuleKey as bt, setSentryProjectInfo as c, resolveGithubActionsScoreMetadata as cn, GITHUB_ACTIONS_SETUP_URL as cr, Score as ct, isJsonModeActive as d, resolveScanConcurrency as dn, JSX_DUPLICATION_SOURCE_FILE_PATTERN as dr, SupplyChain as dt, listSourceFiles as en, CANONICAL_GITHUB_URL as er, Maintainability as et, setJsonReportDirectory as f, resolveScanTarget as fn, JSX_FILE_PATTERN as fr, anonymizeInPlace as ft, writeJsonReport as g, setColorEnabled as gn, SKILL_NAME as gr, buildRuleDocsUrl as gt, writeJsonErrorReport as h, scrubSensitivePaths as hn, SHARE_BASE_URL as hr, buildJsonReport as ht, isTelemetryEnabled as i, mapWithConcurrency as in, CONFIG_SCHEMA_URL as ir, PerFileLintCacheEnabled as it, SCAN_RESULT_CACHE_MAX_HASHED_FILE_SIZE_BYTES as j, makeSpan$1 as jn, filterDiagnosticsForSurface as jt, RUN_GIT_MAX_BUFFER_BYTES as k, make$30 as kn, detectAiTrainingEnvironment as kt, getRunId as l, resolveLintBatchOrdering as ln, GIT_SHOW_MAX_BUFFER_BYTES as lr, SidecarLintCacheEnabled as lt, writeJsonCancellationReport as m, runInspect as mn, OXLINT_NODE_REQUIREMENT as mr, atomicWriteJson as mt, recordDistribution as n, listWorkspacePackages as nn, COMPILER_CLEANUP_BUCKET as nr, OxlintConcurrency as nt, buildSentryScope as o, mergeReactDoctorConfigs as on, DOCS_URL as or, Project as ot, setJsonReportMode as p, restoreLegacyThrow as pn, MILLISECONDS_PER_SECOND as pr, anonymizeText as pt, isCodingAgentEnvironment as q, close as qn, isMonorepoRoot as qt, toSpanAttributes as r, loadConfigWithSource as rn, COMPILER_CLEANUP_RULE_KEYS as rr, OxlintSpawnSlots as rt, buildSentryProjectContext as s, remainingDeadlineBudgetMs as sn, ENTERPRISE_CONTACT_URL as sr, Reporter as st, recordCount as t, listSourceFilesCooperative as tn, CI_URL as tr, NodeResolver as tt, enableJsonMode as u, resolveReactDoctorCacheDir as un, HTML_FILE_PATTERN as ur, StagedFiles as ut, makeNoopConsole as v, summarizeDiagnostics as vn, getCategoryImpact as vr, buildSkippedChecks as vt, GH_DEFAULT_BRANCH_PROBE_TIMEOUT_MS as w, info as wn, toCanonicalPath as wr, computeConfigFingerprint as wt, AXIOM_TRACES_DATASET as x, yieldToEventLoop as xn, isFile as xr, classifyFileContext as xt, AXIOM_INGEST_TOKEN as y, toRelativePath as yn, isDirectory as yr, calculateScore as yt, CliInputError as z, runSync as zn, getDiagnosticRuleIdentity as zt };
76815
76926
 
76816
- //# sourceMappingURL=record-metric-DcBAbVVs.js.map
76817
- //# debugId=c9e04589-a11d-5831-8f4a-ffc7130734b6
76927
+ //# sourceMappingURL=record-metric-BA5ry-7d.js.map
76928
+ //# debugId=0f26b2a2-cc81-5777-adad-9ad6ba2720c0
@@ -1,7 +1,7 @@
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]="a20fe928-d8ad-5c18-9673-1ca2c6c4aa84")}catch(e){}}();
3
- import { N as SENTRY_FLUSH_TIMEOUT_MS, T as METRIC, Xt as isReactDoctorError, l as getRunId, o as buildSentryScope, t as recordCount } from "./record-metric-DcBAbVVs.js";
4
- import { n as shutdownTelemetry, r as isExpectedUserError } from "./telemetry-runtime-BxsPVkMH.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]="416ab123-c4ac-58a4-a927-f14107df1386")}catch(e){}}();
3
+ import { N as SENTRY_FLUSH_TIMEOUT_MS, T as METRIC, Xt as isReactDoctorError, l as getRunId, o as buildSentryScope, t as recordCount } from "./record-metric-BA5ry-7d.js";
4
+ import { n as shutdownTelemetry, r as isExpectedUserError } from "./telemetry-runtime-C9dZxrK_.js";
5
5
  import { r as recordRunTraceId, t as getActiveRunTrace } from "./active-run-trace-dlIZeEvb.js";
6
6
  import * as Sentry from "@sentry/node";
7
7
  //#region src/cli/utils/report-error.ts
@@ -60,5 +60,5 @@ const reportErrorToSentry = async (error) => {
60
60
  //#endregion
61
61
  export { reportErrorToSentry as t };
62
62
 
63
- //# sourceMappingURL=report-error-Cj58fOLO.js.map
64
- //# debugId=a20fe928-d8ad-5c18-9673-1ca2c6c4aa84
63
+ //# sourceMappingURL=report-error-CFe3r9gh.js.map
64
+ //# debugId=416ab123-c4ac-58a4-a927-f14107df1386
@@ -1,7 +1,7 @@
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]="ceac7dfa-9c50-5226-aa1a-a66357e9048b")}catch(e){}}();
3
- import { O as REACT_DOCTOR_CONFIG_PROJECT_NAME, T as METRIC, t as recordCount } from "./record-metric-DcBAbVVs.js";
4
- import { u as isCommandAvailable } from "./install-github-workflow-CHs4pPvZ.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]="417d14a5-a191-5a3d-9aa2-f5cbf16e9b1a")}catch(e){}}();
3
+ import { O as REACT_DOCTOR_CONFIG_PROJECT_NAME, T as METRIC, t as recordCount } from "./record-metric-BA5ry-7d.js";
4
+ import { u as isCommandAvailable } from "./install-github-workflow-C5OkC7nA.js";
5
5
  import { spawn } from "node:child_process";
6
6
  import * as path$1 from "node:path";
7
7
  import process$1 from "node:process";
@@ -275,5 +275,5 @@ const reportWorkflowResult = (workflowSpinner, result, projectRoot) => {
275
275
  //#endregion
276
276
  export { recordGate as a, ACTION_UPGRADE_EVENT as c, INSTALL_AGENTS_PREFERENCE_ID as d, ONBOARDING_EVENT as f, detectAvailableAgents as h, readPreference as i, CI_PITCH_EVENT as l, computeDefaultSelectedAgents as m, openUrl as n, runMigrations as o, SETUP_HINT_EVENT as p, isGatePending as r, writePreference as s, reportWorkflowResult as t, HANDOFF_TARGET_PREFERENCE_ID as u };
277
277
 
278
- //# sourceMappingURL=report-workflow-result-DadOSgvV.js.map
279
- //# debugId=ceac7dfa-9c50-5226-aa1a-a66357e9048b
278
+ //# sourceMappingURL=report-workflow-result-BoDN1Z77.js.map
279
+ //# debugId=417d14a5-a191-5a3d-9aa2-f5cbf16e9b1a