react-doctor 0.9.23-dev.d2368eb → 0.9.23-dev.d558ba8

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 (38) hide show
  1. package/dist/{build-section-divider-J2tVkTdC.js → build-section-divider-CTaFBPcW.js} +5 -5
  2. package/dist/{ci-c5Wg3NLR.js → ci-k1lMtTYi.js} +13 -13
  3. package/dist/cli.js +25 -25
  4. package/dist/{constants-BmD_c3Yq.js → constants-EMNGZNtj.js} +10 -6
  5. package/dist/constants-T2clfs7L.js +2 -2
  6. package/dist/{design-CLVBOBKr.js → design-DkeJJVla.js} +4 -4
  7. package/dist/{exit-gracefully-DpM5cOZU.js → exit-gracefully-C7D2Ic50.js} +6 -6
  8. package/dist/{handle-error-CByQHFe7.js → handle-error-D3VKUcJ4.js} +6 -6
  9. package/dist/index.js +60 -20
  10. package/dist/{inspect-Db4DN4Nu.js → inspect-CY8vSNZy.js} +16 -16
  11. package/dist/{install-doctor-script-DEEzqkc6.js → install-doctor-script-CfUWsOKN.js} +5 -5
  12. package/dist/{install-github-workflow-D7wb5fbw.js → install-github-workflow-Dam5-6fl.js} +6 -6
  13. package/dist/{install-W0JaCUQL.js → install-mZgqb_Tu.js} +10 -10
  14. package/dist/{install-react-doctor-C6eV8B03.js → install-react-doctor-D4hPnQ20.js} +9 -9
  15. package/dist/{is-cache-globally-disabled-CveNGcRi.js → is-cache-globally-disabled-CYjFzsDs.js} +4 -4
  16. package/dist/{jsx-runtime-DBtXOdus.js → jsx-runtime-2FRlxCGC.js} +6 -6
  17. package/dist/{print-branded-header-B30WpVXK.js → print-branded-header-C_lRfi5M.js} +4 -4
  18. package/dist/{prompt-runtime-scan-url-DMEkEGOI.js → prompt-runtime-scan-url-DH7qGzK6.js} +5 -5
  19. package/dist/{read-object-file-DRMd_2xC.js → read-object-file-B84BIZIL.js} +4 -4
  20. package/dist/{record-metric-DRS0_dI6.js → record-metric-Bej849Af.js} +57 -21
  21. package/dist/{report-error-BK_h-rkZ.js → report-error-DT0gVlLi.js} +6 -6
  22. package/dist/{report-workflow-result-t56fptGw.js → report-workflow-result-BqFNvYoj.js} +6 -6
  23. package/dist/{resolve-scan-exit-code-CFl_Wwaj.js → resolve-scan-exit-code-C9IHkjiP.js} +13 -13
  24. package/dist/{resolve-scope-CmbSSrhu.js → resolve-scope-EZI3zBgO.js} +6 -6
  25. package/dist/{rules-B_5k-emb.js → rules-DKn3OhWT.js} +7 -7
  26. package/dist/{run-scan-app-BTTTjoKB.js → run-scan-app-BQW6JE4I.js} +11 -11
  27. package/dist/{runtime-scan-D7eJdM7I.js → runtime-scan-BOyu1a0-.js} +10 -10
  28. package/dist/{sanitize-runtime-url-DZrxPbXw.js → sanitize-runtime-url-CpZjWs9g.js} +4 -4
  29. package/dist/{scan-CPl6min8.js → scan-B-gXkYam.js} +10 -10
  30. package/dist/{should-skip-prompts-DYBBF3Xe.js → should-skip-prompts-DeDgKECO.js} +4 -4
  31. package/dist/{should-use-tui-DgJOZR4O.js → should-use-tui-CPsaic_d.js} +4 -4
  32. package/dist/{start-scan-preamble-DDAT_0oB.js → start-scan-preamble-Zd-z2ssT.js} +5 -5
  33. package/dist/start-scan-preamble.js +3 -3
  34. package/dist/{telemetry-runtime-DrvroBDI.js → telemetry-runtime-D7RM_Qk_.js} +7 -7
  35. package/dist/{version-CUQkrqGx.js → version-CGsFSrij.js} +5 -5
  36. package/dist/{why-C8dTxzjk.js → why-eFbgLUxn.js} +4 -4
  37. package/dist/{with-run-span-C07Rkq9X.js → with-run-span-BLjdW-sL.js} +6 -6
  38. package/package.json +2 -2
@@ -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]="e231b16f-8925-58ac-9cb3-8ab13b712b34")}catch(e){}}();
3
- import { B as resolveGitCommand, g as RUN_GIT_MAX_BUFFER_BYTES } from "./constants-BmD_c3Yq.js";
4
- import { En as runSync, Nt as highlighter, b as isNonInteractiveEnvironment, dn as log, fn as warn, ln as error$1, un as info$1 } from "./record-metric-DRS0_dI6.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]="20c8324d-901d-5fbb-bf7c-b600bd27e4d8")}catch(e){}}();
3
+ import { B as resolveGitCommand, g as RUN_GIT_MAX_BUFFER_BYTES } from "./constants-EMNGZNtj.js";
4
+ import { En as runSync, Nt as highlighter, b as isNonInteractiveEnvironment, dn as log, fn as warn, ln as error$1, un as info$1 } from "./record-metric-Bej849Af.js";
5
5
  import { a as chalk, i as stripAnsi, t as eastAsianWidth } from "./get-east-asian-width-DRPy7dqz.js";
6
6
  import * as fs$1 from "node:fs";
7
7
  import * as path$1 from "node:path";
@@ -2818,5 +2818,5 @@ const installReactDoctorScriptStep = (projectRoot) => {
2818
2818
  //#endregion
2819
2819
  export { runGitAsync as A, isRecord as C, readPackageJson as D, packageHasRecordKey as E, writeJsonFile as M, cliLogger as N, resolveGitPath as O, getPackageJsonPath as S, packageHasNestedRecordKey as T, REACT_DOCTOR_COMMAND as _, installReactDoctorScriptStep as a, VITE_PLUS_HOOKS_PATH as b, spinner as c, HUSKY_HOOKS_PATH as d, LEFTHOOK_CONFIG_FILES as f, PRE_COMMIT_CONFIG_FILE as g, OVERCOMMIT_CONFIG_FILE as h, hasDoctorScript as i, runGitRaw as j, runGit as k, HOOK_FILE_NAME as l, NON_BLOCKING_REACT_DOCTOR_COMMAND as m, findNearestPackageDirectory as n, isSpinnerSilent as o, LEGACY_HOOK_RUNNER_RELATIVE_PATH as p, hasDoctorDependency as r, setSpinnerSilent as s, DOCTOR_PACKAGE_NAME as t, HOOK_RELATIVE_PATH as u, SIMPLE_GIT_HOOKS_CONFIG_FILE as v, packageHasDependency as w, ensureTrailingNewline as x, SIMPLE_GIT_HOOKS_PACKAGE_JSON_KEY as y };
2820
2820
 
2821
- //# sourceMappingURL=install-doctor-script-DEEzqkc6.js.map
2822
- //# debugId=e231b16f-8925-58ac-9cb3-8ab13b712b34
2821
+ //# sourceMappingURL=install-doctor-script-CfUWsOKN.js.map
2822
+ //# debugId=20c8324d-901d-5fbb-bf7c-b600bd27e4d8
@@ -1,9 +1,9 @@
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]="9025000c-17b9-599c-8fe1-88939a9cd128")}catch(e){}}();
3
- import { s as GH_DEFAULT_BRANCH_PROBE_TIMEOUT_MS } from "./constants-BmD_c3Yq.js";
4
- import { _t as findGitRepositoryRoot } from "./record-metric-DRS0_dI6.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]="e8ea5b90-2603-55c4-874a-7e6c5f6e4874")}catch(e){}}();
3
+ import { s as GH_DEFAULT_BRANCH_PROBE_TIMEOUT_MS } from "./constants-EMNGZNtj.js";
4
+ import { _t as findGitRepositoryRoot } from "./record-metric-Bej849Af.js";
5
5
  import { t as unrefStdin } from "./unref-stdin-D-NZBFpg.js";
6
- import { N as cliLogger } from "./install-doctor-script-DEEzqkc6.js";
6
+ import { N as cliLogger } from "./install-doctor-script-CfUWsOKN.js";
7
7
  import { createRequire } from "node:module";
8
8
  import * as fs$1 from "node:fs";
9
9
  import * as path$1 from "node:path";
@@ -281,5 +281,5 @@ const upgradeReactDoctorWorkflowInPlace = (projectRoot) => {
281
281
  //#endregion
282
282
  export { readReactDoctorWorkflow as a, workflowUsesV1Action as c, detectDefaultBranch as d, runCommand as f, isReactDoctorWorkflowInstalled as i, prompts as l, getReactDoctorWorkflowPath as n, upgradeReactDoctorWorkflowInPlace as o, installReactDoctorWorkflow as r, upgradeWorkflowActionToV2 as s, buildWorkflowContent as t, isCommandAvailable as u };
283
283
 
284
- //# sourceMappingURL=install-github-workflow-D7wb5fbw.js.map
285
- //# debugId=9025000c-17b9-599c-8fe1-88939a9cd128
284
+ //# sourceMappingURL=install-github-workflow-Dam5-6fl.js.map
285
+ //# debugId=e8ea5b90-2603-55c4-874a-7e6c5f6e4874
@@ -1,12 +1,12 @@
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]="eaac9913-2084-5339-b54d-f2720ce8e783")}catch(e){}}();
3
- import { u as METRIC } from "./constants-BmD_c3Yq.js";
4
- import { En as runSync, t as recordCount } from "./record-metric-DRS0_dI6.js";
5
- import { o as isExpectedUserError } from "./telemetry-runtime-DrvroBDI.js";
6
- import { n as handleUserError, t as handleError } from "./handle-error-CByQHFe7.js";
7
- import { t as reportErrorToSentry } from "./report-error-BK_h-rkZ.js";
8
- import { t as printBrandedHeader } from "./print-branded-header-B30WpVXK.js";
9
- import { n as runInstallReactDoctor } from "./install-react-doctor-C6eV8B03.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]="8cd709c0-c35b-54d6-b68f-5a8946429b7d")}catch(e){}}();
3
+ import { u as METRIC } from "./constants-EMNGZNtj.js";
4
+ import { En as runSync, t as recordCount } from "./record-metric-Bej849Af.js";
5
+ import { o as isExpectedUserError } from "./telemetry-runtime-D7RM_Qk_.js";
6
+ import { n as handleUserError, t as handleError } from "./handle-error-D3VKUcJ4.js";
7
+ import { t as reportErrorToSentry } from "./report-error-DT0gVlLi.js";
8
+ import { t as printBrandedHeader } from "./print-branded-header-C_lRfi5M.js";
9
+ import { n as runInstallReactDoctor } from "./install-react-doctor-D4hPnQ20.js";
10
10
  //#region src/cli/commands/install.ts
11
11
  const installAction = async (options, command) => {
12
12
  recordCount(METRIC.cliInvoked, 1, { command: "install" });
@@ -30,5 +30,5 @@ const installAction = async (options, command) => {
30
30
  //#endregion
31
31
  export { installAction };
32
32
 
33
- //# sourceMappingURL=install-W0JaCUQL.js.map
34
- //# debugId=eaac9913-2084-5339-b54d-f2720ce8e783
33
+ //# sourceMappingURL=install-mZgqb_Tu.js.map
34
+ //# debugId=8cd709c0-c35b-54d6-b68f-5a8946429b7d
@@ -1,11 +1,11 @@
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]="9ff74b93-8718-5660-a543-7e939ffa2caf")}catch(e){}}();
3
- import { At as GITHUB_ACTIONS_SETUP_URL, mn as SKILL_NAME, o as CI_TRUST_COMPANIES, u as METRIC } from "./constants-BmD_c3Yq.js";
4
- import { Nt as highlighter, Wn as isErrnoException, t as recordCount, y as CliInputError } from "./record-metric-DRS0_dI6.js";
5
- import { C as isRecord, D as readPackageJson, E as packageHasRecordKey, M as writeJsonFile, N as cliLogger, O as resolveGitPath, S as getPackageJsonPath, T as packageHasNestedRecordKey, _ as REACT_DOCTOR_COMMAND, a as installReactDoctorScriptStep, b as VITE_PLUS_HOOKS_PATH, c as spinner, d as HUSKY_HOOKS_PATH, f as LEFTHOOK_CONFIG_FILES, g as PRE_COMMIT_CONFIG_FILE, h as OVERCOMMIT_CONFIG_FILE, k as runGit, l as HOOK_FILE_NAME, m as NON_BLOCKING_REACT_DOCTOR_COMMAND, n as findNearestPackageDirectory, p as LEGACY_HOOK_RUNNER_RELATIVE_PATH, r as hasDoctorDependency, t as DOCTOR_PACKAGE_NAME, u as HOOK_RELATIVE_PATH, w as packageHasDependency, x as ensureTrailingNewline } from "./install-doctor-script-DEEzqkc6.js";
6
- import { a as readReactDoctorWorkflow, c as workflowUsesV1Action, d as detectDefaultBranch, l as prompts, n as getReactDoctorWorkflowPath, o as upgradeReactDoctorWorkflowInPlace, r as installReactDoctorWorkflow } from "./install-github-workflow-D7wb5fbw.js";
7
- import { t as shouldSkipPrompts } from "./should-skip-prompts-DYBBF3Xe.js";
8
- import { a as recordGate, c as ACTION_UPGRADE_EVENT, d as INSTALL_AGENTS_PREFERENCE_ID, g as loadAgentInstall, h as detectAvailableAgents, i as readPreference, l as CI_PITCH_EVENT, m as computeDefaultSelectedAgents, n as openUrl, r as isGatePending, s as writePreference, t as reportWorkflowResult } from "./report-workflow-result-t56fptGw.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]="981931d2-22bf-5582-9e98-ef238e88d182")}catch(e){}}();
3
+ import { At as GITHUB_ACTIONS_SETUP_URL, mn as SKILL_NAME, o as CI_TRUST_COMPANIES, u as METRIC } from "./constants-EMNGZNtj.js";
4
+ import { Nt as highlighter, Wn as isErrnoException, t as recordCount, y as CliInputError } from "./record-metric-Bej849Af.js";
5
+ import { C as isRecord, D as readPackageJson, E as packageHasRecordKey, M as writeJsonFile, N as cliLogger, O as resolveGitPath, S as getPackageJsonPath, T as packageHasNestedRecordKey, _ as REACT_DOCTOR_COMMAND, a as installReactDoctorScriptStep, b as VITE_PLUS_HOOKS_PATH, c as spinner, d as HUSKY_HOOKS_PATH, f as LEFTHOOK_CONFIG_FILES, g as PRE_COMMIT_CONFIG_FILE, h as OVERCOMMIT_CONFIG_FILE, k as runGit, l as HOOK_FILE_NAME, m as NON_BLOCKING_REACT_DOCTOR_COMMAND, n as findNearestPackageDirectory, p as LEGACY_HOOK_RUNNER_RELATIVE_PATH, r as hasDoctorDependency, t as DOCTOR_PACKAGE_NAME, u as HOOK_RELATIVE_PATH, w as packageHasDependency, x as ensureTrailingNewline } from "./install-doctor-script-CfUWsOKN.js";
6
+ import { a as readReactDoctorWorkflow, c as workflowUsesV1Action, d as detectDefaultBranch, l as prompts, n as getReactDoctorWorkflowPath, o as upgradeReactDoctorWorkflowInPlace, r as installReactDoctorWorkflow } from "./install-github-workflow-Dam5-6fl.js";
7
+ import { t as shouldSkipPrompts } from "./should-skip-prompts-DeDgKECO.js";
8
+ import { a as recordGate, c as ACTION_UPGRADE_EVENT, d as INSTALL_AGENTS_PREFERENCE_ID, g as loadAgentInstall, h as detectAvailableAgents, i as readPreference, l as CI_PITCH_EVENT, m as computeDefaultSelectedAgents, n as openUrl, r as isGatePending, s as writePreference, t as reportWorkflowResult } from "./report-workflow-result-BqFNvYoj.js";
9
9
  import * as fs$1 from "node:fs";
10
10
  import * as path$1 from "node:path";
11
11
  import { execFile } from "node:child_process";
@@ -1156,5 +1156,5 @@ const runInstallReactDoctor = async (options = {}) => {
1156
1156
  //#endregion
1157
1157
  export { askUpgradeActionVersion as a, recordCiPromptDecision as c, installReactDoctorAgentHooks as i, hasHandledActionUpgrade as l, runInstallReactDoctor as n, askAddToGitHubActions as o, findAgentsWithOutdatedReactDoctorHooks as r, hasHandledCiPrompt as s, getSkillSourceDirectory as t, recordActionUpgradeDecision as u };
1158
1158
 
1159
- //# sourceMappingURL=install-react-doctor-C6eV8B03.js.map
1160
- //# debugId=9ff74b93-8718-5660-a543-7e939ffa2caf
1159
+ //# sourceMappingURL=install-react-doctor-D4hPnQ20.js.map
1160
+ //# debugId=981931d2-22bf-5582-9e98-ef238e88d182
@@ -1,10 +1,10 @@
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]="27afb6dd-9acd-5528-8fa6-5ad0bc5d0fd7")}catch(e){}}();
3
- import { a as CACHE_DISABLED_VALUES } from "./constants-BmD_c3Yq.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]="af580742-9d87-5789-8d30-fb0822fd8beb")}catch(e){}}();
3
+ import { a as CACHE_DISABLED_VALUES } from "./constants-EMNGZNtj.js";
4
4
  //#region src/cli/utils/is-cache-globally-disabled.ts
5
5
  const isCacheGloballyDisabled = () => CACHE_DISABLED_VALUES.has(process.env.REACT_DOCTOR_NO_CACHE?.toLowerCase() ?? "");
6
6
  //#endregion
7
7
  export { isCacheGloballyDisabled as t };
8
8
 
9
- //# sourceMappingURL=is-cache-globally-disabled-CveNGcRi.js.map
10
- //# debugId=27afb6dd-9acd-5528-8fa6-5ad0bc5d0fd7
9
+ //# sourceMappingURL=is-cache-globally-disabled-CYjFzsDs.js.map
10
+ //# debugId=af580742-9d87-5789-8d30-fb0822fd8beb
@@ -1,9 +1,9 @@
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]="b4b61c7b-91dc-5252-a228-24224d7853f4")}catch(e){}}();
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]="465f4478-f86c-5cad-bd4c-2f6e09cfe081")}catch(e){}}();
3
3
  import { i as __toESM, r as __require, t as __commonJSMin } from "./chunk-ChKA3wi6.js";
4
- import { u as METRIC } from "./constants-BmD_c3Yq.js";
5
- import { t as recordCount } from "./record-metric-DRS0_dI6.js";
6
- import { n as registerActiveTuiRenderer, t as exitGracefully } from "./exit-gracefully-DpM5cOZU.js";
4
+ import { u as METRIC } from "./constants-EMNGZNtj.js";
5
+ import { t as recordCount } from "./record-metric-Bej849Af.js";
6
+ import { n as registerActiveTuiRenderer, t as exitGracefully } from "./exit-gracefully-C7D2Ic50.js";
7
7
  import { a as chalk, i as stripAnsi, n as isFullWidth$1, r as isWide$1 } from "./get-east-asian-width-DRPy7dqz.js";
8
8
  import * as fs$1 from "node:fs";
9
9
  import fs from "node:fs";
@@ -25870,5 +25870,5 @@ var require_jsx_runtime = /* @__PURE__ */ __commonJSMin(((exports, module) => {
25870
25870
  //#endregion
25871
25871
  export { useExitOnCtrlC as a, Spinner as c, useInput as d, Transform as f, Box as h, import_react as i, useStdout as l, Text as m, registerMountedTuiRenderer as n, terminalSymbols as o, render as p, useStdoutDimensions as r, isPrintableInput as s, require_jsx_runtime as t, useApp as u };
25872
25872
 
25873
- //# sourceMappingURL=jsx-runtime-DBtXOdus.js.map
25874
- //# debugId=b4b61c7b-91dc-5252-a228-24224d7853f4
25873
+ //# sourceMappingURL=jsx-runtime-2FRlxCGC.js.map
25874
+ //# debugId=465f4478-f86c-5cad-bd4c-2f6e09cfe081
@@ -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]="56f5bf44-f664-5f43-a765-a61a1c41e85f")}catch(e){}}();
3
- import { Nt as highlighter, _ as VERSION, _n as gen, dn as log } from "./record-metric-DRS0_dI6.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]="ceef7b44-47ac-5a83-8faa-02242dfe443c")}catch(e){}}();
3
+ import { Nt as highlighter, _ as VERSION, _n as gen, dn as log } from "./record-metric-Bej849Af.js";
4
4
  //#region src/cli/utils/print-branded-header.ts
5
5
  /**
6
6
  * Single branded line every command prints first when not in JSON
@@ -18,5 +18,5 @@ const printBrandedHeader = gen(function* () {
18
18
  //#endregion
19
19
  export { printBrandedHeader as t };
20
20
 
21
- //# sourceMappingURL=print-branded-header-B30WpVXK.js.map
22
- //# debugId=56f5bf44-f664-5f43-a765-a61a1c41e85f
21
+ //# sourceMappingURL=print-branded-header-C_lRfi5M.js.map
22
+ //# debugId=ceef7b44-47ac-5a83-8faa-02242dfe443c
@@ -1,8 +1,8 @@
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]="afb8cec0-8b78-5f47-ab1c-dab96ebfd274")}catch(e){}}();
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]="23e41b86-e971-54c6-979c-247e8d75d61d")}catch(e){}}();
3
3
  import { t as unrefStdin } from "./unref-stdin-D-NZBFpg.js";
4
- import { a as RUNTIME_SCAN_LOCAL_DEV_PORTS, t as sanitizeRuntimeUrl, u as RUNTIME_SCAN_MAX_STRING_LENGTH } from "./sanitize-runtime-url-DZrxPbXw.js";
5
- import { a as useExitOnCtrlC, c as Spinner, d as useInput, h as Box, i as import_react, m as Text, n as registerMountedTuiRenderer, o as terminalSymbols, p as render, r as useStdoutDimensions, s as isPrintableInput, t as require_jsx_runtime } from "./jsx-runtime-DBtXOdus.js";
4
+ import { a as RUNTIME_SCAN_LOCAL_DEV_PORTS, t as sanitizeRuntimeUrl, u as RUNTIME_SCAN_MAX_STRING_LENGTH } from "./sanitize-runtime-url-CpZjWs9g.js";
5
+ import { a as useExitOnCtrlC, c as Spinner, d as useInput, h as Box, i as import_react, m as Text, n as registerMountedTuiRenderer, o as terminalSymbols, p as render, r as useStdoutDimensions, s as isPrintableInput, t as require_jsx_runtime } from "./jsx-runtime-2FRlxCGC.js";
6
6
  import * as http from "node:http";
7
7
  //#region src/cli/runtime-scan/detect-local-runtime-urls.ts
8
8
  const LOCAL_HTTP_HOSTS = ["127.0.0.1", "::1"];
@@ -236,5 +236,5 @@ const promptRuntimeScanUrl = () => new Promise((resolve) => {
236
236
  //#endregion
237
237
  export { promptRuntimeScanUrl };
238
238
 
239
- //# sourceMappingURL=prompt-runtime-scan-url-DMEkEGOI.js.map
240
- //# debugId=afb8cec0-8b78-5f47-ab1c-dab96ebfd274
239
+ //# sourceMappingURL=prompt-runtime-scan-url-DH7qGzK6.js.map
240
+ //# debugId=23e41b86-e971-54c6-979c-247e8d75d61d
@@ -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]="b799dadb-9bbf-576b-b207-164f44a9ea61")}catch(e){}}();
3
- import { Kn as isPlainObject } from "./record-metric-DRS0_dI6.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]="a081481a-5926-5d89-8074-61e8b7657a6a")}catch(e){}}();
3
+ import { Kn as isPlainObject } from "./record-metric-Bej849Af.js";
4
4
  import * as fs$1 from "node:fs";
5
5
  import { parseJSON5 } from "confbox";
6
6
  //#region src/cli/utils/read-object-file.ts
@@ -20,5 +20,5 @@ const readObjectFile = (filePath) => {
20
20
  //#endregion
21
21
  export { readObjectFile as t };
22
22
 
23
- //# sourceMappingURL=read-object-file-DRMd_2xC.js.map
24
- //# debugId=b799dadb-9bbf-576b-b207-164f44a9ea61
23
+ //# sourceMappingURL=read-object-file-B84BIZIL.js.map
24
+ //# debugId=a081481a-5926-5d89-8074-61e8b7657a6a
@@ -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]="03595267-93b3-5a2a-898e-c0769934f751")}catch(e){}}();
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]="7fa524b3-d466-54e2-a2b1-181c32d7f678")}catch(e){}}();
3
3
  import { i as __toESM, r as __require, t as __commonJSMin } from "./chunk-ChKA3wi6.js";
4
- import { $ as warmReactCompilerDetection, $t as OXLINT_SPLIT_TOTAL_BUDGET_MS, A as buildGitSourceListingRequest, An as TAILWIND_POSTCSS7_COMPAT_ALIAS, B as resolveGitCommand, Bt as MAINTAINABILITY_CATEGORY, Cn as SUPPLY_CHAIN_CACHE_SUBDIR, Dn as SUPPLY_CHAIN_OVERLAP_TIMEOUT_MS, Dt as FILE_LINT_CACHE_MAX_FILE_COUNT, En as SUPPLY_CHAIN_IGNORED_PACKAGES, Et as FILE_LINT_CACHE_FILENAME, F as lowerChildProcessPriority, Fn as TYPESCRIPT_DECLARATION_FILE_PATTERN, Ft as GIT_SOURCE_LISTING_ARGUMENTS, G as resolvePluginPath, Gt as MILLISECONDS_PER_SECOND, H as resolveOxlintThreadCount, Ht as MAINTAINABILITY_PLUGIN, In as VERCEL_NEXTJS_SECURITY_RELEASE_URL, It as HTML_FILE_PATTERN, J as resolveTsConfigRelativePath, Jt as OXLINT_IGNORED_DECLARATION_DIAGNOSTIC_CODES, K as resolveReactDoctorCacheDir, Kt as MINIFIED_SNIFF_BYTES, Lt as IGNORED_DIRECTORIES, M as buildOxlintWorkerSpawnSpec, Mn as TELEMETRY_EXPORT_INTERVAL_MS, Mt as GIT_CHECK_ATTR_MAX_BUFFER_BYTES, Nn as TELEMETRY_SHUTDOWN_TIMEOUT_MS, Nt as GIT_LS_FILES_MAX_BUFFER_BYTES, On as SUPPLY_CHAIN_PLUGIN, Ot as GENERATED_BUNDLE_FILE_PATTERN, P as killUnadoptedOxlintWorkers, Pn as TSCONFIG_FILENAMES, Pt as GIT_SHOW_MAX_BUFFER_BYTES, Q as takeReactCompilerDetection, Qt as OXLINT_SPAWN_TIMEOUT_MS, R as readSystemConcurrencyFacts, Rt as JSX_DUPLICATION_SOURCE_FILE_PATTERN, Sn as STAGED_FILES_PROJECT_CONFIG_FILENAMES, St as DUPLICATE_JSX_WORKER_IDLE_TIMEOUT_MS, Tn as SUPPLY_CHAIN_CATEGORY, Tt as FETCH_TIMEOUT_MS, U as resolveOxlintToolchainVersions, V as resolveOxlintBinary, Vt as MAINTAINABILITY_DUPLICATE_JSX_RULE, W as resolveOxlintWorkerRuntime, Wt as MAX_GLOB_PATTERN_LENGTH_CHARS, X as spawnOxlintWorkerProcess, Xt as OXLINT_OOM_RESCUE_BUDGET_MS, Y as setChildProcessRef, Z as takePrespawnedOxlintWorker, Zt as OXLINT_OUTPUT_MAX_BYTES, _n as SOCKET_PACKAGE_PAGE_BASE, _t as DEFAULT_BRANCH_CANDIDATES, an as REACT_BLOG_RSC_ADVISORY_URL, bn as SPAWN_ARGS_MAX_LENGTH_CHARS_DARWIN, bt as DOCS_RULES_BASE_URL, cn as RECOMMENDED_PNPM_MINIMUM_RELEASE_AGE_MINUTES, ct as AXIOM_TRACES_PATH, d as METRIC_DISTRIBUTION_BOUNDARIES, dn as SCORE_API_URL, en as OXLINT_WORKER_JOB_END_MARKER, et as ABORT_EXIT_CODES, ft as COMPILER_CLEANUP_BUCKET, gn as SOCKET_FREE_USER_AGENT, hn as SOCKET_FREE_PURL_API_BASE, ht as CONFIG_FINGERPRINT_FILENAMES, in as PROJECT_ANALYSIS_WORKER_TIMEOUT_MS, it as AXIOM_DATASET_HEADER, j as buildOxlintChildEnv, jn as TARGET_BLANK_BROWSER_SUPPORT, jt as GITHUB_VIEWER_PERMISSION_TIMEOUT_MS, kn as SUPPLY_CHAIN_RULE, kt as GENERATED_SOURCE_DIRECTORY_PATTERN, l as INTERNAL_ERROR_JSON_FALLBACK, ln as ROOT_CAUSE_GROUPABLE_RULE_KEYS, mt as CONFIG_CACHE_TTL_MS, nn as PROJECT_ANALYSIS_WORKER_MEMORY_BUDGET_BYTES, nt as ADOPTED_LINT_CONFIG_MAX_BYTES, on as REACT_ROUTER_CAPABILITY_THRESHOLDS, ot as AXIOM_METRICS_DATASET_HEADER, pn as SIDECAR_LINT_CACHE_FILENAME, pt as COMPILER_CLEANUP_RULE_KEYS, q as resolveScanConcurrency, qt as OCCURRENCE_MATCHED_CATEGORIES, rn as PROJECT_ANALYSIS_WORKER_TIMEOUT_CEILING_MS, rt as APP_ONLY_RULE_KEYS, sn as REACT_SERVER_DOM_PACKAGES, st as AXIOM_METRICS_PATH, tn as PROJECT_ANALYSIS_WORKER_MAX_OLD_SPACE_MB, tt as ADOPTABLE_LINT_CONFIG_FILENAMES, un as SCANNED_DOT_DIRECTORIES, vn as SOURCE_FILE_PATTERN, vt as DIAGNOSTIC_CATEGORY_BUCKETS, wn as SUPPLY_CHAIN_CACHE_TTL_MS, wt as ES_TARGET_YEAR_BY_NAME, xn as SPAWN_ARGS_MAX_LENGTH_CHARS_POSIX, yn as SPAWN_ARGS_MAX_LENGTH_CHARS, yt as DISABLE_DIRECTIVE_BACKUP_DIRECTORY_SEGMENTS, z as resolveConfiguredScanConcurrency } from "./constants-BmD_c3Yq.js";
4
+ import { $ as warmReactCompilerDetection, $t as OXLINT_SPLIT_TOTAL_BUDGET_MS, A as buildGitSourceListingRequest, An as TAILWIND_POSTCSS7_COMPAT_ALIAS, B as resolveGitCommand, Bt as MAINTAINABILITY_CATEGORY, Cn as SUPPLY_CHAIN_CACHE_SUBDIR, Dn as SUPPLY_CHAIN_OVERLAP_TIMEOUT_MS, Dt as FILE_LINT_CACHE_MAX_FILE_COUNT, En as SUPPLY_CHAIN_IGNORED_PACKAGES, Et as FILE_LINT_CACHE_FILENAME, F as lowerChildProcessPriority, Fn as TYPESCRIPT_DECLARATION_FILE_PATTERN, Ft as GIT_SOURCE_LISTING_ARGUMENTS, G as resolvePluginPath, Gt as MILLISECONDS_PER_SECOND, H as resolveOxlintThreadCount, Ht as MAINTAINABILITY_PLUGIN, In as VERCEL_NEXTJS_SECURITY_RELEASE_URL, It as HTML_FILE_PATTERN, J as resolveTsConfigRelativePath, Jt as OXLINT_IGNORED_DECLARATION_DIAGNOSTIC_CODES, K as resolveReactDoctorCacheDir, Kt as MINIFIED_SNIFF_BYTES, Ln as VITE_ENTRY_ASSET_FILE_PATTERN, Lt as IGNORED_DIRECTORIES, M as buildOxlintWorkerSpawnSpec, Mn as TELEMETRY_EXPORT_INTERVAL_MS, Mt as GIT_CHECK_ATTR_MAX_BUFFER_BYTES, Nn as TELEMETRY_SHUTDOWN_TIMEOUT_MS, Nt as GIT_LS_FILES_MAX_BUFFER_BYTES, On as SUPPLY_CHAIN_PLUGIN, Ot as GENERATED_BUNDLE_FILE_PATTERN, P as killUnadoptedOxlintWorkers, Pn as TSCONFIG_FILENAMES, Pt as GIT_SHOW_MAX_BUFFER_BYTES, Q as takeReactCompilerDetection, Qt as OXLINT_SPAWN_TIMEOUT_MS, R as readSystemConcurrencyFacts, Rn as VITE_ENTRY_DENSITY_SAMPLE_BYTES, Rt as JSX_DUPLICATION_SOURCE_FILE_PATTERN, Sn as STAGED_FILES_PROJECT_CONFIG_FILENAMES, St as DUPLICATE_JSX_WORKER_IDLE_TIMEOUT_MS, Tn as SUPPLY_CHAIN_CATEGORY, Tt as FETCH_TIMEOUT_MS, U as resolveOxlintToolchainVersions, V as resolveOxlintBinary, Vt as MAINTAINABILITY_DUPLICATE_JSX_RULE, W as resolveOxlintWorkerRuntime, Wt as MAX_GLOB_PATTERN_LENGTH_CHARS, X as spawnOxlintWorkerProcess, Xt as OXLINT_OOM_RESCUE_BUDGET_MS, Y as setChildProcessRef, Z as takePrespawnedOxlintWorker, Zt as OXLINT_OUTPUT_MAX_BYTES, _n as SOCKET_PACKAGE_PAGE_BASE, _t as DEFAULT_BRANCH_CANDIDATES, an as REACT_BLOG_RSC_ADVISORY_URL, bn as SPAWN_ARGS_MAX_LENGTH_CHARS_DARWIN, bt as DOCS_RULES_BASE_URL, cn as RECOMMENDED_PNPM_MINIMUM_RELEASE_AGE_MINUTES, ct as AXIOM_TRACES_PATH, d as METRIC_DISTRIBUTION_BOUNDARIES, dn as SCORE_API_URL, en as OXLINT_WORKER_JOB_END_MARKER, et as ABORT_EXIT_CODES, ft as COMPILER_CLEANUP_BUCKET, gn as SOCKET_FREE_USER_AGENT, hn as SOCKET_FREE_PURL_API_BASE, ht as CONFIG_FINGERPRINT_FILENAMES, in as PROJECT_ANALYSIS_WORKER_TIMEOUT_MS, it as AXIOM_DATASET_HEADER, j as buildOxlintChildEnv, jn as TARGET_BLANK_BROWSER_SUPPORT, jt as GITHUB_VIEWER_PERMISSION_TIMEOUT_MS, kn as SUPPLY_CHAIN_RULE, kt as GENERATED_SOURCE_DIRECTORY_PATTERN, l as INTERNAL_ERROR_JSON_FALLBACK, ln as ROOT_CAUSE_GROUPABLE_RULE_KEYS, mt as CONFIG_CACHE_TTL_MS, nn as PROJECT_ANALYSIS_WORKER_MEMORY_BUDGET_BYTES, nt as ADOPTED_LINT_CONFIG_MAX_BYTES, on as REACT_ROUTER_CAPABILITY_THRESHOLDS, ot as AXIOM_METRICS_DATASET_HEADER, pn as SIDECAR_LINT_CACHE_FILENAME, pt as COMPILER_CLEANUP_RULE_KEYS, q as resolveScanConcurrency, qt as OCCURRENCE_MATCHED_CATEGORIES, rn as PROJECT_ANALYSIS_WORKER_TIMEOUT_CEILING_MS, rt as APP_ONLY_RULE_KEYS, sn as REACT_SERVER_DOM_PACKAGES, st as AXIOM_METRICS_PATH, tn as PROJECT_ANALYSIS_WORKER_MAX_OLD_SPACE_MB, tt as ADOPTABLE_LINT_CONFIG_FILENAMES, un as SCANNED_DOT_DIRECTORIES, vn as SOURCE_FILE_PATTERN, vt as DIAGNOSTIC_CATEGORY_BUCKETS, wn as SUPPLY_CHAIN_CACHE_TTL_MS, wt as ES_TARGET_YEAR_BY_NAME, xn as SPAWN_ARGS_MAX_LENGTH_CHARS_POSIX, yn as SPAWN_ARGS_MAX_LENGTH_CHARS, yt as DISABLE_DIRECTIVE_BACKUP_DIRECTORY_SEGMENTS, z as resolveConfiguredScanConcurrency, zn as VITE_ENTRY_PRELUDE_SNIFF_BYTES } from "./constants-EMNGZNtj.js";
5
5
  import { n as require_picomatch, t as require_semver } from "./semver-BZIuy1gP.js";
6
6
  import { createRequire } from "node:module";
7
7
  import * as fs$1$2 from "node:fs";
@@ -88,7 +88,7 @@ const unwrapTypescriptExpression = (expression) => {
88
88
  return currentExpression;
89
89
  };
90
90
  //#endregion
91
- //#region ../core/dist/collect-unplugin-auto-import-global-scopes-Z9dhela6.js
91
+ //#region ../core/dist/collect-unplugin-auto-import-global-scopes-BVJbM-5e.js
92
92
  var import_picomatch = /* @__PURE__ */ __toESM(require_picomatch(), 1);
93
93
  const LINGUIST_ATTRIBUTES = ["linguist-generated", "linguist-vendored"];
94
94
  const DISABLED_ATTRIBUTE_VALUES = new Set([
@@ -526,7 +526,7 @@ const collectUnpluginAutoImportGlobalScopes = ({ rootDirectory, candidateFiles }
526
526
  return scopes.some((scope) => scope.names.length > 0) ? scopes : [];
527
527
  };
528
528
  //#endregion
529
- //#region ../core/dist/detect-duplicate-jsx-subtrees-B5UWtUyz.js
529
+ //#region ../core/dist/detect-duplicate-jsx-subtrees-D7-_Z6Mp.js
530
530
  const yieldToEventLoop = () => new Promise((resolve) => {
531
531
  setImmediate(resolve);
532
532
  });
@@ -1090,7 +1090,7 @@ const detectDuplicateJsxSubtreesCooperative = async (sourceReader, options = {})
1090
1090
  });
1091
1091
  };
1092
1092
  //#endregion
1093
- //#region ../core/dist/detect-react-compiler-DLpaU8gr.js
1093
+ //#region ../core/dist/detect-react-compiler-DKfPrp2s.js
1094
1094
  const NEXT_CONFIG_FILENAMES = [
1095
1095
  "next.config.js",
1096
1096
  "next.config.mjs",
@@ -64077,17 +64077,19 @@ const collectTypeScriptEmitDuplicateJsPaths = (input) => {
64077
64077
  const isIgnoredDirectoryName = (directoryName) => IGNORED_DIRECTORIES.has(directoryName) || directoryName.startsWith(".") && !SCANNED_DOT_DIRECTORIES.has(directoryName);
64078
64078
  const hasIgnoredPathSegment = (relativePath) => relativePath.split(/[/\\]/).slice(0, -1).some((segment) => isIgnoredDirectoryName(segment));
64079
64079
  const isLintableSourceFile = (filePath) => SOURCE_FILE_PATTERN.test(filePath) && !GENERATED_BUNDLE_FILE_PATTERN.test(filePath) && !GENERATED_SOURCE_DIRECTORY_PATTERN.test(filePath);
64080
+ const hasMinifiedSample = (sample) => {
64081
+ const lines = sample.split("\n");
64082
+ const longestLineLength = lines.reduce((longest, line) => Math.max(longest, line.length), 0);
64083
+ const averageLineLength = sample.length / lines.length;
64084
+ return longestLineLength > 1e3 && averageLineLength > 500;
64085
+ };
64080
64086
  const isMinifiedSource = (absolutePath) => {
64081
64087
  let fileDescriptor;
64082
64088
  try {
64083
64089
  fileDescriptor = fs$1$2.openSync(absolutePath, "r");
64084
64090
  const buffer = Buffer.alloc(MINIFIED_SNIFF_BYTES);
64085
64091
  const bytesRead = fs$1$2.readSync(fileDescriptor, buffer, 0, MINIFIED_SNIFF_BYTES, 0);
64086
- const prefix = buffer.toString("utf8", 0, bytesRead);
64087
- const lines = prefix.split("\n");
64088
- const longestLineLength = lines.reduce((longest, line) => Math.max(longest, line.length), 0);
64089
- const averageLineLength = prefix.length / lines.length;
64090
- return longestLineLength > 1e3 && averageLineLength > 500;
64092
+ return hasMinifiedSample(buffer.toString("utf8", 0, bytesRead));
64091
64093
  } catch {
64092
64094
  return false;
64093
64095
  } finally {
@@ -64110,6 +64112,37 @@ const isLargeMinifiedFile = (absolutePath, knownSizeBytes) => {
64110
64112
  cachedIsLargeMinifiedByPath.set(absolutePath, result);
64111
64113
  return result;
64112
64114
  };
64115
+ const MODULE_PRELOAD_POLYFILL_START = /^\(function\(\)\{(?:const|let|var) [\w$]+=document\.createElement\((?:"link"|'link')\)\.relList;/;
64116
+ const MODULE_PRELOAD_POLYFILL_MARKERS = [
64117
+ /\.supports\((?:"modulepreload"|'modulepreload')\)/,
64118
+ /document\.querySelectorAll\([^)]*link\[rel=["']modulepreload["']\]/,
64119
+ /new MutationObserver\(/,
64120
+ /\.observe\(document,/
64121
+ ];
64122
+ const isMinifiedViteEntry = (absolutePath, knownSizeBytes) => {
64123
+ if (!VITE_ENTRY_ASSET_FILE_PATTERN.test(absolutePath)) return false;
64124
+ const sizeBytes = knownSizeBytes === void 0 ? statSourceFileSize(absolutePath) : knownSizeBytes;
64125
+ if (sizeBytes === null || sizeBytes < 131072) return false;
64126
+ let fileDescriptor;
64127
+ try {
64128
+ fileDescriptor = fs$1$2.openSync(absolutePath, "r");
64129
+ const buffer = Buffer.alloc(VITE_ENTRY_DENSITY_SAMPLE_BYTES);
64130
+ const preludeBytesRead = fs$1$2.readSync(fileDescriptor, buffer, 0, VITE_ENTRY_PRELUDE_SNIFF_BYTES, 0);
64131
+ const prelude = buffer.toString("utf8", 0, preludeBytesRead);
64132
+ const polyfillEndOffset = prelude.indexOf("})();");
64133
+ if (polyfillEndOffset === -1) return false;
64134
+ const polyfill = prelude.slice(0, polyfillEndOffset);
64135
+ if (!MODULE_PRELOAD_POLYFILL_START.test(polyfill) || !MODULE_PRELOAD_POLYFILL_MARKERS.every((marker) => marker.test(polyfill))) return false;
64136
+ const middleOffset = Math.max(MINIFIED_SNIFF_BYTES, Math.floor((sizeBytes - VITE_ENTRY_DENSITY_SAMPLE_BYTES) / 2));
64137
+ const tailOffset = sizeBytes - VITE_ENTRY_DENSITY_SAMPLE_BYTES;
64138
+ for (const offset of [middleOffset, tailOffset]) if (fs$1$2.readSync(fileDescriptor, buffer, 0, 32768, offset) !== 32768 || !hasMinifiedSample(buffer.toString("utf8"))) return false;
64139
+ return true;
64140
+ } catch {
64141
+ return false;
64142
+ } finally {
64143
+ if (fileDescriptor !== void 0) fs$1$2.closeSync(fileDescriptor);
64144
+ }
64145
+ };
64113
64146
  const isMissingPath = (absolutePath) => {
64114
64147
  try {
64115
64148
  fs$1$2.statSync(absolutePath);
@@ -64140,7 +64173,7 @@ const toSizedSourceFileEntry = (rootDirectory, relativePath) => {
64140
64173
  const absolutePath = path$1$1.resolve(rootDirectory, relativePath);
64141
64174
  const sizeBytes = statSourceFileSize(absolutePath);
64142
64175
  if (sizeBytes === null && isMissingPath(absolutePath)) return null;
64143
- if (isLargeMinifiedFile(absolutePath, sizeBytes)) return null;
64176
+ if (isLargeMinifiedFile(absolutePath, sizeBytes) || isMinifiedViteEntry(absolutePath, sizeBytes)) return null;
64144
64177
  return {
64145
64178
  path: relativePath,
64146
64179
  sizeBytes: sizeBytes ?? 0
@@ -72499,6 +72532,12 @@ const createOxlintConfig = ({ pluginPath, diagnosticContextDirectory, project, c
72499
72532
  }
72500
72533
  };
72501
72534
  };
72535
+ const internWorkerSidecarProbeIds = (result, trace, internRelativeProbe) => {
72536
+ const probeIds = [];
72537
+ for (const pathIndex of trace.content) probeIds.push(internRelativeProbe("content", result.paths[pathIndex], null));
72538
+ for (const pathIndex of trace.existence) probeIds.push(internRelativeProbe("exists", result.paths[pathIndex], result.existenceAnswers[pathIndex]));
72539
+ return probeIds;
72540
+ };
72502
72541
  const TIMELINE_PATH = process.env.REACT_DOCTOR_OXLINT_SPAWN_LOG;
72503
72542
  const isOxlintJobTimelineEnabled = TIMELINE_PATH !== void 0;
72504
72543
  const appendTimelineLine = (entry) => {
@@ -74063,8 +74102,8 @@ const REACT_COMPILER_TITLE = "React Compiler can't optimize this";
74063
74102
  const REACT_COMPILER_TODO_TITLE = "React Compiler doesn't support this syntax";
74064
74103
  const REACT_ERROR_BOUNDARY_TITLE = "JSX render errors need an Error Boundary";
74065
74104
  const REACT_ERROR_BOUNDARY_MESSAGE = "This try/catch cannot catch errors thrown while the JSX child renders. Use an Error Boundary instead.";
74066
- const REACT_COMPILER_IMPACT = "This component misses React Compiler's automatic memoization & re-renders more than it should";
74067
- const REACT_COMPILER_ACTION = "Rewrite the flagged code so the compiler can optimize it.";
74105
+ const REACT_COMPILER_IMPACT = "React Compiler flagged this code during analysis";
74106
+ const REACT_COMPILER_ACTION = "Review the compiler's reason before changing the code.";
74068
74107
  const REACT_COMPILER_INCOMPATIBLE_LIBRARY_ACTION = "It's how the library works, not a bug in your code. Memoize values you pass from it into other memoized components, or suppress it with `// react-doctor-disable-next-line react-hooks-js/incompatible-library`.";
74069
74108
  const SET_STATE_IN_EFFECT_ACTION = "Prefer deriving or initializing the value before render. If the effect must read a browser API after mount, treat this as advisory or suppress it with `// react-doctor-disable-next-line react-hooks-js/set-state-in-effect`.";
74070
74109
  const REACT_COMPILER_GENERIC_MESSAGE = `${REACT_COMPILER_IMPACT}. ${REACT_COMPILER_ACTION}`;
@@ -74250,7 +74289,7 @@ const parseOxlintOutput = (stdout, project, rootDirectory, sourcePathByLintPath,
74250
74289
  const absolutePath = resolveAbsolutePath(resolveSourceFilename(filename));
74251
74290
  const cached = minifiedFileCache.get(absolutePath);
74252
74291
  if (cached !== void 0) return cached;
74253
- const minified = isMinifiedSource(absolutePath);
74292
+ const minified = isMinifiedSource(absolutePath) || isMinifiedViteEntry(absolutePath);
74254
74293
  minifiedFileCache.set(absolutePath, minified);
74255
74294
  return minified;
74256
74295
  };
@@ -75069,10 +75108,7 @@ const collectSidecarProbesForFiles = async (input) => {
75069
75108
  probeIdsByFile.set(file, null);
75070
75109
  continue;
75071
75110
  }
75072
- const probeIds = [];
75073
- for (const pathIndex of trace.content) probeIds.push(internRelativeProbe("content", result.paths[pathIndex], result.existenceAnswers[pathIndex]));
75074
- for (const pathIndex of trace.existence) probeIds.push(internRelativeProbe("exists", result.paths[pathIndex], result.existenceAnswers[pathIndex]));
75075
- probeIdsByFile.set(file, probeIds);
75111
+ probeIdsByFile.set(file, internWorkerSidecarProbeIds(result, trace, internRelativeProbe));
75076
75112
  }
75077
75113
  };
75078
75114
  const runParentLane = async () => {
@@ -77800,7 +77836,7 @@ const makeNoopConsole = () => ({
77800
77836
  });
77801
77837
  //#endregion
77802
77838
  //#region src/cli/utils/version.ts
77803
- const VERSION = "0.9.23-dev.d2368eb";
77839
+ const VERSION = "0.9.23-dev.d558ba8";
77804
77840
  //#endregion
77805
77841
  //#region src/cli/utils/json-mode.ts
77806
77842
  let context = null;
@@ -78144,5 +78180,5 @@ const recordDistribution = (name, value, options = {}) => {
78144
78180
  //#endregion
78145
78181
  export { buildRuleSeverityControls as $, runInspect as $t, Files as A, buildWithScope as An, hasPublishedFixRecipe as At, PerFileLintCacheEnabled as B, yieldToEventLoop as Bn, listSourceFiles as Bt, ACTION_INPUT_ENVIRONMENT_VARIABLES as C, provideContext as Cn, getChangedLineRanges as Ct, isCodingAgentEnvironment as D, sync as Dn, getRuleMetadata as Dt, isCiOrCodingAgentEnvironment as E, runSync as En, getEquivalentRuleKeys as Et, Linter as F, makeUnsafe$5 as Fn, isProjectDiscoveryError as Ft, SidecarLintCacheEnabled as G, isFile as Gn, materializeSourceTree as Gt, Project as H, toCanonicalPath as Hn, listWorkspacePackages as Ht, Maintainability as I, fail$5 as In, isReactDoctorError as It, anonymizeInPlace as J, remainingDeadlineBudgetMs as Jt, StagedFiles as K, isPlainObject as Kn, mergeAndFilterDiagnostics as Kt, NodeResolver as L, void_$1 as Ln, isSameRuleKey as Lt, InvocationCaches as M, provide$2 as Mn, hashFileContents as Mt, LEGACY_CONFIG_FILENAME as N, succeed$3 as Nn, highlighter as Nt, Config as O, try_ as On, getUnknownBundledRuleKeys as Ot, LintPartialFailures as P, close as Pn, isPathInsideDirectory as Pt, buildRuleDocsUrl as Q, restoreLegacyThrow as Qt, OxlintConcurrency as R, ParentSpan as Rn, isScanComplete as Rt, isDebugFlagEnabled as S, provide as Sn, getBaselineDiffPlan as St, isCiEnvironment as T, runPromise as Tn, getDiffInfo as Tt, Reporter as U, isDirectory as Un, loadConfigWithSource as Ut, Progress as V, messageFromUnknown as Vn, listSourceFilesCooperative as Vt, Score as W, isErrnoException as Wn, mapWithConcurrency as Wt, atomicWriteJson as X, resolveLintBatchOrdering as Xt, anonymizeText as Y, resolveGithubActionsScoreMetadata as Yt, buildJsonReport as Z, resolveScanTarget as Zt, VERSION as _, gen as _n, findGitRepositoryRoot as _t, isEnvFlagEnabled as a, validateConfigTypes as an, collectSourceFilesByDirectory as at, isNonInteractiveEnvironment as b, orElseSucceed as bn, formatErrorChain as bt, setSentryProjectInfo as c, Console as cn, countOptInProjectRuleSelections as ct, isJsonModeActive as d, log as dn, createOxlintSpawnSlots as dt, scrubSensitivePaths as en, buildSkippedChecks as et, setJsonReportDirectory as f, warn$1 as fn, detectAiTrainingEnvironment as ft, writeJsonReport as g, make$30 as gn, filterSourceFiles as gt, writeJsonErrorReport as h, decodeUnknownSync as hn, filterPathsOutsideDirectories as ht, isTelemetryEnabled as i, toRelativePath as in, clearConfigCache as it, Git as j, mergeAll$1 as jn, hasSupportedFrameworkOrLibrary as jt, DIAGNOSTIC_DELTA_IDENTITY as k, void_ as kn, groupBy as kt, getRunId as l, error as ln, createChangedLineMatcher as lt, writeJsonCancellationReport as m, JsonReport as mn, filterDiagnosticsForSurface as mt, recordDistribution as n, shouldUseMaintainabilityLayer as nn, canonicalizeUserRuleKey as nt, buildSentryScope as o, warmDuplicateJsxWorker as on, computeConfigFingerprint as ot, setJsonReportMode as p, Diagnostic as pn, discoverSupportedSubprojects as pt, SupplyChain as q, mergeReactDoctorConfigs as qt, toSpanAttributes as r, summarizeDiagnostics as rn, classifyFileContext as rt, buildSentryProjectContext as s, warmOxlintWorkerPool as sn, computeDiagnosticDelta as st, recordCount as t, setColorEnabled as tn, calculateScore as tt, enableJsonMode as u, info as un, createInvocationCaches as ut, makeNoopConsole as v, makeSpan$1 as vn, findLegacyConfig as vt, detectRunnerOs as w, provideService as wn, getDiagnosticRuleIdentity as wt, isGitHookEnvironment as x, promise as xn, formatReactDoctorError as xt, CliInputError as y, map$3 as yn, fingerprintDiagnosticEvidence as yt, OxlintSpawnSlots as z, isMonorepoRoot as zn, layerObservability as zt };
78146
78182
 
78147
- //# sourceMappingURL=record-metric-DRS0_dI6.js.map
78148
- //# debugId=03595267-93b3-5a2a-898e-c0769934f751
78183
+ //# sourceMappingURL=record-metric-Bej849Af.js.map
78184
+ //# debugId=7fa524b3-d466-54e2-a2b1-181c32d7f678
@@ -1,8 +1,8 @@
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]="9f138c7e-b619-5d0f-b617-c2c78d919b52")}catch(e){}}();
3
- import { S as SENTRY_FLUSH_TIMEOUT_MS, u as METRIC } from "./constants-BmD_c3Yq.js";
4
- import { It as isReactDoctorError, l as getRunId, o as buildSentryScope, t as recordCount } from "./record-metric-DRS0_dI6.js";
5
- import { i as getSentry, n as shutdownTelemetry, o as isExpectedUserError } from "./telemetry-runtime-DrvroBDI.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]="513a7607-fa96-5c01-8f96-630b76471c47")}catch(e){}}();
3
+ import { S as SENTRY_FLUSH_TIMEOUT_MS, u as METRIC } from "./constants-EMNGZNtj.js";
4
+ import { It as isReactDoctorError, l as getRunId, o as buildSentryScope, t as recordCount } from "./record-metric-Bej849Af.js";
5
+ import { i as getSentry, n as shutdownTelemetry, o as isExpectedUserError } from "./telemetry-runtime-D7RM_Qk_.js";
6
6
  import { r as recordRunTraceId, t as getActiveRunTrace } from "./active-run-trace-Dewycxda.js";
7
7
  //#region src/cli/utils/report-error.ts
8
8
  /**
@@ -61,5 +61,5 @@ const reportErrorToSentry = async (error) => {
61
61
  //#endregion
62
62
  export { reportErrorToSentry as t };
63
63
 
64
- //# sourceMappingURL=report-error-BK_h-rkZ.js.map
65
- //# debugId=9f138c7e-b619-5d0f-b617-c2c78d919b52
64
+ //# sourceMappingURL=report-error-DT0gVlLi.js.map
65
+ //# debugId=513a7607-fa96-5c01-8f96-630b76471c47
@@ -1,8 +1,8 @@
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]="1ba5ed53-4d1c-5e46-8982-b67907b70827")}catch(e){}}();
3
- import { m as REACT_DOCTOR_CONFIG_PROJECT_NAME, u as METRIC } from "./constants-BmD_c3Yq.js";
4
- import { t as recordCount } from "./record-metric-DRS0_dI6.js";
5
- import { u as isCommandAvailable } from "./install-github-workflow-D7wb5fbw.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]="d15cad3e-5228-5f6f-97d7-5ecf1e920500")}catch(e){}}();
3
+ import { m as REACT_DOCTOR_CONFIG_PROJECT_NAME, u as METRIC } from "./constants-EMNGZNtj.js";
4
+ import { t as recordCount } from "./record-metric-Bej849Af.js";
5
+ import { u as isCommandAvailable } from "./install-github-workflow-Dam5-6fl.js";
6
6
  import { createRequire } from "node:module";
7
7
  import * as path$1 from "node:path";
8
8
  import { spawn } from "node:child_process";
@@ -289,5 +289,5 @@ const reportWorkflowResult = (workflowSpinner, result, projectRoot) => {
289
289
  //#endregion
290
290
  export { recordGate as a, ACTION_UPGRADE_EVENT as c, INSTALL_AGENTS_PREFERENCE_ID as d, ONBOARDING_EVENT as f, loadAgentInstall as g, 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 };
291
291
 
292
- //# sourceMappingURL=report-workflow-result-t56fptGw.js.map
293
- //# debugId=1ba5ed53-4d1c-5e46-8982-b67907b70827
292
+ //# sourceMappingURL=report-workflow-result-BqFNvYoj.js.map
293
+ //# debugId=d15cad3e-5228-5f6f-97d7-5ecf1e920500
@@ -1,18 +1,18 @@
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]="924d1eac-f035-5040-af63-103231a949cd")}catch(e){}}();
3
- import { Ct as ENTERPRISE_CONTACT_URL, E as TRACKED_FILE_FLAGS_GIT_ARGUMENTS, Gt as MILLISECONDS_PER_SECOND, It as HTML_FILE_PATTERN, K as resolveReactDoctorCacheDir, Pt as GIT_SHOW_MAX_BUFFER_BYTES, Ut as MAINTAINABILITY_SOURCE_FILE_PATTERN, Yt as OXLINT_NODE_REQUIREMENT, c as HEAD_SHA_GIT_ARGUMENTS, dt as CI_URL, fn as SHARE_BASE_URL, h as REPOSITORY_ROOT_GIT_ARGUMENTS, i as BASELINE_FILES_TEMP_DIR_PREFIX, k as WORKTREE_STATUS_GIT_ARGUMENTS, q as resolveScanConcurrency, u as METRIC, v as SCAN_RESULT_CACHE_FILENAME, vt as DIAGNOSTIC_CATEGORY_BUCKETS, zt as JSX_FILE_PATTERN } from "./constants-BmD_c3Yq.js";
4
- import { t as isCacheGloballyDisabled } from "./is-cache-globally-disabled-CveNGcRi.js";
5
- import { $ as buildRuleSeverityControls, $t as runInspect, A as Files, At as hasPublishedFixRecipe, B as PerFileLintCacheEnabled, Bn as yieldToEventLoop, Bt as listSourceFiles, C as ACTION_INPUT_ENVIRONMENT_VARIABLES, Cn as provideContext, Dn as sync, Dt as getRuleMetadata, E as isCiOrCodingAgentEnvironment, En as runSync, F as Linter, G as SidecarLintCacheEnabled, Gn as isFile, Gt as materializeSourceTree, H as Project, Ht as listWorkspacePackages, I as Maintainability, It as isReactDoctorError, Jt as remainingDeadlineBudgetMs, Kt as mergeAndFilterDiagnostics, L as NodeResolver, M as InvocationCaches, Mt as hashFileContents, Nn as succeed, Nt as highlighter, O as Config, On as try_, Ot as getUnknownBundledRuleKeys, P as LintPartialFailures, Pt as isPathInsideDirectory, Q as buildRuleDocsUrl, Qt as restoreLegacyThrow, R as OxlintConcurrency, Rn as ParentSpan, Rt as isScanComplete, Sn as provide, T as isCiEnvironment, Tn as runPromise, U as Reporter, Un as isDirectory, V as Progress, Vt as listSourceFilesCooperative, W as Score, Wt as mapWithConcurrency, X as atomicWriteJson, Xt as resolveLintBatchOrdering, Yt as resolveGithubActionsScoreMetadata, Zt as resolveScanTarget, _ as VERSION, _n as gen, at as collectSourceFilesByDirectory, b as isNonInteractiveEnvironment, bn as orElseSucceed, cn as Console, ct as countOptInProjectRuleSelections, d as isJsonModeActive, dn as log, dt as createOxlintSpawnSlots, et as buildSkippedChecks, fn as warn, gt as filterSourceFiles, hn as decodeUnknownSync, ht as filterPathsOutsideDirectories, j as Git, jn as mergeAll, k as DIAGNOSTIC_DELTA_IDENTITY, kt as groupBy, l as getRunId, ln as error, lt as createChangedLineMatcher, mt as filterDiagnosticsForSurface, n as recordDistribution, nn as shouldUseMaintainabilityLayer, nt as canonicalizeUserRuleKey, on as warmDuplicateJsxWorker, ot as computeConfigFingerprint, pn as Diagnostic, pt as discoverSupportedSubprojects, q as SupplyChain, qt as mergeReactDoctorConfigs, r as toSpanAttributes, rn as summarizeDiagnostics, rt as classifyFileContext, sn as warmOxlintWorkerPool, st as computeDiagnosticDelta, t as recordCount, tt as calculateScore, ut as createInvocationCaches, v as makeNoopConsole, w as detectRunnerOs, wn as provideService, wt as getDiagnosticRuleIdentity, xn as promise, y as CliInputError, yn as map, yt as fingerprintDiagnosticEvidence, z as OxlintSpawnSlots, zn as isMonorepoRoot } from "./record-metric-DRS0_dI6.js";
6
- import { t as getTelemetryContext } from "./telemetry-runtime-DrvroBDI.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]="2cb82966-fbe9-5554-b5a5-d9fb3e2256c7")}catch(e){}}();
3
+ import { Ct as ENTERPRISE_CONTACT_URL, E as TRACKED_FILE_FLAGS_GIT_ARGUMENTS, Gt as MILLISECONDS_PER_SECOND, It as HTML_FILE_PATTERN, K as resolveReactDoctorCacheDir, Pt as GIT_SHOW_MAX_BUFFER_BYTES, Ut as MAINTAINABILITY_SOURCE_FILE_PATTERN, Yt as OXLINT_NODE_REQUIREMENT, c as HEAD_SHA_GIT_ARGUMENTS, dt as CI_URL, fn as SHARE_BASE_URL, h as REPOSITORY_ROOT_GIT_ARGUMENTS, i as BASELINE_FILES_TEMP_DIR_PREFIX, k as WORKTREE_STATUS_GIT_ARGUMENTS, q as resolveScanConcurrency, u as METRIC, v as SCAN_RESULT_CACHE_FILENAME, vt as DIAGNOSTIC_CATEGORY_BUCKETS, zt as JSX_FILE_PATTERN } from "./constants-EMNGZNtj.js";
4
+ import { t as isCacheGloballyDisabled } from "./is-cache-globally-disabled-CYjFzsDs.js";
5
+ import { $ as buildRuleSeverityControls, $t as runInspect, A as Files, At as hasPublishedFixRecipe, B as PerFileLintCacheEnabled, Bn as yieldToEventLoop, Bt as listSourceFiles, C as ACTION_INPUT_ENVIRONMENT_VARIABLES, Cn as provideContext, Dn as sync, Dt as getRuleMetadata, E as isCiOrCodingAgentEnvironment, En as runSync, F as Linter, G as SidecarLintCacheEnabled, Gn as isFile, Gt as materializeSourceTree, H as Project, Ht as listWorkspacePackages, I as Maintainability, It as isReactDoctorError, Jt as remainingDeadlineBudgetMs, Kt as mergeAndFilterDiagnostics, L as NodeResolver, M as InvocationCaches, Mt as hashFileContents, Nn as succeed, Nt as highlighter, O as Config, On as try_, Ot as getUnknownBundledRuleKeys, P as LintPartialFailures, Pt as isPathInsideDirectory, Q as buildRuleDocsUrl, Qt as restoreLegacyThrow, R as OxlintConcurrency, Rn as ParentSpan, Rt as isScanComplete, Sn as provide, T as isCiEnvironment, Tn as runPromise, U as Reporter, Un as isDirectory, V as Progress, Vt as listSourceFilesCooperative, W as Score, Wt as mapWithConcurrency, X as atomicWriteJson, Xt as resolveLintBatchOrdering, Yt as resolveGithubActionsScoreMetadata, Zt as resolveScanTarget, _ as VERSION, _n as gen, at as collectSourceFilesByDirectory, b as isNonInteractiveEnvironment, bn as orElseSucceed, cn as Console, ct as countOptInProjectRuleSelections, d as isJsonModeActive, dn as log, dt as createOxlintSpawnSlots, et as buildSkippedChecks, fn as warn, gt as filterSourceFiles, hn as decodeUnknownSync, ht as filterPathsOutsideDirectories, j as Git, jn as mergeAll, k as DIAGNOSTIC_DELTA_IDENTITY, kt as groupBy, l as getRunId, ln as error, lt as createChangedLineMatcher, mt as filterDiagnosticsForSurface, n as recordDistribution, nn as shouldUseMaintainabilityLayer, nt as canonicalizeUserRuleKey, on as warmDuplicateJsxWorker, ot as computeConfigFingerprint, pn as Diagnostic, pt as discoverSupportedSubprojects, q as SupplyChain, qt as mergeReactDoctorConfigs, r as toSpanAttributes, rn as summarizeDiagnostics, rt as classifyFileContext, sn as warmOxlintWorkerPool, st as computeDiagnosticDelta, t as recordCount, tt as calculateScore, ut as createInvocationCaches, v as makeNoopConsole, w as detectRunnerOs, wn as provideService, wt as getDiagnosticRuleIdentity, xn as promise, y as CliInputError, yn as map, yt as fingerprintDiagnosticEvidence, z as OxlintSpawnSlots, zn as isMonorepoRoot } from "./record-metric-Bej849Af.js";
6
+ import { t as getTelemetryContext } from "./telemetry-runtime-D7RM_Qk_.js";
7
7
  import { t as activeScanAbortRegistry } from "./active-scan-abort-registry-CCTgal0O.js";
8
- import { n as buildFooterLinkLines, t as buildSectionDivider } from "./build-section-divider-J2tVkTdC.js";
8
+ import { n as buildFooterLinkLines, t as buildSectionDivider } from "./build-section-divider-CTaFBPcW.js";
9
9
  import { t as toForwardSlashes } from "./path-format-By20mo8A.js";
10
10
  import { t as typescriptBinding } from "./_react-doctor_require-typescript-DXQDYeWK.js";
11
- import { A as runGitAsync, C as isRecord, N as cliLogger, S as getPackageJsonPath, a as installReactDoctorScriptStep, c as spinner, j as runGitRaw, k as runGit, n as findNearestPackageDirectory, o as isSpinnerSilent, s as setSpinnerSilent } from "./install-doctor-script-DEEzqkc6.js";
12
- import { d as detectDefaultBranch, l as prompts, r as installReactDoctorWorkflow, u as isCommandAvailable } from "./install-github-workflow-D7wb5fbw.js";
13
- import { a as isValidBlockingLevel, c as openWorkflowPullRequest, l as stageWorkflowFile, o as pickBlockingLevel } from "./resolve-scope-CmbSSrhu.js";
14
- import { n as resetSentryRunState, r as withRunSpan, t as recordSentryProjectContext } from "./with-run-span-C07Rkq9X.js";
15
- import { h as detectAvailableAgents, t as reportWorkflowResult } from "./report-workflow-result-t56fptGw.js";
11
+ import { A as runGitAsync, C as isRecord, N as cliLogger, S as getPackageJsonPath, a as installReactDoctorScriptStep, c as spinner, j as runGitRaw, k as runGit, n as findNearestPackageDirectory, o as isSpinnerSilent, s as setSpinnerSilent } from "./install-doctor-script-CfUWsOKN.js";
12
+ import { d as detectDefaultBranch, l as prompts, r as installReactDoctorWorkflow, u as isCommandAvailable } from "./install-github-workflow-Dam5-6fl.js";
13
+ import { a as isValidBlockingLevel, c as openWorkflowPullRequest, l as stageWorkflowFile, o as pickBlockingLevel } from "./resolve-scope-EZI3zBgO.js";
14
+ import { n as resetSentryRunState, r as withRunSpan, t as recordSentryProjectContext } from "./with-run-span-BLjdW-sL.js";
15
+ import { h as detectAvailableAgents, t as reportWorkflowResult } from "./report-workflow-result-BqFNvYoj.js";
16
16
  import { createRequire } from "node:module";
17
17
  import * as fs$2 from "node:fs";
18
18
  import fs, { mkdtempSync, rmSync } from "node:fs";
@@ -3180,5 +3180,5 @@ const resolveScanExitCode = (input) => {
3180
3180
  //#endregion
3181
3181
  export { createInvocationInspect as A, hasIncompleteScoreAnalysis as B, detectLaunchableAgents as C, buildHandoffPayload as D, launchCliAgent as E, formatSkippedCheckLabel as F, hasLintHardFailure as G, buildNoScoreMessage as H, formatElapsedTime as I, formatFixRecipeLine as J, buildRulePriorityMap as K, printFooter as L, resolveMergeBaseRef as M, printHeadlessReport as N, collectProjectSourceFiles as O, pluralize as P, printDiagnosticsDump as R, setUpGitHubActions as S, copyToClipboard as T, buildEmptyReportMessage as U, filterDiagnosticsByCategories as V, resolveInvocationOxlintConcurrency as W, formatLearnMoreLine as Y, retryMissingProjectScores as _, validateModeFlags as a, filterScansForSurface as b, partitionProjectScanOutcomes as c, buildCodeFrame as d, resolveProjectScan as f, resolveProjectRelativeDirectory as g, resolveProjectSourceFilePaths as h, validateIncludeUntrackedScope as i, inspect as j, deduplicateProjectScans as k, discoverWorkspacePackages as l, resolveProjectDiffIncludePaths as m, formatSkippedProjectsMessage as n, resolveExcludedProjectDirectories as o, resolveProjectChangedLineRanges as p, buildSortedRuleGroups as q, validateFilePathSelectionFlags as r, projectManifestChanged as s, resolveScanExitCode as t, selectProjects as u, resolveWorkspaceDeadCodeOwner as v, CLI_AGENT_BINARIES as w, countUniqueScannedFiles as x, resolveCliInspectOptions as y, formatDiagnosticSite as z };
3182
3182
 
3183
- //# sourceMappingURL=resolve-scan-exit-code-CFl_Wwaj.js.map
3184
- //# debugId=924d1eac-f035-5040-af63-103231a949cd
3183
+ //# sourceMappingURL=resolve-scan-exit-code-C9IHkjiP.js.map
3184
+ //# debugId=2cb82966-fbe9-5554-b5a5-d9fb3e2256c7
@@ -1,9 +1,9 @@
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]="dc616080-32a7-5715-988b-6745073d0009")}catch(e){}}();
3
- import { Hn as toCanonicalPath, Pt as isPathInsideDirectory, gt as filterSourceFiles } from "./record-metric-DRS0_dI6.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]="0c2e0f3d-f9df-5f0d-9577-4779c450a049")}catch(e){}}();
3
+ import { Hn as toCanonicalPath, Pt as isPathInsideDirectory, gt as filterSourceFiles } from "./record-metric-Bej849Af.js";
4
4
  import { t as toForwardSlashes } from "./path-format-By20mo8A.js";
5
- import { N as cliLogger } from "./install-doctor-script-DEEzqkc6.js";
6
- import { d as detectDefaultBranch, f as runCommand, l as prompts, u as isCommandAvailable } from "./install-github-workflow-D7wb5fbw.js";
5
+ import { N as cliLogger } from "./install-doctor-script-CfUWsOKN.js";
6
+ import { d as detectDefaultBranch, f as runCommand, l as prompts, u as isCommandAvailable } from "./install-github-workflow-Dam5-6fl.js";
7
7
  import * as path$1 from "node:path";
8
8
  //#region src/cli/utils/open-workflow-pull-request.ts
9
9
  const NEW_BRANCH_PREFIX = "react-doctor/add-github-actions";
@@ -334,5 +334,5 @@ const finalizeScope = async ({ requested, diffInfo, skipPrompts, isQuiet }) => {
334
334
  //#endregion
335
335
  export { isValidBlockingLevel as a, openWorkflowPullRequest as c, warnDeprecatedDiff as i, stageWorkflowFile as l, isScopeValue as n, pickBlockingLevel as o, resolveScope as r, resolveBlockingLevel as s, finalizeScope as t };
336
336
 
337
- //# sourceMappingURL=resolve-scope-CmbSSrhu.js.map
338
- //# debugId=dc616080-32a7-5715-988b-6745073d0009
337
+ //# sourceMappingURL=resolve-scope-EZI3zBgO.js.map
338
+ //# debugId=0c2e0f3d-f9df-5f0d-9577-4779c450a049
@@ -1,9 +1,9 @@
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]="8208a129-cdd3-5a28-9f7f-17b33604f742")}catch(e){}}();
3
- import { ft as COMPILER_CLEANUP_BUCKET, pt as COMPILER_CLEANUP_RULE_KEYS, u as METRIC } from "./constants-BmD_c3Yq.js";
4
- import { Et as getEquivalentRuleKeys, Kn as isPlainObject, Lt as isSameRuleKey, Nt as highlighter, Q as buildRuleDocsUrl, Ut as loadConfigWithSource, an as validateConfigTypes, it as clearConfigCache, t as recordCount } from "./record-metric-DRS0_dI6.js";
5
- import { N as cliLogger, n as findNearestPackageDirectory } from "./install-doctor-script-DEEzqkc6.js";
6
- import { t as readObjectFile } from "./read-object-file-DRMd_2xC.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]="3231540f-ac45-514c-b003-f9fd1d6b1e65")}catch(e){}}();
3
+ import { ft as COMPILER_CLEANUP_BUCKET, pt as COMPILER_CLEANUP_RULE_KEYS, u as METRIC } from "./constants-EMNGZNtj.js";
4
+ import { Et as getEquivalentRuleKeys, Kn as isPlainObject, Lt as isSameRuleKey, Nt as highlighter, Q as buildRuleDocsUrl, Ut as loadConfigWithSource, an as validateConfigTypes, it as clearConfigCache, t as recordCount } from "./record-metric-Bej849Af.js";
5
+ import { N as cliLogger, n as findNearestPackageDirectory } from "./install-doctor-script-CfUWsOKN.js";
6
+ import { t as readObjectFile } from "./read-object-file-B84BIZIL.js";
7
7
  import * as fs$1 from "node:fs";
8
8
  import * as path$1 from "node:path";
9
9
  import { REACT_DOCTOR_RULES } from "oxlint-plugin-react-doctor/core";
@@ -578,5 +578,5 @@ const rulesUnignoreTagAction = async (tag, options) => {
578
578
  //#endregion
579
579
  export { rulesCategoryAction, rulesDisableAction, rulesEnableAction, rulesExplainAction, rulesIgnoreTagAction, rulesListAction, rulesSetAction, rulesUnignoreTagAction };
580
580
 
581
- //# sourceMappingURL=rules-B_5k-emb.js.map
582
- //# debugId=8208a129-cdd3-5a28-9f7f-17b33604f742
581
+ //# sourceMappingURL=rules-DKn3OhWT.js.map
582
+ //# debugId=3231540f-ac45-514c-b003-f9fd1d6b1e65
@@ -1,14 +1,14 @@
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]="0affb623-9699-56c5-a74a-e81e4c90889d")}catch(e){}}();
3
- import { At as GITHUB_ACTIONS_SETUP_URL, D as TUI_REPORT_COMPACT_MAX_ROWS, Ln as getCategoryImpact, O as TUI_REPORT_DETAIL_WIDTH_FRACTION, o as CI_TRUST_COMPANIES, u as METRIC, vt as DIAGNOSTIC_CATEGORY_BUCKETS } from "./constants-BmD_c3Yq.js";
4
- import { At as hasPublishedFixRecipe, Bn as yieldToEventLoop, Ct as getChangedLineRanges, Dn as sync, Jt as remainingDeadlineBudgetMs, Nn as succeed, Nt as highlighter, Q as buildRuleDocsUrl, St as getBaselineDiffPlan, T as isCiEnvironment, Tn as runPromise, Tt as getDiffInfo, U as Reporter, V as Progress, Wt as mapWithConcurrency, Zt as resolveScanTarget, kn as void_, n as recordDistribution, t as recordCount, tt as calculateScore, x as isGitHookEnvironment } from "./record-metric-DRS0_dI6.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]="353d11e5-bf8f-5733-a1e8-e6d3788914df")}catch(e){}}();
3
+ import { At as GITHUB_ACTIONS_SETUP_URL, Bn as getCategoryImpact, D as TUI_REPORT_COMPACT_MAX_ROWS, O as TUI_REPORT_DETAIL_WIDTH_FRACTION, o as CI_TRUST_COMPANIES, u as METRIC, vt as DIAGNOSTIC_CATEGORY_BUCKETS } from "./constants-EMNGZNtj.js";
4
+ import { At as hasPublishedFixRecipe, Bn as yieldToEventLoop, Ct as getChangedLineRanges, Dn as sync, Jt as remainingDeadlineBudgetMs, Nn as succeed, Nt as highlighter, Q as buildRuleDocsUrl, St as getBaselineDiffPlan, T as isCiEnvironment, Tn as runPromise, Tt as getDiffInfo, U as Reporter, V as Progress, Wt as mapWithConcurrency, Zt as resolveScanTarget, kn as void_, n as recordDistribution, t as recordCount, tt as calculateScore, x as isGitHookEnvironment } from "./record-metric-Bej849Af.js";
5
5
  import { t as toForwardSlashes } from "./path-format-By20mo8A.js";
6
- import { N as cliLogger, n as findNearestPackageDirectory } from "./install-doctor-script-DEEzqkc6.js";
7
- import { i as isReactDoctorWorkflowInstalled } from "./install-github-workflow-D7wb5fbw.js";
8
- import { r as resolveScope, s as resolveBlockingLevel, t as finalizeScope } from "./resolve-scope-CmbSSrhu.js";
9
- import { A as createInvocationInspect, B as hasIncompleteScoreAnalysis, C as detectLaunchableAgents, D as buildHandoffPayload, E as launchCliAgent, F as formatSkippedCheckLabel, G as hasLintHardFailure, H as buildNoScoreMessage, I as formatElapsedTime, J as formatFixRecipeLine, K as buildRulePriorityMap, L as printFooter, M as resolveMergeBaseRef, O as collectProjectSourceFiles, P as pluralize, R as printDiagnosticsDump, S as setUpGitHubActions, T as copyToClipboard, U as buildEmptyReportMessage, V as filterDiagnosticsByCategories, Y as formatLearnMoreLine, _ as retryMissingProjectScores, b as filterScansForSurface, c as partitionProjectScanOutcomes, d as buildCodeFrame, f as resolveProjectScan, h as resolveProjectSourceFilePaths, i as validateIncludeUntrackedScope, k as deduplicateProjectScans, l as discoverWorkspacePackages, m as resolveProjectDiffIncludePaths, n as formatSkippedProjectsMessage, o as resolveExcludedProjectDirectories, p as resolveProjectChangedLineRanges, q as buildSortedRuleGroups, s as projectManifestChanged, t as resolveScanExitCode, u as selectProjects, v as resolveWorkspaceDeadCodeOwner, w as CLI_AGENT_BINARIES, x as countUniqueScannedFiles, y as resolveCliInspectOptions, z as formatDiagnosticSite } from "./resolve-scan-exit-code-CFl_Wwaj.js";
10
- import { a as recordGate, f as ONBOARDING_EVENT, n as openUrl, r as isGatePending } from "./report-workflow-result-t56fptGw.js";
11
- import { a as useExitOnCtrlC, c as Spinner, d as useInput, f as Transform, h as Box, i as import_react, l as useStdout, m as Text, n as registerMountedTuiRenderer, o as terminalSymbols, p as render, r as useStdoutDimensions, s as isPrintableInput, t as require_jsx_runtime, u as useApp } from "./jsx-runtime-DBtXOdus.js";
6
+ import { N as cliLogger, n as findNearestPackageDirectory } from "./install-doctor-script-CfUWsOKN.js";
7
+ import { i as isReactDoctorWorkflowInstalled } from "./install-github-workflow-Dam5-6fl.js";
8
+ import { r as resolveScope, s as resolveBlockingLevel, t as finalizeScope } from "./resolve-scope-EZI3zBgO.js";
9
+ import { A as createInvocationInspect, B as hasIncompleteScoreAnalysis, C as detectLaunchableAgents, D as buildHandoffPayload, E as launchCliAgent, F as formatSkippedCheckLabel, G as hasLintHardFailure, H as buildNoScoreMessage, I as formatElapsedTime, J as formatFixRecipeLine, K as buildRulePriorityMap, L as printFooter, M as resolveMergeBaseRef, O as collectProjectSourceFiles, P as pluralize, R as printDiagnosticsDump, S as setUpGitHubActions, T as copyToClipboard, U as buildEmptyReportMessage, V as filterDiagnosticsByCategories, Y as formatLearnMoreLine, _ as retryMissingProjectScores, b as filterScansForSurface, c as partitionProjectScanOutcomes, d as buildCodeFrame, f as resolveProjectScan, h as resolveProjectSourceFilePaths, i as validateIncludeUntrackedScope, k as deduplicateProjectScans, l as discoverWorkspacePackages, m as resolveProjectDiffIncludePaths, n as formatSkippedProjectsMessage, o as resolveExcludedProjectDirectories, p as resolveProjectChangedLineRanges, q as buildSortedRuleGroups, s as projectManifestChanged, t as resolveScanExitCode, u as selectProjects, v as resolveWorkspaceDeadCodeOwner, w as CLI_AGENT_BINARIES, x as countUniqueScannedFiles, y as resolveCliInspectOptions, z as formatDiagnosticSite } from "./resolve-scan-exit-code-C9IHkjiP.js";
10
+ import { a as recordGate, f as ONBOARDING_EVENT, n as openUrl, r as isGatePending } from "./report-workflow-result-BqFNvYoj.js";
11
+ import { a as useExitOnCtrlC, c as Spinner, d as useInput, f as Transform, h as Box, i as import_react, l as useStdout, m as Text, n as registerMountedTuiRenderer, o as terminalSymbols, p as render, r as useStdoutDimensions, s as isPrintableInput, t as require_jsx_runtime, u as useApp } from "./jsx-runtime-2FRlxCGC.js";
12
12
  import path from "node:path";
13
13
  import { performance } from "node:perf_hooks";
14
14
  import isUnicodeSupported from "is-unicode-supported";
@@ -2553,5 +2553,5 @@ const runScanApp = async (input) => {
2553
2553
  //#endregion
2554
2554
  export { runScanApp };
2555
2555
 
2556
- //# sourceMappingURL=run-scan-app-BTTTjoKB.js.map
2557
- //# debugId=0affb623-9699-56c5-a74a-e81e4c90889d
2556
+ //# sourceMappingURL=run-scan-app-BQW6JE4I.js.map
2557
+ //# debugId=353d11e5-bf8f-5733-a1e8-e6d3788914df